public class OWLReasoning
extends java.lang.Object
Constructor and Description |
---|
OWLReasoning(org.semanticweb.owlapi.model.IRI iri)
Loads an ontology from IRI.
|
OWLReasoning(java.lang.String pathFileName,
org.semanticweb.owlapi.reasoner.OWLReasonerFactory reasonerFactory)
Loads an ontology with all imports from files.
|
Modifier and Type | Method and Description |
---|---|
org.semanticweb.owlapi.model.OWLOntology |
doReasoning(boolean TBox,
boolean ABox)
Performs reasoning.
|
org.semanticweb.owlapi.model.OWLOntologyManager |
getManager()
Returns
|
int |
getNumberOfAllAssertions()
Returns the summarized number of class, object property and datatype property assertions in the ontology.
|
int |
getNumberOfClassAssertions()
Returns the number of class assertions in the ontology.
|
int |
getNumberOfDatatypeAssertions()
Returns the number of datatype property assertions in the ontology.
|
int |
getNumberOfObjectPropertyAssertions()
Returns the number of object property assertions in the ontology.
|
org.semanticweb.owlapi.model.OWLOntology |
getOntology()
Returns
|
java.lang.String |
getOWL2ProfileInformation()
Checks the OWL 2 Profile of an ontology.
|
void |
removeSWRLRulesFromOntology()
Removes SWRL rules from a given ontology.
|
void |
restoreSWRLRulesInOntology()
Restores
|
void |
saveOntology(org.semanticweb.owlapi.model.OWLOntology ontology,
java.lang.String pathFileName,
org.semanticweb.owlapi.model.OWLOntologyFormat format)
Saves given ontology into file.
|
public OWLReasoning(org.semanticweb.owlapi.model.IRI iri)
pathFileName
- public OWLReasoning(java.lang.String pathFileName, org.semanticweb.owlapi.reasoner.OWLReasonerFactory reasonerFactory)
pathFileName
- public org.semanticweb.owlapi.model.OWLOntology doReasoning(boolean TBox, boolean ABox)
public org.semanticweb.owlapi.model.OWLOntologyManager getManager()
public int getNumberOfAllAssertions()
public int getNumberOfClassAssertions()
public int getNumberOfDatatypeAssertions()
public int getNumberOfObjectPropertyAssertions()
public org.semanticweb.owlapi.model.OWLOntology getOntology()
public java.lang.String getOWL2ProfileInformation()
public void removeSWRLRulesFromOntology()
public void restoreSWRLRulesInOntology()
public void saveOntology(org.semanticweb.owlapi.model.OWLOntology ontology, java.lang.String pathFileName, org.semanticweb.owlapi.model.OWLOntologyFormat format)
ontology
- pathFileName
- format
-