| java.lang.Object com.hp.hpl.jena.reasoner.rdfsReasoner1.BRWRule com.hp.hpl.jena.reasoner.rdfsReasoner1.PropertyBRWRule
PropertyBRWRule | public class PropertyBRWRule extends BRWRule (Code) | | A special case of a backchaing rule to handle the nasty case
of "anything mentioned in predicated position is a Property".
author: Dave Reynolds version: $Revision: 1.14 $ on $Date: 2008/01/02 12:06:44 $ |
PropertyBRWRule | public PropertyBRWRule()(Code) | | Constructor
|
execute | public ExtendedIterator execute(TriplePattern query, InfGraph infGraph, Finder data, HashSet firedRules)(Code) | | Use the rule to implement the given query. This will
instantiate the rule against the query, run the new query
against the whole reasoner+rawdata again and then rewrite the
results from that query according the rule.
Parameters: query - the query being processed Parameters: infGraph - the parent InfGraph that invoked us, will be called recursively Parameters: data - the raw data graph which gets passed back to the reasoner as part of the recursive invocation Parameters: firedRules - set of rules which have already been fired and should now be blocked a ExtendedIterator which aggregates the matches and rewrites themaccording to the rule |
|
|