|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (4)
View Page History
SELECT ?f
WHERE { ?f geo:sfOverlaps my:AExactGeom }
WHERE {
?f geo:sfOverlaps my:AExactGeom
}
?f geo:sfOverlaps my:AExactGeom
}
{code}
* Example 6
{note}
Using geometry literals in the object position is a GraphDB extension and not part of the GeoSPARQL specification.
{note}
{code}
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
PREFIX my: <http://example.org/ApplicationSchema#>
SELECT ?f
WHERE {
?f geo:sfOverlaps "Polygon((-83.6 34.1, -83.2 34.1, -83.2 34.5, -83.6 34.5, -83.6 34.1))"^^geo:wktLiteral
}
{code}
Using geometry literals in the object position is a GraphDB extension and not part of the GeoSPARQL specification.
{note}
{code}
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
PREFIX my: <http://example.org/ApplicationSchema#>
SELECT ?f
WHERE {
?f geo:sfOverlaps "Polygon((-83.6 34.1, -83.2 34.1, -83.2 34.5, -83.6 34.5, -83.6 34.1))"^^geo:wktLiteral
}
{code}
For more information regarding GeoSPARQL predicates and functions please look at the [current official spec |http://www.opengis.net/doc/IS/geosparql/1.0]: OGC 11-052r4, Version: 1.0, Approval Date: 2012-04-27, Publication Date: 2012-09-10.