revert ReasonOperation change
@@ -14,6 +14,7 @@ import org.semanticweb.owlapi.model.OWLClass;
import org.semanticweb.owlapi.model.OWLClassExpression;
import org.semanticweb.owlapi.model.OWLDataFactory;
import org.semanticweb.owlapi.model.OWLImportsDeclaration;
+import org.semanticweb.owlapi.model.OWLNamedObject;
import org.semanticweb.owlapi.model.OWLOntology;
import org.semanticweb.owlapi.model.OWLOntologyCreationException;
import org.semanticweb.owlapi.model.OWLOntologyManager;
@@ -36,6 +37,7 @@ import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
+import java.util.function.Function;
/**
* Reason over an ontology and add axioms.
@@ -104,6 +106,9 @@ public class ReasonOperation {
logger.info("Fetching labels...");
+ Function<OWLNamedObject, String> labelFunc =
+ OntologyHelper.getLabelFunction(ontology, false);
+
int seconds;
long elapsedTime;
long startTime = System.currentTimeMillis();
