/** * Set to true to enable translation of selected parts of an OWL schema * to additional rules. At present only intersection statements are handled this way. * The translation is only applicable in HYBRID mode. */ public void setOWLTranslation(boolean enableOWLTranslation) { if (enableOWLTranslation && (mode != HYBRID)) { throw new ReasonerException("Can only enable OWL rule translation in HYBRID mode"); } this.enableOWLTranslation = enableOWLTranslation; if (enableOWLTranslation) { addPreprocessingHook(owlTranslator); } else { removePreprocessingHook(owlTranslator); } }
/** * Set to true to enable translation of selected parts of an OWL schema * to additional rules. At present only intersection statements are handled this way. * The translation is only applicable in HYBRID mode. */ public void setOWLTranslation(boolean enableOWLTranslation) { if (enableOWLTranslation && (mode != HYBRID)) { throw new ReasonerException("Can only enable OWL rule translation in HYBRID mode"); } this.enableOWLTranslation = enableOWLTranslation; if (enableOWLTranslation) { addPreprocessingHook(owlTranslator); } else { removePreprocessingHook(owlTranslator); } }
addPreprocessingHook(owlTranslator); } else { removePreprocessingHook(owlTranslator);
addPreprocessingHook(owlTranslator); } else { removePreprocessingHook(owlTranslator);