Package org.obolibrary.robot.metrics
Class MetricsUtils
- java.lang.Object
-
- org.obolibrary.robot.metrics.MetricsUtils
-
public class MetricsUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description MetricsUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Set<org.semanticweb.owlapi.model.OWLAxiom>
getABoxAxioms(Set<org.semanticweb.owlapi.model.OWLAxiom> axioms)
static Set<org.semanticweb.owlapi.model.OWLAxiom>
getLogicalAxioms(org.semanticweb.owlapi.model.OWLOntology ontology, org.semanticweb.owlapi.model.parameters.Imports includeImportsClosure, boolean skiprules, Set<org.semanticweb.owlapi.model.AxiomType<?>> types)
static Set<org.semanticweb.owlapi.model.OWLAxiom>
getTBoxAxioms(Set<org.semanticweb.owlapi.model.OWLAxiom> axioms)
static Set<org.semanticweb.owlapi.model.AxiomType<?>>
getTBoxAxiomTypes(boolean including_rbox)
-
-
-
Method Detail
-
getABoxAxioms
public static Set<org.semanticweb.owlapi.model.OWLAxiom> getABoxAxioms(Set<org.semanticweb.owlapi.model.OWLAxiom> axioms)
- Parameters:
axioms
- set of axioms- Returns:
- filtered set of axioms (only ABox axioms)
-
getLogicalAxioms
public static Set<org.semanticweb.owlapi.model.OWLAxiom> getLogicalAxioms(org.semanticweb.owlapi.model.OWLOntology ontology, org.semanticweb.owlapi.model.parameters.Imports includeImportsClosure, boolean skiprules, Set<org.semanticweb.owlapi.model.AxiomType<?>> types)
- Parameters:
ontology
- ontology to be checkedincludeImportsClosure
- take into account importsskiprules
- ignore rules (SWRL)types
- AxiomTypes to consider- Returns:
- all logical axioms in the ontology
-
getTBoxAxiomTypes
public static Set<org.semanticweb.owlapi.model.AxiomType<?>> getTBoxAxiomTypes(boolean including_rbox)
- Parameters:
including_rbox
- whether or not RBox- Returns:
- all TBox axiom types
-
-