Loading TOC...

sem.isLiteral

sem.isLiteral(
   $value as xs.anyAtomicType
) as Boolean

Summary

Returns true if the argument is an RDF literal - that is, derived from type xs:anyAtomicType, but not derived from type sem:iri. This XQuery function backs up the SPARQL isLiteral() function.

This function is a built-in.

Parameters
$value The value to test.

Example

sem.isLiteral("subject text");
=>
true

Comments

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