-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlpo_draft_9aug.ttl
245 lines (195 loc) · 7.1 KB
/
lpo_draft_9aug.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
@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 xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix lpo: <https://example.org/lpo#> .
# Define the classes
lpo:Place a owl:Class .
lpo:PlaceName a owl:Class .
lpo:PlaceType a owl:Class .
lpo:PlaceGeom a owl:Class .
lpo:PlaceRelated a owl:Class .
lpo:PlaceDescription a owl:Class .
lpo:Period a owl:Class .
lpo:SourceLabel a owl:Class ;
rdfs:comment "A label associated with a published vocabulary term, with an optional language." .
lpo:When a owl:Class .
lpo:Citation a owl:Class .
# Properties for Place
lpo:hasName a owl:ObjectProperty ;
rdfs:domain lpo:Place ;
rdfs:range lpo:PlaceName .
lpo:hasType a owl:ObjectProperty ;
rdfs:domain lpo:Place ;
rdfs:range lpo:PlaceType .
lpo:hasGeom a owl:ObjectProperty ;
rdfs:domain lpo:Place ;
rdfs:range lpo:PlaceGeom .
lpo:hasRelation a owl:ObjectProperty ;
rdfs:domain lpo:Place ;
rdfs:range lpo:PlaceRelated .
lpo:hasDescription a owl:ObjectProperty ;
rdfs:domain lpo:Place ;
rdfs:range lpo:PlaceDescription .
lpo:sourceId a owl:DatatypeProperty ;
rdfs:domain lpo:Place ;
rdfs:range xsd:string .
lpo:sourceDataset a owl:DatatypeProperty ;
rdfs:domain lpo:Place ;
rdfs:range xsd:string .
lpo:sourceDatasetURI a owl:DatatypeProperty ;
rdfs:domain lpo:Place ;
rdfs:range xsd:anyURI ;
rdfs:comment "URI for a place's dataset source." .
lpo:hasTitle a owl:DatatypeProperty ;
rdfs:domain lpo:Place ;
rdfs:range xsd:string ;
rdfs:comment "a preferred toponym as title of the Place record".
lpo:hasCountryCode a owl:DatatypeProperty ;
rdfs:domain lpo:Place ;
rdfs:range xsd:string ;
rdfs:comment "Stores a 2-letter modern country code." .
lpo:hasFeatureClass a owl:DatatypeProperty ;
rdfs:domain lpo:Place ;
rdfs:range xsd:string ;
rdfs:comment "Stores one or more feature class codes as strings." .
#
# Properties for PlaceName
#
lpo:toponym a owl:DatatypeProperty ;
rdfs:domain lpo:PlaceName ;
rdfs:range xsd:string ;
rdfs:comment "The toponym or name of the place." .
lpo:language a owl:DatatypeProperty ;
rdfs:domain lpo:PlaceName ;
rdfs:range xsd:string ;
rdfs:comment "The language of the place name." .
#
# Properties for PlaceType
#
lpo:identifier a owl:DatatypeProperty ;
rdfs:domain lpo:PlaceType ;
rdfs:range xsd:anyURI ;
rdfs:comment "The URI identifier pointing to a term in a published vocabulary." .
lpo:typeLabel a owl:DatatypeProperty ;
rdfs:domain lpo:PlaceType ;
rdfs:range xsd:string ;
rdfs:comment "The label of the type, as defined by the published vocabulary." .
lpo:hasSourceLabel a owl:ObjectProperty ;
rdfs:domain lpo:PlaceType ;
rdfs:range lpo:SourceLabel ;
rdfs:comment "Associates a PlaceType with one or more SourceLabel instances." .
#
# Properties for PlaceGeom
#
lpo:wktValue a owl:DatatypeProperty ;
rdfs:domain lpo:PlaceGeom ;
rdfs:range xsd:string ;
rdfs:comment "The Well-Known Text (WKT) representation of the geometry." .
lpo:s2CellId a owl:DatatypeProperty ;
rdfs:domain lpo:PlaceGeom ;
rdfs:range xsd:string ;
rdfs:comment "A string representation an S2 cell IDs for spatial indexing." .
lpo:reprPoint a owl:DatatypeProperty ;
rdfs:domain lpo:PlaceGeom ;
rdfs:range xsd:string ;
rdfs:comment "a [longitude/latitude] list" .
#
# Properties for PlaceRelated
#
lpo:relationType a owl:ObjectProperty ;
rdfs:domain lpo:PlaceRelation ;
rdfs:range rdfs:Resource ;
rdfs:comment "A URI pointing to a term in a published vocabulary" .
lpo:relationTo a owl:ObjectProperty ;
rdfs:domain lpo:PlaceRelation ;
rdfs:range rdfs:Resource ;
rdfs:comment "A URI pointing to another place, either within the same graph or external" .
#
# Properties for PlaceDescription
#
lpo:descriptionValue a owl:DatatypeProperty ;
rdfs:domain lpo:PlaceDescription ;
rdfs:range xsd:string ;
rdfs:comment "The textual content of the place description." .
#
# Properties for When
#
lpo:sourceYear a owl:DatatypeProperty ;
rdfs:domain lpo:When ;
rdfs:range xsd:gYear ;
rdfs:comment "Specifies publication year of source." .
lpo:duration a owl:DatatypeProperty ;
rdfs:domain lpo:When ;
rdfs:range xsd:string ;
rdfs:comment "Specifies the duration of the event, potentially using EDTF syntax." .
# Timespan properties
lpo:start a owl:DatatypeProperty ;
rdfs:domain lpo:When ;
rdfs:range xsd:string ;
rdfs:comment "The start date of the timespan, formatted as yyyy-mm or yyyy-mm-dd." .
lpo:end a owl:DatatypeProperty ;
rdfs:domain lpo:When ;
rdfs:range xsd:string ;
rdfs:comment "The end date of the timespan, formatted as yyyy-mm-dd." .
lpo:earliest a owl:DatatypeProperty ;
rdfs:domain lpo:When ;
rdfs:range xsd:string ;
rdfs:comment "The earliest possible date for the timespan, formatted as yyyy-mm-dd." .
lpo:latest a owl:DatatypeProperty ;
rdfs:domain lpo:When ;
rdfs:range xsd:string ;
rdfs:comment "The latest possible date for the timespan, formatted as yyyy-mm-dd." .
#
# Properties for Period
#
lpo:periodName a owl:DatatypeProperty ;
rdfs:domain lpo:Period ;
rdfs:range xsd:string ;
rdfs:comment "The name of the historical period." .
lpo:periodURI a owl:DatatypeProperty ;
rdfs:domain lpo:Period ;
rdfs:range xsd:anyURI ;
rdfs:comment "The URI representing the period in a published vocabulary." .
#
# Properties for SourceLabel
#
lpo:labelValue a owl:DatatypeProperty ;
rdfs:domain lpo:SourceLabel ;
rdfs:range xsd:string ;
rdfs:comment "The label value of the source term." .
lpo:labelLanguage a owl:DatatypeProperty ;
rdfs:domain lpo:SourceLabel ;
rdfs:range xsd:string ;
rdfs:comment "The language of the label value." .
#
# Properties for Citation
#
lpo:citationURI a owl:DatatypeProperty ;
rdfs:domain lpo:Citation ;
rdfs:range xsd:anyURI ;
rdfs:comment "The URI to a published resource." .
lpo:sourceYear a owl:DatatypeProperty ;
rdfs:domain lpo:Citation ;
rdfs:range xsd:gYear ;
rdfs:comment "The year associated with the citation or source." .
#
# generic properties
#
lpo:hasCitation a owl:ObjectProperty ;
rdfs:range lpo:Citation ;
rdfs:label "hasCitation" ;
rdfs:comment "Connects an entity (e.g., PlaceName, PlaceType, PlaceRelation) to a Citation instance." .
lpo:hasWhen a owl:ObjectProperty ;
rdfs:range lpo:When ;
rdfs:label "hasWhen" ;
rdfs:comment "Connects an entity (e.g., Place, PlaceName, PlaceType, PlaceGeom, PlaceRelation) to a When instance." .
lpo:language a owl:DatatypeProperty ;
rdfs:range xsd:string ;
rdfs:comment "Specifies the language of the content. Applicable to multiple classes such as PlaceName, PlaceDescription, and SourceLabel." .
lpo:certainty a owl:DatatypeProperty ;
rdfs:range xsd:string ;
rdfs:comment "A string indicating the level of certainty for a geometry or relation." .
lpo:label a owl:DatatypeProperty ;
rdfs:range xsd:string ;
rdfs:comment "A human-readable label applicable to multiple entity classes." .