module

AtomSpace::Factory

Factory methods for common operations

Class methods

create_fact(atomspace : AtomSpace, predicate : String, subject : String, object : String | Nil = nil, tv : TruthValue = TruthValue::TRUE_TV)

Create a simple fact

create_numeric_fact(atomspace : AtomSpace, predicate : String, subject : String, value : Float64, tv : TruthValue = TruthValue::TRUE_TV)

Create a numeric fact

create_taxonomy(atomspace : AtomSpace, concepts : Hash(String, Array(String)))

Create a simple concept taxonomy