Carbon footprint for recipes

Green Hackathon, Stockholm 2011: Working towards a more sustainable and resilient world is one of the biggest challenges that we face. We believe in a hacker approach to sustainability. Participating, getting excited and building things, being creative. Computer technology is both part of the problem and part of the solution, it all depends on how we use it. Let’s get together and use it for good.

kht        FAO logo     OpenAgris Logo

Members:
  • Fabrizio Celli (FAO) - Software Engineer
  • Ahsan Morshed (FAO)
  • Fredrik Enoksson
  • Mazars-Simon Quentin
  • Manoj Kale
  • Sriram Prasath

Our project is a simple web application (and in its very beta release) that shows how it is possible to use Linked Open Data to show information about CO2 emissions. Our application allows to build a 4 ingredients recipe and returns three different kinds of data:

  • A table that shows the emission of CO2 for each selected ingredient
  • Total Kilos of CO2 emission
  • Literature from AGRIS: considering the selected ingredients, our application links to the OpenAgris triplestore to display journals articles and grey literature about the sustainability of those ingredients. Then, thanks to the power of OpenAgris, the user can access to other data sources, like DBPedia.

Changing the quantities of ingredients, the user can see how the emission of CO2 can be reduced or increased. So, final users for this application can:

  • Persons who want to create recipes reducing the CO2 emissions
  • Students and researchers
  • Users interested in Linked Open Data

Information about the emission of CO2 have been extracted by the APIs provided by AMEE, that accesses data from CLM (Carbon footprint). Unfortunately, these APIs are not free, but they can be rewritten or you can use other APIs, such as http://footprinted.org/ or http://www.sourcemap.com/

Technologies and tools used to build this application are:

  • Java
  • Apache Struts 2
  • JQuery
  • Eclipse
  • Apache Tomcat
  • OpenAgris
  • Franz Allegrograph

You can download the WAR file to deploy under Tomcat here. Consider that this is a very beta release and, since access to AMEE APIs is very restricted (it is not Open), we decided to cable the ingredients, so that you can choose only: milk, rice, carrots, and bacon.

Here is a screenshot of how the application looks:

recipes