
sem.unknownDatatype( val as sem.unknown ) as sem.iri
Returns the datatype IRI of a sem:unknown value.
This function is a built-in.
| Parameters | |
|---|---|
| val | The sem:unknown value. |
sem.unknownDatatype(sem.unknown("unknown value", sem.iri("string")));
=>
"string"
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.