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

queryPredicates

abstract fun queryPredicates(subject: ResourceNode!, Object: Node!, graphName: String!): MutableList<ResourceNode!>!

Search for the predicates of triples matching the pattern subject-Object.

Parameters

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

Object - Node!: The Object to be matched, can be a wildcard.

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

Return
MutableList<ResourceNode!>!: A vector of subjects (which are strings).

Throw
if the subject or object is invalid.

Since
2