Created
August 3, 2016 09:19
-
-
Save lcriadof/80156e159d509bddd7bccb35a16faef2 to your computer and use it in GitHub Desktop.
dPayPoint con coordenadas
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PREFIX dpay: <http://datos.crtm.es/recurso/transporte/validacion/dpaypoint/> | |
PREFIX gsp: <http://www.opengis.net/ont/geosparql#> | |
PREFIX ttp: <http://vocab.linkeddata.es/datosabiertos/def/transporte/tarjeta-transporte-publico#> | |
PREFIX validacionInstancia: <http://crtm.linkeddata.es/recurso/transporte/validacion/> | |
PREFIX ssn: <http://purl.oclc.org/NET/ssnx/ssn> | |
SELECT DISTINCT ?dPayPoint ?geometry | |
FROM NAMED <http://crtm.linkeddata.es/graph/data/validaciones> | |
FROM NAMED <http://crtm.linkeddata.es/graph/data/dpaypoints> | |
WHERE { | |
GRAPH <http://crtm.linkeddata.es/graph/data/validaciones> { | |
?obs a ttp:Validacion . | |
?obs ssn:observationResultTime ?time . | |
?obs ssn:observedBy ?dPayPoint . | |
?obs ssn:observationResult ?sensorOutput . | |
?sensorOutput ssn:hasValue ?obsValue . | |
FILTER (?time >= "2016-03-08"^^xsd:date && ?time < "2016-03-10"^^xsd:date) | |
} | |
GRAPH <http://crtm.linkeddata.es/graph/data/dpaypoints> { | |
?dPayPoint gsp:hasGeometry/gsp:asWKT ?geometry . | |
} | |
} LIMIT 10 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment