With your data in this format, you cannot filter it in a range without adding the added custom XML Schema Specification Part 2: Datatypes .
Your specific example date will look like this:
2014-05-23T10:20:13+05:30
And you need to make sure that you declare it a typed literal of the xsd:dateTime type when you use it in data and queries. For example, in Turtle- readable RDF syntax:
@prefix xsd: <http://www.w3.org/2001/XMLSchema
Then you can write a SPARQL query that filters the date range, for example:
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX : <http://example.org> SELECT * WHERE { ?s :date ?date . FILTER (?date > "2014-05-23T10:20:13+05:30"^^xsd:dateTime) }
This finds all entries where ?date after the specified date
source share