diff --git a/exercise-3-1.md b/exercise-3-1.md new file mode 100644 index 0000000..842562b --- /dev/null +++ b/exercise-3-1.md @@ -0,0 +1,18 @@ +# Exercise 3.1 + +Create YARRRML rules to convert the person data below into RDF. +Use the FOAF vocabulary for modeling, as you have done for exercise 1.1. + +Tip: test your YARRRML rules via [Matey](https://rml.io/yarrrml/matey/). + +## Person data + +```csv +id,firstname,lastname,name,nickname,org-id +0,Gwendolyne,Stacy,,Gwen,new-u +1,,,T'Challa,Black Panther,avngrs +2,Wanda,Maximoff,,Scarlet Witch,avngrs +3,Rita,Clarkson,,,new-u +``` + + diff --git a/exercise-3-2.md b/exercise-3-2.md new file mode 100644 index 0000000..e2afe23 --- /dev/null +++ b/exercise-3-2.md @@ -0,0 +1,33 @@ +# Exercise 3.2 + +Create YARRRML rules to convert the person and organization data below into RDF. +Do not forget to link the people to their organizations through your rules. +Use the FOAF vocabulary for modeling, as you have done for exercise 1.1. + +Tip: test your YARRRML rules via [Matey](https://rml.io/yarrrml/matey/). + +## Person data + +```csv +id,firstname,lastname,name,nickname,org-id +0,Gwendolyne,Stacy,,Gwen,new-u +1,,,T'Challa,Black Panther,avngrs +2,Wanda,Maximoff,,Scarlet Witch,avngrs +3,Rita,Clarkson,,,new-u +``` + +## Organization data + +```json +[ + { + "id": "new-u", + "name": "New U Technologies" + }, + { + "id": "avngrs", + "name": "Avengers" + } +] +``` + diff --git a/exercise-3-3.md b/exercise-3-3.md new file mode 100644 index 0000000..88c0584 --- /dev/null +++ b/exercise-3-3.md @@ -0,0 +1,8 @@ +# Exercise 3.3 + +Use the GitHub [RML action](https://github.com/RMLio/rml-action/) to generate RDF +via your YARRRML rules of exercise 3.2 directly on GitHub. +Once the action is working, +try to change the YARRRML rules and +verify that the generated RDF is also changed. +