Loading TOC...

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

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