Class OntologyMetrics


  • public class OntologyMetrics
    extends Object
    • Constructor Detail

      • OntologyMetrics

        public OntologyMetrics​(org.semanticweb.owlapi.model.OWLOntology ontology)
      • OntologyMetrics

        public OntologyMetrics​(org.semanticweb.owlapi.model.OWLOntology ontology,
                               CURIEShortFormProvider curieShortFormProvider)
    • Method Detail

      • getEssentialMetrics

        public MeasureResult getEssentialMetrics()
        Returns:
        the essential metrics
      • getExtendedMetrics

        public MeasureResult getExtendedMetrics()
        Returns:
        the extended metrics
      • getAllMetrics

        public MeasureResult getAllMetrics()
        Returns:
        all metrics
      • getEssentialMetrics

        public MeasureResult getEssentialMetrics​(String prefix)
        Parameters:
        prefix - a prefix to prepend to all the metrics, for example "bfo_"
        Returns:
        essential metrics
      • getExtendedMetrics

        public MeasureResult getExtendedMetrics​(String prefix)
        Parameters:
        prefix - a prefix to prepend to all the metrics, for example "bfo_"
        Returns:
        extended metrics
      • getSimpleReasonerMetrics

        public MeasureResult getSimpleReasonerMetrics​(org.semanticweb.owlapi.reasoner.OWLReasoner reasoner)
        Parameters:
        reasoner - the reasoner to use to compute the metric; it is expected that this reasoner has the same ontology loaded as the one used by this class.
        Returns:
        simple reasoner metrics
      • getExtendedReasonerMetrics

        public MeasureResult getExtendedReasonerMetrics​(org.semanticweb.owlapi.reasoner.OWLReasoner reasoner)
        Parameters:
        reasoner - the reasoner to use to compute the metric; it is expected that this reasoner has the same ontology loaded as the one used by this class.
        Returns:
        extended reasoner metrics
      • getSimpleReasonerMetrics

        public MeasureResult getSimpleReasonerMetrics​(String prefix,
                                                      org.semanticweb.owlapi.reasoner.OWLReasoner reasoner)
        Parameters:
        prefix - a prefix to prepend to all the metrics, for example "bfo_"
        reasoner - the reasoner to use to compute the metric; it is expected that this reasoner has the same ontology loaded as the one used by this class.
        Returns:
        simple reasoner metrics
      • getExtendedReasonerMetrics

        public MeasureResult getExtendedReasonerMetrics​(String prefix,
                                                        org.semanticweb.owlapi.reasoner.OWLReasoner reasoner)
        Parameters:
        prefix - a prefix to prepend to all the metrics, for example "bfo_"
        reasoner - the reasoner to use to compute the metric; it is expected that this reasoner has the same ontology loaded as the one used by this class.
        Returns:
        extended reasoner metrics
      • getAllMetrics

        public MeasureResult getAllMetrics​(String prefix)
        Parameters:
        prefix - a prefix to prepend to all the metrics, for example "bfo_"
        Returns:
        all metrics
      • getOntology

        public org.semanticweb.owlapi.model.OWLOntology getOntology()
        Returns:
        Ontology used for metrics computation