[MarkLogic Dev General] SPARQL dateTime format

Ed Outhwaite Ed.Outhwaite at marklogic.com
Fri Mar 20 12:03:59 PDT 2015


Hi Charles,

Without seeing the whole SPARQL query or the error, I¹d guess that you¹re
not defining the prefix xsd: in your second query.

The prefix xs: is predefined within MarkLogic; xsd: is not.

See http://docs.marklogic.com/sem:prefixes or
https://docs.marklogic.com/guide/semantics/semantic-searches#id_39225 for
more details.

Regards,

Ed Outhwaite
Associate Consultant




On 3/20/15, 6:54 PM, "Charles Blair" <chas at uchicago.edu> wrote:

>This works in a SPARQL query:
>
>       ?resourceMap dcterms:created "2015-02-04T14:46:09"^^xs:dateTime
>
>This does not
>
>       ?resourceMap dcterms:created "2015-02-04T14:46:09"^^xsd:dateTime
>
>The input has
>
>dcterms:created "2015-02-04T14:46:09"^^xsd:dateTime;
>
>Is there something wrong with the query handler, or with my query?
>
>_______________________________________________
>General mailing list
>General at developer.marklogic.com
>http://developer.marklogic.com/mailman/listinfo/general



More information about the General mailing list