Loading TOC...

MarkLogic 9 Product Documentation
sem:unknown

sem:unknown(
   $string as xs:string,
   $datatype as sem:iri
) as sem:unknown

Summary

Returns a sem:unknown value with the given literal value and datatype IRI. The sem:unknown type extends xs:untypedAtomic, and represents an RDF value with a datatype IRI for which no schema is available.

This function is a built-in.

Parameters
string The lexical value.
datatype The datatype IRI.

Example

xdmp:describe(sem:unknown("unknown value", sem:iri("string")))
=>
sem:unknown("unknown value", sem:iri("string"))

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.