MarkLogic 9 Product Documentation
sem:sameTerm

sem:sameTerm(
   $a as xs:anyAtomicType,
   $b as xs:anyAtomicType
) as xs:boolean

Summary

Returns true if the arguments are the same RDF term as defined by the RDF concepts specification. This XQuery function backs up the SPARQL sameTerm() function.

This function is a built-in.

Parameters
a The first value to test.
b The second value to test.

Example

sem:sameTerm("hello", "goodbye")
=>
false
Powered by MarkLogic Server | Terms of Use | Privacy Policy