{"abstract":[{"text":"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.","lang":"eng"}],"doi":"10.1145/3725251","author":[{"last_name":"Lanzinger","full_name":"Lanzinger, Matthias","first_name":"Matthias"},{"first_name":"Cem","full_name":"Okulmus, Cem","orcid":"0000-0002-7742-0439","id":"114410","last_name":"Okulmus"},{"full_name":"Pichler, Reinhard","first_name":"Reinhard","last_name":"Pichler"},{"last_name":"Selzer","full_name":"Selzer, Alexander","first_name":"Alexander"},{"first_name":"Georg","full_name":"Gottlob, Georg","last_name":"Gottlob"}],"date_created":"2025-07-02T11:41:00Z","department":[{"_id":"888"}],"conference":{"name":"44th ACM Symposium on Principles of Database Systems (PODS) 2025","start_date":"2025-06-22","end_date":"2025-06-27","location":"Berlin"},"publication_identifier":{"issn":["2836-6573"]},"issue":"2","citation":{"chicago":"Lanzinger, Matthias, Cem Okulmus, Reinhard Pichler, Alexander Selzer, and Georg Gottlob. “Soft and Constrained Hypertree Width.” Proceedings of the ACM on Management of Data 3, no. 2 (2025): 1–25. https://doi.org/10.1145/3725251.","ieee":"M. Lanzinger, C. Okulmus, R. Pichler, A. Selzer, and G. Gottlob, “Soft and Constrained Hypertree Width,” Proceedings of the ACM on Management of Data, vol. 3, no. 2, pp. 1–25, 2025, doi: 10.1145/3725251.","bibtex":"@article{Lanzinger_Okulmus_Pichler_Selzer_Gottlob_2025, title={Soft and Constrained Hypertree Width}, volume={3}, DOI={10.1145/3725251}, number={2}, journal={Proceedings of the ACM on Management of Data}, publisher={Association for Computing Machinery (ACM)}, author={Lanzinger, Matthias and Okulmus, Cem and Pichler, Reinhard and Selzer, Alexander and Gottlob, Georg}, year={2025}, pages={1–25} }","apa":"Lanzinger, M., Okulmus, C., Pichler, R., Selzer, A., & Gottlob, G. (2025). Soft and Constrained Hypertree Width. Proceedings of the ACM on Management of Data, 3(2), 1–25. https://doi.org/10.1145/3725251","mla":"Lanzinger, Matthias, et al. “Soft and Constrained Hypertree Width.” Proceedings of the ACM on Management of Data, vol. 3, no. 2, Association for Computing Machinery (ACM), 2025, pp. 1–25, doi:10.1145/3725251.","ama":"Lanzinger M, Okulmus C, Pichler R, Selzer A, Gottlob G. Soft and Constrained Hypertree Width. Proceedings of the ACM on Management of Data. 2025;3(2):1-25. doi:10.1145/3725251","short":"M. Lanzinger, C. Okulmus, R. Pichler, A. Selzer, G. Gottlob, Proceedings of the ACM on Management of Data 3 (2025) 1–25."},"oa":"1","main_file_link":[{"open_access":"1","url":"https://arxiv.org/abs/2412.11669"}],"publication_status":"published","user_id":"114410","publisher":"Association for Computing Machinery (ACM)","publication":"Proceedings of the ACM on Management of Data","status":"public","_id":"60496","type":"journal_article","intvolume":" 3","page":"1-25","volume":3,"title":"Soft and Constrained Hypertree Width","year":"2025","date_updated":"2025-07-02T11:45:18Z","language":[{"iso":"eng"}]}