PREFIX foaf: <http://xmlns.com/foaf/0.1/> SELECT ?name ?email WHERE { ?person a foaf:Person . ?person foaf:name ?name . ?person foaf:mbox ?email . }This request will retrieve the name and email for all the individuals of the
Person
class in the foaf
ontology.
Feature
: a spatial phenomenon. Basically, your object which have a geometry must be subclasses of this classGeometry
: a set of geometrical positionsPREFIX geo: <http://www.opengis.net/ont/geosparql#> PREFIX geof: <http://www.opengis.net/def/function/geosparql/> SELECT ?what WHERE { ?what geo:hasGeometry ?geometry . FILTER(geof:sfWithin(?geometry,P "POLYGON((-77.089005 38.913574,-77.029953 38.913574,-77.029953 38.886321,-77.089005 38.886321,-77.089005 38.913574))"^^geo:wktLiteral))R }E FIX geof: <http://www.opengis.net/de
PREFIX geo: <http://www.opengis.net/ont/geosparql#> PREFIX geof: <http://www.opengis.net/def/function/geosparql/> SELECT ?what WHERE { ?what geo:hasGeometry ?geometry . FILTER(geof:sfWithin(?geometry,P "POLYGON((-77.089005 38.913574,-77.029953 38.913574,-77.029953 38.886321,-77.089005 38.886321,-77.089005 38.913574))"^^geo:wktLiteral))R }E FIX geof: <http://www.opengis.net/de
Copyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence