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 条
  • [21] Learnability of Solutions to Conjunctive Queries
    Chen, Hubie
    Valeriote, Matthew
    JOURNAL OF MACHINE LEARNING RESEARCH, 2019, 20
  • [22] The resilience of conjunctive queries with inequalities
    Qin, Biao
    Li, Deying
    Zhou, Chunlai
    INFORMATION SCIENCES, 2022, 613 : 982 - 1002
  • [23] EFFICIENT APPROXIMATIONS OF CONJUNCTIVE QUERIES
    Barcelo, Pablo
    Libkin, Leonid
    Romero, Miguel
    SIAM JOURNAL ON COMPUTING, 2014, 43 (03) : 1085 - 1130
  • [24] An expressive language for linear spatial database queries
    Vandeurzen, L
    Gyssens, M
    Van Gucht, D
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2004, 69 (04) : 617 - 655
  • [25] OPTIMIZATION OF A SUBCLASS OF CONJUNCTIVE QUERIES
    DUBLISH, P
    BISKUP, J
    SAGIV, Y
    LECTURE NOTES IN COMPUTER SCIENCE, 1990, 470 : 455 - 469
  • [26] OPTIMIZATION OF A SUBCLASS OF CONJUNCTIVE QUERIES
    BISKUP, J
    DUBLISH, P
    SAGIV, Y
    ACTA INFORMATICA, 1995, 32 (01) : 1 - 26
  • [27] The complexity of acyclic conjunctive queries
    Gottlob, G
    Leone, N
    Scarcello, F
    JOURNAL OF THE ACM, 2001, 48 (03) : 431 - 498
  • [28] PROLOG, CONJUNCTIVE QUERIES AND RULES
    MASSART, DL
    DESMET, M
    TRAC-TRENDS IN ANALYTICAL CHEMISTRY, 1985, 4 (05) : 111 - 112
  • [29] ORDERING CONJUNCTIVE QUERIES.
    Smith, David E.
    Genesereth, Michael R.
    1600, (26):
  • [30] Conjunctive queries over DAGs
    Ronen, Royi
    Shmueli, Oded
    NEXT GENERATION INFORMATION TECHNOLOGIES AND SYSTEMS, PROCEEDINGS, 2006, 4032 : 129 - 140