Loading TOC...

MarkLogic 12 EA 2 Product Documentation
cts.tripleRangeQuerySubject

cts.tripleRangeQuerySubject(
   query as cts.tripleRangeQuery
) as Sequence

Summary

Returns the subject value used to construct the specified query.

Parameters
query A query.

Example

const query =
  cts.tripleRangeQuery(
    sem.iri("http://example.com/Mark"),
    sem.iri("http://example.com/ns/person#age"),
    50,
    "<");
cts.tripleRangeQuerySubject(query);
  => <http://example.com/Mark>

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