Loading TOC...

MarkLogic Server 11.0 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

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