Fix using approved workaround
@@ -7,6 +7,7 @@ import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.Options;
import org.semanticweb.owlapi.model.OWLOntology;
import org.semanticweb.owlapi.profiles.OWLProfile;
+import org.semanticweb.owlapi.profiles.OWL2Profile;
import org.semanticweb.owlapi.profiles.OWLProfileReport;
import org.semanticweb.owlapi.profiles.Profiles;
@@ -70,7 +71,7 @@ public class ValidateProfileCommand implements Command {
case "EL": owlProfile = Profiles.OWL2_EL; break;
case "RL": owlProfile = Profiles.OWL2_RL; break;
case "QL": owlProfile = Profiles.OWL2_QL; break;
- case "FULL": owlProfile = Profiles.OWL2_FULL; break;
+ case "FULL": owlProfile = new OWL2Profile(); break; // #162
default: owlProfile = null;
}
OWLProfileReport report = owlProfile.checkOntology(ontology);
