summaryrefslogtreecommitdiff
path: root/tests/data/foods.ttl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/foods.ttl')
-rw-r--r--tests/data/foods.ttl16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/data/foods.ttl b/tests/data/foods.ttl
new file mode 100644
index 0000000..212ee9c
--- /dev/null
+++ b/tests/data/foods.ttl
@@ -0,0 +1,16 @@
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix foods: <http://example.org/foods#> .
+
+foods:Food a rdfs:Class .
+
+foods:Beverage a rdfs:Class .
+
+foods:recommendedBeverage a rdfs:Property ;
+ rdfs:domain foods:Food ;
+ rdfs:range foods:Beverage .
+
+foods:Pizza a foods:Food .
+
+foods:Margherita a foods:Pizza ;
+ foods:recommendedBeverage foods:Beer .