Skip to main content
QUICK REVIEW

[Paper Review] Competency Questions and SPARQL-OWL Queries Dataset and Analysis

Dawid Wiśniewski, Jędrzej Potoniec|arXiv (Cornell University)|Nov 23, 2018
Semantic Web and OntologiesComputer Science10 references5 citations
TL;DR

This paper introduces a publicly released dataset of 234 Competency Questions (CQs) and their SPARQL-OWL query translations across five diverse ontologies. It conducts linguistic and semantic analysis to identify 17 distinct CQ patterns and 46 SPARQL-OWL query signatures, revealing complex mappings between natural language formulations and formal queries, thus enabling better automation, tooling, and standardization in ontology development.

ABSTRACT

Competency Questions (CQs) are natural language questions outlining and constraining the scope of knowledge represented by an ontology. Despite that CQs are a part of several ontology engineering methodologies, we have observed that the actual publication of CQs for the available ontologies is very limited and even scarcer is the publication of their respective formalisations in terms of, e.g., SPARQL queries. This paper aims to contribute to addressing the engineering shortcomings of using CQs in ontology development, to facilitate wider use of CQs. In order to understand the relation between CQs and the queries over the ontology to test the CQs on an ontology, we gather, analyse, and publicly release a set of 234 CQs and their translations to SPARQL-OWL for several ontologies in different domains developed by different groups. We analysed the CQs in two principal ways. The first stage focused on a linguistic analysis of the natural language text itself, i.e., a lexico-syntactic analysis without any presuppositions of ontology elements, and a subsequent step of semantic analysis in order to find patterns. This increased diversity of CQ sources resulted in a 5-fold increase of hitherto published patterns, to 106 distinct CQ patterns, which have a limited subset of few patterns shared across the CQ sets from the different ontologies. Next, we analysed the relation between the found CQ patterns and the 46 SPARQL-OWL query signatures, which revealed that one CQ pattern may be realised by more than one SPARQL-OWL query signature, and vice versa. We hope that our work will contribute to establishing common practices, templates, automation, and user tools that will support CQ formulation, formalisation, execution, and general management.

Motivation & Objective

  • Address the scarcity of published Competency Questions (CQs) and their formal SPARQL-OWL translations in ontology engineering.
  • Investigate whether broader domain and ontology sampling reveals more CQ patterns than previously identified.
  • Explore the relationship between natural language CQ patterns and formal SPARQL-OWL query signatures.
  • Establish foundations for automated CQ formulation, formalization, and query generation in ontology development.

Proposed method

  • Collected 234 CQs from five ontologies across diverse domains, each paired with a corresponding SPARQL-OWL query.
  • Performed lexico-syntactic analysis on CQs without prior assumptions about ontology elements to identify linguistic patterns.
  • Conducted semantic analysis to group and classify CQs into meaningful patterns based on meaning and structure.
  • Identified 46 distinct SPARQL-OWL query signatures based on structural and logical characteristics of the formalized queries.
  • Mapped CQ patterns to SPARQL-OWL query signatures to analyze one-to-many and many-to-one relationships.
  • Publicly released the dataset to support reproducibility, tool development, and future research.

Experimental results

Research questions

  • RQ1RQ1: Does increasing the scope across domains and ontologies reveal more CQ patterns than previously identified in the literature?
  • RQ2RQ2: Are the identified linguistic CQ patterns inherently tied to specific OWL constructs, or are they generalizable?
  • RQ3RQ3: Are there recurring, reusable SPARQL-OWL query signatures across different ontologies?
  • RQ4RQ4: How do linguistic CQ patterns relate to SPARQL-OWL query signatures in terms of mapping and formalization?

Key findings

  • The study identified 17 distinct CQ patterns through linguistic and semantic analysis, representing a 5-fold increase over prior work.
  • Only a few CQ patterns were shared across different ontologies, indicating significant diversity in CQ formulation across domains.
  • A total of 46 unique SPARQL-OWL query signatures were identified, reflecting structural and logical diversity in query design.
  • The analysis revealed that one CQ pattern can be formalized using multiple SPARQL-OWL query signatures, and vice versa, indicating non-trivial mappings.
  • The dataset of 234 CQ-SPARQL pairs is publicly released, enabling future research, tool development, and standardization in ontology engineering.
  • The results suggest that CQs can serve as a foundation for a controlled natural language (CNL) interface for ontology authoring and querying.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.