/** * Check an argument graph to make sure it is not an OWL rule graph * already and if so log a warning message. */ private void checkArgGraph(Graph g) { if (JenaParameters.enableOWLRuleOverOWLRuleWarnings) { if (g instanceof InfGraph) { if (((InfGraph)g).getReasoner() instanceof OWLFBRuleReasoner) { logger.warn("Creating OWL rule reasoner working over another OWL rule reasoner"); } } } } }
/** * Check an argument graph to make sure it is not an OWL rule graph * already and if so log a warning message. */ private void checkArgGraph(Graph g) { if (JenaParameters.enableOWLRuleOverOWLRuleWarnings) { if (g instanceof InfGraph) { if (((InfGraph)g).getReasoner() instanceof OWLFBRuleReasoner) { logger.warn("Creating OWL rule reasoner working over another OWL rule reasoner"); } } } } }
/** * Return the Reasoner which is being used to answer queries to this graph. */ @Override public Reasoner getReasoner() { return getInfGraph().getReasoner(); }
/** * Return the Reasoner which is being used to answer queries to this graph. */ @Override public Reasoner getReasoner() { return getInfGraph().getReasoner(); }
/** * Return the Reasoner which is being used to answer queries to this graph. */ @Override public Reasoner getReasoner() { return (getGraph() instanceof InfGraph) ? ((InfGraph) getGraph()).getReasoner() : null; }
/** * Return the Reasoner which is being used to answer queries to this graph. */ @Override public Reasoner getReasoner() { return (getGraph() instanceof InfGraph) ? ((InfGraph) getGraph()).getReasoner() : null; }
supportsIndAsThing = ((InfGraph) getGraph()).getReasoner() .getReasonerCapabilities() .contains( null, ReasonerVocabulary.supportsP, ReasonerVocabulary.individualAsThingP );
supportsIndAsThing = ((InfGraph) getGraph()).getReasoner() .getReasonerCapabilities() .contains( null, ReasonerVocabulary.supportsP, ReasonerVocabulary.individualAsThingP );
if (ig != null && ig.getReasoner().supportsProperty( ReasonerVocabulary.directSubClassOf )) {
if (ig != null && ig.getReasoner().supportsProperty( ReasonerVocabulary.directSubClassOf )) {
if (!direct || ((ig != null) && ig.getReasoner().supportsProperty( sc ))) {
if (!direct || ((ig != null) && ig.getReasoner().supportsProperty( sc ))) {