This repository was archived by the owner on Feb 12, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathgeoreference.shacl.ttl
More file actions
220 lines (214 loc) · 8.42 KB
/
Copy pathgeoreference.shacl.ttl
File metadata and controls
220 lines (214 loc) · 8.42 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
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
@prefix georeference: <https://w3id.org/ascs-ev/envited-x/georeference/v5/> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
# The Shapes Graph URI appends "/shapes" to the Ontology URI
<https://w3id.org/ascs-ev/envited-x/georeference/v5/shapes>
a owl:Ontology ;
# The Shapes Graph must import the Domain Ontology
owl:imports <https://w3id.org/ascs-ev/envited-x/georeference/v5> .
georeference:GeoreferenceShape a sh:NodeShape ;
sh:closed false ;
sh:property [
sh:maxCount 1 ;
sh:minCount 1 ;
sh:node georeference:ProjectLocationShape ;
sh:name "project location object"@en ;
sh:description "Contains properties (state, city, region, country, bounding) to describe the location of the simulation asset."@en ;
sh:order 0 ;
sh:path georeference:hasProjectLocation
], [
sh:maxCount 1 ;
sh:minCount 1 ;
sh:node georeference:GeodeticReferenceSystemShape ;
sh:name "geodetic reference system object"@en ;
sh:description "This ontology includes properties for positions (e.g., origin and viewpoint), projection type, and an ellipsoidal height system, which together define a geodetic reference system."@en ;
sh:order 1 ;
sh:path georeference:hasGeodeticReferenceSystem
] ;
sh:targetClass georeference:Georeference .
georeference:GeodeticReferenceSystemShape a sh:NodeShape ;
sh:closed false ;
sh:or (
[ sh:minCount 1 ; sh:path georeference:codeEPSG ]
[ sh:minCount 1 ; sh:path georeference:coordinateSystemName ]
) ;
sh:property [
skos:example "Lat: 1.234; Lon 45.23"@en ;
sh:description "Defines the center position of the asset in world coordinates."@en ;
sh:message "Validation of origin failed!"@en ;
sh:name "origin"@en ;
sh:node georeference:LatLonCoordinateShape ;
sh:minCount 1 ;
sh:maxCount 1 ;
sh:order 0 ;
sh:path georeference:hasOrigin
], [
skos:example "Lat: 1.234; Lon 45.23"@en ;
sh:description "Defines the imported viewpoint position of the asset in world coordinates."@en ;
sh:message "Validation of view point failed!"@en ;
sh:name "view point"@en ;
sh:node georeference:LatLonCoordinateShape ;
sh:maxCount 1 ;
sh:order 1 ;
sh:path georeference:hasViewPoint
], [
skos:example "32632" ;
sh:datatype xsd:integer ;
sh:description "Defines the projection EPSG code for the asset."@en ;
sh:message "Validation of codeEPSG failed!"@en ;
sh:name "EPSG code"@en ;
sh:maxCount 1 ;
sh:order 2 ;
sh:path georeference:codeEPSG
], [
skos:example "UTM, None" ;
sh:datatype xsd:string ;
sh:description "Describes the coordinate system name of the asset as an alternative to the EPSG code."@en ;
sh:message "Validation of coordinateSystemName failed!"@en ;
sh:name "coordinate system name"@en ;
sh:maxCount 1 ;
sh:order 3 ;
sh:path georeference:coordinateSystemName
], [
skos:example "Ellipsoidal height" ;
sh:description "Defines the height system type of the asset."@en ;
sh:in ("Ellipsoidal height" "Orthometric height" "Local height") ;
sh:maxCount 1 ;
sh:message "Validation of heightSystem failed!"@en ;
sh:name "height system"@en ;
sh:order 4 ;
sh:path georeference:heightSystem
] ;
sh:targetClass georeference:GeodeticReferenceSystem .
georeference:BoundingBoxShape a sh:NodeShape ;
sh:closed false ;
sh:property [
skos:example "1.0" ;
sh:datatype xsd:float ;
sh:description "Defines the minimum bounding box value along the x-axis."@en ;
sh:message "Validation of xMin failed!"@en ;
sh:name "xMin"@en ;
sh:minCount 1 ;
sh:maxCount 1 ;
sh:order 0 ;
sh:path georeference:xMin
], [
skos:example "2.0" ;
sh:datatype xsd:float ;
sh:description "Defines the minimum bounding box value along the y-axis."@en ;
sh:message "Validation of yMin failed!"@en ;
sh:name "yMin"@en ;
sh:minCount 1 ;
sh:maxCount 1 ;
sh:order 1 ;
sh:path georeference:yMin
], [
skos:example "11.0" ;
sh:datatype xsd:float ;
sh:description "Defines the maximum bounding box value along the x-axis."@en ;
sh:message "Validation of xMax failed!"@en ;
sh:name "xMax"@en ;
sh:minCount 1 ;
sh:maxCount 1 ;
sh:order 2 ;
sh:path georeference:xMax
], [
skos:example "12.0" ;
sh:datatype xsd:float ;
sh:description "Defines the maximum bounding box value along the y-axis."@en ;
sh:message "Validation of yMax failed!"@en ;
sh:name "yMax"@en ;
sh:minCount 1 ;
sh:maxCount 1 ;
sh:order 3 ;
sh:path georeference:yMax
] ;
sh:targetClass georeference:BoundingBox .
georeference:LatLonCoordinateShape a sh:NodeShape ;
sh:closed false ;
sh:property [
skos:example "52.540721" ;
sh:datatype xsd:float ;
sh:description "Defines a world latitude value (on the y-axis) in degrees."@en ;
sh:message "Validation of lat failed!"@en ;
sh:name "lat"@en ;
sh:minCount 1 ;
sh:maxCount 1 ;
sh:order 0 ;
sh:path georeference:lat
], [
skos:example "13.412511" ;
sh:datatype xsd:float ;
sh:description "Defines a world longitude value (on the x-axis) in degrees."@en ;
sh:message "Validation of lon failed!"@en ;
sh:name "lon"@en ;
sh:minCount 1 ;
sh:maxCount 1 ;
sh:order 1 ;
sh:path georeference:lon
] ;
sh:targetClass georeference:LatLonCoordinate .
georeference:ProjectLocationShape a sh:NodeShape ;
sh:closed false ;
sh:property [
skos:example "DE-BY" ;
sh:datatype xsd:string ;
sh:description "Defines an ISO 3166-2 code for the state or province in which the asset centre is located."@en ;
sh:message "Validation of state failed!"@en ;
sh:maxCount 1 ;
sh:name "state"@en ;
sh:order 1 ;
sh:path georeference:state ;
sh:pattern "^[a-zA-Z]{2}-(?:[a-zA-Z]{1,3}|[0-9]{1,3})$"
], [
skos:example "Munich" ;
sh:datatype xsd:string ;
sh:description "Specifies the name of the city in which the asset's centre is located."@en ;
sh:message "Validation of city failed!"@en ;
sh:maxCount 1 ;
sh:name "city"@en ;
sh:order 3 ;
sh:path georeference:city
], [
skos:example "Upper Bavaria" ;
sh:datatype xsd:string ;
sh:description "Specifies the name of the region in which the asset's centre is located."@en ;
sh:message "Validation of region failed!"@en ;
sh:maxCount 1 ;
sh:name "region"@en ;
sh:order 2 ;
sh:path georeference:region
], [
skos:example "DE" ;
sh:datatype xsd:string ;
sh:description "Defines an ISO 3166-1, alpha-2 code for the country in which the asset centre is located."@en ;
sh:maxCount 1 ;
sh:message "Validation of country failed!"@en ;
sh:name "country"@en ;
sh:order 0 ;
sh:path georeference:country ;
sh:pattern "^[a-zA-Z]{2}$"
], [
skos:example "Lat: 1.234- 1.345; Lon 45.23-45.34" ;
sh:description "Defines the bounding box in world coordinates of the asset."@en ;
sh:message "Validation of boundingBox failed!"@en ;
sh:name "bounding box"@en ;
sh:node georeference:BoundingBoxShape ;
sh:minCount 1 ;
sh:maxCount 1 ;
sh:order 5 ;
sh:path georeference:hasBoundingBox
], [
skos:example "Highway A8, Greater Area Ingolstadt"@en ;
sh:datatype xsd:string ;
sh:description "Describes the area in which the asset is located, such as the name of the main street or the landscape region."@en ;
sh:message "Validation of relationOrArea failed!"@en ;
sh:maxCount 1 ;
sh:name "relation or area"@en ;
sh:order 4 ;
sh:path georeference:relationOrArea
] ;
sh:targetClass georeference:ProjectLocation .