Tractable Orders for Direct Access to Ranked Answers of ConjunctiveQueries

被引:3
作者
Carmeli, Nofar [1 ,2 ]
Tziavelis, Nikolaos [3 ]
Gatterbauer, Wolfgang [3 ]
Kimelfeld, Benny [4 ]
Riedewald, Mirek [3 ]
机构
[1] Technion, Haifa, Israel
[2] PSL Univ, CNRS, ENS, DI ENS,INRIA, Paris, France
[3] Northeastern Univ, Khoury Coll Comp Sci, 440 Huntington Ave,442 West Village H, Boston, MA 02115 USA
[4] Technion Israel Inst Technol, Taub Fac Comp Sci, IL-3200003 Haifa, Israel
来源
ACM TRANSACTIONS ON DATABASE SYSTEMS | 2023年 / 48卷 / 01期
基金
美国国家科学基金会;
关键词
Conjunctive queries; direct access; ranking function; answer orderings; query classification; APPROXIMATE LIFTED INFERENCE; SELECTION; COMPLEXITY; BOUNDS; TIME; X&Y;
D O I
10.1145/3578517
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We study the question of when we can provide direct access to the k-th answer to a Conjunctive Query (CQ) according to a specified order over the answers in time logarithmic in the size of the database, following a preprocessing step that constructs a data structure in time quasilinear in database size. Specifically, we embark on the challenge of identifying the tractable answer orderings, that is, those orders that allow for such complexity guarantees. To better understand the computational challenge at hand, we also investigate the more modest task of providing access to only a single answer (i.e., finding the answer at a given position), a task that we refer to as the selection problem, and ask when it can be performed in quasilinear time. We also explore the question of when selection is indeed easier than ranked direct access. We begin with lexicographic orders. For each of the two problems, we give a decidable characterization (under conventional complexity assumptions) of the class of tractable lexicographic orders for every CQ without self-joins. We then continue to the more general orders by the sum of attribute weights and establish the corresponding decidable characterizations, for each of the two problems, of the tractable CQs without self-joins. Finally, we explore the question of when the satisfaction of Functional Dependencies (FDs) can be utilized for tractability and establish the corresponding generalizations of our characterizations for every set of unary FDs.
引用
收藏
页数:45
相关论文
共 50 条
  • [1] Tractable Orders for Direct Access to Ranked Answers of Conjunctive Queries
    Carmeli, Nofar
    Tziavelis, Nikolaos
    Gatterbauer, Wolfgang
    Kimelfeld, Benny
    Riedewald, Mirek
    PODS '21: PROCEEDINGS OF THE 40TH SIGMOD-SIGACT-SIGAI SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS, 2021, : 325 - 341
  • [2] Direct Access for Answers to Conjunctive Queries with Aggregation
    Eldar, Idan
    Carmeli, Nofar
    Kimelfeld, Benny
    27TH INTERNATIONAL CONFERENCE ON DATABASE THEORY, ICDT 2024, 2024, 290
  • [3] Tractable counting of the answers to conjunctive queries
    Pichler, Reinhard
    Skritek, Sebastian
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2013, 79 (06) : 984 - 1001
  • [4] Schulze and ranked-pairs voting are fixed-parameter tractable to bribe, manipulate, and control
    Hemaspaandra, Lane A.
    Lavaee, Rahman
    Menton, Curtis
    ANNALS OF MATHEMATICS AND ARTIFICIAL INTELLIGENCE, 2016, 77 (3-4) : 191 - 223
  • [5] Direct Access for Conjunctive Queries with Negations
    Capelli, Florent
    Irwin, Oliver
    27TH INTERNATIONAL CONFERENCE ON DATABASE THEORY, ICDT 2024, 2024, 290
  • [6] DIRECT ACCESS USE BY EXPERIENCED THERAPISTS IN STATES WITH DIRECT ACCESS
    DOMHOLDT, E
    DURCHHOLZ, AG
    PHYSICAL THERAPY, 1992, 72 (08): : 569 - 574
  • [7] Direct Access in Physiotherapy - Which Factors Affect the Attitude towards Direct Access?
    Beyerlein, C.
    Stieger, A.
    Wietersheim, J. von.
    MANUELLE THERAPIE, 2011, 15 (01) : 3 - 9
  • [8] OBSTACLES TO A DIRECT SOLUTION THROUGH A DIRECT ACCESS TO CONSCIOUSNESS
    Tselishchev, Vitaly V.
    EPISTEMOLOGY & PHILOSOPHY OF SCIENCE-EPISTEMOLOGIYA I FILOSOFIYA NAUKI, 2024, 61 (02): : 33 - 42
  • [9] Physiotherapy Education in Germany: Ready for Direct Access?
    Konrad, R.
    Konrad, A.
    Geraedts, M.
    GESUNDHEITSWESEN, 2017, 79 (07) : E48 - E55
  • [10] Global access to affordable direct oral anticoagulants
    Neumann, Ignacio
    Schunemann, Holger
    Bero, Lisa
    Cooke, Graham
    Magrini, Nicola
    Moja, Lorenzo
    BULLETIN OF THE WORLD HEALTH ORGANIZATION, 2021, 99 (09) : 653 - 660