| java.lang.Object com.hp.hpl.jena.reasoner.dig.DIGQueryTranslator com.hp.hpl.jena.reasoner.dig.DIGQueryAllRolesTranslator
DIGQueryAllRolesTranslator | public class DIGQueryAllRolesTranslator extends DIGQueryTranslator (Code) | |
Translator that generates DIG allroleNames queries in response to a find query:
rdf:type owl:ObjectProperty
or similar.
author: Ian Dickinson, HP Labs (email) version: $Id: DIGQueryAllRolesTranslator.java,v 1.9 2008/01/02 12:07:09 andy_seaborne Exp $ |
DIGQueryAllRolesTranslator | public DIGQueryAllRolesTranslator(String predicate, String object)(Code) | | Construct a translator for the DIG query all role names.
Parameters: predicate - The predicate URI to trigger on Parameters: object - The object URI to trigger on |
find | public ExtendedIterator find(TriplePattern pattern, DIGAdapter da)(Code) | | Since known role names are cached by the adapter, we can just look up the
current set and map directly to triples
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)
|
|
|