Created
October 9, 2014 15:47
-
-
Save jindrichmynarz/f1113d409b5ac9938a2b to your computer and use it in GitHub Desktop.
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 pc: <http://purl.org/procurement/public-contracts#> | |
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
DELETE { | |
?s ?p ?o . | |
} | |
WHERE { | |
{ | |
SELECT DISTINCT ?p | |
WHERE { | |
GRAPH pc: { | |
?p rdfs:range xsd:date . | |
} | |
} | |
} | |
?s ?p ?o . | |
BIND (xsd:date(?o) AS ?test) | |
FILTER (!BOUND(?test)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment