We study (unions of) conjunctive metaqueries over ontologies expressed in the Description Logics counterpart of RDFS equipped with metamodeling capabilities. This generalization to metaquerying goes beyond the extensively investigated query answering problem over ontologies, as now queries may also contain metavariables and TBox atoms, aligning with the classical “Ask-and-Tell” paradigm in knowledge representation. For the semantics of queries, we adopt the SPARQL Metamodeling Semantics Entailment Regime, a recently introduced regime that generalizes the commonly used SPARQL Direct Semantics Entailment Regime by relaxing the typing constraints. This new regime supports a more flexible querying mechanism over ontologies involving metaclasses and metaproperties, as query variables can appear in positions of different types (i.e. as individual, class, or property). As a result, it enables the formulation of meaningful metaqueries related to metamodeling. We show that this query answering task can be reduced to the evaluation of a linear Datalog program. This Datalog encoding allows us to establish tight complexity bounds for the associated decision problem, in combined complexity, ontology complexity and data complexity.

Answering MetaQueries over RDFS Ontologies under the SPARQL Metamodeling Semantics Entailment Regime / Calvanese, D., Cima, G., Corman, J., Delfino, R.M., Lenzerini, M., Marconi, L., Poggi, A., Savkovic, O.. - 16297:(2026), pp. 188-203. (International Joint Conference on Knowledge Graphs Heraklion; Crete; Greece ) [10.1007/978-981-95-5009-8_13].

Answering MetaQueries over RDFS Ontologies under the SPARQL Metamodeling Semantics Entailment Regime

Diego Calvanese;Gianluca Cima;Roberto Maria Delfino;Maurizio Lenzerini;Lorenzo Marconi;Antonella Poggi;
2026

Abstract

We study (unions of) conjunctive metaqueries over ontologies expressed in the Description Logics counterpart of RDFS equipped with metamodeling capabilities. This generalization to metaquerying goes beyond the extensively investigated query answering problem over ontologies, as now queries may also contain metavariables and TBox atoms, aligning with the classical “Ask-and-Tell” paradigm in knowledge representation. For the semantics of queries, we adopt the SPARQL Metamodeling Semantics Entailment Regime, a recently introduced regime that generalizes the commonly used SPARQL Direct Semantics Entailment Regime by relaxing the typing constraints. This new regime supports a more flexible querying mechanism over ontologies involving metaclasses and metaproperties, as query variables can appear in positions of different types (i.e. as individual, class, or property). As a result, it enables the formulation of meaningful metaqueries related to metamodeling. We show that this query answering task can be reduced to the evaluation of a linear Datalog program. This Datalog encoding allows us to establish tight complexity bounds for the associated decision problem, in combined complexity, ontology complexity and data complexity.
2026
International Joint Conference on Knowledge Graphs
metamodeling; metaquerying; rdfs; sparql entailment regime; datalog; computational complexity
04 Pubblicazione in atti di convegno::04b Atto di convegno in volume
Answering MetaQueries over RDFS Ontologies under the SPARQL Metamodeling Semantics Entailment Regime / Calvanese, D., Cima, G., Corman, J., Delfino, R.M., Lenzerini, M., Marconi, L., Poggi, A., Savkovic, O.. - 16297:(2026), pp. 188-203. (International Joint Conference on Knowledge Graphs Heraklion; Crete; Greece ) [10.1007/978-981-95-5009-8_13].
File allegati a questo prodotto
File Dimensione Formato  
Calvanese_Answering_postprint_2026.pdf

solo gestori archivio

Tipologia: Documento in Post-print (versione successiva alla peer review e accettata per la pubblicazione)
Licenza: Tutti i diritti riservati (All rights reserved)
Dimensione 532.57 kB
Formato Adobe PDF
532.57 kB Adobe PDF   Contatta l'autore
Calvanese_Answering_2026.pdf

solo gestori archivio

Tipologia: Versione editoriale (versione pubblicata con il layout dell'editore)
Licenza: Tutti i diritti riservati (All rights reserved)
Dimensione 4.38 MB
Formato Adobe PDF
4.38 MB Adobe PDF   Contatta l'autore

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11573/1761975
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? ND
social impact