Resolve
RDF Terms
Data based on @zazuko/vocabularies
Defined by
ISA Programme Location Core Vocabulary
Click to Copy
locn:geometry
Click to Copy
http://www.w3.org/ns/locn#geometry
Namespace
Recommended prefix
Copy 'PREFIX locn: <http://www.w3.org/ns/locn#>'
lang:en
geometry
lang:en
Associates any resource with the corresponding geometry.
lang:""
locn:geometry
lang:en
The following are examples of equivalent statements using different geometry encodings. In the examples, prefix gsp is used for namespace URI http://www.opengis.net/ont/geosparql#, whereas prefix sf is used for namespace URI http://www.opengis.net/ont/sf#.
- WKT (GeoSPARQL)
:Resource locn:geometry
"<http://www.opengis.net/def/crs/OGC/1.3/CRS84> Point(-0.001475 51.477811)"^^gsp:wktLiteral .
- GML
:Resource locn:geometry
"<gml:Point srsName='http://www.opengis.net/def/crs/OGC/1.3/CRS84'>
<gml:coordinates>-0.001475, 51.477811</gml:coordinates></gml:Point>"^^gsp:gmlLiteral .
- RDF+WKT (GeoSPARQL)
:Resource locn:geometry
[ a sf:Point; gsp:asWKT "<http://www.opengis.net/def/crs/OGC/1.3/CRS84> Point(-0.001475 51.477811)"^^gsp:wktLiteral ] .
- RDF+GML (GeoSPARQL)
:Resource locn:geometry
[ a sf:Point; gsp:asGML
"<gml:Point srsName='http://www.opengis.net/def/crs/OGC/1.3/CRS84'>
<gml:coordinates>-0.001475, 51.477811</gml:coordinates></gml:Point>"^^gsp:gmlLiteral ] .
- RDF (WGS84 lat/long)
:Resource locn:geometry [ a geo:Point; geo:lat "51.477811"; geo:long "-0.001475" ] .
- RDF (schema.org)
:Resource locn:geometry [ a schema:GeoCoordinates; schema:latitude "51.477811"; schema:longitude "-0.001475" ] .
- geo URI
:Resource locn:geometry <geo:51.477811,-0.001475;u=0;crs=wgs84> .
- GeoHash URI
:Resource locn:geometry <http://geohash.org/gcpuzgnzvxkp> .
lang:en
Depending on how a geometry is encoded, the range of this property may be one of the following:
- a literal (e.g., WKT - string literal -, GML, KML - XML literal)
- a geometry class, as those defined in the OGC's GeoSPARQL specification, in the W3C's Basic Geo (WGS84 lat/long) vocabulary, and at schema.org;
- geocoded URIs, as geo or GeoHash URIs, treated as URI references.
For interoperability reasons, it is recommended using one of the following:
- Any geometry:
- WKT, GML, and RDF+WKT/GML, as per the GeoSPARQL specification.
- KML (Keyhole Markup Language) - note that KML supports the following geometries only: point, line string, linear ring, and polygon.
- RDF as per the schema.org vocabulary (see classes schema:GeoCoordinates and schema:GeoShape).
- Points: one of the above, or:
- RDF as per the W3C Basic Geo (WGS84 lat/long) vocabulary.
- GeoHash URIs.
- geo URIs.
lang:en
testing