Type Alias: SparqlResultTerm
@kortexya/reasoninglayer / SparqlResultTerm
Type Alias: SparqlResultTerm
Section titled “Type Alias: SparqlResultTerm”SparqlResultTerm = {
type:"uri";value:string; } | {type:"bnode";value:string; } | {datatype?:string;type:"literal";value:string;xml:lang?:string; }
Defined in: src/types/vocabulary.ts:6003
One RDF term of a SPARQL 1.1 Query Results JSON binding.
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ type: "uri"; value: string; }
type:
"uri"
An IRI.
value:
string
The IRI.
Type Literal
Section titled “Type Literal”{ type: "bnode"; value: string; }
type:
"bnode"
A blank node.
value:
string
Its label.
Type Literal
Section titled “Type Literal”{ datatype?: string; type: "literal"; value: string; xml:lang?: string; }
datatype?
Section titled “datatype?”
optionaldatatype?:string
The datatype IRI of a typed literal.
type:
"literal"
A literal.
value:
string
The lexical form.
xml:lang?
Section titled “xml:lang?”
optionalxml:lang?:string
The language tag of an rdf:langString.
Remarks
Section titled “Remarks”Kept as the W3C document spells it, including the xml:lang key.