-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnlpGraph_onto.ttl
More file actions
123 lines (103 loc) · 4.54 KB
/
nlpGraph_onto.ttl
File metadata and controls
123 lines (103 loc) · 4.54 KB
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
@prefix wdt: <http://www.wikidata.org/prop/direct/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix schema: <https://schema.org/> .
@prefix nlpg: <http://www.NLPGraph.com/ontology/> .
# The NLP Graph Ontology
<http://www.NLPGraph.com/ontology/>
rdf:type owl:Ontology ;
rdfs:label "The NLP Pipeline ontology" .
nlpg:Document rdf:type owl:Class ;
rdfs:label "Text Document"@en ;
rdfs:comment "Input Document for pipeline"@en .
nlpg:NamedEntity rdf:type owl:Class ;
rdfs:label "Named Entity"@en ;
rdfs:comment "A named entity."@en .
nlpg:hasText rdf:type owl:ObjectProperty ;
rdfs:domain nlpg:Document ;
rdfs:range nlpg:Text ;
rdfs:label "has Text"@en .
nlpg:hasLanguage rdf:type owl:DatatypeProperty ;
rdfs:domain nlpg:Document ;
rdfs:range xsd:language ;
rdfs:label "Language"@en .
nlpg:Location rdf:type owl:Class ;
rdfs:subClassOf nlpg:NamedEntity, schema:Place ;
rdfs:label "Location"@en ;
rdfs:comment "A Location"@en .
nlpg:geoNameID rdf:type owl:DatatypeProperty ;
rdfs:subPropertyOf wdt:P1566 ;
rdfs:label "GeoName ID"@de ,
"GeoName ID"@en ;
rdfs:domain nlpg:Location ;
rdfs:range xsd:string .
nlpg:Person rdf:type owl:Class ;
rdfs:subClassOf nlpg:NamedEntity, schema:Person, wdt:Q5 ;
rdfs:label "Person"@en ;
rdfs:comment "A resource representing a person."@en .
nlpg:gnd rdf:type owl:DatatypeProperty ;
rdfs:subPropertyOf wdt:P227 ;
rdfs:label "Gemeinsame Normdatei (GND)"@de,
"Integrated Authority File"@en ;
rdfs:comment "Repräsentiert eine GND-Nummer."@de,
"Represents an IAF identifier."@en ;
rdfs:range xsd:string ;
rdfs:domain nlpg:Person .
nlpg:givenName rdf:type owl:DatatypeProperty ;
rdfs:subPropertyOf wdt:P735 , schema:givenName;
rdfs:label "Vorname"@de,
"Given Name"@en ;
rdfs:comment "Repräsentiert einen Vorname."@de,
"Represents a first name."@en ;
rdfs:range xsd:string ;
rdfs:domain nlpg:Person .
nlpg:familyName rdf:type owl:DatatypeProperty ;
rdfs:subPropertyOf wdt:P734 , schema:familyName;
rdfs:label "Nachname"@de,
"Last Name"@en ;
rdfs:comment "Repräsentiert einen Nachname."@de,
"Represents a last name."@en ;
rdfs:range xsd:string ;
rdfs:domain nlpg:Person .
nlpg:gender rdf:type owl:DatatypeProperty ;
rdfs:subPropertyOf wdt:P21 , schema:gender;
rdfs:label "Geschlect"@de,
"Gender"@en ;
rdfs:comment "Repräsentiert eine Geschlect."@de,
"Represents a person's gender."@en ;
rdfs:range xsd:string ;
rdfs:domain nlpg:Person .
nlpg:Text a owl:Class ;
rdfs:label "Text"@en ;
rdfs:comment "A resource representing a text content."@en .
nlpg:textContent rdf:type owl:DatatypeProperty ;
rdfs:label "Reisezeil"@de,
"Traveled to"@en ;
rdfs:comment "Trip destination."@en ;
rdfs:domain nlpg:Text ;
rdfs:range xsd:string .
nlpg:hasReferenceTo rdf:type owl:ObjectProperty ;
rdfs:label "has reference to"@en ;
rdfs:comment "text reference to an entity."@en ;
rdfs:domain nlpg:Text ;
rdfs:range nlpg:NamedEntity .
nlpg:hasStandoffLink rdf:type owl:ObjectProperty ;
rdfs:label "has standoff link"@en ;
rdfs:comment "text has link to a standoff resource."@en ;
rdfs:domain nlpg:Text .
nlpg:startChar rdf:type owl:DatatypeProperty ;
rdfs:label "start character"@en ;
rdfs:comment "start character of markup."@en ;
rdfs:domain nlpg:StandoffLink ;
rdfs:range xsd:integer .
nlpg:endChar rdf:type owl:DatatypeProperty ;
rdfs:label "end character"@en ;
rdfs:comment "end character of markup."@en ;
rdfs:domain nlpg:StandoffLink ;
rdfs:range xsd:integer .
nlpg:linkTo rdf:type owl:ObjectProperty ;
rdfs:label "link to"@en ;
rdfs:comment "standoff link to a resource."@en ;
rdfs:domain nlpg:StandoffLink .