Remove semargl dependencies that were only used to get one OWL definition, which is available in owlapi

This commit is contained in:
Graham Triggs 2017-09-28 16:18:08 +01:00
parent 2979cdadae
commit cf702ea08c
2 changed files with 3 additions and 12 deletions

View file

@ -17,7 +17,6 @@ import org.semanticweb.owlapi.reasoner.OWLReasoner;
import org.semanticweb.owlapi.reasoner.OWLReasonerConfiguration;
import org.semanticweb.owlapi.reasoner.OWLReasonerFactory;
import org.semanticweb.owlapi.reasoner.SimpleConfiguration;
import org.semarglproject.vocab.OWL;
import uk.ac.manchester.cs.jfact.JFactFactory;
@ -39,6 +38,8 @@ import edu.cornell.mannlib.vitro.webapp.tboxreasoner.TBoxChanges;
import edu.cornell.mannlib.vitro.webapp.tboxreasoner.TBoxReasoner;
import edu.cornell.mannlib.vitro.webapp.tboxreasoner.impl.TBoxInferencesAccumulator;
import static org.semanticweb.owlapi.vocab.OWLRDFVocabulary.OWL_AXIOM;
/**
* An implementation of the JFact reasoner for the TBox.
*
@ -97,7 +98,7 @@ public class JFactTBoxReasoner implements
private void clearEmptyAxiomStatements() {
//Check and see if the model has any empty axiom statements and if so, remove them
StmtIterator axiomStatements = filteredAssertionsModel.listStatements(null, RDF.type, ResourceFactory.createResource(OWL.AXIOM));
StmtIterator axiomStatements = filteredAssertionsModel.listStatements(null, RDF.type, ResourceFactory.createResource(OWL_AXIOM.toString()));
List<Statement> removeStatements = new ArrayList<Statement>();
while(axiomStatements.hasNext()) {
Statement axiomStatement = axiomStatements.nextStatement();

10
dependencies/pom.xml vendored
View file

@ -163,16 +163,6 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.semarglproject</groupId>
<artifactId>semargl-core</artifactId>
<version>0.7</version>
</dependency>
<dependency>
<groupId>org.semarglproject</groupId>
<artifactId>semargl-rdfa</artifactId>
<version>0.7</version>
</dependency>
<!-- Needed for ORCID? -->
<dependency>
<groupId>org.apache.httpcomponents</groupId>