Loading TOC...

sem.iri

sem.iri(
   $string-iri as String
) as sem.iri

Summary

This is a constructor function that takes a string and constructs an item of type sem.iri from it.

Parameters
$string-iri The string with which to construct the sem.iri.

Usage Notes

When using sem.iri with SPARQL or SPARQL Update, don't use < and > around the iri string. For example, sem.iri("my iri").

Example


var sem = require("/MarkLogic/semantics.xqy");

sem.iri("/my/iri")
    

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy