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 条
  • [41] On the Enumeration Complexity of Unions of Conjunctive Queries
    Carmeli, Nofar
    Kroell, Markus
    PROCEEDINGS OF THE 38TH ACM SIGMOD-SIGACT-SIGAI SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS (PODS '19), 2019, : 134 - 148
  • [42] Containment of conjunctive queries with safe negation
    Wei, F
    Lausen, G
    DATABASE THEORY ICDT 2003, PROCEEDINGS, 2003, 2572 : 346 - 360
  • [43] Containment of Conjunctive Queries on Annotated Relations
    Todd J. Green
    Theory of Computing Systems, 2011, 49 : 429 - 459
  • [44] Asymptotic conditional probabilities for conjunctive queries
    Dalvi, N
    Miklau, G
    Suciu, D
    DATABASE THEORY - ICDT 2005, PROCEEDINGS, 2005, 3363 : 289 - 305
  • [45] Conjunctive Queries with Inequalities Under Updates
    Idris, Muhammad
    Ugarte, Martin
    Vansummeren, Stijn
    Voigt, Hannes
    Lehner, Wolfgang
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2018, 11 (07): : 733 - 745
  • [46] On containment of conjunctive queries with arithmetic comparisons
    Afrati, F
    Li, C
    Mitra, P
    ADVANCES IN DATABASE TECHNOLOGY - EDBT 2004, PROCEEDINGS, 2004, 2992 : 459 - 476
  • [47] Constant delay enumeration for conjunctive queries
    Segoufin, Luc
    SIGMOD RECORD, 2015, 44 (01) : 10 - 17
  • [48] Size and Treewidth Bounds for Conjunctive Queries
    Gottlob, Georg
    Lee, Stephanie Tien
    Valiant, Gregory J.
    PODS'09: PROCEEDINGS OF THE TWENTY-EIGHTH ACM SIGMOD-SIGACT-SIGART SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS, 2009, : 45 - 54
  • [49] Containment of conjunctive queries with arithmetic expressions
    Kiani, A
    Shiri, N
    ON THE MOVE TO MEANINGFUL INTERNET SYSTEMS 2005: COOPIS, DOA, AND ODBASE, PT 1, PROCEEDINGS, 2005, 3760 : 439 - 452
  • [50] Extremal Fitting Problems for Conjunctive Queries
    ten Cate, Balder
    Dalmau, Victor
    Funk, Maurice
    Lutz, Carsten
    PROCEEDINGS OF THE 42ND ACM SIGMOD-SIGACT-SIGAI SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS, PODS 2023, 2023, : 89 - 98