| java.lang.Object com.hp.hpl.jena.reasoner.dig.DIGQueryTranslator com.hp.hpl.jena.reasoner.dig.DIGQueryAncestorsTranslator com.hp.hpl.jena.reasoner.dig.DIGQueryParentsTranslator
DIGQueryParentsTranslator | public class DIGQueryParentsTranslator extends DIGQueryAncestorsTranslator (Code) | |
Translator that generates DIG parents/childre queries in response to a find queries:
:X direct-subClassOf *
direct-subClassOf :X
or similar.
author: Ian Dickinson, HP Labs (email) version: Release @release@ ($Id: DIGQueryParentsTranslator.java,v 1.9 2008/01/02 12:07:09 andy_seaborne Exp $) |
DIGQueryParentsTranslator | public DIGQueryParentsTranslator(String predicate, boolean parents)(Code) | | Construct a translator for the DIG query 'parents'.
Parameters: predicate - The predicate URI to trigger on Parameters: parents - If true, we are searching for parents of the class; if false, the children |
DIGQueryParentsTranslator | public DIGQueryParentsTranslator(String subject, String predicate, String object, boolean parents)(Code) | | Construct a translator for the DIG query 'parents', with explicit
subject and object values.
Parameters: subject - The subject URI to trigger on Parameters: predicate - The predicate URI to trigger on Parameters: object - The object URI to trigger on Parameters: parents - If true, we are searching for parents of the class; if false, the children |
getResultsTripleFilter | protected Filter getResultsTripleFilter(TriplePattern query)(Code) | | For direct sub-class, we must sometimes ask a more general query
and filter the returned results against the original query.
An optional filter on the results of a DIG query |
translatePattern | public Document translatePattern(TriplePattern pattern, DIGAdapter da)(Code) | | Answer a query that will generate the direct class hierarchy (one level up or down) for a node
|
Fields inherited from com.hp.hpl.jena.reasoner.dig.DIGQueryAncestorsTranslator | protected boolean m_ancestors(Code)(Java Doc)
|
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)
|
|
|