This is a small project to combine all the different things you have learned in the previous exercises. You will publish meal recipes in RDF, mark your favourite recipes, and query the recipes of others.
- Publish an RDF file online stating your name, IRI, and that you attended these workshops. The workshops are represented by https://data.knows.idlab.ugent.be/event/solid-linked-data-workshops-2022-01/# and you can use http://schema.org/attendee.
- Represent the recipes in RDF. See below for more information about the used data. Things that might be helpful: Turtle, JSON-LD, RML.io.
- Add some of your favourite recipes to your RDF file of step 1.
- Create a SHACL shape for the data in step 2 and compare it with the other participants.
- Make the RDF publicly available through http(s). Things that might be helpful: Community Solid Server, CORS, GitHub pages.
- Query for your favourite recipes and their ingredients. Things that might be helpful: SPARQL, Comunica.
- Query for matching ingredients in your and the other participant's favourite recipes. Things that might be helpful: SPARQL, Comunica.
We use the TheMealDB: an open, crowd-sourced database of recipes from around the world. It has a JSON API.
You only need to publish the data of the meals that start with the first letter of your name and the last letter of your name.
For example, if your name is "Luke Skywalker" then you will use the recipes starting with "l" and "r".
The API has an API method for that: https://www.themealdb.com/api/json/v1/1/search.php?f=[letter] where [letter]
is the letter that meals have to start with.
For example, for Luke Skywalker we have https://www.themealdb.com/api/json/v1/1/search.php?f=l and
https://www.themealdb.com/api/json/v1/1/search.php?f=r.