Type Alias: OsfqlSemantics
@kortexya/reasoninglayer / OsfqlSemantics
Type Alias: OsfqlSemantics
Section titled “Type Alias: OsfqlSemantics”OsfqlSemantics =
"osf"|"rdf"
Defined in: src/types/osfql.ts:34
The data model an OSFQL program is answered under.
Remarks
Section titled “Remarks”osf— the native term model, the engine’s default. A bound Psi-term is its term id, and a list-valued feature is ONE value, sof: [1, 2, 3]binds the list.rdf— the modelPOST /api/v1/sparqlanswers under. A bound Psi-term is named by its RDF identity (the originalsource_uri, the blank-node label, or the mintedurn:reasoninglayer:term:<id>; the engine still reads the deprecatedurn:osfkb:term:<id>as input); a list-valued feature is a multi-valued property and fans out into one solution per element; named-graph terms leave the default-graph scan; and a variable bound to the native null is UNBOUND, because RDF has no null term.
Serialized verbatim as the lowercase string.
Example
Section titled “Example”const semantics: OsfqlSemantics = 'rdf';