MarkLogic 12 EA 1 Product Documentation
sem.sameTerm

sem.sameTerm(
   a as (String | Number | Boolean | null | Array | Object)[],
   b as (String | Number | Boolean | null | Array | Object)[]
) as 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