qisdk / com.aldebaran.qi.sdk.object.knowledge / EditableKnowledgeGraph

EditableKnowledgeGraph

interface EditableKnowledgeGraph

Object allowing to edit a named graph.

Since
2

Types

Async

interface Async

Functions

add

Add a triple to the triplestore.

abstract fun add(triple: Triple!): Unit

async

abstract fun async(): Async!

getGraphName

Exposes the property graphName value

abstract fun getGraphName(): String!

getTimestampEnabled

Exposes the property timestampEnabled value

abstract fun getTimestampEnabled(): Boolean!

remove

Remove all the triples matching the given triple from the triplestore.

abstract fun remove(triple: Triple!): Unit

setTimestampEnabled

Set the property isTimestampEnabled value

abstract fun setTimestampEnabled(isTimestampEnabled: Boolean!): Unit