ApiData().GetBoundConcept

Returns the specified bound Concept, or null if none is found.

Description

This function tests knowledge within the current SILVIA Brain by returning a string representing one of the bound Concepts of the specified type. If no valid bound Concept is found, the function returns null.

Example Usage (C#)


string boundConcept = _core.ApiData().GetBoundConcept(“tokyo”, “location”);

Parameters

string

concept

The string or variable name representing the base Concept of the potential binding.

string

bindingType

The string representing the Binding Type to be tested. “unknown” is used for generic tests.

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
A string representing a Concept that is bound by the type to the original Concept. A null is returned if no valid match is found. If more than one Concept is bound by a binding of type, the bound Concept returned is selected randomly.

See Also

  • ApiData().SetBinding
  • ApiData().TestBinding
  • ApiData().GetAllBoundConcepts

ApiData()