PatternMatching::QueryBuilder
Inherits Reference < Object
Query builder for more complex patterns
Constructors
new(atomspace : AtomSpace::AtomSpace)
Instance methods
atomspace
Add equality constraint between variables or atoms
Add greater than constraint for numeric comparisons
Add a type constraint
constraints
evaluation(predicate : String | AtomSpace::Atom, subject : String | AtomSpace::Atom, object : String | AtomSpace::Atom) : AtomSpace::Atom
Build an evaluation pattern
Execute the query with the given pattern
execute_fuzzy(template : AtomSpace::Atom, similarity_threshold : Float64 = 0.8) : Array(Advanced::StatisticalMatcher::ProbabilisticMatch)
Advanced: Execute with fuzzy matching
execute_probabilistic(template : AtomSpace::Atom, threshold : Float64 = 0.7) : Array(Advanced::StatisticalMatcher::ProbabilisticMatch)
Advanced: Execute with probabilistic matching
Build an inheritance pattern
Require atoms to be absent
Require atoms to be present
Add a variable to the query
variables