<?xml version="1.0" encoding="UTF-8"?><api:function-page xml:base="/apidoc/8.0/sem.sameTerm.xml" generated="2015-10-07T16:36:00.016766-07:00" mode="javascript" xmlns:api="http://marklogic.com/rundmc/api"><api:function-name>sem.sameTerm</api:function-name><api:suggest>sem.sameterm</api:suggest><api:suggest>sem</api:suggest><api:suggest>sameterm</api:suggest><api:function-link mode="xquery" fullname="sem:sameTerm">/apidoc/8.0/sem:sameTerm.xml</api:function-link><api:function mode="javascript" name="sameTerm" type="builtin" lib="sem" category="Semantics" hidden="false" bucket="MarkLogic Built-In Functions" prefix="sem" namespace="http://marklogic.com/semantics" fullname="sem.sameTerm"><api: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.
  <p xmlns="http://www.w3.org/1999/xhtml">This function is a built-in.</p>
</api:summary><api:params><api:param name="a" type="xs:anyAtomicType"><api:param-description>
    The first value to test.
  </api:param-description><api:param-name>a</api:param-name><api:param-type>xs.anyAtomicType</api:param-type></api:param><api:param name="b" type="xs:anyAtomicType"><api:param-description>
    The second value to test.
  </api:param-description><api:param-name>b</api:param-name><api:param-type>xs.anyAtomicType</api:param-type></api:param></api:params><api:return>Boolean</api:return><api:example class="javascript"><pre xml:space="preserve" xmlns="http://www.w3.org/1999/xhtml">
sem.sameTerm("hello", "goodbye");
=&gt;
false
</pre></api:example></api:function></api:function-page>