ApiData().SetBinding
Creates a Conceptual binding between two Concepts.
Description
This function adds knowledge to the current SILVIA Brain by connecting two Concepts with a binding of a specific type.
Example Usage (C#)
bool success = _core.ApiData().SetBinding(“tokyo”, “japan”, “location”);
Parameters
string |
baseConcept |
The string or variable name representing the base Concept of the binding. |
string |
boundConcept |
The string or variable name representing the Concept to be bound. |
string |
bindingType |
The string representing the Binding Type. |
The current exposed lexical Binding Types are
- ”root”
- ”synonym”, “synonymSibling”
- ”antonym”
- ”similar”, “similarSibling”
- ”different”
- ”related”, “relatedSibling”
- ”unrelated”
- ”child”, “sibling”, “parent”
- ”plural”, “singular”
- ”misspelling”, “correction”
- ”verbal”, “written”
The current exposed Conceptual Binding Types are loosely based on the MIT MediaLab’s ConceptNet
- ”relatedTo”, “thematic”, “superThematic”
- ”isA”, “propertyOf”, “partOf”, “madeOf”, “definedAs”
- ”capableOf”
- ”prerequisite”, “firstEvent”, “eventOf”, “lastEvent”
- ”location”
- ”effect”, “desirousEffect”
- ”usedFor”, “action”
- ”motivation”, “desire”
And finally
- ”unknown”, “invalid”
Returns
The boolean success or failure of the operation.
See Also
- ApiData().TestBinding
- ApiData().GetBoundConcept
- ApiData().GetAllBoundConcepts