Loading TOC...

sem.tripleObject

sem.tripleObject(
   $triple as sem.triple
) as xs.anyAtomicType

Summary

Returns the object from a sem:triple value.

This function is a built-in.

Parameters
$triple The triple.

Example

var sem = require("/MarkLogic/semantics.xqy");

var triple = sem.triple(sem.iri("subject"), sem.iri("predicate"), "object");
sem.tripleObject(triple);
=>
"object"

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

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.