|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.clarkparsia.owlapi.explanation.util.OntologyUtils
public class OntologyUtils
Some ontology utils methods
| Constructor Summary | |
|---|---|
OntologyUtils()
|
|
| Method Summary | |
|---|---|
static void |
addAxiom(org.semanticweb.owlapi.model.OWLAxiom axiom,
Set<org.semanticweb.owlapi.model.OWLOntology> ontologies,
org.semanticweb.owlapi.model.OWLOntologyManager manager)
Add the axiom to all the given ontologies. |
static boolean |
containsUnreferencedEntity(org.semanticweb.owlapi.model.OWLOntology ontology,
org.semanticweb.owlapi.model.OWLClassExpression desc)
Determines if a class description contains any unreferenced entities with respect to the ontology that contains the entailments which are being explained. |
static Set<org.semanticweb.owlapi.model.OWLOntology> |
removeAxiom(org.semanticweb.owlapi.model.OWLAxiom axiom,
Set<org.semanticweb.owlapi.model.OWLOntology> ontologies,
org.semanticweb.owlapi.model.OWLOntologyManager manager)
Removes an axiom from all the given ontologies that contains the axiom and returns those ontologies. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OntologyUtils()
| Method Detail |
|---|
public static boolean containsUnreferencedEntity(org.semanticweb.owlapi.model.OWLOntology ontology,
org.semanticweb.owlapi.model.OWLClassExpression desc)
ontology - the ontology to searchdesc - The description to be searched
true if the description references entities that
the ontology that contains entailments which are being explained,
otherwise false
public static Set<org.semanticweb.owlapi.model.OWLOntology> removeAxiom(org.semanticweb.owlapi.model.OWLAxiom axiom,
Set<org.semanticweb.owlapi.model.OWLOntology> ontologies,
org.semanticweb.owlapi.model.OWLOntologyManager manager)
axiom - axiom being removedontologies - ontologies from which axiom is being removedmanager - manager to apply the actual change
public static void addAxiom(org.semanticweb.owlapi.model.OWLAxiom axiom,
Set<org.semanticweb.owlapi.model.OWLOntology> ontologies,
org.semanticweb.owlapi.model.OWLOntologyManager manager)
axiom - the axiom to addontologies - the ontologies to add the axiom tomanager - the manager for the application
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||