-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Obtaining incremental inferences #17
Comments
Hi Daniel! Thank you for your question. Unfortunately, incremental reasoning is not supported (yet). The second call to However, you can query asserted or inferred triples separately if you specify Ivan. |
Hi Ivan, oh really? I was not assuming a second call would do nothing when additional facts were added until the last call. oh yes, I found this line: Line 882 in 814bfe9
So your response suggests you are planning to support incremental mode at some time? FYI: I am considering a use case where a robot manages a knowledge base over time, during the course of its action it grounds new knowledge in its action and perception which I would like to incrementally add/remove to/from reasoning systems in the knowledge base. Best, |
Hello again,
I would like to use
pyfactxx
in an incremental fashion where initially I load some files, and during runtime mainly object and data roles are asserted and retracted.I am now wondering about whether there is a smart way to obtain a list of all new inferences after calling classify/realize, and also which previous inferences were removed.
This information could be obtained be keeping the list of previous inferences in my code, but that seems not optimal.
Is there some way I am not aware of? Maybe to hook an event handler into the reasoner that gets a call for every change?
Best,
Daniel
The text was updated successfully, but these errors were encountered: