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

querySubjects

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

Search for the subjects of triples matching the pattern predicate-Object.

Parameters

predicate - ResourceNode!: The predicate 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
Future<MutableList<ResourceNode!>!>!: A vector of subjects (which are strings).

Throw
if the object or predicate is invalid.

Since
2