{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,1,8]],"date-time":"2026-01-08T02:46:42Z","timestamp":1767840402928,"version":"3.49.0"},"reference-count":71,"publisher":"Association for Computing Machinery (ACM)","issue":"5","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2022,1]]},"abstract":"<jats:p>Threshold queries are an important class of queries that only require computing or counting answers up to a specified threshold value. To the best of our knowledge, threshold queries have been largely disregarded in the research literature, which is surprising considering how common they are in practice. In this paper, we present a deep theoretical analysis of threshold query evaluation and show that thresholds can be used to significantly improve the asymptotic bounds of state-of-the-art query evaluation algorithms. We also empirically show that threshold queries are significant in practice. In surprising contrast to conventional wisdom, we found important scenarios in real-world data sets in which users are interested in computing the results of queries up to a certain threshold, independent of a ranking function that orders the query results.<\/jats:p>","DOI":"10.14778\/3510397.3510407","type":"journal-article","created":{"date-parts":[[2022,5,18]],"date-time":"2022-05-18T22:23:10Z","timestamp":1652912590000},"page":"1105-1118","source":"Crossref","is-referenced-by-count":11,"title":["Threshold queries in theory and in the wild"],"prefix":"10.14778","volume":"15","author":[{"given":"Angela","family":"Bonifati","sequence":"first","affiliation":[{"name":"Lyon 1 Univ."}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Stefania","family":"Dumbrava","sequence":"additional","affiliation":[{"name":"ENSIIE &amp; Inst."}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"George","family":"Fletcher","sequence":"additional","affiliation":[{"name":"Eindhoven Univ. of Technology"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Jan","family":"Hidders","sequence":"additional","affiliation":[{"name":"Univ. of London, Birkbeck"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Matthias","family":"Hofer","sequence":"additional","affiliation":[{"name":"University of Bayreuth"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Wim","family":"Martens","sequence":"additional","affiliation":[{"name":"University of Bayreuth"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Filip","family":"Murlak","sequence":"additional","affiliation":[{"name":"Univ. of Warsaw"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Joshua","family":"Shinavier","sequence":"additional","affiliation":[{"name":"LinkedIn"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"S\u0142awek","family":"Staworko","sequence":"additional","affiliation":[{"name":"Univ. Lille"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Dominik","family":"Tomaszuk","sequence":"additional","affiliation":[{"name":"Univ. of Bialystok"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2022,5,18]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"Marcelo Arenas Pablo Barcel\u00f3 Leonid Libkin Wim Martens and Andreas Pieris. 2021. Principles of Databases. Open source at https:\/\/github.com\/pdm-book\/community (visited: 2022-01).  Marcelo Arenas Pablo Barcel\u00f3 Leonid Libkin Wim Martens and Andreas Pieris. 2021. Principles of Databases. Open source at https:\/\/github.com\/pdm-book\/community (visited: 2022-01)."},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/3406325.3451014"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1137\/0608024"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1109\/C-CODE.2017.7918927"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-74915-8_18"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.14778\/2556549.2556579"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1126\/science.286.5439.509"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1109\/TVCG.2020.3028891"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.MFCS.2019.58"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/322234.322238"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539793251219"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.5281\/zenodo.5658389"},{"key":"e_1_2_1_13_1","doi-asserted-by":"crossref","unstructured":"Angela Bonifati Stefania Dumbrava George Fletcher Jan Hidders Matthias Hofer Wim Martens Filip Murlak Joshua Shinavier S\u0142awek Staworko and Dominik Tomaszuk. 2021. Threshold Queries in Theory and in the Wild. arXiv:2106.15703 [cs.DB]  Angela Bonifati Stefania Dumbrava George Fletcher Jan Hidders Matthias Hofer Wim Martens Filip Murlak Joshua Shinavier S\u0142awek Staworko and Dominik Tomaszuk. 2021. Threshold Queries in Theory and in the Wild. arXiv:2106.15703 [cs.DB]","DOI":"10.14778\/3510397.3510407"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.2200\/S00873ED1V01Y201808DTM051"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1145\/3308558.3313472"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00778-019-00558-9"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/3318464.3384684"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/253260.253302"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/304181.304206"},{"key":"e_1_2_1_20_1","volume-title":"VLDB. Morgan Kaufmann","author":"Chaudhuri Surajit","unstructured":"Surajit Chaudhuri and Kyuseok Shim . 1994. Including Group-By in Query Optimization . In VLDB. Morgan Kaufmann , San Francisco, CA, USA , 354--366. Surajit Chaudhuri and Kyuseok Shim. 1994. Including Group-By in Query Optimization. In VLDB. Morgan Kaufmann, San Francisco, CA, USA, 354--366."},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1007\/BFb0014151"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1007\/s007780050036"},{"key":"e_1_2_1_23_1","volume-title":"Random Sampling and Size Estimation Over Cyclic Joins. In 23rd International Conference on Database Theory, ICDT 2020","author":"Chen Yu","year":"2020","unstructured":"Yu Chen and Ke Yi . 2020 . Random Sampling and Size Estimation Over Cyclic Joins. In 23rd International Conference on Database Theory, ICDT 2020 , March 30 - April 2, 2020 (LIPIcs), Carsten Lutz and Jean Christoph Jung (Eds.), Vol. 155. Schloss Dagstuhl - Leibniz-Zentrum f\u00fcr Informatik, Copenhagen, Denmark, 7:1--7:18. Yu Chen and Ke Yi. 2020. Random Sampling and Size Estimation Over Cyclic Joins. In 23rd International Conference on Database Theory, ICDT 2020, March 30-April 2, 2020 (LIPIcs), Carsten Lutz and Jean Christoph Jung (Eds.), Vol. 155. Schloss Dagstuhl - Leibniz-Zentrum f\u00fcr Informatik, Copenhagen, Denmark, 7:1--7:18."},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1093\/nar\/gky1055"},{"key":"e_1_2_1_25_1","unstructured":"The Gene Ontology Consortium. 2021. Gene Ontology Resource. http:\/\/geneontology.org\/stats.html (visited: 2021-06).  The Gene Ontology Consortium. 2021. Gene Ontology Resource. http:\/\/geneontology.org\/stats.html (visited: 2021-06)."},{"key":"e_1_2_1_26_1","unstructured":"CovidGraph. 2021. COVID-19 Knowledge Graph. https:\/\/covidgraph.org\/.  CovidGraph. 2021. COVID-19 Knowledge Graph. https:\/\/covidgraph.org\/."},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.tcs.2004.08.008"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.1145\/3196959.3196979"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.IPEC.2016.30"},{"key":"e_1_2_1_30_1","volume-title":"Proc. IPEC 2017 (LIPIcs), Daniel Lokshtanov and Naomi Nishimura (Eds.)","volume":"89","author":"Dell Holger","year":"2017","unstructured":"Holger Dell , Christian Komusiewicz , Nimrod Talmon , and Mathias Weller . 2017 . The PACE 2017 Parameterized Algorithms and Computational Experiments Challenge: The Second Iteration . In Proc. IPEC 2017 (LIPIcs), Daniel Lokshtanov and Naomi Nishimura (Eds.) , Vol. 89 . Schloss Dagstuhl - Leibniz-Zentrum f\u00fcr Informatik, Vienna, Austria, 30:1--30:12. Holger Dell, Christian Komusiewicz, Nimrod Talmon, and Mathias Weller. 2017. The PACE 2017 Parameterized Algorithms and Computational Experiments Challenge: The Second Iteration. In Proc. IPEC 2017 (LIPIcs), Daniel Lokshtanov and Naomi Nishimura (Eds.), Vol. 89. Schloss Dagstuhl - Leibniz-Zentrum f\u00fcr Informatik, Vienna, Austria, 30:1--30:12."},{"key":"e_1_2_1_31_1","unstructured":"DetkDecomp. 2021. detkdecomp. https:\/\/github.com\/daajoe\/detkdecomp (visited: 2021-06).  DetkDecomp. 2021. detkdecomp. https:\/\/github.com\/daajoe\/detkdecomp (visited: 2021-06)."},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00224-014-9543-y"},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.1016\/S0022-0000(03)00026-6"},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1145\/2882903.2882937"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/1559845.1559890"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1145\/3294052.3319683"},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539703427203"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1145\/1206035.1206036"},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1145\/380752.380867"},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.5555\/891645"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/2723372.2731084"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1145\/3035918.3064027"},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00778-004-0128-2"},{"key":"e_1_2_1_44_1","volume-title":"Soliman","author":"Ilyas Ihab F.","year":"2008","unstructured":"Ihab F. Ilyas , George Beskales , and Mohamed A . Soliman . 2008 . A survey of top-k query processing techniques in relational database systems. Comput. Surveys 40, 4 (2008), 11:1--11:58. Ihab F. Ilyas, George Beskales, and Mohamed A. Soliman. 2008. A survey of top-k query processing techniques in relational database systems. Comput. Surveys 40, 4 (2008), 11:1--11:58."},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1145\/3310205"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2008.4497486"},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.1145\/2902251.2902293"},{"key":"e_1_2_1_48_1","volume-title":"Covers of Query Results. In 21st International Conference on Database Theory (LIPIcs), Benny Kimelfeld and Yael Amsterdamer (Eds.)","volume":"98","author":"Kara Ahmet","year":"2018","unstructured":"Ahmet Kara and Dan Olteanu . 2018 . Covers of Query Results. In 21st International Conference on Database Theory (LIPIcs), Benny Kimelfeld and Yael Amsterdamer (Eds.) , Vol. 98 . Schloss Dagstuhl - Leibniz-Zentrum f\u00fcr Informatik, Vienna, Austria, 16:1--16:22. Ahmet Kara and Dan Olteanu. 2018. Covers of Query Results. In 21st International Conference on Database Theory (LIPIcs), Benny Kimelfeld and Yael Amsterdamer (Eds.), Vol. 98. Schloss Dagstuhl - Leibniz-Zentrum f\u00fcr Informatik, Vienna, Austria, 16:1--16:22."},{"key":"e_1_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.1145\/2902251.2902280"},{"key":"e_1_2_1_51_1","doi-asserted-by":"publisher","DOI":"10.1145\/3209900.3209903"},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.1137\/S0895480191220836"},{"key":"e_1_2_1_53_1","volume-title":"CEUR Workshop Proceedings","author":"Kr\u00f6tzsch Markus","year":"2018","unstructured":"Markus Kr\u00f6tzsch . 2018 . Practical Linked Data Access via SPARQL: The Case of Wikidata. In LDOW@ WWW . CEUR Workshop Proceedings , Lyon, France, 1--10. Markus Kr\u00f6tzsch. 2018. Practical Linked Data Access via SPARQL: The Case of Wikidata. In LDOW@ WWW. CEUR Workshop Proceedings, Lyon, France, 1--10."},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.5441\/002\/edbt.2021.58"},{"key":"e_1_2_1_55_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00778-017-0480-7"},{"key":"e_1_2_1_56_1","doi-asserted-by":"publisher","DOI":"10.1145\/1066157.1066173"},{"key":"e_1_2_1_57_1","doi-asserted-by":"publisher","DOI":"10.1145\/16894.16863"},{"key":"e_1_2_1_58_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-00668-6_23"},{"key":"e_1_2_1_59_1","doi-asserted-by":"publisher","DOI":"10.1145\/1272743.1272749"},{"key":"e_1_2_1_60_1","volume-title":"VLDB","author":"Natsev Apostol","unstructured":"Apostol Natsev , Yuan-Chi Chang , John R Smith , Chung-Sheng Li , and Jeffrey Scott Vitter . 2001. Supporting incremental join queries on ranked inputs . In VLDB , Vol. 1 . Morgan Kaufmann Publishers Inc ., San Francisco, CA, USA, 281--290. Apostol Natsev, Yuan-Chi Chang, John R Smith, Chung-Sheng Li, and Jeffrey Scott Vitter. 2001. Supporting incremental join queries on ranked inputs. In VLDB, Vol. 1. Morgan Kaufmann Publishers Inc., San Francisco, CA, USA, 281--290."},{"key":"e_1_2_1_61_1","doi-asserted-by":"publisher","DOI":"10.1145\/2656335"},{"key":"e_1_2_1_62_1","doi-asserted-by":"publisher","DOI":"10.14778\/3368289.3368292"},{"key":"e_1_2_1_63_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.jcss.2013.01.012"},{"key":"e_1_2_1_64_1","doi-asserted-by":"publisher","DOI":"10.14778\/3397230.3397250"},{"key":"e_1_2_1_65_1","doi-asserted-by":"crossref","unstructured":"Nikolaos Tziavelis Deepak Ajwani Wolfgang Gatterbauer Mirek Riedewald and Xiaofeng Yang. 2020. Optimal Algorithms for Ranked Enumeration of Answers to Full Conjunctive Queries. arXiv:1911.05582 [cs.DB]  Nikolaos Tziavelis Deepak Ajwani Wolfgang Gatterbauer Mirek Riedewald and Xiaofeng Yang. 2020. Optimal Algorithms for Ranked Enumeration of Answers to Full Conjunctive Queries. arXiv:1911.05582 [cs.DB]","DOI":"10.14778\/3397230.3397250"},{"key":"e_1_2_1_66_1","doi-asserted-by":"publisher","DOI":"10.1109\/32.92917"},{"key":"e_1_2_1_67_1","doi-asserted-by":"publisher","DOI":"10.1145\/2187980.2188242"},{"key":"e_1_2_1_68_1","doi-asserted-by":"publisher","DOI":"10.1145\/355744.355749"},{"key":"e_1_2_1_69_1","unstructured":"WikiData. 2021. WikiData Query Service. http:\/\/query.wikidata.org\/.  WikiData. 2021. WikiData Query Service. http:\/\/query.wikidata.org\/."},{"key":"e_1_2_1_70_1","volume-title":"Yan and Per-\u00c5ke Larson","author":"Weipeng","year":"1995","unstructured":"Weipeng P. Yan and Per-\u00c5ke Larson . 1995 . Eager Aggregation and Lazy Aggregation. In VLDB. Morgan Kaufmann Publishers Inc ., San Francisco, CA, USA, 345--357. Weipeng P. Yan and Per-\u00c5ke Larson. 1995. Eager Aggregation and Lazy Aggregation. In VLDB. Morgan Kaufmann Publishers Inc., San Francisco, CA, USA, 345--357."},{"key":"e_1_2_1_71_1","volume-title":"Proc. VLDB 1981","author":"Yannakakis Mihalis","year":"1981","unstructured":"Mihalis Yannakakis . 1981 . Algorithms for Acyclic Database Schemes . In Proc. VLDB 1981 ( Cannes, France). IEEE Computer Society, Cannes, France, 82--94. Mihalis Yannakakis. 1981. Algorithms for Acyclic Database Schemes. In Proc. VLDB 1981 (Cannes, France). IEEE Computer Society, Cannes, France, 82--94."},{"key":"e_1_2_1_72_1","doi-asserted-by":"publisher","DOI":"10.1145\/3183713.3183739"}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/3510397.3510407","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,12,28]],"date-time":"2022-12-28T09:25:24Z","timestamp":1672219524000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/3510397.3510407"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,1]]},"references-count":71,"journal-issue":{"issue":"5","published-print":{"date-parts":[[2022,1]]}},"alternative-id":["10.14778\/3510397.3510407"],"URL":"https:\/\/doi.org\/10.14778\/3510397.3510407","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2022,1]]}}}