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

makeNodeFromResourceNode

abstract fun makeNodeFromResourceNode(resourceNode: ResourceNode!): Node!

Create a Node encapsulating the given ResourceNode. This is useful when you already created a ResourceNode and need to use it as the object of triple, in a request for instance, or just to create a triple.

Parameters

resourceNode - ResourceNode!: A ResourceNode.

Return
Node!: A Node encapsulating the given ResourceNode.