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

makeResourceTripleFromNames

abstract fun makeResourceTripleFromNames(subjectName: String!, predicateName: String!, objectName: String!): 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
Triple!: The created triple.

Throw
If one of the nodes is invalid.