中文
相关论文

相关论文: Acyclic Conjunctive Regular Path Queries are no Ha…

200 篇论文

Regular path queries (RPQs) the ubiquitous mechanism for querying data graphs of partially known structure. RPQs are in essence regular expressions over the edge symbols. The answer to an RPQ on a given graph (database) is the set of pairs…

形式语言与自动机理论 · 计算机科学 2020-02-04 Gosta Grahne , Alex Thomo

This paper is a study of weighted counting of the solutions of acyclic conjunctive queries ($\ACQ$). The unweighted quantifier free version of this problem is known to be tractable (for combined complexity), but it is also known that…

计算复杂性 · 计算机科学 2011-12-08 Arnaud Durand , Stefan Mengel

Regular path queries (RPQs) find pairs of vertices of paths satisfying given regular expressions on an edge-labeled, directed multigraph. When evaluating an RPQ, the evaluation of a Kleene closure (i.e., Kleene plus or Kleene star) is very…

数据库 · 计算机科学 2024-10-28 Inju Na , Ilyeop Yi , Kyu-Young Whang , Yang-Sae Moon , Soon J. Hyun

In this paper, we investigate which questions are challenging for retrieval-based Question Answering (QA). We (i) propose retrieval complexity (RC), a novel metric conditioned on the completeness of retrieved documents, which measures the…

计算与语言 · 计算机科学 2024-06-07 Matteo Gabburo , Nicolaas Paul Jedema , Siddhant Garg , Leonardo F. R. Ribeiro , Alessandro Moschitti

Evaluation of regular path queries (RPQs) is a central problem in graph databases. We investigate the corresponding enumeration problem, that is, given a graph and an RPQ, enumerate all paths in the graph that match the RPQ. We consider…

数据库 · 计算机科学 2017-10-09 Wim Martens , Tina Trautner

In this paper, we study the complexity of answering conjunctive queries (CQ) with inequalities). In particular, we are interested in comparing the complexity of the query with and without inequalities. The main contribution of our work is a…

数据库 · 计算机科学 2014-12-15 Paraschos Koutris , Tova Milo , Sudeepa Roy , Dan Suciu

Cyclomatic complexity is an incompletely specified but mathematically principled software metric that can be usefully applied to both source and binary code. We consider the application of path homology as a stronger analogue of cyclomatic…

软件工程 · 计算机科学 2020-08-28 Steve Huntsman

In this paper, the recoverable robust shortest path problem in acyclic digraphs is considered. The interval budgeted uncertainty representation is used to model the uncertain second-stage costs. The computational complexity of this problem…

数据结构与算法 · 计算机科学 2025-06-06 Adam Kasperski , Pawel Zielinski

Stratified digraphs are popular models for feedforward neural networks. However, computation of their path homologies has been limited to low dimensions due to high computational complexity. A recursive algorithm is proposed to compute…

计算几何 · 计算机科学 2024-12-12 Zhengtong Zhu , Zhiyi Chi

Answering conjunctive queries (CQs) over $\mathcal{EL}$ knowledge bases (KBs) with complex role inclusions is PSPACE-hard and in PSPACE in certain cases; however, if complex role inclusions are restricted to role transitivity, the tight…

人工智能 · 计算机科学 2015-05-14 Giorgio Stefanoni , Boris Motik

This paper investigates regex CQs with string equalities (SERCQs), a subclass of core spanners. As shown by Freydenberger, Kimelfeld, and Peterfreund (PODS 2018), these queries are intractable, even if restricted to acyclic queries. This…

数据库 · 计算机科学 2022-01-20 Dominik D. Freydenberger , Sam M. Thompson

Reverse engineering problems for conjunctive queries (CQs), such as query by example (QBE) or definability, take a set of user examples and convert them into an explanatory CQ. Despite their importance, the complexity of these problems is…

数据库 · 计算机科学 2016-07-08 Pablo Barcelo , Miguel Romero

Learning of user preferences, as represented by, for example, Conditional Preference Networks (CP-nets), has become a core issue in AI research. Recent studies investigate learning of CP-nets from randomly chosen examples or from membership…

人工智能 · 计算机科学 2019-02-06 Eisa Alanazi , Malek Mouhoub , Sandra Zilles

Several important decision problems on conjunctive queries (CQs) are NP-complete in general but become tractable, and actually highly parallelizable, if restricted to acyclic or nearly acyclic queries. Examples are the evaluation of Boolean…

数据库 · 计算机科学 2007-05-23 G. Gottlob , N. Leone , F. Scarcello

We investigate parameterizations of both database instances and queries that make query evaluation fixed-parameter tractable in combined complexity. We introduce a new Datalog fragment with stratified negation, intensional-clique-guarded…

数据库 · 计算机科学 2019-08-28 Antoine Amarilli , Pierre Bourhis , Mikaël Monet , Pierre Senellart

Conjunctive query (CQ) evaluation is NP-complete, but becomes tractable for fragments of bounded hypertreewidth. Approximating a hard CQ by a query from such a fragment can thus allow for an efficient approximate evaluation. While…

数据库 · 计算机科学 2019-04-02 Pablo Barceló , Miguel Romero , Thomas Zeume

We study the enumeration of answers to Unions of Conjunctive Queries (UCQs) with optimal time guarantees. More precisely, we wish to identify the queries that can be solved with linear preprocessing time and constant delay. Despite the…

数据库 · 计算机科学 2025-04-02 Karl Bringmann , Nofar Carmeli

Query optimization is a crucial component for the efficacy of Retrieval-Augmented Generation (RAG) systems. While reinforcement learning (RL)-based agentic and reasoning methods have recently emerged as a promising direction on query…

人工智能 · 计算机科学 2026-01-30 Wei Wen , Sihang Deng , Tianjun Wei , Keyu Chen , Ruizhi Qiao , Xing Sun

Many proposed applications of neural networks in machine learning, cognitive/brain science, and society hinge on the feasibility of inner interpretability via circuit discovery. This calls for empirical and theoretical explorations of…

人工智能 · 计算机科学 2025-04-02 Federico Adolfi , Martina G. Vilas , Todd Wareham

The resilience problem for a query and an input set or bag database is to compute the minimum number of facts to remove from the database to make the query false. In this paper, we study how to compute the resilience of Regular Path Queries…

数据库 · 计算机科学 2025-12-08 Antoine Amarilli , Wolfgang Gatterbauer , Neha Makhija , Mikaël Monet , Martín Muñoz