forked from mthh/covikoa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
voc-context.ttl
280 lines (212 loc) · 11.7 KB
/
voc-context.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
@prefix : <http://lig-tdcge.imag.fr/steamer/covikoa/context#> .
@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#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix geo: <http://www.opengis.net/ont/geosparql#> .
@prefix gviz: <http://lig-tdcge.imag.fr/steamer/covikoa/geoviz#> .
@prefix scale: <https://gis.lu.se/ont/visualisation_scale#> .
@base <http://lig-tdcge.imag.fr/steamer/covikoa/context> .
<http://lig-tdcge.imag.fr/steamer/covikoa/context> rdf:type owl:Ontology ;
rdfs:label "CoViKoa visualisation context ontology"@en ;
owl:versionInfo "0.2.0" ;
dct:license "http://creativecommons.org/licenses/by-nc-sa/4.0/"^^<http://purl.org/dc/terms/URI> ;
dct:issued "2020-09-30"^^xsd:date ;
dct:creator "Matthieu VIRY" ;
dct:description """
This ontology is for the initial context of the geovisualisation, i.e. the context of use, described by several concepts such as :
the user preferences, possible visual impairment, choice of day/night display mode, datasets already displayed, etc."""@en .
#################################################################
# Annotation properties
#################################################################
### http://purl.org/dc/terms/creator
<http://purl.org/dc/terms/creator> rdf:type owl:AnnotationProperty .
### http://purl.org/dc/terms/description
<http://purl.org/dc/terms/description> rdf:type owl:AnnotationProperty .
### http://purl.org/dc/terms/issued
<http://purl.org/dc/terms/issued> rdf:type owl:AnnotationProperty .
### http://purl.org/dc/terms/license
<http://purl.org/dc/terms/license> rdf:type owl:AnnotationProperty .
### http://purl.org/dc/terms/title
<http://purl.org/dc/terms/title> rdf:type owl:AnnotationProperty .
#################################################################
# Object Properties
#################################################################
:hasComponent rdf:type owl:ObjectProperty ;
owl:equivalentProperty gviz:hasGeoVisualComponent ;
rdfs:domain :Application ;
rdfs:range :Component .
:hasUserContext rdf:type owl:ObjectProperty ;
rdfs:domain :VisualisationContext ;
rdfs:range :UserContext .
:hasColorVisionDeficiency rdf:type owl:ObjectProperty ;
rdfs:domain :UserContext ;
rdfs:range :ColorVisionDeficiency .
:hasDevice rdf:type owl:ObjectProperty ;
rdfs:domain :UserContext ;
rdfs:range :Device .
:hasPreferences rdf:type owl:ObjectProperty ;
rdfs:domain :UserContext ;
rdfs:range :InterfacePreferences .
:hasMappingLibrary rdf:type owl:ObjectProperty ;
rdfs:domain :Map2d3dUnion ;
rdfs:range :MappingLibrary .
:hasVisualisationContext rdf:type owl:ObjectProperty ;
rdfs:domain gviz:GeoVisualApplication ;
rdfs:range :VisualisationContext .
:hasBaseMap rdf:type owl:ObjectProperty ;
rdfs:domain :Map2d3dUnion ;
rdfs:range :BaseMap .
:deactivesInteraction rdf:type owl:ObjectProperty ;
rdfs:domain :Map2d ;
rdfs:range :DeactivableMappingInteraction .
:hasConstrainedScaleRange rdf:type owl:ObjectProperty ;
rdfs:comment """Describes a constrained range of visualisation scale (defined using scale:Scale so either as zoom level or as resolution)."""@en ;
rdfs:domain :Map2d ;
rdfs:range scale:Scale .
:hasDayNightMode rdf:type owl:DatatypeProperty ;
rdfs:domain :InterfacePreferences ;
rdfs:range [
rdf:type rdfs:Datatype ;
owl:oneOf ( "DayMode"^^xsd:string "NightMode"^^xsd:string ) ;
] .
:widthPx rdf:type owl:DatatypeProperty ;
rdfs:domain :Component ;
rdfs:range xsd:integer .
:heightPx rdf:type owl:DatatypeProperty ;
rdfs:domain :Component ;
rdfs:range xsd:integer .
:widthRelative rdf:type owl:DatatypeProperty ;
rdfs:domain :Component ;
rdfs:range xsd:string .
:heightRelative rdf:type owl:DatatypeProperty ;
rdfs:domain :Component ;
rdfs:range xsd:string .
:position rdf:type owl:DatatypeProperty ;
rdfs:domain :Component ;
rdfs:range [
rdf:type rdfs:Datatype ;
owl:oneOf ( "top" "bottom" "left" "right" "top-left" "top-right" "bottom-left" "bottom-right" ) ;
] .
:order rdf:type owl:DatatypeProperty ;
rdfs:domain :Component ;
rdfs:range xsd:integer .
:hasMapExtent rdf:type owl:ObjectProperty ;
rdfs:domain :Map2d3dUnion ;
rdfs:range geo:Geometry .
:graticule rdf:type owl:DatatypeProperty ;
rdfs:domain :Map2d ;
rdfs:range xsd:boolean .
:templateUrl a owl:DatatypeProperty ;
rdfs:domain :BaseMap ;
rdfs:range xsd:string .
:displaySRS rdf:type owl:DatatypeProperty ;
rdfs:domain :Map2d3dUnion .
:resizable rdf:type owl:DatatypeProperty ;
rdfs:domain :Component ;
rdfs:range xsd:boolean .
:movable rdf:type owl:DatatypeProperty ;
rdfs:domain :Component ;
rdfs:range xsd:boolean .
:closable rdf:type owl:DatatypeProperty ;
rdfs:domain :Component ;
rdfs:range xsd:boolean .
#################################################################
# Other properties
#################################################################
<http://purl.org/dc/terms/right> rdf:type rdf:Property .
#################################################################
# Classes
#################################################################
:Application a owl:Class ;
owl:equivalentClass gviz:GeoVisualApplication .
:Component a owl:Class ;
owl:equivalentClass gviz:GeoVisualComponent .
:Map2d a owl:Class ;
owl:equivalentClass gviz:Map2dComponent ;
rdfs:subClassOf :Component .
:Map3d a owl:Class ;
owl:equivalentClass gviz:Map3dComponent ;
rdfs:subClassOf :Component .
:Map2d3dUnion a owl:Class ;
owl:unionOf (:Map2d :Map3d) .
:Table a owl:Class ;
owl:equivalentClass gviz:TableComponent ;
rdfs:subClassOf :Component .
:StaticPanel a owl:Class ;
owl:equivalentClass gviz:StaticContentComponent ;
rdfs:subClassOf :Component .
:VisualisationContext rdf:type owl:Class ;
rdfs:comment """
The context in which the client is doing the geovisualisation task.
It is described by a various parameters :
- the user part (color blindness, displaying preferences)
- the map part (which mapping library, which projection, etc.)
- the data & portrayal part (which documents are currently displayed and how)
"""@en .
:UserContext rdf:type owl:Class ;
rdfs:comment """
The specific part of the visualisation context that is user-induced
(such as its UI preference or being affected by a color
vision impairment, for example)."""@en .
:ColorVisionDeficiency rdf:type owl:Class ;
rdfs:comment """ ColorVisionDeficiency is
one of the two concepts allowing to describe the UserContext.
If the UserContext is said having a ColorVisionDeficiency,
the inferred portrayal rule will use adapted color schemes."""@en .
:Device rdf:type owl:Class .
:Mobile rdf:type owl:Class ;
rdfs:subClassOf :Device .
:Desktop rdf:type owl:Class ;
rdfs:subClassOf :Device .
:Tablet rdf:type owl:Class ;
rdfs:subClassOf :Device .
:DeactivableMappingInteraction rdf:type owl:Class .
:zooming a :DeactivableMappingInteraction .
:panning a :DeactivableMappingInteraction .
:rotating a :DeactivableMappingInteraction .
:InterfacePreferences rdf:type owl:Class ;
rdfs:comment """ InterfacePreferences is
one of the two concepts allowing to describe the UserContext.
It currently only allows to describe explicitly that the user
want a "night-themed" or a "day-themed" interface."""@en .
:MappingLibrary rdf:type owl:Class ;
rdfs:comment """
Part of the visualisation context. Describe an interactive mapping library (such as Leaflet.js)."""@en .
:MappingLibrary2D rdf:type owl:Class ;
rdfs:subClassOf :MappingLibrary ;
rdfs:comment """
Describe a library usable for interactive 2D visualisation of geospatial data."""@en .
:MappingLibrary3D rdf:type owl:Class ;
rdfs:subClassOf :MappingLibrary ;
rdfs:comment """
Describe a library usable for interactive 3D visualisation of geospatial data."""@en .
:BaseMap rdf:type owl:Class ;
rdfs:comment """Describe the reference to a specific cartographic base-map (such as Stamen Toner, OpenTopoMap, etc.)."""@en .
:Monochromacy rdf:type owl:Class ;
rdfs:subClassOf :ColorVisionDeficiency .
:Dichromacy rdf:type owl:Class ;
rdfs:subClassOf :ColorVisionDeficiency .
:AnomalousTrichromacy rdf:type owl:Class ;
rdfs:subClassOf :ColorVisionDeficiency .
:openlayers a :MappingLibrary2D .
:leaflet a :MappingLibrary2D .
:itowns a :MappingLibrary3D .
:openglobus a :MappingLibrary3D .
:openTopoMapBaseMap a :BaseMap ;
:templateUrl "https://a.tile.opentopomap.org/{z}/{x}/{y}.png" ;
dct:rights """Map data: © <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, <a href="http://viewfinderpanoramas.org/">SRTM</a> | Map style: © <a href="https://opentopomap.org/">OpenTopoMap</a> (<a href="https://creativecommons.org/licenses/by-sa/3.0/">CC-BY-SA</a>)""" .
:stamenTonerBaseMap a :BaseMap ;
:templateUrl "http://a.tile.stamen.com/toner/{z}/{x}/{y}.png" ;
dct:rights """"Map tiles by <a href="https://stamen.com/">Stamen Design</a>, under <a href="https://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>. Data by <a href="https://www.openstreetmap.org/">OpenStreetMap</a> under <a href="https://creativecommons.org/licenses/by-sa/3.0/">CC BY SA</a>.""" .
:stamenWatercolorBaseMap a :BaseMap ;
:templateUrl "http://c.tile.stamen.com/watercolor/{z}/{x}/{y}.png" ;
dct:rights """Map tiles by <a href="https://stamen.com/">Stamen Design</a>, under <a href="https://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>. © <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors.""" .
:osmDefaultBaseMap a :BaseMap ;
:templateUrl "https://tile.openstreetmap.org/{z}/{x}/{y}.png" ;
dct:rights """© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors""" .
:arcgisOnlineWorldImagery a :BaseMap ;
:templateUrl "https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}" ;
dct:rights """"Esri, Maxar, Earthstar Geographics, USDA FSA, USGS, Aerogrid, IGN, IGP, and the GIS User Community""" .