The following functions are provided in Mulgara by default. Please note that Mulgara also includes the EXSLT functions by default. Other XPath function libraries may also be included through the user configuration file.


Prefix: sparql


The functions in the sparql namespace are provided for completeness. They are not as functional as the built-in functions, as they do not have the same access to the inner components of the query engine, and some data is lost when shifting to external libraries.

  • sparql:bound
  • sparql:isIRI
  • sparql:isURI
  • sparql:isBlank
  • sparql:isLiteral
  • sparql:str
  • sparql:lang
  • sparql:datatype
  • sparql:langMatches
  • sparql:logical-or
  • sparql:logical-and

XQuery 1.0, XPath 2.0 Functions

Prefix: fn


XQuery 1.0, XPath 2.0 Operators

Prefix: op

Namespace: none

ARQ Functions

Prefix: afn


SMF Functions

Prefix: smf


  • This operates on sequences and singletons, but sequences are currently unavailable to external libraries.
  • The semantics of this operation are not perfectly aligned with XPath.