Created
August 3, 2016 09:17
-
-
Save lcriadof/4a8be943447c477d8fd6a24308b59311 to your computer and use it in GitHub Desktop.
Validaciones OK de tarjetas sin contactos en un rango temporal.
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
Plantilla utilizada en topología: dPayPoint_v6.plantilla | |
Plantilla utilizada en validación: validacionEntrada_v8.plantilla | |
Fecha de última actualización de este documento: 2 agosto 2016 | |
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 ?hashTarjeta ?title ?perfil ?dPayPoint ?FechaYhora | |
FROM NAMED <http://crtm.linkeddata.es/graph/data/validaciones> | |
WHERE { | |
GRAPH <http://crtm.linkeddata.es/graph/data/validaciones> { | |
?obs a ttp:Validacion . | |
?obs ssn:observationResultTime ?FechaYhora. | |
?obs ssn:observedBy ?dPayPoint . | |
?obs ssn:observationResult ?sensorOutput . | |
?obs ssn:featureOfInterest ?hashTarjeta . | |
?sensorOutput ssn:hasValue ?instanciaValidacion. | |
?instanciaValidacion ttp:titulo ?title . | |
?instanciaValidacion ttp:perfil ?perfil . | |
FILTER (?FechaYhora>= "2016-03-08"^^xsd:date && ?FechaYhora< "2016-03-10"^^xsd:date) | |
} | |
} LIMIT 10 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment