-
Notifications
You must be signed in to change notification settings - Fork 2
/
CleanOntology.ttl
287 lines (180 loc) · 8.16 KB
/
CleanOntology.ttl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
@prefix : <http://example.com/movieLocations/> .
@prefix ml: <http://example.com/movieLocations/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema: <http://schema.org/> .
@base <http://example.com/movieLocations/> .
<http://example.com/movieLocations/> rdf:type owl:Ontology .
#################################################################
# Object Properties
#################################################################
### http://example.com/movieLocations/directs
ml:directs rdf:type owl:ObjectProperty ;
owl:inverseOf ml:hasDirector .
### http://example.com/movieLocations/hasActor
ml:hasActor rdf:type owl:ObjectProperty ;
owl:equivalentProperty schema:actor ;
owl:inverseOf ml:playsIn ;
owl:propertyChainAxiom ( ml:hasCharacter
ml:playedBy
) .
### http://example.com/movieLocations/hasCharacter
ml:hasCharacter rdf:type owl:ObjectProperty ;
owl:equivalentProperty schema:character ;
owl:inverseOf ml:isCharacterIn .
### http://example.com/movieLocations/hasDirector
ml:hasDirector rdf:type owl:ObjectProperty ;
owl:equivalentProperty schema:director .
### http://example.com/movieLocations/hasLocation
ml:hasLocation rdf:type owl:ObjectProperty ;
owl:inverseOf ml:isLocationOf ;
owl:propertyChainAxiom ( ml:hasScene
ml:hasLocation
) .
### http://example.com/movieLocations/hasScene
ml:hasScene rdf:type owl:ObjectProperty ;
owl:inverseOf ml:isSceneOf .
### http://example.com/movieLocations/isCharacterIn
ml:isCharacterIn rdf:type owl:ObjectProperty .
### http://example.com/movieLocations/isGenre
ml:isGenre rdf:type owl:ObjectProperty ;
owl:inverseOf ml:isGenreOf .
### http://example.com/movieLocations/isGenreOf
ml:isGenreOf rdf:type owl:ObjectProperty .
### http://example.com/movieLocations/isLocationOf
ml:isLocationOf rdf:type owl:ObjectProperty .
### http://example.com/movieLocations/isSceneOf
ml:isSceneOf rdf:type owl:ObjectProperty .
### http://example.com/movieLocations/playedBy
ml:playedBy rdf:type owl:ObjectProperty .
### http://example.com/movieLocations/playsIn
ml:playsIn rdf:type owl:ObjectProperty .
### http://schema.org/actor
schema:actor rdf:type owl:ObjectProperty .
### http://schema.org/character
schema:character rdf:type owl:ObjectProperty .
### http://schema.org/director
schema:director rdf:type owl:ObjectProperty .
#################################################################
# Data properties
#################################################################
### http://example.com/movieLocations/bornIn
ml:bornIn rdf:type owl:DatatypeProperty .
### http://example.com/movieLocations/diedIn
ml:diedIn rdf:type owl:DatatypeProperty .
### http://example.com/movieLocations/hasEndYear
ml:hasEndYear rdf:type owl:DatatypeProperty .
### http://example.com/movieLocations/hasFullName
ml:hasFullName rdf:type owl:DatatypeProperty .
### http://example.com/movieLocations/hasLatitude
ml:hasLatitude rdf:type owl:DatatypeProperty .
### http://example.com/movieLocations/hasLongitude
ml:hasLongitude rdf:type owl:DatatypeProperty .
### http://example.com/movieLocations/hasPrimaryTitle
ml:hasPrimaryTitle rdf:type owl:DatatypeProperty .
### http://example.com/movieLocations/hasRating
ml:hasRating rdf:type owl:DatatypeProperty .
### http://example.com/movieLocations/hasRuntime
ml:hasRuntime rdf:type owl:DatatypeProperty .
### http://example.com/movieLocations/hasSceneName
ml:hasSceneName rdf:type owl:DatatypeProperty .
### http://example.com/movieLocations/hasStartYear
ml:hasStartYear rdf:type owl:DatatypeProperty .
### http://example.com/movieLocations/isAdult
ml:isAdult rdf:type owl:DatatypeProperty .
#################################################################
# Classes
#################################################################
### http://example.com/movieLocations/Actor
ml:Actor rdf:type owl:Class ;
owl:equivalentClass [ rdf:type owl:Restriction ;
owl:onProperty ml:playsIn ;
owl:someValuesFrom ml:Show
] ;
rdfs:subClassOf ml:NaturalPerson .
### http://example.com/movieLocations/Character
ml:Character rdf:type owl:Class ;
owl:equivalentClass [ rdf:type owl:Restriction ;
owl:onProperty ml:isCharacterIn ;
owl:someValuesFrom ml:Show
] ;
rdfs:subClassOf ml:Person .
### http://example.com/movieLocations/Director
ml:Director rdf:type owl:Class ;
owl:equivalentClass [ rdf:type owl:Restriction ;
owl:onProperty ml:directs ;
owl:someValuesFrom ml:Show
] ;
rdfs:subClassOf ml:NaturalPerson .
### http://example.com/movieLocations/Genre
ml:Genre rdf:type owl:Class ;
owl:equivalentClass [ rdf:type owl:Restriction ;
owl:onProperty ml:isGenreOf ;
owl:someValuesFrom ml:Show
] .
### http://example.com/movieLocations/Location
ml:Location rdf:type owl:Class ;
owl:equivalentClass [ rdf:type owl:Restriction ;
owl:onProperty ml:isLocationOf ;
owl:someValuesFrom ml:Show
] .
### http://example.com/movieLocations/Movie
ml:Movie rdf:type owl:Class ;
owl:equivalentClass schema:Movie ;
rdfs:subClassOf ml:Show .
### http://example.com/movieLocations/NaturalPerson
ml:NaturalPerson rdf:type owl:Class ;
rdfs:subClassOf ml:Person .
### http://example.com/movieLocations/Person
ml:Person rdf:type owl:Class ;
owl:equivalentClass foaf:Person .
### http://example.com/movieLocations/Scene
ml:Scene rdf:type owl:Class ;
owl:equivalentClass [ rdf:type owl:Restriction ;
owl:onProperty ml:isSceneOf ;
owl:someValuesFrom ml:Show
] .
### http://example.com/movieLocations/Series
ml:Series rdf:type owl:Class ;
rdfs:subClassOf ml:Show .
### http://example.com/movieLocations/Short
ml:Short rdf:type owl:Class ;
rdfs:subClassOf ml:Show .
### http://example.com/movieLocations/Show
ml:Show rdf:type owl:Class .
### http://example.com/movieLocations/TvEpisode
ml:TvEpisode rdf:type owl:Class ;
rdfs:subClassOf ml:Show .
### http://example.com/movieLocations/TvMiniSeries
ml:TvMiniSeries rdf:type owl:Class ;
rdfs:subClassOf ml:TvSeries .
### http://example.com/movieLocations/TvMovie
ml:TvMovie rdf:type owl:Class ;
rdfs:subClassOf ml:Movie .
### http://example.com/movieLocations/TvSeries
ml:TvSeries rdf:type owl:Class ;
owl:equivalentClass schema:TvSeries ;
rdfs:subClassOf ml:Series .
### http://example.com/movieLocations/TvShort
ml:TvShort rdf:type owl:Class ;
rdfs:subClassOf ml:Short .
### http://example.com/movieLocations/TvSpecial
ml:TvSpecial rdf:type owl:Class ;
rdfs:subClassOf ml:Show .
### http://example.com/movieLocations/Video
ml:Video rdf:type owl:Class ;
rdfs:subClassOf ml:Show .
### http://example.com/movieLocations/VideoGame
ml:VideoGame rdf:type owl:Class ;
rdfs:subClassOf ml:Show .
### http://schema.org/Movie
schema:Movie rdf:type owl:Class .
### http://schema.org/TvSeries
schema:TvSeries rdf:type owl:Class .
### http://xmlns.com/foaf/0.1/Person
foaf:Person rdf:type owl:Class .
### Generated by the OWL API (version 4.5.9.2019-02-01T07:24:44Z) https://github.com/owlcs/owlapi