Function returning list of specific facts
Brought to you by:
linkjuggler,
mtnyogi
Hello,
it would be nice to have a function similar to fact_base.dump_specific_facts() which returns the list of specific facts rather than just printing them. As for now I'm using this to retrieve the list of facts after forward chaining:
...
engine.activate('fc')
mylist = engine.knowledge_bases['ontology'].entity_lists['triple'].case_specific_facts
Is it right? If yes, it would be nice to have a function doing just this (and the same for universal facts).
Thanks,
Nicola