#include <QueryablePool.h>
Inheritance diagram for QueryablePool::
Querying is attached to a Pool this way on the assumption that one usually does multiple queries on the same fairly-static Pool.
Definition at line 18 of file QueryablePool.h.
|
Create a new query, trying to match the given pattern. The formal semantics of the query are "does the formula ('this') logically entail the formula 'pattern'?" (If it does, then I might want proof or maybe just some bindings.) The different kinds of queries one might want correspond to different kinds of logical entailment. If the query allows variables in the pattern to match constants in the pool (not just variables in the pool), that means the entailment proceedure includes existential instantiation. Variables in the pool matching constants in the pattern would be like "someone has a car" entailing "Sam has a car", which is probably not what you want.
Reimplemented in XSBPool. |
|
Computer the set union. This is called "unionWith" instead of "union" because union is a C++ keyword. Reimplemented from TripleSource. Definition at line 65 of file QueryablePool.cpp. |