LINEAR PROGRAMS WITH CONJUNCTIVE DATABASE QUERIES

被引:0
|
作者
Capelli, Florent [1 ,2 ]
Crosetti, Nicolas [2 ]
Niehren, Joachim [2 ]
Ramon, Jan [2 ]
机构
[1] Univ Lille, Lille, France
[2] INRIA, Lille, France
关键词
Database; Linear program; optimization;
D O I
10.46298/LMCS-20(1:9)2024
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In this paper, we study the problem of optimizing a linear program whose variables are the answers to a conjunctive query. For this we propose the language LP(CQ) for specifying linear programs whose constraints and objective functions depend on the answer sets of conjunctive queries. We contribute an efficient algorithm for solving programs in a fragment of LP(CQ). The natural approach constructs a linear program having as many variables as there are elements in the answer set of the queries. Our approach constructs a linear program having the same optimal value but fewer variables. This is done by exploiting the structure of the conjunctive queries using generalized hypertree decompositions of small width to factorize elements of the answer set together. We illustrate the various applications of LP(CQ) programs on three examples: optimizing deliveries of resources, minimizing noise for differential privacy, and computing the s -measure of patterns in graphs as needed for data mining.
引用
收藏
页码:1 / 9
页数:48
相关论文
共 50 条
  • [31] Learnability of solutions to conjunctive queries
    Chen, Hubie
    Valeriote, Matthew
    Journal of Machine Learning Research, 2019, 20
  • [32] On Containment of Conjunctive Queries with Negation
    Felea, Victor
    ADVANCES IN DATABASES AND INFORMATION SYSTEMS, PROCEEDINGS, 2009, 5739 : 206 - 218
  • [33] Conjunctive queries over trees
    Gottlob, Georg
    Koch, Christoph
    Schulz, Klaus U.
    JOURNAL OF THE ACM, 2006, 53 (02) : 238 - 272
  • [34] Tractable counting of the answers to conjunctive queries
    Pichler, Reinhard
    Skritek, Sebastian
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2013, 79 (06) : 984 - 1001
  • [35] View selection for real conjunctive queries
    Afrati, Foto
    Chirkova, Rada
    Gergatsoulis, Manolis
    Pavlaki, Vassia
    ACTA INFORMATICA, 2007, 44 (05) : 289 - 321
  • [36] Answering Conjunctive Queries under Updates
    Berkholz, Christoph
    Keppeler, Jens
    Schweikardt, Nicole
    PODS'17: PROCEEDINGS OF THE 36TH ACM SIGMOD-SIGACT-SIGAI SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS, 2017, : 303 - 318
  • [37] Direct Access for Conjunctive Queries with Negations
    Capelli, Florent
    Irwin, Oliver
    27TH INTERNATIONAL CONFERENCE ON DATABASE THEORY, ICDT 2024, 2024, 290
  • [38] Technical Perspective: Conjunctive Queries with Comparisons
    Vansummeren, Stijn
    SIGMOD RECORD, 2023, 52 (01) : 53 - 53
  • [39] On the hardness of learning acyclic conjunctive queries
    Hirata, K
    ALGORITHMIC LEARNING THEORY, PROCEEDINGS, 2000, 1968 : 238 - 251
  • [40] Rewriting conjunctive queries determined by views
    Afrati, Foto
    Mathematical Foundations of Computer Science 2007, Proceedings, 2007, 4708 : 78 - 89