Limit Datalog: A Declarative Query Language for Data Analysis

被引:0
|
作者
Grau, Bernardo Cuenca [1 ]
Horrocks, Ian [1 ]
Kaminski, Mark [1 ]
Kostylev, Egor, V [1 ]
Motik, Boris [1 ]
机构
[1] Univ Oxford, Oxford, England
基金
英国工程与自然科学研究理事会;
关键词
AGGREGATION; COMPLEXITY; SEMANTICS; POWER;
D O I
10.1145/3385658.3385660
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Motivated by applications in declarative data analysis, we study Datalog(Z)-an extension of Datalog with stratified negation and arithmetics over integers. Reasoning in this language is undecidable, so we present a fragment, called limit Datalog(Z), that is powerful enough to naturally capture many important data analysis tasks. In limit Datalog(Z), all intensional predicates with a numeric argument are limit predicates that keep only the maximal or minimal bounds on numeric values. Reasoning in limit Datalog(Z) is decidable if multiplication is used in a way that satisfies our linearity condition. Moreover, fact entailment in limit-linear Datalog(Z) is Delta(EXP)(2)-complete in combined and Delta(P)(2)-complete in data complexity, and it drops to coNEXP and coNP, respectively, if only (semi-)positive programs are considered. We also propose an additional stability requirement, for which the complexity drops to EXP and P, matching the bounds for usual Datalog. Limit Datalog(Z) thus provides us with a unified logical framework for declarative data analysis and can be used as a basis for understanding the expressive power of the key data analysis constructs.
引用
收藏
页码:6 / 17
页数:12
相关论文
共 50 条
  • [1] Foundations of Declarative Data Analysis Using Limit Datalog Programs
    Kaminski, Mark
    Grau, Bernardo Cuenca
    Kostylev, Egor, V
    Motik, Boris
    Horrocks, Ian
    PROCEEDINGS OF THE TWENTY-SIXTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2017, : 1123 - 1130
  • [2] SociaLite: An Efficient Graph Query Language Based on Datalog
    Seo, Jiwon
    Guo, Stephen
    Lam, Monica S.
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2015, 27 (07) : 1824 - 1837
  • [3] Semi-Inflationary DATALOG:: A declarative database language with procedural features
    Guzzo, A
    Saccà, D
    AI COMMUNICATIONS, 2005, 18 (02) : 79 - 92
  • [4] Stratified Negation in Limit Datalog Programs
    Kaminski, Mark
    Grau, Bernardo Cuenca
    Kostylev, Egor, V
    Motik, Boris
    Horrocks, Ian
    PROCEEDINGS OF THE TWENTY-SEVENTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2018, : 1875 - 1881
  • [5] The Complexity and Expressive Power of Limit Datalog
    Kaminski, Mark
    Kostylev, Egor, V
    Grau, Bernardo Cuenca
    Motik, Boris
    Horrocks, Ian
    JOURNAL OF THE ACM, 2022, 69 (01)
  • [6] Formal semantics and high performance in declarative machine learning using Datalog
    Wang, Jin
    Wu, Jiacheng
    Li, Mingda
    Gu, Jiaqi
    Das, Ariyam
    Zaniolo, Carlo
    VLDB JOURNAL, 2021, 30 (05) : 859 - 881
  • [7] Consistent Query Answering for Primary Keys in Datalog
    Koutris, Paraschos
    Wijsen, Jef
    THEORY OF COMPUTING SYSTEMS, 2021, 65 (01) : 122 - 178
  • [8] A general Datalog-based framework for tractable query answering over ontologies
    Cali, Andrea
    Gottlob, Georg
    Lukasiewicz, Thomas
    JOURNAL OF WEB SEMANTICS, 2012, 14 : 57 - 83
  • [9] A declarative extension of horn clauses, and its significance for datalog and its applications
    Mazuran, Mirjana
    Serra, Edoardo
    Zaniolo, Carlo
    THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2013, 13 : 609 - 623
  • [10] A recursive visual query language for XML data
    Ykhlef, Mourad
    INTERNATIONAL JOURNAL OF WEB INFORMATION SYSTEMS, 2011, 7 (03) : 269 - 291