diff options
Diffstat (limited to 'examples/example1.ttl')
| -rw-r--r-- | examples/example1.ttl | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/examples/example1.ttl b/examples/example1.ttl new file mode 100644 index 0000000..8862f88 --- /dev/null +++ b/examples/example1.ttl | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | |||
| 2 | @prefix : <http://example.com/rsa_example.owl#> . | ||
| 3 | @prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
| 4 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
| 5 | @prefix xml: <http://www.w3.org/XML/1998/namespace> . | ||
| 6 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
| 7 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
| 8 | @base <http://example.com/rsa_example.owl> . | ||
| 9 | |||
| 10 | # A ⊑ D | ||
| 11 | # A ⊑ ∃ S⁻.C | ||
| 12 | # ∃ S.A ⊑ D | ||
| 13 | # D ⊑ ∃ R.B | ||
| 14 | # B ⊑ ∃ S.D | ||
| 15 | # R ⊑ T⁻ | ||
| 16 | # S ⊑ T | ||
| 17 | # | ||
| 18 | # a : A | ||
| 19 | |||
| 20 | :A rdf:type owl:Class ; | ||
| 21 | rdfs:subClassOf :D ; | ||
| 22 | rdfs:subClassOf [ rdf:type owl:Restriction ; | ||
| 23 | owl:onProperty [ owl:inverseOf :S ] ; | ||
| 24 | owl:someValuesFrom :C | ||
| 25 | ] . | ||
| 26 | |||
| 27 | [ rdf:type owl:Restriction ; | ||
| 28 | owl:onProperty :S ; | ||
| 29 | owl:someValuesFrom :B | ||
| 30 | ] rdfs:subClassOf :D . | ||
| 31 | |||
| 32 | :D rdf:type owl:Class ; | ||
| 33 | rdfs:subClassOf [ rdf:type owl:Restriction ; | ||
| 34 | owl:onProperty :R ; | ||
| 35 | owl:someValuesFrom :B | ||
| 36 | ] . | ||
| 37 | |||
| 38 | :B rdf:type owl:Class ; | ||
| 39 | rdfs:subClassOf [ rdf:type owl:Restriction ; | ||
| 40 | owl:onProperty :S ; | ||
| 41 | owl:someValuesFrom :D | ||
| 42 | ] . | ||
| 43 | |||
| 44 | :R rdf:type owl:ObjectProperty ; | ||
| 45 | rdfs:subPropertyOf [ owl:inverseOf :T ] . | ||
| 46 | |||
| 47 | :S rdf:type owl:ObjectProperty ; | ||
| 48 | rdfs:subPropertyOf :T . | ||
| 49 | |||
| 50 | :a rdf:type :A . | ||
| 51 | |||
