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

queryObjects

abstract fun queryObjects(subject: ResourceNode!, predicate: ResourceNode!, graphName: String!): 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
MutableList<Node!>!: A vector of subjects (which are string).

Throw
if the subject or predicate is invalid.

Since
2