diff options
author | Federico Igne <federico.igne@cs.ox.ac.uk> | 2021-05-31 14:19:03 +0100 |
---|---|---|
committer | Federico Igne <federico.igne@cs.ox.ac.uk> | 2021-05-31 14:19:03 +0100 |
commit | 10022b217100659a400afd4b52bf0d32dfd90602 (patch) | |
tree | 8ac218fcd48c42b77bfa50fdbba61b3fce3186b7 /examples/example1.ttl | |
parent | 826ef61338f8cf9c5c71fe2fd5b2ed82e0dabcf9 (diff) | |
download | RSAComb-10022b217100659a400afd4b52bf0d32dfd90602.tar.gz RSAComb-10022b217100659a400afd4b52bf0d32dfd90602.zip |
Update example splitting TBox and ABox
Diffstat (limited to 'examples/example1.ttl')
-rw-r--r-- | examples/example1.ttl | 45 |
1 files changed, 3 insertions, 42 deletions
diff --git a/examples/example1.ttl b/examples/example1.ttl index 02148f0..f084b2d 100644 --- a/examples/example1.ttl +++ b/examples/example1.ttl | |||
@@ -2,50 +2,11 @@ | |||
2 | @prefix : <http://example.com/rsa_example.owl#> . | 2 | @prefix : <http://example.com/rsa_example.owl#> . |
3 | @prefix owl: <http://www.w3.org/2002/07/owl#> . | 3 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
4 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 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#> . | 5 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
8 | @base <http://example.com/rsa_example.owl> . | 6 | @base <file:/home/fedgne/git/RSA-combined-approach/examples/example1.ttl> . |
9 | 7 | ||
10 | # A ⊑ D | 8 | <file:/home/fedgne/git/RSA-combined-approach/examples/example1.ttl> rdf:type owl:Ontology ; |
11 | # A ⊑ ∃ S⁻.C | 9 | owl:imports <file:/home/fedgne/git/RSA-combined-approach/examples/example1.owl> . |
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 :A | ||
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 | 10 | ||
50 | :a rdf:type :A . | 11 | :a rdf:type :A . |
51 | 12 | ||