sem:iri( $string-iri as xs:string ) as sem:iri
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 .
|
When using sem:iri
with
SPARQL or SPARQL Update, don't use <
and >
around the iri string. For example,
sem:iri("my iri")
.
xquery version "1.0-ml"; sem:iri("/my/iri")
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.