Skip to content

Commit 5180c63

Browse files
committed
Create shakespeare.n3
1 parent c63a254 commit 5180c63

File tree

1 file changed

+167
-0
lines changed

1 file changed

+167
-0
lines changed

Ontologies/shakespeare.n3

Lines changed: 167 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,167 @@
1+
# Saved by TopBraid on Thu May 01 11:48:48 PDT 2008
2+
# baseURI: http://www.workingontologist.org/Examples/Chapter3/shakespeare.owl
3+
4+
@prefix lit: <http://www.workingontologist.org/Examples/Chapter3/shakespeare.owl#> .
5+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
6+
@prefix geo: <http://www.workingontologist.org/Examples/Chapter3/geography.owl#> .
7+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
8+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
9+
@prefix owl: <http://www.w3.org/2002/07/owl#> .
10+
@prefix bio: <http://www.workingontologist.org/Examples/Chapter3/biography.owl#> .
11+
12+
bio:livedIn
13+
a owl:ObjectProperty ;
14+
rdfs:domain lit:Person ;
15+
rdfs:label "lived in"^^xsd:string ;
16+
rdfs:range lit:Place .
17+
18+
bio:married
19+
a owl:ObjectProperty ;
20+
rdfs:domain lit:Person ;
21+
rdfs:label "married"^^xsd:string ;
22+
rdfs:range lit:Person .
23+
24+
geo:ChannelIslands
25+
a lit:Place ;
26+
geo:partOf geo:UK .
27+
28+
geo:England
29+
a lit:Place ;
30+
rdfs:label "England"^^xsd:string ;
31+
geo:partOf geo:UK .
32+
33+
geo:IsleOfMan
34+
a lit:Place ;
35+
geo:partOf geo:UK .
36+
37+
geo:NorthernIreland
38+
a lit:Place ;
39+
geo:partOf geo:UK .
40+
41+
geo:Scotland
42+
a lit:Place ;
43+
rdfs:label "Scotland"^^xsd:string ;
44+
geo:partOf geo:UK .
45+
46+
geo:Stratford
47+
a lit:Place ;
48+
rdfs:label "Stratford"^^xsd:string ;
49+
geo:isIn geo:England .
50+
51+
geo:UK
52+
a lit:Place ;
53+
rdfs:label "UK"^^xsd:string .
54+
55+
geo:Wales
56+
a lit:Place ;
57+
geo:partOf geo:UK .
58+
59+
geo:isIn
60+
a owl:ObjectProperty ;
61+
rdfs:domain lit:Place ;
62+
rdfs:label "is in"^^xsd:string ;
63+
rdfs:range lit:Place .
64+
65+
geo:partOf
66+
a owl:ObjectProperty ;
67+
rdfs:domain lit:Place ;
68+
rdfs:label "part of"^^xsd:string ;
69+
rdfs:range lit:Place .
70+
71+
<http://www.workingontologist.org/Examples/Chapter3/shakespeare.owl>
72+
a owl:Ontology ;
73+
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
74+
75+
lit:AnneHathaway
76+
a lit:Person ;
77+
rdfs:label "Anne hathaway"^^xsd:string ;
78+
bio:married lit:Shakespeare ;
79+
lit:hasChild "[lit:Judith, lit:Hamnet, lit:Susanna]" .
80+
81+
lit:AsYouLikeIt
82+
a lit:Play .
83+
84+
lit:Author
85+
a owl:Class ;
86+
rdfs:label "Author"^^xsd:string ;
87+
rdfs:subClassOf lit:Person .
88+
89+
lit:Hamlet
90+
a lit:Play .
91+
92+
lit:Hamnet
93+
a lit:Person ;
94+
rdfs:label "Hamnet"^^xsd:string .
95+
96+
lit:HenryV
97+
a lit:Play .
98+
99+
lit:Judith
100+
a lit:Person ;
101+
rdfs:label "Judith"^^xsd:string .
102+
103+
lit:KingLear
104+
a lit:Play ;
105+
rdfs:label "King lear"^^xsd:string .
106+
107+
lit:LovesLaboursLost
108+
a lit:Play .
109+
110+
lit:Macbeth
111+
a lit:Play ;
112+
rdfs:label "Macbeth"^^xsd:string ;
113+
lit:setIn geo:Scotland .
114+
115+
lit:MeasureForMeasure
116+
a lit:Play .
117+
118+
lit:Othello
119+
a lit:Play .
120+
121+
lit:Person
122+
a owl:Class ;
123+
rdfs:label "Person"^^xsd:string .
124+
125+
lit:Place
126+
a owl:Class ;
127+
rdfs:label "Place"^^xsd:string .
128+
129+
lit:Play
130+
a owl:Class ;
131+
rdfs:label "Play"^^xsd:string .
132+
133+
lit:Shakespeare
134+
a lit:Author ;
135+
rdfs:label "Shakespeare"^^xsd:string ;
136+
bio:livedIn geo:Stratford ;
137+
lit:hasChild (lit:Susanna lit:Hamnet lit:Judith) ;
138+
lit:wrote lit:AsYouLikeIt , lit:TheTempest , lit:MeasureForMeasure , lit:TwelfthNight , lit:HenryV , lit:KingLear , lit:WintersTale , lit:Othello , lit:LovesLaboursLost , lit:Macbeth , lit:Hamlet .
139+
140+
lit:Susanna
141+
a lit:Person ;
142+
rdfs:label "Susanna"^^xsd:string .
143+
144+
lit:TheTempest
145+
a lit:Play .
146+
147+
lit:TwelfthNight
148+
a lit:Play .
149+
150+
lit:WintersTale
151+
a lit:Play .
152+
153+
lit:hasChild
154+
a owl:ObjectProperty ;
155+
rdfs:label "has child"^^xsd:string .
156+
157+
lit:setIn
158+
a owl:ObjectProperty ;
159+
rdfs:domain lit:Play ;
160+
rdfs:label "set in"^^xsd:string ;
161+
rdfs:range lit:Place .
162+
163+
lit:wrote
164+
a owl:ObjectProperty ;
165+
rdfs:domain lit:Author ;
166+
rdfs:label "wrote"^^xsd:string ;
167+
rdfs:range lit:Play .

0 commit comments

Comments
 (0)