Mmh, I must have overlooked this one. The documentation for the module
mention the namespace and says "built-in functions", so I assumed it was not a
library module written in XQuery. Indeed it works, thank you Danny!
Regards,
--
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/
Le Mardi 22 avril 2014 21h00, Danny Sokolsky <danny.sokol...@marklogic.com> a
écrit :
Hi Florent,
>
>Did you import the library:
>
>import module namespace sem = "http://marklogic.com/semantics"
>
> at "/MarkLogic/semantics.xqy";
>
>
>?
>
>-Danny
>
>From:general-boun...@developer.marklogic.com
>[mailto:general-boun...@developer.marklogic.com] On Behalf Of Florent Georges
>Sent: Tuesday, April 22, 2014 11:50 AM
>To: MarkLogic General ML
>Subject: [MarkLogic Dev General] Function sem:rdf-load() not defined?
>
> Hi,
>
> I use 7.0-2.3, and try to evaluate in QConsole the following query:
>sem:rdf-load('/some/path/triples.ttl'). The error I get is: "[1.0-ml]
>XDMP-UNDFUN: (err:XPST0017) Undefined function sem:rdf-load()." The
>function is documented there: https://docs.marklogic.com/sem:rdf-load.
>Using 2 parameters: sem:rdf-load('/some/path/triples.ttl', 'turtle')
>does not help.
>
> Am I missing the obvious here? Regards,
>
>--
>Florent Georges
>http://fgeorges.org/
>http://h2oconsulting.be/
>
>
>
>
_______________________________________________
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general