SPARQL Examples – Filter
Posted on Aug 31, 2017 (last modified May 7, 2021)
Return items with recorded date less than given date
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX web: <http://base22.com/ont/web#>
SELECT * WHERE {
?subject dcterms:title ?title.
?subject dcterms:abstract ?abstract.
?subject web:publishDate ?publishDate.
FILTER (?publishDate < "2016-09-28T19:19:02.982Z"^^xsd:dateTime)
}