Corese implements the rdf:XMLLiteral datatype and the following XML Schema datatypes : xsd:string, xsd:boolean, xsd:date and the number datatypes. Query is carried out on the value of the datatype (not on the lexical form).
Example : retrieve resources of type Person with a property with a date that is greater or equal to 2004-10-16 :
?p rdf:type kmp:Person ?p kmp:Property ?d^^xsd:date ?d >= 2004-10-16^^xsd:date