EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

An Ontology-Driven Approach for the Syntactic and Semantic Validation of SPARQL Queries

JUAN COLLIO BARRA, Ana Aguilera, Irvin Dongo

CLEI Electronic Journal · 14.07.2026 · 29 (3)

DOI: 10.19153/cleiej.29.3.2 ↗

Kurz gefasst

Fachartikel in der Zeitschrift CLEI Electronic Journal, online erschienen am 14.07.2026. Verfasst von JUAN COLLIO BARRA und 2 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

The Semantic Web enables data exchange and knowledge exploitation through SPARQL queries; however, users often encounter difficulties when formulating such queries, leading to unexpected results and iterative trial-and-error processes. These issues are aggravated by incomplete knowledge of the application domain and the underlying ontological schema, frequently causing unnecessary query executions and increased computational load on RDF repositories. This work proposes a method for the prior syntactic and semantic validation of SPARQL queries, based on an ontology and independent of its instances. The method operates before query execution and detects inconsistencies arising from literal writing errors and violations of object property axioms, providing explicit feedback to users. The development of the proposed approach follows a classical methodological framework grounded in the software engineering process. Experimental results show that the additional computational overhead introduced by validation is minimal, while the benefits are significant in scenarios involving incorrect queries. In particular, prior validation prevents the execution of erroneous queries, reduces processing time, and maintains negligible overhead for correct queries, demonstrating a favorable trade-off between computational efficiency and reduced manual intervention. Overall, the results indicate that prior validation improves SPARQL query quality and enhances developer productivity in semantic data–driven applications.

Zitieren

APA

BARRA, J. C., Aguilera, A., & Dongo, I. (2026). An Ontology-Driven Approach for the Syntactic and Semantic Validation of SPARQL Queries. CLEI Electronic Journal, 29(3). https://doi.org/10.19153/cleiej.29.3.2

Vancouver

BARRA JC, Aguilera A, Dongo I. An Ontology-Driven Approach for the Syntactic and Semantic Validation of SPARQL Queries. CLEI Electronic Journal. 2026;29(3). doi:10.19153/cleiej.29.3.2

BibTeX
@article{BARRA2026,
  author = {BARRA, JUAN COLLIO and Aguilera, Ana and Dongo, Irvin},
  title = {An Ontology-Driven Approach for the Syntactic and Semantic Validation of SPARQL Queries},
  journal = {CLEI Electronic Journal},
  year = {2026},
  volume = {29},
  number = {3},
  doi = {10.19153/cleiej.29.3.2}
}
Kostenlos starten →