qisdk / com.aldebaran.qi.sdk.object.knowledge / Knowledge / Async / makeResourceTripleFromNames

makeResourceTripleFromNames

abstract fun makeResourceTripleFromNames(subjectName: String!, predicateName: String!, objectName: String!): Future<Triple!>!

Create a triple from which every node is a ResourceNode created with the method makeResourceNodeFromName.

Parameters

subjectName - String!: A string used to create a valid ResourceNode, subject of the created triple.

predicateName - String!: A string used to create a valid ResourceNode, predicate of the created triple.

objectName - String!: A string used to create a valid ResourceNode, object of the created triple.

Return
Future<Triple!>!: The created triple.

Throw
If one of the nodes is invalid.