Interface: SparqlTripleTermValue
@kortexya/reasoninglayer / SparqlTripleTermValue
Interface: SparqlTripleTermValue
Section titled “Interface: SparqlTripleTermValue”Defined in: src/types/sparql.ts:36
The three constituents of an RDF 1.2 triple-term binding value.
Remarks
Section titled “Remarks”The nested {subject, predicate, object} object carried as the value of a
triple-typed binding (SPARQL 1.2 Query Results). Each constituent is itself a
SparqlRdfTerm, so triple terms nest recursively.
Example
Section titled “Example”const triple: SparqlTripleTermValue = { subject: { type: 'uri', value: 'http://example.org/alice' }, predicate: { type: 'uri', value: 'http://example.org/knows' }, object: { type: 'uri', value: 'http://example.org/bob' },};Properties
Section titled “Properties”object
Section titled “object”object:
SparqlRdfTerm
Defined in: src/types/sparql.ts:42
The triple term’s object.
predicate
Section titled “predicate”predicate:
SparqlRdfTerm
Defined in: src/types/sparql.ts:40
The triple term’s predicate.
subject
Section titled “subject”subject:
SparqlRdfTerm
Defined in: src/types/sparql.ts:38
The triple term’s subject.