Demonstration venue · read-only. Every page can be browsed; the buttons that would change it are switched off. Create an account to run TaxoReview on your own data. A simulation from public publication records: the people listed were not invited and did not agree to review.
? Tutorial for this page

Reinhard Pichler

dblp:26/5252 · DBLP profile ↗
← Back
117ranked-venue papers
20as first author
21since 2021 · last 2026
0000-0002-1760-122XORCID · verified

Domains — the database's venue-derived domains; a paper can count in several

Databases, data management, data science and information retrieval · 48 · 5 first-author · 16 since 2021Theory of computation · 44 · 13 first-author · 3 since 2021Artificial intelligence and machine learning · 36 · 5 first-author · 1 since 2021Graphics, computer vision, multimedia, augmented reality and games · 15 · 1 first-authorApplied, interdisciplinary, general and emerging computing · 4 · 2 since 2021Software engineering, systems software and programming languages · 3 · 1 first-author

Expertise — from the expertise taxonomy: the topics of the expert's papers under the CCF categories. A weight counts papers with recency: 1 for a paper about the topic, 0.3 when the topic is its context, halved every five years.

Databases, data mining, and information retrieval
36 papers
Database theory · 56% Query processing and optimization · 24% Data models and query languages · 10%
Theoretical computer science
36 papers
Computational complexity · 46% Combinatorics and discrete mathematics · 14% Algorithmic game theory and mechanism design · 10%
Artificial intelligence
14 papers
Knowledge representation and reasoning · 94% Planning, search and constraint satisfaction · 6%

Topics — the 30 heaviest of 109, each with the papers that count most for it

TopicWeightPapersLastEvidence papers
Query processing and optimization
query execution
2.842025
Soft and Constrained Hypertree Width · Proc. ACM Manag. Data 2025
The Space-Time Complexity of Sum-Product Queries · Proc. ACM Manag. Data 2025
Convergence of datalog over (Pre-) Semirings · J. ACM 2024
Database theory
conjunctive query evaluation
2.852025
Soft and Constrained Hypertree Width · Proc. ACM Manag. Data 2025
The Space-Time Complexity of Sum-Product Queries · Proc. ACM Manag. Data 2025
Fast Parallel Hypertree Decompositions in Logarithmic Recursion Depth · PODS 2022
Database theory
query answering
2.342025
Query Answering Under Volume-Based Diversity Functions · Proc. ACM Manag. Data 2025
Towards Tractability of the Diversity of Query Answers: Ultrametrics to the Rescue · Proc. ACM Manag. Data 2024
Complexity Analysis of Generalized and Fractional Hypertree Decompositions · J. ACM 2021
Database theory
hypertree decomposition
2.232025
Soft and Constrained Hypertree Width · Proc. ACM Manag. Data 2025
Fast Parallel Hypertree Decompositions in Logarithmic Recursion Depth · ACM Trans. Database Syst. 2024
Fast Parallel Hypertree Decompositions in Logarithmic Recursion Depth · PODS 2022
Query processing and optimization › query quality optimization
diverse query results
1.622025
Query Answering Under Volume-Based Diversity Functions · Proc. ACM Manag. Data 2025
Towards Tractability of the Diversity of Query Answers: Ultrametrics to the Rescue · Proc. ACM Manag. Data 2024
Data models and query languages
datalog
1.532024
Convergence of datalog over (Pre-) Semirings · J. ACM 2024
Convergence of Datalog over (Pre-) Semirings · PODS 2022
Optimizing Recursive Queries with Progam Synthesis · SIGMOD Conference 2022
Database theory › logic programming semantics
fixpoint semantics
1.322024
Convergence of datalog over (Pre-) Semirings · J. ACM 2024
Convergence of Datalog over (Pre-) Semirings · PODS 2022
Database theory
query containment
1.362020
On the Language of Nested Tuple Generating Dependencies · ACM Trans. Database Syst. 2020
Efficient Evaluation and Static Analysis for Well-Designed Pattern Trees with Projection · ACM Trans. Database Syst. 2018
Containment and equivalence of well-designed SPARQL · PODS 2014
Database theory › hypertree decomposition
hypertree width
1.222025
Soft and Constrained Hypertree Width · Proc. ACM Manag. Data 2025
HyperBench: A Benchmark and Tool for Hypergraphs and Empirical Findings · PODS 2019
Computational complexity
constraint satisfaction
1.222024
Fast Parallel Hypertree Decompositions in Logarithmic Recursion Depth · ACM Trans. Database Syst. 2024
Fast and Parallel Decomposition of Constraint Satisfaction Problems · IJCAI 2020
Algorithms and data structures
parallel algorithms
1.132022
Fast Parallel Hypertree Decompositions in Logarithmic Recursion Depth · PODS 2022
Fast and Parallel Decomposition of Constraint Satisfaction Problems · IJCAI 2020
Winner Determination in Huge Elections with MapReduce · AAAI 2017
Combinatorics and discrete mathematics › hypergraph › hypertree width
hypertree decomposition
1.122022
Fast Parallel Hypertree Decompositions in Logarithmic Recursion Depth · PODS 2022
Complexity Analysis of Generalized and Fractional Hypertree Decompositions · J. ACM 2021
Computational complexity
parameterized complexity
1.0102014
A Parameterized Complexity Analysis of Generalized CP-Nets · AAAI 2014
Parameterized Complexity of Optimal Planning: A Detailed Map · IJCAI 2013
Tractable Answer-Set Programming with Weight Constraints: Bounded Treewidth Is not Enough · KR 2010
Data models and query languages › RDF query language
SPARQL
0.952023
Towards Reconciling SPARQL and Certain Answers · WWW 2015
SparqLog: A System for Efficient Evaluation of SPARQL 1.1 Queries via Datalog · Proc. VLDB Endow. 2023
Containment and equivalence of well-designed SPARQL · PODS 2014
Database theory
conjunctive query
0.932021
Complexity Analysis of Generalized and Fractional Hypertree Decompositions · J. ACM 2021
Efficient Evaluation and Static Analysis for Well-Designed Pattern Trees with Projection · ACM Trans. Database Syst. 2018
Efficient Evaluation and Approximation of Well-designed Pattern Trees · PODS 2015
Query processing and optimization › aggregate query processing
aggregate query optimization
0.912025
Avoiding Materialisation for Guarded Aggregate Queries · Proc. VLDB Endow. 2025
Query processing and optimization › query optimization › join ordering
join optimization
0.912025
Avoiding Materialisation for Guarded Aggregate Queries · Proc. VLDB Endow. 2025
Database theory
tractability
0.912025
Soft and Constrained Hypertree Width · Proc. ACM Manag. Data 2025
Data integration and cleaning
schema mapping
0.842020
On the Language of Nested Tuple Generating Dependencies · ACM Trans. Database Syst. 2020
Nested dependencies: structure and reasoning · PODS 2014
Normalization and optimization of schema mappings · VLDB J. 2011
Database theory › query answering
consistent query answering
0.812024
Consistent Query Answering over SHACL Constraints · KR 2024
Database theory › semiring semantics
datalog over semirings
0.812024
Convergence of datalog over (Pre-) Semirings · J. ACM 2024
Query processing and optimization
recursive query
0.812024
Convergence of datalog over (Pre-) Semirings · J. ACM 2024
Database theory › datalog evaluation
semi-naive evaluation
0.812024
Convergence of datalog over (Pre-) Semirings · J. ACM 2024
Parallel and multicore computing
parallel algorithms
0.812024
Fast Parallel Hypertree Decompositions in Logarithmic Recursion Depth · ACM Trans. Database Syst. 2024
Database theory
constraint satisfaction
0.722019
HyperBench: A Benchmark and Tool for Hypergraphs and Empirical Findings · PODS 2019
General and Fractional Hypertree Decompositions: Hard and Easy Cases · PODS 2018
Database theory
hypergraph decomposition
0.722019
HyperBench: A Benchmark and Tool for Hypergraphs and Empirical Findings · PODS 2019
General and Fractional Hypertree Decompositions: Hard and Easy Cases · PODS 2018
Data models and query languages › query language
query language interoperability
0.712023
SparqLog: A System for Efficient Evaluation of SPARQL 1.1 Queries via Datalog · Proc. VLDB Endow. 2023
Graph data management › graph query processing
SPARQL query evaluation
0.712023
SparqLog: A System for Efficient Evaluation of SPARQL 1.1 Queries via Datalog · Proc. VLDB Endow. 2023
Database theory › dependency theory
implication problem
0.622020
On the Language of Nested Tuple Generating Dependencies · ACM Trans. Database Syst. 2020
Nested dependencies: structure and reasoning · PODS 2014
Algorithmic game theory and mechanism design › social choice
computational social choice
0.622018
Computing the Schulze Method for Large-Scale Preference Data Sets · IJCAI 2018
Winner Determination in Huge Elections with MapReduce · AAAI 2017

Methods — techniques the papers use, named apart from their topics

complexity analysis · 2.1space-efficient algorithms · 1.7ranked enumeration · 1.7preference-guided decomposition · 1.7constraint-based decomposition · 1.7approximation algorithm · 1.7polynomial-time algorithm · 1.5balanced separators · 1.5physical optimization · 0.9logical optimization · 0.9ultrametrics · 0.8parallel pruning · 0.8lower bounds · 0.8lower bound · 0.8program synthesis · 0.6equality saturation · 0.6SMT solver · 0.6hypertree width · 0.4
YearPublicationVenuePosition
2026 Selective Use of Yannakakis' Algorithm for Consistent Performance Gains
Daniela Böhm, Georg Gottlob, Matthias Lanzinger, Davide M. Longo, Cem Okulmus, Reinhard Pichler, Alexander Selzer
DOLAP6
2026 Query Decompositions and All That (Invited Talk)
abstract
The close relationship between Conjunctive Queries (CQs) and Constraint Satisfaction Problems (CSPs) has long been known. Nevertheless, apart from decomposition methods, research on efficient query evaluation or constraint solving algorithms has developed rather independently. In this article, we illustrate how search algorithms originating from the CSP community can be fruitfully applied to query evaluation - either by further developing the original search algorithms or by combining them with query decomposition methods. It turns out that the resulting approaches may indeed lead to lower time and/or space complexity than previous query evaluation methods.
Kyle Deeds, Timo Camillo Merkl, Reinhard Pichler, Dan Suciu
ICDT3
2026 Database Theory in Action: Evaluation of Aggregate Queries Without Materialisation
abstract
Aggregate queries often require computing large intermediate joins despite producing only small outputs. We identify broad classes of acyclic aggregate queries that can be evaluated without materialising any join results, using a bottom-up, semi-join–based propagation of cardinalities and partial aggregates. An implementation in Spark SQL shows that this approach is widely applicable and yields substantial performance gains on standard benchmarks.
Matthias Lanzinger, Reinhard Pichler, Alexander Selzer
ICDT2
2025 Minimal solutions of fuzzy relation equations via maximal independent elements
abstract
Fuzzy relation equations (FRE) are a useful formalism with a broad number of applications in different computer science areas. Testing if a solution exists and, if so, computing the unique greatest solution is straightforward. In contrast, the computation of minimal solutions is more complex. In particular, even in FRE with a very simple structure, the number of minimal solutions can increase exponentially. However, minimal solutions are immensely useful since, under mild conditions, they (together with the greatest solution) allow one to describe the entire space of solutions to an FRE. The main result of this work is a new method for enumerating the set of minimal solutions. It works by establishing a relationship between coverings of FRE and maximal independent elements of (hyper-)boxes. We can thus make efficient enumeration methods for maximal independent elements of (hyper-)boxes applicable also to our setting of FRE, where the operator considered in the composition of fuzzy relations only needs to preserve suprema of arbitrary subsets and infima of non-empty subsets. More specifically, we thus show that the enumeration of the minimal solutions of an FRE can be done with incremental quasi-polynomial delay.
David Lobo, Jesús Medina 0001, Timo Camillo Merkl, Reinhard Pichler
Inf. Sci.4
2025 Diversity of Answers to Conjunctive Queries
abstract
Enumeration problems aim at outputting, without repetition, the set of solutions to a given problem instance. However, outputting the entire solution set may be prohibitively expensive if it is too big. In this case, outputting a small, sufficiently diverse subset of the solutions would be preferable. This leads to the Diverse-version of the original enumeration problem, where the goal is to achieve a certain level d of diversity by selecting k solutions. In this paper, we look at the Diverse-version of the query answering problem for Conjunctive Queries and extensions thereof. That is, we study the problem if it is possible to achieve a certain level d of diversity by selecting k answers to the given query and, in the positive case, to actually compute such k answers.
Timo Camillo Merkl, Reinhard Pichler, Sebastian Skritek
Log. Methods Comput. Sci.2
2025 Query Answering Under Volume-Based Diversity Functions
abstract
When query evaluation produces too many tuples, a new approach in query answering is to retrieve a diverse subset of them. The standard approach for measuring the diversity of a set of tuples is to use a distance function between tuples, which measures the dissimilarity between them, to then aggregate the pairwise distances of the set into a score (e.g., by using sum or min aggregation). However, as we will point out in this work, the resulting diversity measures may display some unintuitive behavior. Moreover, even in very simple settings, finding a maximally diverse subset of the answers of fixed size is, in general, intractable and little is known about approximations apart from some hand-picked distance-aggregator pairs. In this work, we introduce a novel approach for computing the diversity of tuples based on volume instead of distance. We present a framework for defining volume-based diversity functions and provide several examples of these measures applied to relational data. Although query answering of conjunctive queries (CQ) under this setting is intractable in general, we show that one can always compute a (1-1/e)-approximation for any volume-based diversity function. Furthermore, in terms of combined complexity, we connect the evaluation of CQs under volume-based diversity functions with the ranked enumeration of solutions, finding general conditions under which a (1-1/e)-approximation can be computed in polynomial time.
Marcelo Arenas, Timo Camillo Merkl, Reinhard Pichler, Cristian Riveros
Proc. ACM Manag. Data3
2025 The Space-Time Complexity of Sum-Product Queries
abstract
While extensive research on query evaluation has achieved consistent improvements in the time complexity of algorithms, the space complexity of query evaluation has been largely ignored. This is a particular challenge in settings with strict pre-defined space constraints. In this paper, we examine the combined space-time complexity of conjunctive queries (CQs) and, more generally, of sum-product queries (SPQs). We propose several classes of space-efficient algorithms for evaluating SPQs, and we show that the optimal time complexity is almost always achievable with asymptotically lower space complexity than traditional approaches.
Kyle Deeds, Timo Camillo Merkl, Reinhard Pichler, Dan Suciu
Proc. ACM Manag. Data3
2025 Soft and Constrained Hypertree Width
abstract
Hypertree decompositions provide a way to evaluate Conjunctive Queries (CQs) in polynomial time, where the exponent of this polynomial is determined by the width of the decomposition. In theory, the goal of efficient CQ evaluation therefore has to be a minimisation of the width. However, in practical settings, it turns out that there are also other properties of a decomposition that influence the performance of query evaluation. It is therefore of interest to restrict the computation of decompositions by constraints and to guide this computation by preferences. To this end, we propose a novel framework based on candidate tree decompositions, which allows us to introduce soft hypertree width (shw). This width measure is a relaxation of hypertree width (hw); it is never greater than hw and, in some cases, shw may actually be lower than hw. Most importantly, shw preserves the tractability of deciding if a given CQ is below some fixed bound, while offering more algorithmic flexibility. In particular, it provides a natural way to incorporate preferences and constraints into the computation of decompositions. A prototype implementation and preliminary experiments confirm that this novel framework can indeed have a practical impact on query evaluation.
Matthias Lanzinger, Cem Okulmus, Reinhard Pichler, Alexander Selzer, Georg Gottlob
Proc. ACM Manag. Data3
2025 Avoiding Materialisation for Guarded Aggregate Queries
abstract
Optimising queries with many joins is known to be a hard problem. The explosion of intermediate results as opposed to a much smaller final result poses a serious challenge to modern database management systems (DBMSs). This is particularly glaring in case of analytical queries that join many tables but ultimately only output comparatively small aggregate information. Analogous problems are faced by graph database systems when processing analytical queries with aggregates on top of complex path queries. In this work, we propose novel optimisation techniques, both on the logical, and physical level, that allow us to avoid the materialisation of join results for certain types of aggregate queries. The key to these optimisations is the notion of guardedness , by which we impose restrictions on the occurrence of attributes in GROUP BY clauses and in aggregate expressions. The efficacy of our optimisations is validated through their implementation in Spark SQL and extensive empirical evaluation on various standard benchmarks.
Matthias Lanzinger, Reinhard Pichler, Alexander Selzer
Proc. VLDB Endow.2
2024 Consistent Query Answering over SHACL Constraints
abstract
The Shapes Constraint Language (SHACL) was standardized by the World Wide Web as a constraint language to describe and validate RDF data graphs. SHACL uses the notion of shapes graph to describe a set of shape constraints paired with targets, that specify which nodes of the RDF graph should satisfy which shapes. An important question in practice is how to handle data graphs that do not validate the shapes graph. A solution is to tolerate the non-validation and find ways to obtain meaningful and correct answers to queries despite the non-validation. This is known as consistent query answering (CQA) and there is extensive literature on CQA in both the database and the KR setting. We study CQA in the context of SHACL for a fundamental fragment of the Semantic Web query language SPARQL. The goal of our work is a detailed complexity analysis of CQA for various semantics and possible restrictions on the acceptable repairs. It turns out that all considered variants of the problem are intractable, with complexities ranging between the first and third level of the polynomial hierarchy.
Shqiponja Ahmetaj, Timo Camillo Merkl, Reinhard Pichler
KR3
2024 Convergence of datalog over (Pre-) Semirings
abstract
Recursive queries have been traditionally studied in the framework of datalog, a language that restricts recursion to monotone queries over sets, which is guaranteed to converge in polynomial time in the size of the input. But modern big data systems require recursive computations beyond the Boolean space. In this article, we study the convergence of datalog when it is interpreted over an arbitrary semiring. We consider an ordered semiring, define the semantics of a datalog program as a least fixpoint in this semiring, and study the number of steps required to reach that fixpoint, if ever. We identify algebraic properties of the semiring that correspond to certain convergence properties of datalog programs. Finally, we describe a class of ordered semirings on which one can use the semi-naïve evaluation algorithm on any datalog program.
Mahmoud Abo Khamis, Hung Q. Ngo 0001, Reinhard Pichler, Dan Suciu, Yisu Remy Wang
J. ACM3
2024 Towards Tractability of the Diversity of Query Answers: Ultrametrics to the Rescue
abstract
The set of answers to a query may be very large, potentially overwhelming users when presented with the entire set. In such cases, presenting only a small subset of the answers to the user may be preferable. A natural requirement for this subset is that it should be as diverse as possible to reflect the variety of the entire population. To achieve this, the diversity of a subset is measured using a metric that determines how different two solutions are and a diversity function that extends this metric from pairs to sets. In the past, several studies have shown that finding a diverse subset from an explicitly given set is intractable even for simple metrics (like Hamming distance) and simple diversity functions (like summing all pairwise distances). This complexity barrier becomes even more challenging when trying to output a diverse subset from a set that is only implicitly given (such as the query answers for a given query and a database). Until now, tractable cases have been found only for restricted problems and particular diversity functions. To overcome these limitations, we focus in this work on the notion of ultrametrics, which have been widely studied and used in many applications. Starting from any ultrametric d and a diversity function δ extending d , we provide sufficient conditions over δ for having polynomial-time algorithms to construct diverse answers. To the best of our knowledge, these conditions are satisfied by all the diversity functions considered in the literature. Moreover, we complement these results with lower bounds that show specific cases when these conditions are not satisfied and finding diverse subsets becomes intractable. We conclude by applying these results to the evaluation of conjunctive queries, demonstrating efficient algorithms for finding a diverse subset of solutions for acyclic conjunctive queries when the attribute order is used to measure diversity.
Marcelo Arenas, Timo Camillo Merkl, Reinhard Pichler, Cristian Riveros
Proc. ACM Manag. Data3
2024 Fast Parallel Hypertree Decompositions in Logarithmic Recursion Depth
abstract
Various classic reasoning problems with natural hypergraph representations are known to be tractable if a hypertree decomposition (HD) of low width exists. The resulting algorithms are attractive for practical use in fields like databases and constraint satisfaction. However, algorithmic use of HDs relies on the difficult task of first computing a decomposition of the hypergraph underlying a given problem instance, which is then used to guide the algorithm for this particular instance. The performance of purely sequential methods for computing HDs is inherently limited, yet the problem is, theoretically, amenable to parallelisation. In this article, we propose the first algorithm for computing hypertree decompositions that is well suited for parallelisation. The newly proposed algorithm log- k -decomp requires only a logarithmic number of recursion levels and additionally allows for highly parallelised pruning of the search space by restriction to so-called balanced separators. We provide a detailed experimental evaluation over the HyperBench benchmark and demonstrate that log- k -decomp outperforms the current state of the art significantly.
Georg Gottlob, Matthias Lanzinger, Cem Okulmus, Reinhard Pichler
ACM Trans. Database Syst.4
2023 Integration of Skyline Queries into Spark SQL
Lukas Grasmann, Reinhard Pichler, Alexander Selzer
EDBT2
2023 Diversity of Answers to Conjunctive Queries
abstract
Enumeration problems aim at outputting, without repetition, the set of solutions to a given problem instance. However, outputting the entire solution set may be prohibitively expensive if it is too big. In this case, outputting a small, sufficiently diverse subset of the solutions would be preferable. This leads to the Diverse-version of the original enumeration problem, where the goal is to achieve a certain level d of diversity by selecting k solutions. In this paper, we look at the Diverse-version of the query answering problem for Conjunctive Queries and extensions thereof. That is, we study the problem if it is possible to achieve a certain level d of diversity by selecting k answers to the given query and, in the positive case, to actually compute such k answers.
Timo Camillo Merkl, Reinhard Pichler, Sebastian Skritek
ICDT2
2023 SparqLog: A System for Efficient Evaluation of SPARQL 1.1 Queries via Datalog
abstract
Over the past decade, Knowledge Graphs have received enormous interest both from industry and from academia. Research in this area has been driven, above all, by the Database (DB) community and the Semantic Web (SW) community. However, there still remains a certain divide between approaches coming from these two communities. For instance, while languages such as SQL or Datalog are widely used in the DB area, a different set of languages such as SPARQL and OWL is used in the SW area. Interoperability between such technologies is still a challenge. The goal of this work is to present a uniform and consistent framework meeting important requirements from both, the SW and DB field.
Renzo Angles, Georg Gottlob, Aleksandar Pavlovic 0002, Reinhard Pichler, Emanuel Sallinger
Proc. VLDB Endow.4
2023 Fractional covers of hypergraphs with bounded multi-intersection
abstract
Fractional (hyper-)graph theory is concerned with the specific problems that arise when fractional analogues of otherwise integer-valued (hyper-)graph invariants are considered. The focus of this paper is on fractional edge covers of hypergraphs. Our main technical result generalizes and unifies previous conditions under which the size of the support of fractional edge covers is bounded independently of the size of the hypergraph itself. We show how this combinatorial result can be used to extend previous tractability results for checking if the fractional hypertree width of a given hypergraph is ≤k for some constant k. Moreover, we show a dual version of our main result for fractional hitting sets.
Georg Gottlob, Matthias Lanzinger, Reinhard Pichler, Igor Razgon
Theor. Comput. Sci.3
2022 Fast Parallel Hypertree Decompositions in Logarithmic Recursion Depth
abstract
Various classic reasoning problems with natural hypergraph representations are known to be tractable when a hypertree decomposition (HD) of low width exists. The resulting algorithms are attractive for practical use in fields like databases and constraint satisfaction. However, algorithmic use of HDs relies on the difficult task of first computing a decomposition of the hypergraph underlying a given problem instance, which is then used to guide the algorithm for this particular instance. The performance of purely sequential methods for computing HDs is inherently limited, yet the problem is, theoretically, amenable to parallelisation.
Georg Gottlob, Matthias Lanzinger, Cem Okulmus, Reinhard Pichler
PODS4
2022 Convergence of Datalog over (Pre-) Semirings
abstract
Recursive queries have been traditionally studied in the framework of datalog, a language that restricts recursion to monotone queries over sets, which is guaranteed to converge in polynomial time in the size of the input. But modern big data systems require recursive computations beyond the Boolean space. In this paper we study the convergence of datalog when it is interpreted over an arbitrary semiring. We consider an ordered semiring, define the semantics of a datalog program as a least fixpoint in this semiring, and study the number of steps required to reach that fixpoint, if ever. We identify algebraic properties of the semiring that correspond to certain convergence properties of datalog programs. Finally, we describe a class of ordered semirings on which one can use the semi-naive evaluation algorithm on any datalog program.
Mahmoud Abo Khamis, Hung Q. Ngo 0001, Reinhard Pichler, Dan Suciu, Yisu Remy Wang
PODS3
2022 Optimizing Recursive Queries with Progam Synthesis
abstract
Most work on query optimization has concentrated on loop-free queries. However, data science and machine learning workloads today typically involve recursive or iterative computation. In this work, we propose a novel framework for optimizing recursive queries using methods from program synthesis. In particular, we introduce a simple yet powerful optimization rule called the "FGH-rule" which aims to find a faster way to evaluate a recursive program. The solution is found by making use of powerful tools, such as a program synthesizer, an SMT-solver, and an equality saturation system. We demonstrate the strength of the optimization by showing that the FGH-rule can lead to speedups up to 4 orders of magnitude on three, already optimized Datalog systems.
Yisu Remy Wang, Mahmoud Abo Khamis, Hung Q. Ngo 0001, Reinhard Pichler, Dan Suciu
SIGMOD Conference4
2021 Complexity Analysis of Generalized and Fractional Hypertree Decompositions
abstract
Hypertree decompositions (HDs), as well as the more powerful generalized hypertree decompositions (GHDs), and the yet more general fractional hypertree decompositions (FHDs) are hypergraph decomposition methods successfully used for answering conjunctive queries and for solving constraint satisfaction problems. Every hypergraph H has a width relative to each of these methods: its hypertree width hw(H) , its generalized hypertree width ghw(H) , and its fractional hypertree width fhw(H) , respectively. It is known that hw(H)≤ k can be checked in polynomial time for fixed k , while checking ghw(H)≤ k is NP-complete for k ≥ 3 . The complexity of checking fhw(H)≤ k for a fixed k has been open for over a decade. We settle this open problem by showing that checking fhw(H)≤ k is NP-complete, even for k=2 . The same construction allows us to prove also the NP-completeness of checking ghw(H)≤ k for k=2 . After that, we identify meaningful restrictions that make checking for bounded ghw or fhw tractable or allow for an efficient approximation of the fhw .
Georg Gottlob, Matthias Lanzinger, Reinhard Pichler, Igor Razgon
J. ACM3
2020 The HyperTrac Project: Recent Progress and Future Research Directions on Hypergraph Decompositions
Georg Gottlob, Matthias Lanzinger, Davide M. Longo, Cem Okulmus, Reinhard Pichler
CPAIOR5
2020 Semantic Width and the Fixed-Parameter Tractability of Constraint Satisfaction Problems
abstract
Constraint satisfaction problems (CSPs) are an important formal framework for the uniform treatment of various prominent AI tasks, e.g., coloring or scheduling problems. Solving CSPs is, in general, known to be NP-complete and fixed-parameter intractable when parameterized by their constraint scopes. We give a characterization of those classes of CSPs for which the problem becomes fixed-parameter tractable. Our characterization significantly increases the utility of the CSP framework by making it possible to decide the fixed-parameter tractability of problems via their CSP formulations. We further extend our characterization to the evaluation of unions of conjunctive queries, a fundamental problem in databases. Furthermore, we provide some new insight on the frontier of PTIME solvability of CSPs. In particular, we observe that bounded fractional hypertree width is more general than bounded hypertree width only for classes that exhibit a certain type of exponential growth. The presented work resolves a long-standing open problem and yields powerful new tools for complexity research in AI and database theory.
Hubie Chen, Georg Gottlob, Matthias Lanzinger, Reinhard Pichler
IJCAI4
2020 Fast and Parallel Decomposition of Constraint Satisfaction Problems
abstract
Constraint Satisfaction Problems (CSP) are notoriously hard. Consequently, powerful decomposition methods have been developed to overcome this complexity. However, this poses the challenge of actually computing such a decomposition for a given CSP instance, and previous algorithms have shown their limitations in doing so. In this paper, we present a number of key algorithmic improvements and parallelisation techniques to compute so-called Generalized Hypertree Decompositions (GHDs) faster. We thus advance the ability to compute optimal (i.e., minimal-width) GHDs for a significantly wider range of CSP instances on modern machines. This lays the foundation for more systems and applications in evaluating CSPs and related problems (such as Conjunctive Query answering) based on their structural properties.
Georg Gottlob, Cem Okulmus, Reinhard Pichler
IJCAI3
2020 Fractional Covers of Hypergraphs with Bounded Multi-Intersection
Georg Gottlob, Matthias Lanzinger, Reinhard Pichler, Igor Razgon
MFCS3
2020 On the Language of Nested Tuple Generating Dependencies
abstract
During the past 15 years, schema mappings have been extensively used in formalizing and studying such critical data interoperability tasks as data exchange and data integration. Much of the work has focused on GLAV mappings, i.e., schema mappings specified by source-to-target tuple-generating dependencies (s-t tgds), and on schema mappings specified by second-order tgds (SO tgds), which constitute the closure of GLAV mappings under composition. In addition, nested GLAV mappings have also been considered, i.e., schema mappings specified by nested tgds, which have expressive power intermediate between s-t tgds and SO tgds. Even though nested GLAV mappings have been used in data exchange systems, such as IBM’s Clio, no systematic investigation of this class of schema mappings has been carried out so far. In this article, we embark on such an investigation by focusing on the basic reasoning tasks, algorithmic problems, and structural properties of nested GLAV mappings. One of our main results is the decidability of the implication problem for nested tgds. We also analyze the structure of the core of universal solutions with respect to nested GLAV mappings and develop useful tools for telling apart SO tgds from nested tgds. By discovering deeper structural properties of nested GLAV mappings, we show that also the following problem is decidable: Given a nested GLAV mapping, is it logically equivalent to a GLAV mapping?
Phokion G. Kolaitis, Reinhard Pichler, Emanuel Sallinger, Vadim Savenkov
ACM Trans. Database Syst.2
2019 Datalog: Bag Semantics via Set Semantics
abstract
Duplicates in data management are common and problematic. In this work, we present a translation of Datalog under bag semantics into a well-behaved extension of Datalog, the so-called warded Datalog^+/-, under set semantics. From a theoretical point of view, this allows us to reason on bag semantics by making use of the well-established theoretical foundations of set semantics. From a practical point of view, this allows us to handle the bag semantics of Datalog by powerful, existing query engines for the required extension of Datalog. This use of Datalog^+/- is extended to give a set semantics to duplicates in Datalog^+/- itself. We investigate the properties of the resulting Datalog^+/- programs, the problem of deciding multiplicities, and expressibility of some bag operations. Moreover, the proposed translation has the potential for interesting applications such as to Multiset Relational Algebra and the semantic web query language SPARQL with bag semantics.
Leo Bertossi, Georg Gottlob, Reinhard Pichler
ICDT3
2019 HyperBench: A Benchmark and Tool for Hypergraphs and Empirical Findings
abstract
To cope with the intractability of answering Conjunctive Queries (CQs) and solving Constraint Satisfaction Problems (CSPs), several notions of hypergraph decompositions have been proposed - giving rise to different notions of width, noticeably, plain, generalized, and fractional hypertree width (hw, ghw, and fhw). Given the increasing interest in using such decomposition methods in practice, a publicly accessible repository of decomposition software, as well as a large set of benchmarks, and a web-accessible workbench for inserting, analysing, and retrieving hypergraphs are called for. We address this need by providing (i) concrete implementations of hypergraph decompositions (including new practical algorithms), (ii) a new, comprehensive benchmark of hypergraphs stemming from disparate CQ and CSP collections, and (iii) HyperBench, our new web-interface for accessing the benchmark and the results of our analyses. In addition, we describe a number of actual experiments we carried out with this new infrastructure.
Wolfgang Fischl, Georg Gottlob, Davide M. Longo, Reinhard Pichler
PODS4
2019 A complexity theory for hard enumeration problems
Nadia Creignou, Markus Kröll, Reinhard Pichler, Sebastian Skritek, Heribert Vollmer
Discret. Appl. Math.3
2018 Computing the Schulze Method for Large-Scale Preference Data Sets
abstract
The Schulze method is a voting rule widely used in practice and enjoys many positive axiomatic properties. While it is computable in polynomial time, its straight-forward implementation does not scale well for large elections. In this paper, we develop a highly optimised algorithm for computing the Schulze method with Pregel, a framework for massively parallel computation of graph problems, and demonstrate its applicability for large preference data sets. In addition, our theoretic analysis shows that the Schulze method is indeed particularly well-suited for parallel computation, in stark contrast to the related ranked pairs method. More precisely we show that winner determination subject to the Schulze method is NL-complete, whereas this problem is P-complete for the ranked pairs method.
Theresa Csar, Martin Lackner, Reinhard Pichler
IJCAI3
2018 General and Fractional Hypertree Decompositions: Hard and Easy Cases
abstract
Hypertree decompositions, as well as the more powerful generalized hypertree decompositions (GHDs), and the yet more general fractional hypertree decompositions (FHD) are hypergraph decomposition methods successfully used for answering conjunctive queries and for the solution of constraint satisfaction problems. Every hypergraph H has a width relative to each of these methods: its hypertree width hw(H), its generalized hypertree width ghw(H), and its fractional hypertree width fhw(H), respectively. It is known that hw(H) ≤ k can be checked in polynomial time for fixed k, while checking ghw(H) ≤ k is NP-complete for k >= 3. The complexity of checking fhw(H) ≤ k for a fixed k has been open for over a decade. We settle this open problem by showing that checking fhw(H) ≤ k is NP-complete, even for k=2. The same construction allows us to prove also the NP-completeness of checking ghw(H) ≤ k for k=2. After proving these results, we identify meaningful restrictions, for which checking for bounded ghw or fhw becomes tractable.
Wolfgang Fischl, Georg Gottlob, Reinhard Pichler
PODS3
2018 Do Hard SAT-Related Reasoning Tasks Become Easier in the Krom Fragment?
abstract
Many reasoning problems are based on the problem of satisfiability (SAT). While SAT itself becomes easy when restricting the structure of the formulas in a certain way, the situation is more opaque for more involved decision problems. We consider here the CardMinSat problem which asks, given a propositional formula $\phi$ and an atom $x$, whether $x$ is true in some cardinality-minimal model of $\phi$. This problem is easy for the Horn fragment, but, as we will show in this paper, remains $\Theta_2$-complete (and thus $\mathrm{NP}$-hard) for the Krom fragment (which is given by formulas in CNF where clauses have at most two literals). We will make use of this fact to study the complexity of reasoning tasks in belief revision and logic-based abduction and show that, while in some cases the restriction to Krom formulas leads to a decrease of complexity, in others it does not. We thus also consider the CardMinSat problem with respect to additional restrictions to Krom formulas towards a better understanding of the tractability frontier of such problems.
Nadia Creignou, Reinhard Pichler, Stefan Woltran
Log. Methods Comput. Sci.2
2018 Limits of Schema Mappings
abstract
Schema mappings have been extensively studied in the context of data exchange and data integration, where they have turned out to be the right level of abstraction for formalizing data inter-operability tasks. Up to now and for the most part, schema mappings have been studied as static objects, in the sense that each time the focus has been on a single schema mapping of interest or, in the case of composition, on a pair of schema mappings of interest. In this paper, we adopt a dynamic viewpoint and embark on a study of sequences of schema mappings and of the limiting behavior of such sequences. To this effect, we first introduce a natural notion of distance on sets of finite target instances that expresses how "close" two sets of target instances are as regards the certain answers of conjunctive que- ries on these sets. Using this notion of distance, we investigate pointwise limits and uniform limits of sequences of schema mappings, as well as the companion notions of pointwise Cauchy and uniformly Cauchy sequences of schema mappings. We obtain a number of results about the limits of sequences of GAV schema mappings and the limits of sequences of LAV schema mappings that reveal striking differences between these two classes of schema mappings. We also consider the completion of the metric space of sets of target instances and obtain concrete representations of limits of sequences of schema mappings in terms of generalized schema mappings, that is, schema mappings with infinite target instances as solutions to (finite) source instances.
Phokion G. Kolaitis, Reinhard Pichler, Emanuel Sallinger, Vadim Savenkov
Theory Comput. Syst.2
2018 Efficient Evaluation and Static Analysis for Well-Designed Pattern Trees with Projection
abstract
Conjunctive queries (CQs) fail to provide an answer when the pattern described by the query does not exactly match the data. CQs might thus be too restrictive as a querying mechanism when data is semistructured or incomplete. The semantic web therefore provides a formalism—known as (projected) well-designed pattern trees (pWDPTs)—that tackles this problem: pWDPTs allow us to formulate queries that match parts of the query over the data if available, but do not ignore answers of the remaining query otherwise. Here we abstract away the specifics of semantic web applications and study pWDPTs over arbitrary relational schemas. Since the language of pWDPTs subsumes CQs, their evaluation problem is intractable. We identify structural properties of pWDPTs that lead to (fixed-parameter) tractability of various variants of the evaluation problem. We also show that checking if a pWDPT is equivalent to one in our tractable class is in 2EXPTIME. As a corollary, we obtain fixed-parameter tractability of evaluation for pWDPTs with such good behavior. Our techniques also allow us to develop a theory of approximations for pWDPTs.
Pablo Barceló, Markus Kröll, Reinhard Pichler, Sebastian Skritek
ACM Trans. Database Syst.3
2017 Winner Determination in Huge Elections with MapReduce
abstract
In computational social choice, we are concerned with the development of methods for joint decision making. A central problem in this field is the winner determination problem, which aims at identifying the most preferred alternative(s). With the rise of modern e-business platforms, processing of huge amounts of preference data has become an issue. In this work, we apply the MapReduce framework - which has been specifically designed for dealing with big data - to various versions of the winner determination problem. We obtain efficient and highly parallel algorithms and provide a theoretical analysis and experimental evaluation.
Theresa Csar, Martin Lackner, Reinhard Pichler, Emanuel Sallinger
AAAI3
2017 On the Complexity of Enumerating the Extensions of Abstract Argumentation Frameworks
abstract
Several computational problems of abstract argumentation frameworks (AFs) such as skeptical and credulous reasoning, existence of a non-empty extension, verification, etc. have been thoroughly analyzed for various semantics. In contrast, the enumeration problem of AFs (i.e., the problem of computing all extensions according to some semantics) has been left unexplored so far. The goal of this paper is to fill this gap. We thus investigate the enumeration complexity of AFs for a large collection of semantics and, in addition, consider the most common structural restrictions on AFs.
Markus Kröll, Reinhard Pichler, Stefan Woltran
IJCAI2
2017 On the Complexity of Hard Enumeration Problems
Nadia Creignou, Markus Kröll, Reinhard Pichler, Sebastian Skritek, Heribert Vollmer
LATA3
2017 Implementing Courcelle's Theorem in a declarative framework for dynamic programming
abstract
Many computationally hard problems become tractable if the graph structure underlying the problem instance exhibits small treewidth. A recent approach to put this idea into practice is based on a declarative interface to Answer Set Programming that allows us to specify dynamic programming over tree decompositions in this language, delegating the computation to dedicated solvers. In this article, we prove that this method can be applied to any problem whose fixed-parameter tractability follows from Courcelle's Theorem.
Bernhard Bliem, Reinhard Pichler, Stefan Woltran
J. Log. Comput.2
2016 Complexity of Repair Checking and Consistent Query Answering
abstract
Inconsistent databases (i.e., databases violating some given set of integrity constraints) may arise in many applications such as, for instance, data integration. Hence, the handling of inconsistent data has evolved as an active field of research. In this paper, we consider two fundamental problems in this context: Repair Checking (RC) and Consistent Query Answering (CQA). So far, these problems have been mainly studied from the point of view of data complexity (where all parts of the input except for the database are considered as fixed). While for some kinds of integrity constraints, also combined complexity (where all parts of the input are allowed to vary) has been considered, for several other kinds of integrity constraints, combined complexity has been left unexplored. Moreover, a more detailed analysis (keeping other parts of the input fixed - e.g., the constraints only) is completely missing. The goal of our work is a thorough analysis of the complexity of the RC and CQA problems. Our contribution is a complete picture of the complexity of these problems for a wide range of integrity constraints. Our analysis thus allows us to get a better understanding of the true sources of complexity.
Sebastian Arming, Reinhard Pichler, Emanuel Sallinger
ICDT2
2016 Limits of Schema Mappings
abstract
Schema mappings have been extensively studied in the context of data exchange and data integration, where they have turned out to be the right level of abstraction for formalizing data inter-operability tasks. Up to now and for the most part, schema mappings have been studied as static objects, in the sense that each time the focus has been on a single schema mapping of interest or, in the case of composition, on a pair of schema mappings of interest. In this paper, we adopt a dynamic viewpoint and embark on a study of sequences of schema mappings and of the limiting behavior of such sequences. To this effect, we first introduce a natural notion of distance on sets of finite target instances that expresses how "close" two sets of target instances are as regards the certain answers of conjunctive queries on these sets. Using this notion of distance, we investigate pointwise limits and uniform limits of sequences of schema mappings, as well as the companion notions of pointwise Cauchy and uniformly Cauchy sequences of schema mappings. We obtain a number of results about the limits of sequences of GAV schema mappings and the limits of sequences of LAV schema mappings that reveal striking differences between these two classes of schema mappings. We also consider the completion of the metric space of sets of target instances and obtain concrete representations of limits of sequences of schema mappings in terms of generalized schema mappings, i.e., schema mappings with infinite target instances as solutions to (finite) source instances.
Phokion G. Kolaitis, Reinhard Pichler, Emanuel Sallinger, Vadim Savenkov
ICDT2
2016 On the Complexity of Enumerating the Answers to Well-designed Pattern Trees
abstract
Well-designed pattern trees (wdPTs) have been introduced as an extension of conjunctive queries to allow for partial matching - analogously to the OPTIONAL operator of the semantic web query language SPARQL. Several computational problems of wdPTs have been studied in recent years, such as the evaluation problem in various settings, the counting problem, as well as static analysis tasks including the containment and equivalence problems. Also restrictions needed to achieve tractability of these tasks have been proposed. In contrast, the problem of enumerating the answers to a wdPT has been largely ignored so far. In this work, we embark on a systematic study of the complexity of the enumeration problem of wdPTs. As our main result, we identify several tractable and intractable cases of this problem both from a classical complexity point of view and from a parameterized complexity point of view.
Markus Kröll, Reinhard Pichler, Sebastian Skritek
ICDT2
2016 Fuzzy data exchange
Jesús Medina 0001, Reinhard Pichler
Fuzzy Sets Syst.2
2015 Efficient Evaluation and Approximation of Well-designed Pattern Trees
abstract
Conjunctive queries (CQs) fail to provide an answer when the pattern described by the query does not exactly match the data. CQs might thus be too restrictive as a querying mechanism when data is semistructured or incomplete. The semantic web therefore provides a formalism - known as well-designed pattern trees (WDPTs) - that tackles this problem: WDPTs allow us to match patterns over the data, if available, but do not fail to give an answer otherwise. Here we abstract away the specifics of semantic web applications and study WDPTs over arbitrary relational schemas. Our language properly subsumes the class of CQs. Hence, WDPT evaluation is intractable. We identify structural proper ties of WDPTs that lead to tractability of various variants of the evaluation problem. For checking if a WDPT is equivalent to one in our tractable class, we prove 2EXPTIME-membership. As a corollary, we obtain fixed-parameter tractability of (variants of) the evaluation problem. Our techniques also allow us to develop a theory of approximations for WDPTs.
Pablo Barceló, Reinhard Pichler, Sebastian Skritek
PODS2
2015 Function Symbols in Tuple-Generating Dependencies: Expressive Power and Computability
abstract
Tuple-generating dependencies -- for short tgds -- have been a staple of database research throughout most of its history. Yet one of the central aspects of tgds, namely the role of existential quantifiers, has not seen much investigation so far. When studying dependencies, existential quantifiers and -- in their Skolemized form -- function symbols are often viewed as two ways to express the same concept. But in fact, tgds are quite restrictive in the way that functional terms can occur.
Georg Gottlob, Reinhard Pichler, Emanuel Sallinger
PODS2
2015 Towards Reconciling SPARQL and Certain Answers
abstract
SPARQL entailment regimes are strongly influenced by the big body of works on ontology-based query answering, notably in the area of Description Logics (DLs). However, the semantics of query answering under SPARQL entailment regimes is defined in a more naive and much less expressive way than the certain answer semantics usually adopted in DLs. The goal of this work is to introduce an intuitive certain answer semantics also for SPARQL and to show the feasibility of this approach. For OWL 2 QL entailment, we present algorithms for the evaluation of an interesting fragment of SPARQL (the so-called well-designed SPARQL). Moreover, we show that the complexity of the most fundamental query analysis tasks (such as query containment and equivalence testing) is not negatively affected by the presence of OWL 2 QL entailment under the proposed semantics.
Shqiponja Ahmetaj, Wolfgang Fischl, Reinhard Pichler, Mantas Simkus, Sebastian Skritek
WWW3
2015 On the undecidability of the equivalence of second-order tuple generating dependencies
Ingo Feinerer, Reinhard Pichler, Emanuel Sallinger, Vadim Savenkov
Inf. Syst.2
2015 The complexity of handling minimal solutions in logic-based abduction
abstract
Logic-based abduction is an important reasoning method with many applications in Artificial Intelligence including diagnosis, planning, and configuration. The goal of an abduction problem is to find a ‘solution’, i.e., an explanation for some observed symptoms. Usually, many solutions exist, and one is often interested in minimal ones only. Previous definitions of ‘solutions’ to an abduction problem tacitly made an open-world assumption. However, as far as minimality is concerned, this assumption may not always lead to the desired behaviour. To overcome this problem, we propose a new definition of solutions based on a closed-world approach. Moreover, we also introduce a new variant of minimality where only a part of the hypotheses is subject to minimization. A thorough complexity analysis reveals the close relationship between these two new notions as well as the differences compared with previous notions of solutions.
Andreas Pfandler, Reinhard Pichler, Stefan Woltran
J. Log. Comput.2
2014 Capturing Relational Schemas and Functional Dependencies in RDFS
abstract
Mapping relational data to RDF is an important task for the development of the Semantic Web. To this end, the W3C has recently released a Recommendation for the so-called direct mapping of relational data to RDF. In this work, we propose an enrichment of the direct mapping to make it more faithful by transferring also semantic information present in the relational schema from the relational world to the RDF world. We thus introduce expressive identification constraints to capture functional dependencies and define an RDF Normal Form, which precisely captures the classical Boyce-Codd Normal Form of relational schemas.
Diego Calvanese, Wolfgang Fischl, Reinhard Pichler, Emanuel Sallinger, Mantas Simkus
AAAI3
2014 A Parameterized Complexity Analysis of Generalized CP-Nets
abstract
Generalized CP-nets (GCP-nets) allow a succinct representation of preferences over multi-attribute domains. As a consequence of their succinct representation, many GCP-net related tasks are computationally hard. Even finding the more preferable of two outcomes is PSPACE-complete. In this work, we employ the framework of parameterized complexity to achieve two goals: First, we want to gain a deeper understanding of the complexity of GCP-nets. Second, we search for efficient fixed-parameter tractable algorithms.
Martin Kronegger, Martin Lackner, Andreas Pfandler, Reinhard Pichler
AAAI4
2014 A Fuzzy Extension of Data Exchange
Jesús Medina 0001, Reinhard Pichler
IPMU (2)2
2014 Nested dependencies: structure and reasoning
abstract
During the past decade, schema mappings have been extensively used in formalizing and studying such critical data interoperability tasks as data exchange and data integration. Much of the work has focused on GLAV mappings, i.e., schema mappings specified by source-to-target tuple-generating dependencies (s-t tgds), and on schema mappings specified by second-order tgds (SO tgds), which constitute the closure of GLAV mappings under composition. In addition, nested GLAV mappings have also been considered, i.e., schema mappings specified by nested tgds, which have expressive power intermediate between s-t tgds and SO tgds. Even though nested GLAV mappings have been used in data exchange systems, such as IBM's Clio, no systematic investigation of this class of schema mappings has been carried out so far. In this paper, we embark on such an investigation by focusing on the basic reasoning tasks, algorithmic problems, and structural properties of nested GLAV mappings. One of our main results is the decidability of the implication problem for nested tgds. We also analyze the structure of the core of universal solutions with respect to nested GLAV mappings and develop useful tools for telling apart SO tgds from nested tgds. By discovering deeper structural properties of nested GLAV mappings, we show that also the following problem is decidable: given a nested GLAV mapping, is it logically equivalent to a GLAV mapping?
Phokion G. Kolaitis, Reinhard Pichler, Emanuel Sallinger, Vadim Savenkov
PODS2
2014 Containment and equivalence of well-designed SPARQL
abstract
Query containment and query equivalence constitute important computational problems in the context of static query analysis and optimization. While these problems have been intensively studied for fragments of relational calculus, almost no works exist for the semantic web query language SPARQL. In this paper, we carry out a comprehensive complexity analysis of containment and equivalence for several fragments of SPARQL: we start with the fundamental fragment of well-designed SPARQL restricted to the AND and OPTIONAL operator. We then study basic extensions in the form of the UNION operator and/or projection. The results obtained range from NP-completeness to undecidability.
Reinhard Pichler, Sebastian Skritek
PODS1
2014 Belief revision within fragments of propositional logic
Nadia Creignou, Odile Papini, Reinhard Pichler, Stefan Woltran
J. Comput. Syst. Sci.3
2014 Tractable answer-set programming with weight constraints: bounded treewidth is not enough
abstract
Abstract Cardinality constraints or, more generally, weight constraints are well recognized as an important extension of answer-set programming. Clearly, all common algorithmic tasks related to programs with cardinality or weight constraints – like checking the consistency of a program – are intractable. Many intractable problems in the area of knowledge representation and reasoning have been shown to become linear time tractable if the treewidth of the programs or formulas under consideration is bounded by some constant. The goal of this paper is to apply the notion of treewidth to programs with cardinality or weight constraints and to identify tractable fragments. It will turn out that the straightforward application of treewidth to such class of programs does not suffice to obtain tractability. However, by imposing further restrictions, tractability can be achieved.
Reinhard Pichler, Stefan Rümmele, Stefan Szeider, Stefan Woltran
Theory Pract. Log. Program.1
2013 Do Hard SAT-Related Reasoning Tasks Become Easier in the Krom Fragment?
Nadia Creignou, Reinhard Pichler, Stefan Woltran
IJCAI2
2013 Parameterized Complexity of Optimal Planning: A Detailed Map
Martin Kronegger, Andreas Pfandler, Reinhard Pichler
IJCAI3
2013 Declarative Dynamic Programming as an Alternative Realization of Courcelle's Theorem
Bernhard Bliem, Reinhard Pichler, Stefan Woltran
IPEC2
2013 Tractable counting of the answers to conjunctive queries
Reinhard Pichler, Sebastian Skritek
J. Comput. Syst. Sci.1
2013 Relaxed Notions of Schema Mapping Equivalence Revisited
Reinhard Pichler, Emanuel Sallinger, Vadim Savenkov
Theory Comput. Syst.1
2013 Static analysis and optimization of semantic web queries
abstract
Static analysis is a fundamental task in query optimization. In this article we study static analysis and optimization techniques for SPARQL, which is the standard language for querying Semantic Web data. Of particular interest for us is the optionality feature in SPARQL. It is crucial in Semantic Web data management, where data sources are inherently incomplete and the user is usually interested in partial answers to queries. This feature is one of the most complicated constructors in SPARQL and also the one that makes this language depart from classical query languages such as relational conjunctive queries. We focus on the class of well-designed SPARQL queries, which has been proposed in the literature as a fragment of the language with good properties regarding query evaluation. We first propose a tree representation for SPARQL queries, called pattern trees, which captures the class of well-designed SPARQL graph patterns. Among other results, we propose several rules that can be used to transform pattern trees into a simple normal form, and study equivalence and containment. We also study the evaluation and enumeration problems for this class of queries.
Andrés Letelier, Jorge Pérez 0001, Reinhard Pichler, Sebastian Skritek
ACM Trans. Database Syst.3
2012 Multicut on Graphs of Bounded Clique-Width
Martin Lackner, Reinhard Pichler, Stefan Rümmele, Stefan Woltran
COCOA2
2012 Belief Revision within Fragments of Propositional Logic
Nadia Creignou, Odile Papini, Reinhard Pichler, Stefan Woltran
KR3
2012 Static analysis and optimization of semantic web queries
abstract
Static analysis is a fundamental task in query optimization. In this paper we study static analysis and optimization techniques for SPARQL, which is the standard language for querying Semantic Web data. Of particular interest for us is the optionality feature in SPARQL. It is crucial in Semantic Web data management, where data sources are inherently incomplete and the user is usually interested in partial answers to queries. This feature is one of the most complicated constructors in SPARQL and also the one that makes this language depart from classical query languages such as relational conjunctive queries. We focus on the class of well-designed SPARQL queries, which has been proposed in the literature as a fragment of the language with good properties regarding query evaluation. We first propose a tree representation for SPARQL queries, called pattern trees, which captures the class of well-designed SPARQL graph patterns and which can be considered as a query execution plan. Among other results, we propose several transformation rules for pattern trees, a simple normal form, and study equivalence and containment. We also study the enumeration and counting problems for this class of queries.
Andrés Letelier, Jorge Pérez 0001, Reinhard Pichler, Sebastian Skritek
PODS3
2012 Towards fixed-parameter tractable algorithms for abstract argumentation
Wolfgang Dvorák, Reinhard Pichler, Stefan Woltran
Artif. Intell.2
2012 SPAM: A SPARQL Analysis and Manipulation Tool
abstract
SQL developers are used to having elaborate tools which help them in writing queries. In contrast, the creation of tools to assist users in the development of SPARQL queries is still in its infancy. In this system demo, we present the SPARQL Analysis and Manipulation (SPAM) tool, which provides help for the development of SPARQL queries. The main features of the SPAM tool comprise an editor with both text and graphical interface, as well as various functions for the static and dynamic analysis of SPARQL queries.
Andrés Letelier, Jorge Pérez 0001, Reinhard Pichler, Sebastian Skritek
Proc. VLDB Endow.3
2011 The complexity of evaluating tuple generating dependencies
abstract
Dependencies have played an important role in database design for many years. More recently, they have also turned out to be central to data integration and data exchange. In this work we concentrate on tuple generating dependencies (tgds) which enforce the presence of certain tuples in a database instance if certain other tuples are already present. Previous complexity results in data integration and data exchange mainly referred to the data complexity. In this work, we study the query complexity and combined complexity of a fundamental problem related to tgds, namely checking if a given tgd is satisfied by a database instance. We also address an important variant of this problem which deals with updates (by inserts or deletes) of a database: Here we have to check if all previously satisfied tgds are still satisfied after an update. We show that the query complexity and combined complexity of these problems are much higher than the data complexity. However, we also prove sufficient conditions on the tgds to reduce this high complexity.
Reinhard Pichler, Sebastian Skritek
ICDT1
2011 Relaxed notions of schema mapping equivalence revisited
abstract
Recently, two relaxed notions of equivalence of schema mappings have been introduced, which provide more potential of optimizing schema mappings than logical equivalence: data exchange (DE) equivalence and conjunctive query (CQ) equivalence. In this work, we systematically investigate these notions of equivalence for mappings consisting of s-t tgds and target egds and/or target tgds. We prove that both CQ- and DE-equivalence are undecidable and so are some important optimization tasks (like detecting if some dependency is redundant). However, we also identify an important difference between the two notions of equivalence: CQ-equivalence remains undecidable even if the schema mappings consist of s-t tgds and target dependencies in the form of key dependencies only. In contrast, DE-equivalence is decidable for schema mappings with s-t tgds and target dependencies in the form of functional and inclusion dependencies with terminating chase property.
Reinhard Pichler, Emanuel Sallinger, Vadim Savenkov
ICDT1
2011 A New Tree-Decomposition Based Algorithm for Answer Set Programming
abstract
A promising approach to tackle intractable problems is given by combining decomposition methods with dynamic programming algorithms. One such decomposition concept is tree decomposition. In this paper, we provide a new algorithm using this combined approach for solving reasoning problems in propositional answer set programming.
Michael Morak, Nysret Musliu, Reinhard Pichler, Stefan Rümmele, Stefan Woltran
ICTAI3
2011 Normalization and optimization of schema mappings
Georg Gottlob, Reinhard Pichler, Vadim Savenkov
VLDB J.2
2010 Multicut Algorithms via Tree Decompositions
Reinhard Pichler, Stefan Rümmele, Stefan Woltran
CIAC1
2010 The Complexity of Handling Minimal Solutions in Logic-Based Abduction
abstract
Logic-based abduction is an important reasoning method with many applications in Artificial Intelligence including diagnosis, planning, and configuration. The goal of an abduction problem is to find a “solution”, i.e., an explanation for some observed symptoms. Usually, many solutions exist, and one is often interested in minimal ones only. Previous definitions of “solutions” to an abduction problem tacitly made an open-world assumption. However, as far as minimality is concerned, this assumption may not always lead to the desired behavior. To overcome this problem, we propose a new definition of solutions based on a closed-world approach. Moreover, we also introduce a new variant of minimality where only a part of the hypotheses is subject to minimization. A thorough complexity analysis reveals the close relationship between these two new notions as well as the differences compared with previous notions of solutions.
Reinhard Pichler, Stefan Woltran
ECAI1
2010 A Dynamic-Programming Based ASP-Solver
Michael Morak, Reinhard Pichler, Stefan Rümmele, Stefan Woltran
JELIA2
2010 Towards Fixed-Parameter Tractable Algorithms for Argumentation
Wolfgang Dvorák, Reinhard Pichler, Stefan Woltran
KR2
2010 Tractable Answer-Set Programming with Weight Constraints: Bounded Treewidth Is not Enough
Reinhard Pichler, Stefan Rümmele, Stefan Szeider, Stefan Woltran
KR1
2010 Bounded treewidth as a key to tractability of knowledge representation and reasoning
Georg Gottlob, Reinhard Pichler, Fang Wei-Kleiner
Artif. Intell.2
2010 Tractable database design and datalog abduction through bounded treewidth
Georg Gottlob, Reinhard Pichler, Fang Wei-Kleiner
Inf. Syst.2
2010 Counting complexity of propositional abduction
Miki Hermann, Reinhard Pichler
J. Comput. Syst. Sci.2
2010 Towards practical feasibility of core computation in data exchange
Reinhard Pichler, Vadim Savenkov
Theor. Comput. Sci.1
2010 Monadic datalog over finite structures of bounded treewidth
abstract
Bounded treewidth and monadic second-order (MSO) logic have proved to be key concepts in establishing fixed-parameter tractability results. Indeed, by Courcelle's Theorem we know that any property of finite structures, which is expressible by an MSO sentence, can be decided in linear time (data complexity) if the structures have bounded treewidth. In principle, Courcelle's Theorem can be applied directly to construct concrete algorithms by transforming the MSO evaluation problem into a tree language recognition problem. The latter can then be solved via a finite tree automaton (FTA). However, this approach has turned out to be problematical, since even relatively simple MSO formulae may lead to a “state explosion” of the FTA. In this work we propose monadic datalog (i.e., datalog where all intentional predicate symbols are unary) as an alternative method to tackle this class of fixed-parameter tractable problems. We show that if some property of finite structures is expressible in MSO then this property can also be expressed by means of a monadic datalog program over the decomposed structure : we mean by this that the original structure is augmented with new elements and new relations that encode one of its tree decompositions. In the first place, we thus compare the expressive power of two query languages. However, we also show that the resulting fragment of datalog can be evaluated in linear time (both with respect to the program size and with respect to the data size). Hence, our transformation of an MSO query into a monadic datalog program yields an alternative proof of Courcelle's Theorem. In order to actually construct efficient algorithms for problems whose tractability is due to Courcelle's Theorem, we propose to use a fragment of full (i.e., not necessarily monadic) datalog which allows for a succinct representation of the corresponding monadic datalog programs and for an efficient execution. This new approach is put to work by devising datalog programs for the 3-Colorability problem of graphs and for the PRIMALITY problem of relational schemas (i.e., testing if some attribute in a relational schema is part of a key). We also report on experimental results with a prototype implementation.
Georg Gottlob, Reinhard Pichler, Fang Wei-Kleiner
ACM Trans. Comput. Log.2
2009 On Using Distributed Extended XQuery for Web Data Sources as Services
Muhammad Intizar Ali, Reinhard Pichler, Hong Linh Truong 0001, Schahram Dustdar
ICWE2
2009 Answer-Set Programming with Bounded Treewidth
Michael Jakl, Reinhard Pichler, Stefan Woltran
IJCAI2
2009 Belief Revision with Bounded Treewidth
Reinhard Pichler, Stefan Rümmele, Stefan Woltran
LPNMR1
2009 Alternation as a programming paradigm
abstract
Alternation is a common tool in complexity theory, where it has been used to prove various complexity classifications. In this work, we show that it can also be used to enhance the expressive power of the imperative part of a programming language. In particular, we present Alter-Java -- an extension of Java by language constructs to express alternation, i.e., a sequence of "there exists" and "for all" statements. Moreover, we show that many practical problems have a very natural and succinct description in terms of alternation. In order to guarantee an efficient execution of such programs, we have introduced several optimizations. We also report on experiments with our implementation of Alter-Java. The results thus obtained illustrate that our alternation framework leads to competitive running times while the code to be written is significantly shorter than without this new language feature.
Wolfgang Dvorák, Georg Gottlob, Reinhard Pichler, Stefan Woltran
PPDP3
2009 Normalization and Optimization of Schema Mappings
abstract
Schema mappings are high-level specifications that describe the relationship between two database schemas. They are an important tool in several areas of database research, notably in data integration and data exchange. However, a concrete theory of schema mapping optimization including the formulation of optimality criteria and the construction of algorithms for computing optimal schema mappings is completely lacking to date. The goal of this work is to fill this gap. We start by presenting a system of rewrite rules to minimize sets of source-to-target tuple-generating dependencies (st-tgds, for short). Moreover, we show that the result of this minimization is unique up to variable renaming. Hence, our optimization also yields a schema mapping normalization. By appropriately extending our rewrite rule system, we also provide a normalization of schema mappings containing equality-generating target-dependencies (egds). An important application of such a normalization is in the area of defining the semantics of query answering in data exchange, since several definitions in this area depend on the concrete syntactic representation of the st-tgds. This is, in particular, the case for queries with negated atoms and for aggregate queries. The normalization of schema mappings allows us to eliminate the effect of the concrete syntactic representation of the st-tgds from the semantics of query answering. We discuss in detail how our results can be fruitfully applied to aggregate queries.
Georg Gottlob, Reinhard Pichler, Vadim Savenkov
Proc. VLDB Endow.2
2009 DEMo: Data Exchange Modeling Tool
abstract
Minimality is an important optimization criterion for solutions of data exchange problems, well captured by the notion of the core. Though tractability of core computation has been proved, it has not yet become a part of any industrial-strength system, still being highly computationally expensive. In this demonstration, we show how core computation can be used in a data exchange modeling tool, allowing data engineers to design more robust data transfer scenarios and better understand the sources of redundancy in the target database.
Reinhard Pichler, Vadim Savenkov
Proc. VLDB Endow.1
2009 Complexity of counting the optimal solutions
Miki Hermann, Reinhard Pichler
Theor. Comput. Sci.2
2008 Abduction with Bounded Treewidth: From Theoretical Tractability to Practically Efficient Computation
Georg Gottlob, Reinhard Pichler, Fang Wei-Kleiner
AAAI2
2008 Complexity of Counting the Optimal Solutions
Miki Hermann, Reinhard Pichler
COCOON2
2008 dRDF: Entailment for Domain-Restricted RDF
Reinhard Pichler, Axel Polleres, Fang Wei-Kleiner, Stefan Woltran
ESWC1
2008 Counting Complexity of Minimal Cardinality and Minimal Weight Abduction
Miki Hermann, Reinhard Pichler
JELIA2
2008 Fast Counting with Bounded Treewidth
Michael Jakl, Reinhard Pichler, Stefan Rümmele, Stefan Woltran
LPAR2
2008 Towards Practical Feasibility of Core Computation in Data Exchange
Reinhard Pichler, Vadim Savenkov
LPAR1
2007 Efficient Datalog Abduction through Bounded Treewidth
Georg Gottlob, Reinhard Pichler, Fang Wei-Kleiner
AAAI2
2007 Counting Complexity of Propositional Abduction
Miki Hermann, Reinhard Pichler
IJCAI2
2007 Complexity of Rule Redundancy in Non-ground Answer-Set Programming over Finite Domains
Michael Fink 0001, Reinhard Pichler, Hans Tompits, Stefan Woltran
LPNMR2
2007 Monadic datalog over finite structures with bounded treewidth
abstract
Bounded treewidth and Monadic Second Order (MSO) logic have proved to be key concepts in establishing fixed-para-meter tractability results. Indeed, by Courcelle's Theorem we know: Any property of finite structures, which is expressible by an MSO sentence, can be decided in linear time (data complexity) if the structures have bounded treewidth.
Georg Gottlob, Reinhard Pichler, Fang Wei-Kleiner
PODS2
2007 Model Representation over Finite and Infinite Signatures
abstract
Journal Article Model Representation over Finite and Infinite Signatures Get access Christian G. Fermüller, Christian G. Fermüller Technische Universität Wien, A-1040 Vienna, Austria. Search for other works by this author on: Oxford Academic Google Scholar Reinhard Pichler Reinhard Pichler Technische Universität Wien, A-1040 Vienna, Austria. Search for other works by this author on: Oxford Academic Google Scholar Journal of Logic and Computation, Volume 17, Issue 3, June 2007, Pages 453–477, https://doi.org/10.1093/logcom/exm008 Published: 21 March 2007 Article history Received: 12 October 2006 Published: 21 March 2007
Christian G. Fermüller, Reinhard Pichler
J. Log. Comput.2
2006 Bounded Treewidth as a Key to Tractability of Knowledge Representation and Reasoning
Georg Gottlob, Reinhard Pichler, Fang Wei-Kleiner
AAAI2
2006 Model Representation over Finite and Infinite Signatures
Christian G. Fermüller, Reinhard Pichler
JELIA2
2006 Tractable database design through bounded treewidth
abstract
Given that most elementary problems in database design are NP-hard, the currently used database design algorithms produce suboptimal results. For example, the current 3NF decomposition algorithms may continue further decomposing a relation even though it is already in 3NF. In this paper we study database design problems whose sets of functional dependencies have bounded treewidth. For such sets, which frequently occur in practice, we develop polynomial-time and highly parallelizable algorithms for a number of central database design problems such as: • primality of an attribute • 3NF-test for a relational schema or subschema • BCNF-test for a subschema.For establishing these results, we propose a new characterization for keys and for the primality of a single attribute.In order to define the treewidth of a relational schema, we shall associate a hypergraph with it. Note that there are two main possibilities of defining the treewidth of a hypergraph H: One is via the primal graph of H and one is via the incidence graph of H. Our algorithms apply to the case where the primal graph is considered. However, we also show that the tractability results still hold when the incidence graph is considered instead.
Georg Gottlob, Reinhard Pichler, Fang Wei-Kleiner
PODS2
2005 Model Representation via Contexts and Implicit Generalizations
Christian G. Fermüller, Reinhard Pichler
CADE2
2005 The complexity of XPath query evaluation and XML typing
abstract
We study the complexity of two central XML processing problems. The first is XPath 1.0 query processing, which has been shown to be in PTIME in previous work. We prove that both the data complexity and the query complexity of XPath 1.0 fall into lower (highly parallelizable) complexity classes, while the combined complexity is PTIME-hard. Subsequently, we study the sources of this hardness and identify a large and practically important fragment of XPath 1.0 for which the combined complexity is LOGCFL-complete and, therefore, in the highly parallelizable complexity class NC 2 . The second problem is the complexity of validating XML documents against various typing schemes like Document Type Definitions (DTDs), XML Schema Definitions (XSDs), and tree automata, both with respect to data and to combined complexity. For data complexity, we prove that validation is in LOGSPACE and depends crucially on how XML data is represented. For the combined complexity, we show that the complexity ranges from LOGSPACE to LOGCFL, depending on the typing scheme.
Georg Gottlob, Christoph Koch 0001, Reinhard Pichler, Luc Segoufin
J. ACM3
2005 Efficient algorithms for processing XPath queries
Georg Gottlob, Christoph Koch 0001, Reinhard Pichler
ACM Trans. Database Syst.3
2004 Hypergraphs in Model Checking: Acyclicity and Hypertree-Width versus Clique-Width
abstract
The principal aim of model checking is to provide efficient decision procedures for the evaluation of certain logical formulae over finite relational structures. Graphs and hypergraphs are important examples of such structures. If no restrictions are imposed on the logical formulae and on the structures under consideration, then this problem of model checking has a very high computational complexity. Hence, several restrictions have been proposed in the literature on the logical formulae and/or on the structures under consideration in order to guarantee the tractability of this decision problem, e.g., acyclicity, bounded tree-width, query-width and hypertree-width in the case of queries, as well as bounded tree-width and clique-width in the case of structures. The aim of this paper is a detailed comparison of the expressive power of these restrictions.
Georg Gottlob, Reinhard Pichler
SIAM J. Comput.2
2003 XPath Query Evaluation: Improving Time and Space Efficiency
abstract
Contemporary XPath query engines evaluate queries in time exponential in the sizes of input queries, a fact that has gone unnoticed for a long time. Recently, the first main-memory evaluation algorithm for XPath 1.0 with polynomial time combined complexity, i.e., which runs in polynomial time both with respect to the size of the data and the queries, has been published (cf. [G. Gottlob, et al., (2002)]. We present several important improvements and extensions of that work, including new XPath processing algorithms with improved time and space efficiency. Moreover, we define a very large and practically relevant fragment of XPath for which a further optimized form of query evaluation is possible. Apart from its immediate relevance for XPath query processing, our work also sheds new light at those features of XPath 1.0 which are most costly relative to their practical usefulness.
Georg Gottlob, Christoph Koch 0001, Reinhard Pichler
ICDE3
2003 The complexity of XPath query evaluation
abstract
In this paper, we study the precise complexity of XPath 1.0 query processing. Even though heavily used by its incorporation into a variety of XML-related standards, the precise cost of evaluating an XPath query is not yet wellunderstood. The first polynomial-time algorithm for XPath processing (with respect to combined complexity) was proposed only recently, and even to this day all major XPath engines take time exponential in the size of the input queries. From the standpoint of theory, the precise complexity of XPath query evaluation is open, and it is thus unknown whether the query evaluation problem can be parallelized.In this work, we show that both the data complexity and the query complexity of XPath 1.0 fall into lower (highly parallelizable) complexity classes, but that the combined complexity is PTIME-hard. Subsequently, we study the sources of this hardness and identify a large and practically important fragment of XPath 1.0 for which the combined complexity is LOGCFL-complete and, therefore, in the highly parallelizable complexity class NC2.
Georg Gottlob, Christoph Koch 0001, Reinhard Pichler
PODS3
2003 On the complexity of equational problems in CNF
Reinhard Pichler
J. Symb. Comput.1
2003 Explicit versus implicit representations of subsets of the Herbrand universe
Reinhard Pichler
Theor. Comput. Sci.1
2002 Algorithmic Aspects of Herbrand Models Represented by Ground Atoms with Ground Equations
Bernhard Gramlich, Reinhard Pichler
CADE2
2002 Efficient Algorithms for Processing XPath Queries
abstract
Our experimental analysis of several popular XPath processors reveals a striking fact: Query evaluation in each of the systems requires time exponential in the size of queries in the worst case. We show that XPath can be processed much more efficiently, and propose main-memory algorithms for this problem with polynomial-time combined query evaluation complexity. Moreover, we show how the main ideas of our algorithm can be profitably integrated into existing XPath processors. Finally, we present two fragments of XPath for which linear-time query processing algorithms exist and another fragment with linear-space/quadratic-time query processing.
Georg Gottlob, Christoph Koch 0001, Reinhard Pichler
VLDB3
2001 Hypergraphs in Model Checking: Acyclicity and Hypertree-Width versus Clique-Width
Georg Gottlob, Reinhard Pichler
ICALP2
2001 Working with ARMs: Complexity Results on Atomic Representations of Herbrand Models
Georg Gottlob, Reinhard Pichler
Inf. Comput.2
2000 Negation Elimination from Simple Equational Formulae
Reinhard Pichler
ICALP1
2000 The Explicit Representability of Implicit Generalizations
Reinhard Pichler
RTA1
2000 Speeding up Algorithms on Atomic Representations of Herbrand Models via New Redundancy Criteria
Reinhard Pichler
J. Symb. Comput.1
1999 Solving Equational Problems Efficiently
Reinhard Pichler
CADE1
1999 Working with Arms: Complexity Results on Atomic Representations of Herbrand Models
abstract
An Atomic Representation of a Herbrand Model (ARM) is a finite set of (not necessarily ground) atoms over a given Herbrand universe. Each ARM represents a possibly infinite Herbrand interpretation. This concept has emerged independently in different branches of Computer Science as a natural and useful generalization of the concept of finite Herbrand interpretation. It was shown that several recursively decidable problems on finite Herbrand models (or interpretations) remain decidable on ARMs. The following problems are essential when working with ARMs: Deciding the equivalence of two ARMs, deciding subsumption between ARMS, and evaluating clauses over ARMS. These problems were shown to be decidable, but their computational complexity has remained obscure so far. The previously published decision algorithms require exponential space. In spite of this, by developing new decision procedures, we are able to prove that all mentioned problems are coNP-complete.
Georg Gottlob, Reinhard Pichler
LICS2