of the NCBO BioPortal Ontologies Background: OWL Justi cations 2 entails ontology (set of axioms) entailment (axiom) A justi cation for an entailment η is a minimal subset of the ontology which is sufficient for the entailment to hold. De nition • Justi cations pinpoint the causes for an entailment ‣ We deal with a potentially smaller set of axioms ‣ Restrict attention to the relevant axioms
of the NCBO BioPortal Ontologies Background: OWL Justi cations 3 entails justi cation (set of axioms) entailment (axiom) A justi cation for an entailment η is a minimal subset of the ontology which is sufficient for the entailment to hold. De nition • Justi cations pinpoint the causes for an entailment ‣ We deal with a potentially smaller set of axioms ‣ Restrict attention to the relevant axioms
of the NCBO BioPortal Ontologies Background: OWL Justi cations 4 entails justi cation (set of axioms) entailment (axiom) • Best understood explanation type ‣ for ontology debugging (understanding & xing errors) ‣ for ontology comprehension De nition A justi cation for an entailment η is a minimal subset of the ontology which is sufficient for the entailment to hold.
of the NCBO BioPortal Ontologies Background: OWL Justi cations 5 entailment (axiom) • A single entailment can have more than 1 justi cation ‣ Potentially exponentially many justi cations ‣ Up to several thousand found in real-life ontologies De nition A justi cation for an entailment η is a minimal subset of the ontology which is sufficient for the entailment to hold.
of the NCBO BioPortal Ontologies Multiple Justi cations Complicate Debugging • 1 justi cation for 1 entailment: OK (well, depends!) • Multiple justi cations for 1 entailment: ‣ We can consider them one by one... ‣ ...but this might lead to non-optimal repair! • Multiple justi cations for multiple entailments ‣ Where to start? • Dozens or hundreds: Give up! ‣ Cognitive overload for users 6
of the NCBO BioPortal Ontologies • Thus far only little effort to tackle this problem • Approaches based on relations between justi cations: ‣ root & derived justi cations [1,2] ‣ axiom power (Swoop tool [3]) • Can we get a more complete picture? 7 [1] A. Kalyanpur, B. Parsia, E. Sirin, and J. Hendler. Debugging unsatis able classes in OWL ontologies. J. Web Semantics, 2005. [2] T. Meyer, K. Moodley, and I. Varzinczak. First steps in the computation of root justi cations. In Proc. of ARCOE-10, 2010. [3] A. Kalyanpur, B. Parsia, E. Sirin, B. C. Grau, and J. A. Hendler. Swoop: A web ontology editing browser. J. Web Semantics, 2006. Multiple Justi cations Complicate Debugging
of the NCBO BioPortal Ontologies • Thus far only little effort to tackle this problem • Approaches based on relations between justi cations: ‣ root & derived justi cations [1,2] ‣ axiom power (Swoop tool [3]) • Can we get a more complete picture? 7 The set of structural relations between justi cations for single and multiple entailments in an ontology. Justi catory Structure [1] A. Kalyanpur, B. Parsia, E. Sirin, and J. Hendler. Debugging unsatis able classes in OWL ontologies. J. Web Semantics, 2005. [2] T. Meyer, K. Moodley, and I. Varzinczak. First steps in the computation of root justi cations. In Proc. of ARCOE-10, 2010. [3] A. Kalyanpur, B. Parsia, E. Sirin, B. C. Grau, and J. A. Hendler. Swoop: A web ontology editing browser. J. Web Semantics, 2006. Multiple Justi cations Complicate Debugging
of the NCBO BioPortal Ontologies Justi catory Structure: Motivation 1. How prevalent are multiple justi cations? 2. Can we make use of structural relationships for... a) improved debugging support? b) understanding the ontology? 3. Can we derive useful metrics from the justi catory structure? 8
of the NCBO BioPortal Ontologies BioPortal Survey: Work ow 12 Input: 218 BioPortal OWL ontologies Compute entailments (atomic subsumptions) Prune ontologies with unsatis able classes, imports, only trivial entailments Compute justi cations for entailments Generate JGraphs for remaining 35 ont. Compute statistics “Trivial”: O \ η ⊭η for all η
of the NCBO BioPortal Ontologies BioPortal Survey: Results • Basic stats: ‣ 35 ontologies (ranging from 85 to ~170,000 axioms) ‣ 12,010 non-trivial entailments ‣ 7,176 distinct non-self-justi cations ‣ containing 14,616 axioms ‣ 2,340 self-justi cations • No correlations between ‣ ontology size and number of entailments (ρ=0.18) ‣ ontology size and number of justi cations (ρ=-0.21) 13
of the NCBO BioPortal Ontologies BioPortal Survey: Results • Axiom power ‣ avg axiom power 3.0 (axiom occurs in 3 justi cations) ‣ max 510 justi cations for 1 axiom 20
of the NCBO BioPortal Ontologies BioPortal Survey: Results • Axiom power ‣ avg axiom power 3.0 (axiom occurs in 3 justi cations) ‣ max 510 justi cations for 1 axiom 20 3% 34% 51% 11% Average axiom power (proportion of ontologies) exactly 1 >1, <=2 >2, <=10 > 10
of the NCBO BioPortal Ontologies BioPortal Survey: Results • Justi cation equality ‣ 51% of justi cations have more than 1 entailment ‣ average: 2.17 entailments for a justi cation 21
of the NCBO BioPortal Ontologies BioPortal Survey: Results • Justi cation equality ‣ 51% of justi cations have more than 1 entailment ‣ average: 2.17 entailments for a justi cation 21 Basic Formal Ontology (BFO)
of the NCBO BioPortal Ontologies BioPortal Survey: Results • Justi cation equality ‣ 51% of justi cations have more than 1 entailment ‣ average: 2.17 entailments for a justi cation 21 Basic Formal Ontology (BFO)
of the NCBO BioPortal Ontologies Conclusions 1. How prevalent are multiple justi cations? ‣ 71.4% of surveyed ontologies have multiple justi cations ‣ Small number of multiple justi cations on average ‣ Size & DL expressivity of ontology are no indicators for justi catory structure 22
of the NCBO BioPortal Ontologies Conclusions 2. a) Can we make use of structural relationships for improved debugging support? ‣ Large degree of interaction between justi cations ‣ Considering entailments and justi cations in isolation ignores these relationships ‣ Optimal repair strategies: Look at multiple justi cations ‣ Future work: Explore possible repair strategies 23
of the NCBO BioPortal Ontologies Conclusions 2. b) Can we make use of structural relationships for understanding the ontology? ‣ Self-justi cations, equal justi cations, axiom power, activity... make implicit structure explicit ‣ Representation helps exploring multiple justi cations ‣ This may support understanding 24
of the NCBO BioPortal Ontologies Conclusions 3. Can we derive useful metrics from the justi catory structure? ‣ See Vertebrate Anatomy vs Evidence Codes ‣ More information than counting axioms ‣ DL expressivity does not imply complexity ‣ Structural aspects may be indicators for richness of an ontology 25