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 条
  • [21] Direct Access to Allied Health Professionals in Germany: A Critical Review
    Kuether, G.
    PHYSIKALISCHE MEDIZIN REHABILITATIONSMEDIZIN KURORTMEDIZIN, 2014, 24 (04) : 173 - 182
  • [22] Optimising direct access echo referral in suspected heart failure
    Lindsay, MM
    Goodfield, NER
    Hogg, KJ
    Dunn, FG
    SCOTTISH MEDICAL JOURNAL, 2000, 45 (02) : 43 - 44
  • [23] Direct Access Minor Surgery service - patient satisfaction and effectiveness
    Bandyopadhyay, D
    Turnpenny, B
    Dewar, EP
    ANNALS OF THE ROYAL COLLEGE OF SURGEONS OF ENGLAND, 2005, 87 (04) : 248 - 250
  • [24] Tight Fine-Grained Bounds for Direct Access on Join Queries
    Bringmann, Karl
    Carmeli, Nofar
    Mengel, Stefan
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2025, 50 (01):
  • [25] Is Direct Access to Obstetricians/Gynecologists Effective at Improving Maternal Health Behaviors?
    Durrance, Christine Piette
    Hankins, Scott
    HEALTH SERVICES RESEARCH, 2011, 46 (04) : 1243 - 1258
  • [26] Tight Fine-Grained Bounds for Direct Access on Join Queries
    Bringmann, Karl
    Carmeli, Nofar
    Mengel, Stefan
    PROCEEDINGS OF THE 41ST ACM SIGMOD-SIGACT-SIGAI SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS (PODS '22), 2022, : 427 - 436
  • [27] Prefix Coding Scheme Supporting Direct Access Without Auxiliary Space
    Wang, Na
    Yan, Wei
    Jiang, Hao
    Lin, Sian-Jheng
    Han, Yunghsiang S.
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2023, 35 (12) : 12917 - 12931
  • [28] Four-year evaluation of a direct-access fibreoptic sigmoidoscopy service
    Vipond, MN
    Moshakis, V
    ANNALS OF THE ROYAL COLLEGE OF SURGEONS OF ENGLAND, 1996, 78 (01) : 23 - 26
  • [29] Physiotherapists' experiences of direct access for clients with musculoskeletal pain and dysfunction: a qualitative study
    Karvonen, Eira
    Laitinen-Vaananen, Sirpa
    Paatelma, Markku
    Roine, Minna
    Heinonen, Ari
    EUROPEAN JOURNAL OF PHYSIOTHERAPY, 2021, 23 (01) : 55 - 62
  • [30] Peer Influence and Educational Preferences: Direct Influence or Access to Friends' Educational Resources?
    Vit, Eszter
    Lenkewitz, Sven
    Krause, Robert
    SOCIAL DEVELOPMENT, 2025, 34 (01)