-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathontology.ttl
480 lines (313 loc) · 20 KB
/
ontology.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
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
@prefix : <http://reld.dice-research.org/schema/> .
@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 rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@base <http://reld.dice-research.org/schema/> .
<http://reld.dice-research.org/schema/> rdf:type owl:Ontology ;
owl:versionIRI <http://reld.dice-research.org/schema#/0.0.2> ;
<http://purl.org/dc/elements/1.1/contributor> "Axel-Cyrille Ngonga Ngomo" ,
"Muhammad Saleem" ;
<http://purl.org/dc/elements/1.1/creator> "Manzoor Ali" ;
<http://purl.org/dc/elements/1.1/description> """The RELD Core Scehma (http://reld.dice-research.org/schema#) provides classes and properties to describe the NLP sub task Relation Extraction. The schema models the relations, sentences, entities and related concepts. The schema represents the relation extraction in a standard manner where other relation extraction related datasets can easily maped to this schema. The schema is available on our webpage and we recommend the audience to visit our web page and explore our pre-print paper to further explore the schema.
The main class in this ontology is reld:Relation, which is the class of all relations available in different RE based datasets.
The data built using RELD schema its diagram all are available online. Apart from relation class RELD also maps sentences, subjects, objects, named entities and related properties.
Feedback
If you'd like to leave feedback, please open an issue on GitHub (https://github.com/dice-group/RELD) and read the README or write an email to the mailing list: given on the Github page.
Versioning process is explained here: https://reld-tutorial.readthedocs.io/en/latest/availablity.html#version
Licence information is available here: https://reld-tutorial.readthedocs.io/en/latest/availablity.html#license"""@en ;
<http://purl.org/dc/elements/1.1/publisher> "DICE, University Paderborn" ;
<http://purl.org/dc/elements/1.1/rights> "The schema is licensed under GNU General Public License v3.0 (https://www.gnu.org/licenses/gpl-3.0.en.html)" ;
<http://purl.org/dc/elements/1.1/title> "Relation Extraction Linked Data"@en ;
<http://purl.org/dc/terms/license> "https://www.gnu.org/licenses/gpl-3.0.en.html" ;
:preferredNamespacePrefix "http:reld.dice-research.org/schema#" ,
"reld" ;
<http://reld.dice-research.org/schema/ww.w3.org/2000/01/rdf-schema#isDefinedBy> "https://github.com/dice-group/RELD/blob/main/ontology.ttl" ;
<http://reld.dice-research.org/schema/ww.w3.org/2002/07/owl#versionInfo> "0.0.2" .
#################################################################
# Annotation properties
#################################################################
### http://purl.org/dc/elements/1.1/contributor
<http://purl.org/dc/elements/1.1/contributor> rdf:type owl:AnnotationProperty .
### http://purl.org/dc/elements/1.1/creator
<http://purl.org/dc/elements/1.1/creator> rdf:type owl:AnnotationProperty .
### http://purl.org/dc/elements/1.1/description
<http://purl.org/dc/elements/1.1/description> rdf:type owl:AnnotationProperty .
### http://purl.org/dc/elements/1.1/publisher
<http://purl.org/dc/elements/1.1/publisher> rdf:type owl:AnnotationProperty .
### http://purl.org/dc/elements/1.1/rights
<http://purl.org/dc/elements/1.1/rights> rdf:type owl:AnnotationProperty .
### http://purl.org/dc/elements/1.1/title
<http://purl.org/dc/elements/1.1/title> rdf:type owl:AnnotationProperty .
### http://purl.org/dc/terms/license
<http://purl.org/dc/terms/license> rdf:type owl:AnnotationProperty .
### http://reld.dice-research.org/schema/preferredNamespacePrefix
:preferredNamespacePrefix rdf:type owl:AnnotationProperty .
### http://reld.dice-research.org/schema/preferredNamespaceUri
:preferredNamespaceUri rdf:type owl:AnnotationProperty .
### http://reld.dice-research.org/schema/ww.w3.org/2000/01/rdf-schema#isDefinedBy
<http://reld.dice-research.org/schema/ww.w3.org/2000/01/rdf-schema#isDefinedBy> rdf:type owl:AnnotationProperty .
### http://reld.dice-research.org/schema/ww.w3.org/2002/07/owl#versionInfo
<http://reld.dice-research.org/schema/ww.w3.org/2002/07/owl#versionInfo> rdf:type owl:AnnotationProperty .
### http://www.w3.org/2002/07/owl#samAs
owl:samAs rdf:type owl:AnnotationProperty .
#################################################################
# Object Properties
#################################################################
### http://reld.dice-research.org/schema/hasNamedEntity
:hasNamedEntity rdf:type owl:ObjectProperty ;
rdfs:domain <http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#String> ;
rdfs:range <http://www.w3.org/ns/prov#Entity> .
### http://reld.dice-research.org/schema/hasPOS
:hasPOS rdf:type owl:ObjectProperty ,
owl:FunctionalProperty ;
rdfs:domain <http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#String> ;
rdfs:range :POS ;
rdfs:comment "Each String has a corresponding POS instance connected with this property."^^xsd:string .
### http://reld.dice-research.org/schema/hasPunctuation
:hasPunctuation rdf:type owl:ObjectProperty ,
owl:FunctionalProperty ;
rdfs:domain <http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#String> ;
rdfs:range :Punctuation ;
rdfs:comment "Connects String with punctuation"^^xsd:string .
### http://reld.dice-research.org/schema/hasStatement
:hasStatement rdf:type owl:ObjectProperty ;
rdfs:domain <http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#String> ;
rdfs:range rdf:Statement ;
rdfs:comment "Connect String with its annotated staments"^^xsd:string .
### http://schema.org/url
<http://schema.org/url> rdf:type owl:ObjectProperty ,
owl:FunctionalProperty ;
rdfs:domain :Dataset ;
rdfs:comment "This property connect the origal uri of the dataset"^^xsd:string .
### http://www.w3.org/1999/02/22-rdf-syntax-ns#object
rdf:object rdf:type owl:ObjectProperty ;
owl:inverseOf rdf:subject ;
rdf:type owl:FunctionalProperty ;
rdfs:domain rdf:Statement ;
rdfs:range rdfs:Literal ,
rdfs:Resource ;
rdfs:comment "Each statment has an object it may be a resource or a literal."^^xsd:string .
### http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate
rdf:predicate rdf:type owl:ObjectProperty ,
owl:FunctionalProperty ;
rdfs:domain rdf:Statement ;
rdfs:range rdf:Property ;
rdfs:comment "Each statemten is connected to a property which represent a relation using this property."^^xsd:string .
### http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
rdf:subject rdf:type owl:ObjectProperty ,
owl:FunctionalProperty ;
rdfs:domain rdf:Statement ;
rdfs:range rdfs:Resource ;
rdfs:comment "Each statment has a resource subject."^^xsd:string .
### http://www.w3.org/2002/07/owl#equivalentProperty
owl:equivalentProperty rdf:type owl:ObjectProperty ,
owl:SymmetricProperty ;
rdfs:domain rdf:Property ;
rdfs:range rdf:Property ;
rdfs:comment "It connect similar properties."^^xsd:string .
### http://www.w3.org/2002/07/owl#sameAs
owl:sameAs rdf:type owl:ObjectProperty ;
rdfs:domain rdfs:Resource ,
<http://www.w3.org/ns/prov#Entity> ;
rdfs:range rdfs:Resource .
### http://www.w3.org/ns/dx/prof/hasToken
<http://www.w3.org/ns/dx/prof/hasToken> rdf:type owl:ObjectProperty ,
owl:FunctionalProperty ;
rdfs:domain <http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#String> ;
rdfs:range :Token ;
rdfs:comment "Connects String with Token"^^xsd:string .
### http://www.w3.org/ns/prov#hadPrimarySource
<http://www.w3.org/ns/prov#hadPrimarySource> rdf:type owl:ObjectProperty ,
owl:FunctionalProperty ;
rdfs:domain <http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#String> ;
rdfs:range :Dataset ;
rdfs:comment "connect each instance of String to each orignal source dataset"^^xsd:string .
#################################################################
# Data properties
#################################################################
### http://dbpedia.org/ontology/knownFor
<http://dbpedia.org/ontology/knownFor> rdf:type owl:DatatypeProperty ;
rdfs:domain :Dataset ;
rdfs:range xsd:string ;
rdfs:comment "Shows the popularity of a dataset"^^xsd:string .
### http://purl.org/dc/elements/1.1/title
<http://purl.org/dc/elements/1.1/title> rdf:type owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:domain :Dataset ;
rdfs:range xsd:string ;
owl:propertyDisjointWith <http://purl.org/net/nknouf/ns/bibtex#hasTitle> .
### http://purl.org/dc/terms/language
<http://purl.org/dc/terms/language> rdf:type owl:DatatypeProperty ;
rdfs:domain :Dataset ;
rdfs:range xsd:string ;
rdfs:comment "It shows the language of the dataset"^^xsd:string .
### http://purl.org/healthcarevocab/v1/datasetType
<http://purl.org/healthcarevocab/v1/datasetType> rdf:type owl:DatatypeProperty ;
rdfs:domain :Dataset ;
rdfs:range xsd:string ;
owl:propertyDisjointWith :strType ;
rdfs:comment "It could be sentence type, multi-langual document etc."^^xsd:string .
### http://purl.org/net/nknouf/ns/bibtex#hasTitle
<http://purl.org/net/nknouf/ns/bibtex#hasTitle> rdf:type owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:domain <http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#String> ;
rdfs:range xsd:string ;
rdfs:comment "this property shwos a title for a document if any"^^xsd:string .
### http://reld.dice-research.org/schema/isGeneric
:isGeneric rdf:type owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:domain rdf:Property ;
rdfs:range xsd:boolean .
### http://reld.dice-research.org/schema/isNominal
:isNominal rdf:type owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:domain rdfs:Literal ,
rdfs:Resource ;
rdfs:range xsd:boolean ;
rdfs:comment "shows tha a resource is nominal"^^xsd:string .
### http://reld.dice-research.org/schema/numSent
:numSent rdf:type owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:domain <http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#String> ;
rdfs:range xsd:integer ;
rdfs:comment "shows number of sentences in a document"^^xsd:string .
### http://reld.dice-research.org/schema/objEndIndex
:objEndIndex rdf:type owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:domain rdf:Statement ;
rdfs:range xsd:integer .
### http://reld.dice-research.org/schema/objStartIndex
:objStartIndex rdf:type owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:domain rdf:Statement ;
rdfs:range xsd:integer .
### http://reld.dice-research.org/schema/strType
:strType rdf:type owl:DatatypeProperty ;
rdfs:domain <http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#String> ;
rdfs:range xsd:string ;
rdfs:comment "it shows that wether a String is a sentence or documnet"^^xsd:string .
### http://reld.dice-research.org/schema/subEndIndex
:subEndIndex rdf:type owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:domain rdf:Statement ;
rdfs:range xsd:integer ;
rdfs:comment "shows the end index of subject"^^xsd:string .
### http://reld.dice-research.org/schema/subFollowObj
:subFollowObj rdf:type owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:domain rdf:Statement ;
rdfs:range xsd:boolean ;
rdfs:comment "shows that an object apears before than subject"^^xsd:string .
### http://reld.dice-research.org/schema/subStartIndex
:subStartIndex rdf:type owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:domain rdf:Statement ;
rdfs:range xsd:integer ;
rdfs:comment "shows the subject start index in the tokens"^^xsd:string .
### http://www.w3.org/2000/01/rdf-schema#comment
rdfs:comment rdf:type owl:DatatypeProperty ;
rdfs:domain rdf:Statement ;
rdfs:range xsd:string .
### http://www.w3.org/ns/dcat#distribution
<http://www.w3.org/ns/dcat#distribution> rdf:type owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:domain <http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#String> ;
rdfs:range xsd:string ;
rdfs:comment "shows the String distribution in the orignal dataset"^^xsd:string .
#################################################################
# Classes
#################################################################
### http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#String
<http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#String> rdf:type owl:Class ;
rdfs:comment "This class exists in nif. It will maps all the sentences or documents of our project and will assign a unique identifier to each string."@en ;
rdfs:label "String"@en .
### http://reld.dice-research.org/schema/Dataset
:Dataset rdf:type owl:Class .
### http://reld.dice-research.org/schema/POS
:POS rdf:type owl:Class ;
rdfs:subClassOf rdf:Seq ;
owl:disjointWith :Token ;
rdfs:comment "The class represens all the parts of speach of each token."@en ;
rdfs:label "Parts of speach"@en .
### http://reld.dice-research.org/schema/Punctuation
:Punctuation rdf:type owl:Class ;
rdfs:subClassOf rdf:Seq ;
rdfs:comment "Will contains punctuations in a String."@en ;
rdfs:label "Punctuation"@en .
### http://reld.dice-research.org/schema/Token
:Token rdf:type owl:Class ;
rdfs:subClassOf rdf:Seq .
### http://www.w3.org/1999/02/22-rdf-syntax-ns#Property
rdf:Property rdf:type owl:Class .
### http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq
rdf:Seq rdf:type owl:Class .
### http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement
rdf:Statement rdf:type owl:Class .
### http://www.w3.org/2000/01/rdf-schema#Literal
rdfs:Literal rdf:type owl:Class .
### http://www.w3.org/2000/01/rdf-schema#Resource
rdfs:Resource rdf:type owl:Class .
### http://www.w3.org/ns/prov#Entity
<http://www.w3.org/ns/prov#Entity> rdf:type owl:Class ;
rdfs:comment "this class is als present in the provanance. It will maps all the entities presetn in a String."@en ;
rdfs:label "Entity"@en .
#################################################################
# Individuals
#################################################################
### http://reld.dice-research.org/schema/Dataset
:Dataset rdf:type owl:NamedIndividual .
### http://reld.dice-research.org/schema/NamedEntity
:NamedEntity rdf:type owl:NamedIndividual .
### http://reld.dice-research.org/schema/Relation
:Relation rdf:type owl:NamedIndividual .
### http://reld.dice-research.org/schema/Token
:Token rdf:type owl:NamedIndividual .
### http://reld.dice-research.org/schema/distribution
:distribution rdf:type owl:NamedIndividual .
### http://reld.dice-research.org/schema/dsType
:dsType rdf:type owl:NamedIndividual .
### http://reld.dice-research.org/schema/hasNamedEntity
:hasNamedEntity rdf:type owl:NamedIndividual .
### http://reld.dice-research.org/schema/hasObject
:hasObject rdf:type owl:NamedIndividual .
### http://reld.dice-research.org/schema/hasOrigin
:hasOrigin rdf:type owl:NamedIndividual .
### http://reld.dice-research.org/schema/hasString
:hasString rdf:type owl:NamedIndividual .
### http://reld.dice-research.org/schema/hasSubject
:hasSubject rdf:type owl:NamedIndividual .
### http://reld.dice-research.org/schema/hasToken
:hasToken rdf:type owl:NamedIndividual .
### http://reld.dice-research.org/schema/isGeneric
:isGeneric rdf:type owl:NamedIndividual .
### http://reld.dice-research.org/schema/language
:language rdf:type owl:NamedIndividual .
### http://reld.dice-research.org/schema/match
:match rdf:type owl:NamedIndividual .
### http://reld.dice-research.org/schema/name
:name rdf:type owl:NamedIndividual .
### http://reld.dice-research.org/schema/naturalLanguageRepresentation
:naturalLanguageRepresentation rdf:type owl:NamedIndividual .
### http://reld.dice-research.org/schema/numToken
:numToken rdf:type owl:NamedIndividual .
### http://reld.dice-research.org/schema/objPosition
:objPosition rdf:type owl:NamedIndividual .
### http://reld.dice-research.org/schema/relationType
:relationType rdf:type owl:NamedIndividual .
### http://reld.dice-research.org/schema/subPosition
:subPosition rdf:type owl:NamedIndividual .
### http://reld.dice-research.org/schema/http://reld.dice-research.org/schema/primaryTask
<http://reld.dice-research.org/schema/http://reld.dice-research.org/schema/primaryTask> rdf:type owl:NamedIndividual .
#################################################################
# Annotations
#################################################################
<http://purl.org/dc/elements/1.1/title> rdfs:comment "shows the title of the dataset"^^xsd:string .
:Dataset rdfs:comment "This class maps RE datasets. It indicates the origin of a relation or sentences, It helps in backtracing a sentence or relation to orignal source dataset."@en .
:Token rdfs:comment "Representa each token including punctuations."@en ;
rdfs:label "Token"@en .
:hasNamedEntity rdfs:comment "This property connect entites with String"^^xsd:string .
:isGeneric rdfs:comment "shows that a property is generic"^^xsd:string .
rdfs:comment rdfs:comment "It shows extra information of the statment e.g. the meta data of the statement."^^xsd:string .
### Generated by the OWL API (version 4.5.9.2019-02-01T07:24:44Z) https://github.com/owlcs/owlapi