qisdk / com.aldebaran.qi.sdk.object.knowledge / KnowledgeBase / Async / queryMetaNode

queryMetaNode

abstract fun queryMetaNode(triple: Triple!, graphName: String!): Future<ResourceNode!>!

Each node of a triple is linked to a single unique node, called meta node. This function returns The meta node of all triples matching a query. You can use the name of the meta node to add and read data about a triple by calling the functions such add, remove, query. Example: add(^queryMeta(user1, eat, pizza), mood, happy)

Parameters

triple - Triple!: The triple from which you want the meta node.

Throw
if one node of the triple is invalid.