Query languages
A query language is any formalism that can be used to define queries, where a query is a function that takes a database (or set of facts) as an input and that returns a list or set of results as an output. Therefore, many formalisms in knowledge representation and reasoning can be considered as query languages.
In particular, this applies to many kinds of rule languages, which are typically used to infer consequences from a set of facts. The close relationship between query languages and rule languages is also evident when observing that any query can be used as a body (premise) of a rule. Extending a query language with some formalism for defining new facts from query results thus yields a rule language. In SPARQL, for example, the CONSTRUCT feature provides an immediate mechanism to create facts from query results; to obtain a rule language, it only remains to apply such queries recursively.
On this page, I focus on a slightly more narrow definition of query language in order to avoid the extensional identification with rule languages. All of the above works focus on problems and motivations that are related to query answering. My earlier works were mainly concerned with query answering in the presence of ontologies, which today might be called ontology-based data access. These works usually considered basic positive, existential queries (conjunctive queries or disjunctive queries). More recently, I have also studied new query languages that combine some recursive expressiveness (as found in rule languages) with favourable computational properties (such as decidability of query containment).
See also:
- The State of the UNION: Why no SPARQL Condition Should be Second Class. A critical discussion of the disjunctive capabilities of SPARQL 1.1.
Updates to the following list are also available as RSS feed. A list of all publications is also available.
- Markus Krötzsch, Sebastian Rudolph. Is Your Database System a Semantic Web Reasoner?. In Künstliche Intelligenz 30(2). 2016.
(view details, download)
- Markus Krötzsch, Tomáš Masopust, Michaël Thomazo. On the Complexity of Universality for Partially Ordered NFAs. In Proceedings of the 41st International Symposium on Mathematical Foundations of Computer Science (MFCS 2016). 2016.
(view details, download)
- Daniel Hernández, Aidan Hogan, Markus Krötzsch. Reifying RDF: What Works Well With Wikidata?. In Proceedings of the 11th International Workshop on Scalable Semantic Web Knowledge Base Systems (SSWS 2015). 2015.
(view details, download)
- Pierre Bourhis, Markus Krötzsch, Sebastian Rudolph. Reasonable Highly Expressive Query Languages. In Qiang Yang, Michael Wooldridge, eds.: Proceedings of the 24th International Joint Conference on Artificial Intelligence (IJCAI-15). 2015.
(view details, download)
- Stefan Bischof, Markus Krötzsch, Axel Polleres, Sebastian Rudolph. Schema-Agnostic Query Rewriting for OWL QL. In Diego Calvanese, Boris Konev, eds.: Proceedings of the 28th International Workshop on Description Logics (DL-15). 2015.
(view details, download)
- Giorgio Stefanoni, Boris Motik, Markus Krötzsch, Sebastian Rudolph. The Complexity of Answering Conjunctive and Navigational Queries over OWL 2 EL Knowledge Bases. In Journal of Artificial Intelligence Research, volume 51. 2014.
(view details, download)
- Markus Krötzsch. P ≠ P: Why Some Reasoning Problems are More Tractable Than Others. In Roman Kontchakov, Marie-Laure Mugnier, eds.: Proceedings of the 8th International Conference on Web Reasoning and Rule Systems (RR-14). 2014.
(view details, download)
- Stefan Bischof, Markus Krötzsch, Axel Polleres, Sebastian Rudolph. Schema-Agnostic Query Rewriting in SPARQL 1.1. In Peter Mika, Tania Tudorache, Abraham Bernstein, Chris Welty, Craig A. Knoblock, Denny Vrandečić, Paul T. Groth, Natasha F. Noy, eds.: Proceedings of the 13th International Semantic Web Conference. 2014.
(view details, download)
- Pierre Bourhis, Markus Krötzsch, Sebastian Rudolph. How to Best Nest Regular Path Queries. In Meghyn Bienvenu, Magdalena Ortiz, Riccardo Rosati, Mantas Simkus, eds.: Proceedings of the 27th International Workshop on Description Logics (DL-14). 2014.
(view details, download)
- Sebastian Rudolph, Markus Krötzsch. Flag & Check: Data Access with Monadically Defined Queries. In Richard Hull, Wenfei Fan, eds.: Proceedings of the 32nd ACM SIGMOD-SIGACT-SIGART Symposium on Principles of Database Systems (PODS 2013). 2013.
(view details, download)
- Emanuele Della Valle, Stefan Schlobach, Markus Krötzsch, Alessandro Bozzon, Stefano Ceri, Ian Horrocks. Order matters! Harnessing a world of orderings for reasoning over massive data. In Semantic Web Journal 4(2). 2013.
(view details, download)
- Markus Krötzsch, Sebastian Rudolph. Second-Order Queries for Rule-Based Data Access. In Institute AIFB Technical Report 3019. 2011.
(view details, download)
- Birte Glimm, Markus Krötzsch. SPARQL Beyond Subgraph Matching. In Peter F. Patel-Schneider, Yue Pan, Birte Glimm, Pascal Hitzler, Peter Mika, Jeff Pan, Ian Horrocks, eds.: Proceedings of the 9th International Semantic Web Conference. 2010.
(view details, download)
- Markus Krötzsch, Sebastian Rudolph, Pascal Hitzler. Conjunctive Queries for a Tractable Fragment of OWL1.1. In Karl Aberer, Key-Sun Choi, Natasha Noy, Dean Allemang, Kyung-Il Lee, Lyndon Nixon, Jennifer Golbeck, Peter Mika, eds.: Proceedings of the 6th International Semantic Web Conference (ISWC-07). 2007.
(view details, download)
- Markus Krötzsch, Sebastian Rudolph. Conjunctive Queries for EL with Role Composition. In Proceedings of the 20th International Workshop on Description Logics (DL-07). 2007.
(view details, download)