[Paper Review] Syntactic vs. Semantic Locality: How Good Is a Cheap Approximation?
This paper evaluates syntactic versus semantic locality in OWL ontology modules, implementing semantic locality for the first time and showing that syntactic locality is a highly effective, computationally cheap approximation. Experiments on real-world ontologies reveal minimal size differences between semantic and syntactic modules, with speedups of up to sixfold for syntactic extraction—making it preferable in practice despite semantic locality being theoretically more precise.
Extracting a subset of a given OWL ontology that captures all the ontology's knowledge about a specified set of terms is a well-understood task. This task can be based, for instance, on locality-based modules (LBMs). These come in two flavours, syntactic and semantic, and a syntactic LBM is known to contain the corresponding semantic LBM. For syntactic LBMs, polynomial extraction algorithms are known, implemented in the OWL API, and being used. In contrast, extracting semantic LBMs involves reasoning, which is intractable for OWL 2 DL, and these algorithms had not been implemented yet for expressive ontology languages. We present the first implementation of semantic LBMs and report on experiments that compare them with syntactic LBMs extracted from real-life ontologies. Our study reveals whether semantic LBMs are worth the additional extraction effort, compared with syntactic LBMs.
Motivation & Objective
- To assess whether the computationally efficient syntactic locality is a good approximation of semantic locality in OWL 2 DL ontologies.
- To implement and evaluate semantic locality-based modules (LBMs), which had not been previously implemented despite known algorithms.
- To determine whether the increased computational cost of semantic LBMs justifies any potential reduction in module size.
- To identify and analyze the types of axioms that cause differences between syntactic and semantic modules.
- To investigate the practical feasibility of computing semantic LBMs despite their theoretical intractability.
Proposed method
- Implemented semantic locality-based module extraction using entailment checking, leveraging existing reasoning services for OWL 2 DL.
- Extracted both syntactic and semantic LBMs for a corpus of real-life ontologies from BioPortal using the same seed signatures.
- Used a randomized sampling strategy to generate seed signatures of varying sizes, following a binomial distribution with mean m/2.
- Compared module sizes and extraction times between syntactic and semantic LBMs across multiple ontologies.
- Identified and classified two types of axioms causing differences: tautologies and axioms involving non-local terms.
- Conducted statistical analysis to assess significance of differences in module size and performance.
Experimental results
Research questions
- RQ1How do the sizes of syntactic and semantic locality-based modules compare across real-world OWL ontologies?
- RQ2How much faster is syntactic module extraction compared to semantic module extraction in practice?
- RQ3Which types of axioms lead to differences between syntactic and semantic modules?
- RQ4Is the computational cost of semantic module extraction justified by any significant reduction in module size?
- RQ5Can semantic locality-based modules be extracted efficiently in practice, despite their theoretical intractability?
Key findings
- For almost all ontologies in the corpus, there was no statistically significant difference in size between syntactic and semantic modules.
- The average speed-up of syntactic module extraction over semantic extraction was a factor of up to six, with some cases showing an order-of-magnitude improvement.
- Differences in module size were modest and not worth the increased computation time, especially since no reduction was observed in large, well-known ontologies like Galen and People.
- Two types of axioms caused differences: tautologies (e.g., F ⊑ F) and axioms involving non-local terms that become non-local after signature extension.
- Semantic locality-based modules can be extracted efficiently in practice, despite theoretical intractability, suggesting feasibility for real-world use.
- The study revealed and fixed a bug in the OWL API’s syntactic locality checker related to reflexivity axioms.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.