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

queryObjects

abstract fun queryObjects(subject: ResourceNode!, predicate: ResourceNode!, graphName: String!): Future<MutableList<Node!>!>!

Search for the Objects of triples matching the pattern subject-predicate.

Parameters

subject - ResourceNode!: The subject to be matched, can be a wildcard.

predicate - ResourceNode!: The predicate to be matched, can be a wildcard.

graphName - String!: The name of the graph on which you want to do the query

Return
Future<MutableList<Node!>!>!: A vector of subjects (which are string).

Throw
if the subject or predicate is invalid.

Since
2