-
Notifications
You must be signed in to change notification settings - Fork 5
/
gpx.n3
276 lines (226 loc) · 12.1 KB
/
gpx.n3
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
# THIS .n3 FILE IS THE EDITED SOURCE from which the .ttl and .rdf are generated
#
# In general, so not put comments as n3 comments, put them in the ontology so they
# are available to inform developers using the ontology.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix s: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dct: <http://purl.org/dc/terms/>.
@prefix owl: <http://www.w3.org/2002/07/owl#>.
@prefix schema: <http://schema.org/>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix gpx: <http://www.w3.org/ns/pim/gpx#> .
<> a owl:ontology; dct:title "Ontology for GPS data from GPX";
s:comment """This RDF ontology is deemed to contain as RDF terms all
the terms which are standardized as XML elements in the GPX specification.
This ontology file has been produced to fill the place but is untested.""";
dct:title "Ontology for GPS data from GPX";
:comment """GPX schema version 1.1 - For more information on GPX and this schema, visit http://www.topografix.com/gpx.asp
GPX uses the following conventions: all coordinates are relative to the WGS84 datum. All measurements are in metric units.""",
"""This RDF ontology is deemed to contain as RDF terms all
the terms which are standardized as XML elements in the GPX specification.
""".
gpx:ageofdgpsdata a rdf:Property;
:label "age of DGPS data"@en;
:comment """Number of seconds since last DGPS update.""";
:range xsd:decimal .
gpx:author a rdf:Property;
:label "author"@en;
:comment """The person or organization who created the GPX file.""";
:range gpx:PersonType .
gpx:bounds a rdf:Property;
:label "bounds"@en;
:comment """Minimum and maximum coordinates which describe the extent of the coordinates in the file.""";
:range gpx:BoundsType .
gpx:cmt a rdf:Property;
:label "comment"@en;
:comment """GPS comment for route.""",
"""GPS comment for track.""",
"""GPS waypoint comment. Sent to GPS as comment.""";
:range xsd:string .
gpx:copyright a rdf:Property;
:label "copyright info"@en;
:comment """Copyright and license information governing use of the file.""";
:range gpx:CopyrightType .
gpx:desc a rdf:Property;
:label "description"@en;
:comment """A text description of the element. Holds additional information about the element intended for the user, not the GPS.""",
"""Text description of route for user. Not sent to GPS.""",
"""User description of track.""",
"""A description of the contents of the GPX file.""";
:range xsd:string .
gpx:dgpsid a rdf:Property;
:label "station id"@en;
:comment """ID of DGPS station used in differential correction.""";
:range gpx:DgpsStationType .
gpx:ele a rdf:Property;
:label "elevation"@en;
:comment """Elevation (in meters) of the point.""",
"""The elevation (in meters) of the point.""";
:range xsd:decimal .
gpx:email a rdf:Property;
:label "email"@en;
:comment """Email address.""";
:range gpx:EmailType .
gpx:extensions a rdf:Property;
:label "extensions"@en;
:comment """Information about the GPX file, author, and copyright restrictions goes in the metadata section. Providing rich,
meaningful information about your GPX files allows others to search for and use your GPS data.""",
"""The latitude of the point. Decimal degrees, WGS84 datum.""", # @@ These comments seem nonsense
"""You can add extend GPX by adding your own elements from another schema here.""",
"""You must include the name or URL of the software that created your GPX document. This allows others to
inform the creator of a GPX instance document that fails to validate.""",
"""You must include the version number in your GPX document.""",
"""rte represents route - an ordered list of waypoints representing a series of turn points leading to a destination.""",
"""wpt represents a waypoint, point of interest, or named feature on a map.""",
"""Information about the copyright holder and any license governing use of this file. By linking to an appropriate license,
you may place your data into the public domain or grant additional usage rights.""";
:range gpx:ExtensionsType .
gpx:fix a rdf:Property;
:label "fix type"@en;
:comment """Type of GPX fix.""";
:range gpx:FixType .
gpx:geoidheight a rdf:Property;
:label "geoid height"@en;
:comment """Height (in meters) of geoid (mean sea level) above WGS84 earth ellipsoid. As defined in NMEA GGA message.""";
:range xsd:decimal .
gpx:gpx a rdf:Property;
:comment """GPX documents contain a metadata header, followed by waypoints, routes, and tracks. You can add your own elements
to the extensions section of the GPX document.""",
"""GPX is the root element in the XML file.""";
:range gpx:GpxType .
gpx:hdop a rdf:Property;
:label "horiz dilution"@en;
:comment """Horizontal dilution of precision.""";
:range xsd:decimal .
gpx:keywords a rdf:Property;
:label "keywords"@en;
:comment """Keywords associated with the file. Search engines or databases can use this information to classify the data.""";
:range xsd:string .
gpx:license a rdf:Property;
:label "license"@en;
:comment """Copyright holder (TopoSoft, Inc.)""",
"""Link to external file containing license text.""",
"""A link to an external resource (Web page, digital photo, video clip, etc) with additional information.""";
:range xsd:anyURI .
gpx:link a rdf:Property;
:label "see also"@en;
:comment """Link to additional information about the waypoint.""",
"""Links to external information about the route.""",
"""Links to external information about track.""",
"""Link to Web site or other external information about person.""",
"""URLs associated with the location described in the file.""",
"""A geographic point with optional elevation and time. Available for use by other schemas.""";
:range gpx:LinkType .
gpx:magvar a rdf:Property;
:label "mag variation"@en;
:comment """Magnetic variation (in degrees) at the point""";
:range gpx:DegreesType .
gpx:metadata a rdf:Property;
:label "metadata"@en;
:comment """Metadata about the file.""";
:range gpx:MetadataType .
gpx:name a rdf:Property;
:label "name"@en;
:comment """GPS name of route.""",
"""GPS name of track.""",
"""The GPS name of the waypoint. This field will be transferred to and from the GPS. GPX does not place restrictions on the length of this field or the characters contained in it. It is up to the receiving application to validate the field before sending it to the GPS.""",
"""Name of person or organization.""",
"""The name of the GPX file.""";
:range xsd:string .
gpx:number a rdf:Property;
:label "number"@en;
:comment """GPS route number.""",
"""GPS track number.""";
:range xsd:nonNegativeInteger .
gpx:pdop a rdf:Property;
:label "Position dilution"@en;
:comment """Position dilution of precision.""";
:range xsd:decimal .
gpx:pt a rdf:Property;
:label "point"@en;
:comment """Ordered list of geographic points.""",
"""The latitude of the point. Decimal degrees, WGS84 datum.""",
"""The longitude of the point. Decimal degrees, WGS84 datum.""",
"""The maximum latitude.""",
"""The maximum longitude.""",
"""The minimum latitude.""",
"""The minimum longitude.""",
"""Type of GPS fix. none means GPS had no fix. To signify "the fix info is unknown, leave out fixType entirely. pps = military signal used""",
"""Used for bearing, heading, course. Units are decimal degrees, true (not magnetic).""",
"""Represents a differential GPS station.""",
"""Two lat/lon pairs defining the extent of an element.""";
:range gpx:PtType .
gpx:rte a rdf:Property;
:label "routes"@en;
:comment """A list of routes.""";
:range gpx:RteType .
gpx:rtept a rdf:Property;
:label "route points"@en;
:comment """A list of route points.""",
"""trk represents a track - an ordered list of points describing a path.""";
:range gpx:WptType .
gpx:sat a rdf:Property;
:label "satelites used"@en;
:comment """Number of satellites used to calculate the GPX fix.""";
:range xsd:nonNegativeInteger .
gpx:src a rdf:Property;
:label "source"@en;
:comment """Source of data. Included to give user some idea of reliability and accuracy of data.""",
"""Source of data. Included to give user some idea of reliability and accuracy of data. "Garmin eTrex", "USGS quad Boston North", e.g.""";
:range xsd:string .
gpx:sym a rdf:Property;
:label "symbol text"@en;
:comment """Text of GPS symbol name. For interchange with other programs, use the exact spelling of the symbol as displayed on the GPS. If the GPS abbreviates words, spell them out.""";
:range xsd:string .
gpx:text a rdf:Property;
:label "link text"@en;
:comment """Text of hyperlink.""";
:range xsd:string .
gpx:time a rdf:Property;
:label "time"@en;
:comment """Creation/modification timestamp for element. Date and time in are in Univeral Coordinated Time (UTC), not local time! Conforms to ISO 8601 specification for date/time representation. Fractional seconds are allowed for millisecond timing in tracklogs.""",
"""The creation date of the file.""",
"""The latitude of the point. Decimal degrees, WGS84 datum.""",
"""The time that the point was recorded.""",
"""An ordered sequence of points. (for polygons or polylines, e.g.)""";
:range xsd:dateTime .
gpx:trk a rdf:Property;
:label "track"@en; # maybe one of these arcs for each track? @@ check
:comment """A list of tracks.""";
:range gpx:TrkType .
gpx:trkpt a rdf:Property;
:label "track point"@en;
:comment """A Track Point holds the coordinates, elevation, timestamp, and metadata for a single point in a track.""";
:range gpx:WptType .
gpx:trkseg a rdf:Property;
:label "track segment"@en;
:comment
"""A Track Segment holds a list of Track Points which are logically connected in order.
To represent a single GPS track where GPS reception was lost, or the GPS receiver
was turned off, start a new Track Segment for each continuous span of track data.""";
:range gpx:TrksegType .
gpx:type a rdf:Property;
:label "type"@en;
:comment """Type (classification) of route.""",
"""Type (classification) of the waypoint.""",
"""Type (classification) of track.""",
"""Mime type of content (image/jpeg)""",
"""URL of hyperlink.""",
"""domain half of email address (hotmail.com)""",
"""id half of email address (billgates2004)""",
"""A person or organization.""",
"""An email address. Broken into two parts (id and domain) to help prevent email harvesting.""";
:range xsd:string .
gpx:vdop a rdf:Property;
:label "vertical dilution"@en;
:comment """Vertical dilution of precision.""";
:range xsd:decimal .
gpx:wpt a rdf:Property;
:label "waypoint"@en; # @@ check should b e plural
:comment """A list of waypoints.""";
:range gpx:WptType .
gpx:year a rdf:Property;
:label "year"@en;
:comment """Year of copyright.""";
:range xsd:gYear .
# ENDS