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" <[email protected]> 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
>[email protected]
>http://developer.marklogic.com/mailman/listinfo/general

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to