| java.lang.Object com.hp.hpl.jena.reasoner.dig.DIGQueryTranslator com.hp.hpl.jena.reasoner.dig.DIGQueryAncestorsTranslator
All known Subclasses: com.hp.hpl.jena.reasoner.dig.DIGQueryParentsTranslator,
DIGQueryAncestorsTranslator | public class DIGQueryAncestorsTranslator extends DIGQueryTranslator (Code) | |
Translator that generates DIG ancestors/desendants queries in response to a find queries:
:X rdf:subClassOf *
rdf:subClassOf :X
or similar.
author: Ian Dickinson, HP Labs (email) version: CVS $Id: DIGQueryAncestorsTranslator.java,v 1.12 2008/01/02 12:07:09 andy_seaborne Exp $ |
m_ancestors | protected boolean m_ancestors(Code) | | Flag for querying for ancestors
|
DIGQueryAncestorsTranslator | public DIGQueryAncestorsTranslator(String predicate, boolean ancestors)(Code) | | Construct a translator for the DIG query 'parents'.
Parameters: predicate - The predicate URI to trigger on Parameters: ancestors - If true, we are searching for parents of the class; if false, the descendants |
DIGQueryAncestorsTranslator | protected DIGQueryAncestorsTranslator(String subj, String pred, String obj, boolean anc)(Code) | | Constructor for sub-classes to specify the subject and object trigger
values.
|
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)
|
|
|