| java.lang.Object com.hp.hpl.jena.reasoner.dig.DIGQueryTranslator com.hp.hpl.jena.reasoner.dig.DIGQueryIsConceptTranslator
DIGQueryIsConceptTranslator | public class DIGQueryIsConceptTranslator extends DIGQueryTranslator (Code) | |
Translator that generates a DIG query to test whether a ground name is a class atom
x rdf:type owl:Class
or similar.
author: Ian Dickinson, HP Labs (email) version: Release @release@ ($Id: DIGQueryIsConceptTranslator.java,v 1.8 2008/01/02 12:07:11 andy_seaborne Exp $) |
Method Summary | |
public boolean | checkObject(Node object, DIGAdapter da, Model premises) | public boolean | checkSubject(Node subject, DIGAdapter da, Model premises) | public ExtendedIterator | find(TriplePattern pattern, DIGAdapter da) | public ExtendedIterator | find(TriplePattern pattern, DIGAdapter da, Model premises) | public Document | translatePattern(TriplePattern pattern, DIGAdapter da) | public Document | translatePattern(TriplePattern pattern, DIGAdapter da, Model premises) | public ExtendedIterator | translateResponseHook(Document response, TriplePattern query, DIGAdapter da) |
DIGQueryIsConceptTranslator | public DIGQueryIsConceptTranslator()(Code) | | Construct a translator for the DIG for a concept name.
|
find | public ExtendedIterator find(TriplePattern pattern, DIGAdapter da)(Code) | | Since known concept 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)
|
|
|