public final class OntologyUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addAxiom(OWLAxiom axiom,
Set<OWLOntology> ontologies,
OWLOntologyManager manager)
Deprecated.
|
static void |
addAxiom(OWLAxiom axiom,
java.util.stream.Stream<OWLOntology> ontologies)
Add the axiom to all the given ontologies.
|
static boolean |
containsUnreferencedEntity(OWLOntology ontology,
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<OWLOntology> |
removeAxiom(OWLAxiom axiom,
java.util.stream.Stream<OWLOntology> ontologies)
Removes an axiom from all the given ontologies that contains the axiom
and returns those ontologies.
|
public static boolean containsUnreferencedEntity(OWLOntology ontology, OWLClassExpression desc)
ontology - the ontology to searchdesc - The description to be searchedtrue if the description references entities that the
ontology that contains entailments which are being explained,
otherwise falsepublic static Set<OWLOntology> removeAxiom(OWLAxiom axiom, java.util.stream.Stream<OWLOntology> ontologies)
axiom - axiom being removedontologies - ontologies from which axiom is being removed@Deprecated public static void addAxiom(OWLAxiom axiom, Set<OWLOntology> ontologies, OWLOntologyManager manager)
addAxiom(OWLAxiom, Stream)axiom - the axiom to addontologies - the ontologies to add the axiom tomanager - the manager for the applicationpublic static void addAxiom(OWLAxiom axiom, java.util.stream.Stream<OWLOntology> ontologies)
axiom - the axiom to addontologies - the ontologies to add the axiom toCopyright © 2016 The University of Manchester. All Rights Reserved.