Loading TOC...

sem.invalid

sem.invalid(
   string as String,
   datatype as sem.iri
) as sem.invalid

Summary

Returns a sem:invalid value with the given literal value and datatype IRI. The sem:invalid type extends xs:untypedAtomic, and represents an RDF value whose literal string is invalid according to the schema for it's datatype.

This function is a built-in.

Parameters
string The lexical value.
datatype The datatype IRI.

Example

xdmp.describe(sem.invalid("invalid value", sem.iri("string")));
=>
sem.invalid("invalid value", sem.iri("string"))

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