Type Alias: OsfqlSemantics
@kortexya/reasoninglayer / OsfqlSemantics
Type Alias: OsfqlSemantics
Section titled “Type Alias: OsfqlSemantics”OsfqlSemantics =
"osf"|"rdf"
Defined in: src/types/osfql.ts:32
The data model an OSFQL program is answered under.
Remarks
Section titled “Remarks”osf— native OSF, 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:osfkb:term:<id>); 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 OSF null is UNBOUND, because RDF has no null term.
Serialized verbatim as the lowercase string.
Example
Section titled “Example”const semantics: OsfqlSemantics = 'rdf';