Interface: SparqlUpdateTranslation
@kortexya/reasoninglayer / SparqlUpdateTranslation
Interface: SparqlUpdateTranslation
Section titled “Interface: SparqlUpdateTranslation”Defined in: src/types/sparql.ts:415
The OSFQL write statements a SPARQL Update translates to, rendered without executing it.
Example
Section titled “Example”const translation = await client.sparql.translateUpdate({ update: 'INSERT DATA { <http://example.org/alice> <http://example.org/age> 42 }',});console.log(translation.osfql); // ['INSERT …;']Properties
Section titled “Properties”osfql:
string[]
Defined in: src/types/sparql.ts:417
The OSFQL INSERT / RETRACT statements, in order.