summaryrefslogtreecommitdiff
path: root/tests/data/foods.ttl
blob: 212ee9c761f5c15c0e7a441f19977acb967e7a6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 .