]> dreyeck.freedombox.rocks Git - topic-maps.git/blob - vendor/cxtm/rdf/in/syntax.trig
Integrate qualified XML anyType values into the XTM reader
[topic-maps.git] / vendor / cxtm / rdf / in / syntax.trig
1
2 # Just testing that we can actually read TriG
3
4 @prefix rtm: <http://psi.ontopia.net/rdf2tm/#> .
5 @prefix ontosaurus: <http://piss.ontopia.net/ontosaurus/#> .
6 @prefix thesaurus: <http://www.techquila.com/psi/thesaurus/#> .
7 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
8 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
9
10 {
11 ontosaurus:thing
12 a thesaurus:term;
13 rdfs:label "Thing" .
14
15 ontosaurus:good-thing
16 a thesaurus:term;
17 rdfs:label "Good thing";
18 ontosaurus:parent ontosaurus:thing .
19
20 ontosaurus:bad-thing
21 a thesaurus:term;
22 rdfs:label "Bad thing";
23 ontosaurus:parent ontosaurus:thing .
24
25 #
26 # Mapping
27 #
28 rdf:type rtm:maps-to rtm:instance-of .
29 rdfs:label rtm:maps-to rtm:basename .
30
31 ontosaurus:parent rtm:maps-to rtm:association .
32 ontosaurus:parent rtm:type thesaurus:broader-narrower .
33 ontosaurus:parent rtm:subject-role thesaurus:narrower .
34 ontosaurus:parent rtm:object-role thesaurus:broader .
35
36 }
37