summaryrefslogtreecommitdiff
path: root/src/ontologies/nepomuk/92-slo.ontology
blob: 608d0dcfa4edb4aa702b5944beb1fc09320b00ca (plain)
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
@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 nrl: <http://tracker.api.gnome.org/ontology/v3/nrl#> .
@prefix nie: <http://tracker.api.gnome.org/ontology/v3/nie#> .
@prefix nco: <http://tracker.api.gnome.org/ontology/v3/nco#> .
@prefix slo: <http://tracker.api.gnome.org/ontology/v3/slo#> .
@prefix tracker: <http://tracker.api.gnome.org/ontology/v3/tracker#> .

slo: a tracker:Namespace, tracker:Ontology ;
	tracker:prefix "slo" ;
	tracker:lastModified "2011-06-08T12:09:00Z" .

slo:LandmarkCategory a rdfs:Class ;
	rdfs:label "Landmark category";
	rdfs:comment "Predefined set of instances for categories of landmarks";
	tracker:notify true ;
	rdfs:subClassOf nie:InformationElement.

slo:isRemovable a rdf:Property ;
	rdfs:label "Is removable";
	rdfs:comment "Flag to indicate if this instance is removable. This restriction is not enforced by tracker; it is API responsability to honor the value";
	rdfs:domain slo:LandmarkCategory ;
	nrl:maxCardinality 1 ;
	rdfs:range xsd:boolean.

slo:categoryIconUrl a rdf:Property ;
	rdfs:label "Landmark category icon" ;
	rdfs:comment "Url of the icon that corresponds to this category." ;
	rdfs:domain slo:LandmarkCategory ;
	nrl:maxCardinality 1 ;
	rdfs:range rdfs:Resource .

slo:Landmark a rdfs:Class ;
	rdfs:label "Point with special relevance for the user" ;
	rdfs:subClassOf nie:InformationElement ;
	tracker:notify true ;
	rdfs:comment "Use the nie title, description, ... properties" .

slo:belongsToCategory a rdf:Property ;
	rdfs:label "Belongs to category";
	rdfs:comment "Relation of a landmark with a landmark category";
	rdfs:domain slo:Landmark ;
	rdfs:range slo:LandmarkCategory .

slo:hasContact a rdf:Property ;
	rdfs:label "Landmark contact information" ;
	rdfs:comment "The contact information of the landmark in question" ;
	rdfs:domain slo:Landmark ;
	rdfs:range nco:Contact .

slo:iconUrl a rdf:Property ;
	rdfs:label "Landmark icon" ;
	rdfs:comment "Url of the icon that corresponds to this landmark." ;
	rdfs:domain slo:Landmark ;
	nrl:maxCardinality 1 ;
	rdfs:range rdfs:Resource .

slo:GeoLocation a rdfs:Class ;
	rdfs:label "Location" ;
	rdfs:comment "A place in the space, can be defined by coordinates or text";
	tracker:notify true ;
	rdfs:subClassOf nie:InformationElement.

#Properties of GeoLocation
slo:latitude a rdf:Property ;
	rdfs:label "Latitude";
	rdfs:comment "Positive values for the north hemisphere, negative for the south" ;
	rdfs:domain slo:GeoLocation ;
	nrl:maxCardinality 1 ;
	rdfs:range  xsd:double .

slo:longitude a rdf:Property ;
	rdfs:label "Longitude" ;
	rdfs:comment "Positive to the East of the Greenwich meridian, negative to the West (following WGS-84)" ;
	rdfs:domain slo:GeoLocation ;
	nrl:maxCardinality 1 ;
	rdfs:range  xsd:double .

slo:verticalAccuracy a rdf:Property ;
	rdfs:label "Latitude";
	rdfs:comment "Represents the error estimate of vertical (earths-surface) accuracy in meters." ;
	rdfs:domain slo:GeoLocation ;
	nrl:maxCardinality 1 ;
	rdfs:range  xsd:double .

slo:horizontalAccuracy a rdf:Property ;
	rdfs:label "Longitude" ;
	rdfs:comment "Represents the error estimate of horizontal (earths-surface) accuracy in meters." ;
	rdfs:domain slo:GeoLocation ;
	nrl:maxCardinality 1 ;
	rdfs:range  xsd:double .

slo:altitude a rdf:Property ;
	rdfs:label "Altitude" ;
	rdfs:comment "Altitude following WGS 84 reference";
	rdfs:domain slo:GeoLocation ;
	nrl:maxCardinality 1 ;
	rdfs:range  xsd:double .

slo:boundingLatitudeMin a rdf:Property ;
	rdfs:label "Latitude";
	rdfs:comment "Southern latitude of the bounding box" ;
	rdfs:domain slo:GeoLocation ;
	nrl:maxCardinality 1 ;
	rdfs:range  xsd:double .

slo:boundingLatitudeMax a rdf:Property ;
	rdfs:label "Latitude";
	rdfs:comment "Northern latitude of the bounding box" ;
	rdfs:domain slo:GeoLocation ;
	nrl:maxCardinality 1 ;
	rdfs:range  xsd:double .

slo:boundingLongitudeMin a rdf:Property ;
	rdfs:label "Longitude" ;
	rdfs:comment "Western longitude of the bounding box" ;
	rdfs:domain slo:GeoLocation ;
	nrl:maxCardinality 1 ;
	rdfs:range  xsd:double .

slo:boundingLongitudeMax a rdf:Property ;
	rdfs:label "Longitude" ;
	rdfs:comment "Eastern longitude of the bounding box" ;
	rdfs:domain slo:GeoLocation ;
	nrl:maxCardinality 1 ;
	rdfs:range  xsd:double .

slo:radius a rdf:Property ;
	rdfs:label "Radius";
	rdfs:comment "Radius from the center to define an area. Some applications can use it in 2D sense, making then a circle instead of a sphere" ;
	rdfs:domain slo:GeoLocation ;
	nrl:maxCardinality 1 ;
	rdfs:range xsd:double .

slo:timestamp a rdf:Property ;
	rdfs:label "Timestamp" ;
	rdfs:comment "Timestamp when the geolocation is referenced. Create subproperties for certain use cases" ;
	rdfs:domain slo:GeoLocation ;
	nrl:maxCardinality 1 ;
	rdfs:range xsd:dateTime .

slo:postalAddress a rdf:Property ;
	rdfs:label "As postal address" ;
	rdfs:comment "Representation of the location as text address" ;
	tracker:indexed true ;
	rdfs:domain slo:GeoLocation ;
	nrl:maxCardinality 1 ;
	rdfs:range nco:PostalAddress .

# FIXME Domain rdfs:Resource?? to link files and not only content?
slo:location a rdf:Property ;
	tracker:writeback true ;
	rdfs:label "Property linking something to a location" ;
	rdfs:comment "This can be subclassed to add semantics" ;
	rdfs:domain nie:InformationElement ;
	tracker:indexed true ;
	nrl:maxCardinality 1 ;
	rdfs:range slo:GeoLocation .

# Comment for rethinking, this used to be subclass of bounding box..
# now location, properties other than the bounding box set to the starting point
slo:Route a rdfs:Class ;
	rdfs:label "Minimum box containing all the points traversed in route" ;
	rdfs:subClassOf slo:GeoLocation .

# Properties of Route
slo:startTime a rdf:Property ;
	rdfs:label "Time when the first point in the route was saved" ;
	rdfs:domain slo:Route ;
	nrl:maxCardinality 1 ;
	rdfs:range  xsd:dateTime .

slo:endTime a rdf:Property ;
	rdfs:label "Time when the last point in the route was saved" ;
	rdfs:domain slo:Route ;
	nrl:maxCardinality 1 ;
	rdfs:range  xsd:dateTime .

slo:routeDetails a rdf:Property ;
	rdfs:label "Pointer to a file containing route details (e.g. KML file)." ;
	rdfs:comment "FIXME Domain can be resource if we handle map-files correctly in the ontology";
	rdfs:domain slo:Route ;
	rdfs:range  xsd:string .

###############################################
#  Predefined categories coming from Symbian
#    - move to a different file?
###############################################

slo:predefined-landmark-category-accommodation a slo:LandmarkCategory ;
	slo:isRemovable false ;
	nie:title "Accommodation";
	nie:description "Hotel, Camping site".

slo:predefined-landmark-category-business a slo:LandmarkCategory ;
	slo:isRemovable false ;
	nie:title "Business";
	nie:description "Bank, Factory, Office".

slo:predefined-landmark-category-communication a slo:LandmarkCategory ;
	slo:isRemovable false ;
	nie:title "Communication";
	nie:description "Internet Access Point, Public Telephone, Wireless LAN Hot Spot".

slo:predefined-landmark-category-educational-institute a slo:LandmarkCategory ;
	slo:isRemovable false ;
	nie:title "Educational institute";
	nie:description "School, College".

slo:predefined-landmark-category-entertainment a slo:LandmarkCategory ;
	slo:isRemovable false ;
	nie:title "Entertainment";
	nie:description "Amusement park, Cinema, Concert hall, Night club".

slo:predefined-landmark-category-food-beverage a slo:LandmarkCategory ;
	slo:isRemovable false ;
	nie:title "Food & Beverage";
	nie:description "Fast food, Restaurant, Café, Bar".

slo:predefined-landmark-category-geographical-area a slo:LandmarkCategory ;
	slo:isRemovable false ;
	nie:title "Geographical area";
	nie:description "City, City center, Town".

slo:predefined-landmark-category-outdoor-activities a slo:LandmarkCategory ;
	slo:isRemovable false ;
	nie:title "Outdoor activities";
	nie:description "Camping site, Fishing place, Hunting, National park, Playground".

slo:predefined-landmark-category-people a slo:LandmarkCategory ;
	slo:isRemovable false ;
	nie:title "People";
	nie:description "My home, My friends home, Fathers summer cottage, Childs school".

slo:predefined-landmark-category-public-service a slo:LandmarkCategory ;
	slo:isRemovable false ;
	nie:title "Public service";
	nie:description "Tourist information office, Government office, Library, Post office, Hospital, Police ".

slo:predefined-landmark-category-religious-places a slo:LandmarkCategory ;
	slo:isRemovable false ;
	nie:title "Religious places";
	nie:description "Church, Mosque".

slo:predefined-landmark-category-shopping a slo:LandmarkCategory ;
	slo:isRemovable false ;
	nie:title "Shopping";
	nie:description "Market Place, Pharmacy, Shop, Shopping Center".

slo:predefined-landmark-category-sightseeing a slo:LandmarkCategory ;
	slo:isRemovable false ;
	nie:title "Sightseeing";
	nie:description "Monument, Mountain top, Museum".

slo:predefined-landmark-category-sports a slo:LandmarkCategory ;
	slo:isRemovable false ;
	nie:title "Sports";
	nie:description "Bowling, Golf course, Ice hockey hall, Stadium".

slo:predefined-landmark-category-transport a slo:LandmarkCategory ;
	slo:isRemovable false ;
	nie:title "Transport";
	nie:description "Airport, Bus stop, Harbour, Railway Station, Rest area".