| java.lang.Object com.hp.hpl.jena.reasoner.dig.DIGQueryTranslator com.hp.hpl.jena.reasoner.dig.DIGIteratedQueryTranslator
All known Subclasses: com.hp.hpl.jena.reasoner.dig.DIGQueryClassHierarchyTranslator, com.hp.hpl.jena.reasoner.dig.DIGQueryRoleHierarchyTranslator,
DIGIteratedQueryTranslator | abstract public class DIGIteratedQueryTranslator extends DIGQueryTranslator (Code) | |
A specialisation of DIG query translator that aggregates iterated queries
author: Ian Dickinson, HP Labs (email) version: CVS $Id: DIGIteratedQueryTranslator.java,v 1.9 2008/01/02 12:07:09 andy_seaborne Exp $ |
DIGIteratedQueryTranslator | public DIGIteratedQueryTranslator(String subject, String predicate, String object)(Code) | | Construct a query translator for the given query parameters.
Parameters: subject - Represents the incoming subject to trigger against Parameters: predicate - Represents the incoming predicate to trigger against Parameters: object - Represents the incoming object to trigger against |
expandQuery | abstract protected Iterator expandQuery(TriplePattern pattern, DIGAdapter da)(Code) | | Takes the incoming query pattern and expands it out to a series of subsidary
triple patterns that will be taken as queries in their own right.
Parameters: pattern - The incomimg query pattern Parameters: da - The DIG adapter currently being used to communicate with the DIG reasoner An iterator over a series of TriplePattern's that representthe expanded query |
find | public ExtendedIterator find(TriplePattern pattern, DIGAdapter da)(Code) | | Expand the given pattern to a series of more grounded patterns, and collate
the results of querying with each of these expanded patterns. This is used in
cases where the incoming query is too ungrounded to pass to DIG in one go, e.g.
* rdfs:subClassOf * . The strategy is to expand one of
the ungrounded terms to form a series of queries, then solve each of these
queries separately.
Parameters: pattern - The pattern to translate to a DIG query Parameters: da - The DIG adapter through which we communicate with a DIG reasoner |
Fields inherited from com.hp.hpl.jena.reasoner.dig.DIGQueryTranslator | final public static String ALL(Code)(Java Doc)
|
Methods inherited from com.hp.hpl.jena.reasoner.dig.DIGQueryTranslator | public boolean checkObject(Node object, DIGAdapter da, Model premises)(Code)(Java Doc) public boolean checkPredicate(Node pred, DIGAdapter da, Model premises)(Code)(Java Doc) public boolean checkSubject(Node subject, DIGAdapter da, Model premises)(Code)(Java Doc) public boolean checkTriple(TriplePattern pattern, DIGAdapter da, Model premises)(Code)(Java Doc) protected ExtendedIterator conceptSetNameCheck(Document response, DIGAdapter da, Node node, Triple result)(Code)(Java Doc) public ExtendedIterator find(TriplePattern pattern, DIGAdapter da)(Code)(Java Doc) public ExtendedIterator find(TriplePattern pattern, DIGAdapter da, Model premises)(Code)(Java Doc) protected Filter getResultsTripleFilter(TriplePattern query)(Code)(Java Doc) protected boolean isFalse(Document response)(Code)(Java Doc) protected boolean isTrue(Document response)(Code)(Java Doc) protected Node mapNode(String uri)(Code)(Java Doc) protected ExtendedIterator translateConceptSetResponse(Document response, TriplePattern query, boolean object, DIGAdapter da)(Code)(Java Doc) protected ExtendedIterator translateIndividualPairSetResponse(Document response, TriplePattern query)(Code)(Java Doc) protected ExtendedIterator translateIndividualSetResponse(Document response, TriplePattern query, boolean object)(Code)(Java Doc) protected ExtendedIterator translateNameSetResponse(Document response, TriplePattern query, boolean object, String[] path)(Code)(Java Doc) abstract public Document translatePattern(TriplePattern query, DIGAdapter da)(Code)(Java Doc) abstract public Document translatePattern(TriplePattern pattern, DIGAdapter da, Model premises)(Code)(Java Doc) final public ExtendedIterator translateResponse(Document response, TriplePattern query, DIGAdapter da)(Code)(Java Doc) abstract protected ExtendedIterator translateResponseHook(Document response, TriplePattern query, DIGAdapter da)(Code)(Java Doc) protected ExtendedIterator translateRoleSetResponse(Document response, TriplePattern query, boolean object)(Code)(Java Doc) protected ExtendedIterator translateSpecialConcepts(Document response, DIGAdapter da, Node ref, Node pred, boolean refSubject)(Code)(Java Doc) public boolean trigger(TriplePattern pattern, DIGAdapter da, Model premises)(Code)(Java Doc) protected boolean trigger(Node lhs, Node rhs, Model premises)(Code)(Java Doc)
|
|
|