Remove semargl dependencies that were only used to get one OWL definition, which is available in owlapi
This commit is contained in:
parent
2979cdadae
commit
cf702ea08c
2 changed files with 3 additions and 12 deletions
|
@ -17,7 +17,6 @@ import org.semanticweb.owlapi.reasoner.OWLReasoner;
|
||||||
import org.semanticweb.owlapi.reasoner.OWLReasonerConfiguration;
|
import org.semanticweb.owlapi.reasoner.OWLReasonerConfiguration;
|
||||||
import org.semanticweb.owlapi.reasoner.OWLReasonerFactory;
|
import org.semanticweb.owlapi.reasoner.OWLReasonerFactory;
|
||||||
import org.semanticweb.owlapi.reasoner.SimpleConfiguration;
|
import org.semanticweb.owlapi.reasoner.SimpleConfiguration;
|
||||||
import org.semarglproject.vocab.OWL;
|
|
||||||
|
|
||||||
import uk.ac.manchester.cs.jfact.JFactFactory;
|
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.TBoxReasoner;
|
||||||
import edu.cornell.mannlib.vitro.webapp.tboxreasoner.impl.TBoxInferencesAccumulator;
|
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.
|
* An implementation of the JFact reasoner for the TBox.
|
||||||
*
|
*
|
||||||
|
@ -97,7 +98,7 @@ public class JFactTBoxReasoner implements
|
||||||
|
|
||||||
private void clearEmptyAxiomStatements() {
|
private void clearEmptyAxiomStatements() {
|
||||||
//Check and see if the model has any empty axiom statements and if so, remove them
|
//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>();
|
List<Statement> removeStatements = new ArrayList<Statement>();
|
||||||
while(axiomStatements.hasNext()) {
|
while(axiomStatements.hasNext()) {
|
||||||
Statement axiomStatement = axiomStatements.nextStatement();
|
Statement axiomStatement = axiomStatements.nextStatement();
|
||||||
|
|
10
dependencies/pom.xml
vendored
10
dependencies/pom.xml
vendored
|
@ -163,16 +163,6 @@
|
||||||
</exclusion>
|
</exclusion>
|
||||||
</exclusions>
|
</exclusions>
|
||||||
</dependency>
|
</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? -->
|
<!-- Needed for ORCID? -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.httpcomponents</groupId>
|
<groupId>org.apache.httpcomponents</groupId>
|
||||||
|
|
Loading…
Add table
Reference in a new issue