cts.tripleRangeQuerySubject( query as cts.tripleRangeQuery ) as Sequence
Returns the subject value used to construct the specified query.
Parameters | |
---|---|
query | A query. |
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>