Re: Accessing inferences and asserstions rather than just assertions
Posted by tyler on
URL: http://owlready.306.s1.nabble.com/Accessing-inferences-and-asserstions-rather-than-just-assertions-tp144p150.html
At the top of my script:
from owlready2 import *
owlready2.set_log_level(9)
I get the error "NameError: name 'owlready2' is not defined" when calling owlready2.set_log_level(9)
When I change the top of the script to:
import owlready2
owlready2.set_log_level(9)
I get "NameError: name 'World' is not defined" when I attempt to instantiate an instance of World()
EDIT - adding "sync_reasoner(world, debug=9)" prints all triples....no need to set log level directly after import statement