Loading…

Monotonic Properties of Completed Aggregates in Recursive Queries

The use of aggregates in recursion enables efficient and scalable support for a wide range of BigData algorithms, including those used in graph applications, KDD applications, and ML applications, which have proven difficult to be expressed and supported efficiently in BigData systems supporting Dat...

Full description

Saved in:
Bibliographic Details
Published in:arXiv.org 2019-10
Main Authors: Zaniolo, Carlo, Das, Ariyam, Gu, Jiaqi, Li, Youfu, li, Mingda, Wang, Jin
Format: Article
Language:English
Subjects:
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
cited_by
cites
container_end_page
container_issue
container_start_page
container_title arXiv.org
container_volume
creator Zaniolo, Carlo
Das, Ariyam
Gu, Jiaqi
Li, Youfu
li, Mingda
Wang, Jin
description The use of aggregates in recursion enables efficient and scalable support for a wide range of BigData algorithms, including those used in graph applications, KDD applications, and ML applications, which have proven difficult to be expressed and supported efficiently in BigData systems supporting Datalog or SQL. The problem with these languages and systems is that, to avoid the semantic and computational issues created by non-monotonic constructs in recursion, they only allow programs that are stratified with respect to negation and aggregates. Now, while this crippling restriction is well-justified for negation, it is frequently unjustified for aggregates, since (i) aggregates are often monotonic in the standard lattice of set-containment, (ii) the PreM property guarantees that programs with extrema in recursion are equivalent to stratified programs where extrema are used as post-constraints, and (iii) any program computing any aggregates on sets of facts of predictable cardinality tantamounts to stratified programs where the precomputation of the cardinality of the set is followed by a stratum where recursive rules only use monotonic constructs. With (i) and (ii) covered in previous papers, this paper focuses on (iii) using examples of great practical interest. For such examples, we provide a formal semantics that is conducive to efficient and scalable implementations via well-known techniques such as semi-naive fixpoint currently supported by most Datalog and SQL3 systems.
format article
fullrecord <record><control><sourceid>proquest</sourceid><recordid>TN_cdi_proquest_journals_2307556091</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2307556091</sourcerecordid><originalsourceid>FETCH-proquest_journals_23075560913</originalsourceid><addsrcrecordid>eNqNikEKwjAQAIMgWLR_CHgupIlp9ViK4kVQ8V5K3ZaUmo2bxPfbgw_wNDAzC5ZIpfJsv5NyxVLvRyGELEqptUpYdUGLAa3p-JXQAQUDnmPPa3y5CQI8eTUMBEMbZm8sv0MXyZsP8FsEmucNW_bt5CH9cc22p-OjPmeO8B3Bh2bESHZOjVSi1LoQh1z9d30Bnvc5rg</addsrcrecordid><sourcetype>Aggregation Database</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype><pqid>2307556091</pqid></control><display><type>article</type><title>Monotonic Properties of Completed Aggregates in Recursive Queries</title><source>Publicly Available Content Database</source><creator>Zaniolo, Carlo ; Das, Ariyam ; Gu, Jiaqi ; Li, Youfu ; li, Mingda ; Wang, Jin</creator><creatorcontrib>Zaniolo, Carlo ; Das, Ariyam ; Gu, Jiaqi ; Li, Youfu ; li, Mingda ; Wang, Jin</creatorcontrib><description>The use of aggregates in recursion enables efficient and scalable support for a wide range of BigData algorithms, including those used in graph applications, KDD applications, and ML applications, which have proven difficult to be expressed and supported efficiently in BigData systems supporting Datalog or SQL. The problem with these languages and systems is that, to avoid the semantic and computational issues created by non-monotonic constructs in recursion, they only allow programs that are stratified with respect to negation and aggregates. Now, while this crippling restriction is well-justified for negation, it is frequently unjustified for aggregates, since (i) aggregates are often monotonic in the standard lattice of set-containment, (ii) the PreM property guarantees that programs with extrema in recursion are equivalent to stratified programs where extrema are used as post-constraints, and (iii) any program computing any aggregates on sets of facts of predictable cardinality tantamounts to stratified programs where the precomputation of the cardinality of the set is followed by a stratum where recursive rules only use monotonic constructs. With (i) and (ii) covered in previous papers, this paper focuses on (iii) using examples of great practical interest. For such examples, we provide a formal semantics that is conducive to efficient and scalable implementations via well-known techniques such as semi-naive fixpoint currently supported by most Datalog and SQL3 systems.</description><identifier>EISSN: 2331-8422</identifier><language>eng</language><publisher>Ithaca: Cornell University Library, arXiv.org</publisher><subject>Aggregates ; Algorithms ; Containment ; Query languages ; Semantics</subject><ispartof>arXiv.org, 2019-10</ispartof><rights>2019. This work is published under http://arxiv.org/licenses/nonexclusive-distrib/1.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.</rights><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><linktohtml>$$Uhttps://www.proquest.com/docview/2307556091?pq-origsite=primo$$EHTML$$P50$$Gproquest$$Hfree_for_read</linktohtml><link.rule.ids>776,780,25731,36989,44566</link.rule.ids></links><search><creatorcontrib>Zaniolo, Carlo</creatorcontrib><creatorcontrib>Das, Ariyam</creatorcontrib><creatorcontrib>Gu, Jiaqi</creatorcontrib><creatorcontrib>Li, Youfu</creatorcontrib><creatorcontrib>li, Mingda</creatorcontrib><creatorcontrib>Wang, Jin</creatorcontrib><title>Monotonic Properties of Completed Aggregates in Recursive Queries</title><title>arXiv.org</title><description>The use of aggregates in recursion enables efficient and scalable support for a wide range of BigData algorithms, including those used in graph applications, KDD applications, and ML applications, which have proven difficult to be expressed and supported efficiently in BigData systems supporting Datalog or SQL. The problem with these languages and systems is that, to avoid the semantic and computational issues created by non-monotonic constructs in recursion, they only allow programs that are stratified with respect to negation and aggregates. Now, while this crippling restriction is well-justified for negation, it is frequently unjustified for aggregates, since (i) aggregates are often monotonic in the standard lattice of set-containment, (ii) the PreM property guarantees that programs with extrema in recursion are equivalent to stratified programs where extrema are used as post-constraints, and (iii) any program computing any aggregates on sets of facts of predictable cardinality tantamounts to stratified programs where the precomputation of the cardinality of the set is followed by a stratum where recursive rules only use monotonic constructs. With (i) and (ii) covered in previous papers, this paper focuses on (iii) using examples of great practical interest. For such examples, we provide a formal semantics that is conducive to efficient and scalable implementations via well-known techniques such as semi-naive fixpoint currently supported by most Datalog and SQL3 systems.</description><subject>Aggregates</subject><subject>Algorithms</subject><subject>Containment</subject><subject>Query languages</subject><subject>Semantics</subject><issn>2331-8422</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2019</creationdate><recordtype>article</recordtype><sourceid>PIMPY</sourceid><recordid>eNqNikEKwjAQAIMgWLR_CHgupIlp9ViK4kVQ8V5K3ZaUmo2bxPfbgw_wNDAzC5ZIpfJsv5NyxVLvRyGELEqptUpYdUGLAa3p-JXQAQUDnmPPa3y5CQI8eTUMBEMbZm8sv0MXyZsP8FsEmucNW_bt5CH9cc22p-OjPmeO8B3Bh2bESHZOjVSi1LoQh1z9d30Bnvc5rg</recordid><startdate>20191020</startdate><enddate>20191020</enddate><creator>Zaniolo, Carlo</creator><creator>Das, Ariyam</creator><creator>Gu, Jiaqi</creator><creator>Li, Youfu</creator><creator>li, Mingda</creator><creator>Wang, Jin</creator><general>Cornell University Library, arXiv.org</general><scope>8FE</scope><scope>8FG</scope><scope>ABJCF</scope><scope>ABUWG</scope><scope>AFKRA</scope><scope>AZQEC</scope><scope>BENPR</scope><scope>BGLVJ</scope><scope>CCPQU</scope><scope>DWQXO</scope><scope>HCIFZ</scope><scope>L6V</scope><scope>M7S</scope><scope>PIMPY</scope><scope>PQEST</scope><scope>PQQKQ</scope><scope>PQUKI</scope><scope>PRINS</scope><scope>PTHSS</scope></search><sort><creationdate>20191020</creationdate><title>Monotonic Properties of Completed Aggregates in Recursive Queries</title><author>Zaniolo, Carlo ; Das, Ariyam ; Gu, Jiaqi ; Li, Youfu ; li, Mingda ; Wang, Jin</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-proquest_journals_23075560913</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2019</creationdate><topic>Aggregates</topic><topic>Algorithms</topic><topic>Containment</topic><topic>Query languages</topic><topic>Semantics</topic><toplevel>online_resources</toplevel><creatorcontrib>Zaniolo, Carlo</creatorcontrib><creatorcontrib>Das, Ariyam</creatorcontrib><creatorcontrib>Gu, Jiaqi</creatorcontrib><creatorcontrib>Li, Youfu</creatorcontrib><creatorcontrib>li, Mingda</creatorcontrib><creatorcontrib>Wang, Jin</creatorcontrib><collection>ProQuest SciTech Collection</collection><collection>ProQuest Technology Collection</collection><collection>Materials Science &amp; Engineering Collection</collection><collection>ProQuest Central (Alumni)</collection><collection>ProQuest Central</collection><collection>ProQuest Central Essentials</collection><collection>ProQuest Central</collection><collection>Technology Collection</collection><collection>ProQuest One Community College</collection><collection>ProQuest Central</collection><collection>SciTech Premium Collection</collection><collection>ProQuest Engineering Collection</collection><collection>Engineering Database</collection><collection>Publicly Available Content Database</collection><collection>ProQuest One Academic Eastern Edition (DO NOT USE)</collection><collection>ProQuest One Academic</collection><collection>ProQuest One Academic UKI Edition</collection><collection>ProQuest Central China</collection><collection>Engineering collection</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>Zaniolo, Carlo</au><au>Das, Ariyam</au><au>Gu, Jiaqi</au><au>Li, Youfu</au><au>li, Mingda</au><au>Wang, Jin</au><format>book</format><genre>document</genre><ristype>GEN</ristype><atitle>Monotonic Properties of Completed Aggregates in Recursive Queries</atitle><jtitle>arXiv.org</jtitle><date>2019-10-20</date><risdate>2019</risdate><eissn>2331-8422</eissn><abstract>The use of aggregates in recursion enables efficient and scalable support for a wide range of BigData algorithms, including those used in graph applications, KDD applications, and ML applications, which have proven difficult to be expressed and supported efficiently in BigData systems supporting Datalog or SQL. The problem with these languages and systems is that, to avoid the semantic and computational issues created by non-monotonic constructs in recursion, they only allow programs that are stratified with respect to negation and aggregates. Now, while this crippling restriction is well-justified for negation, it is frequently unjustified for aggregates, since (i) aggregates are often monotonic in the standard lattice of set-containment, (ii) the PreM property guarantees that programs with extrema in recursion are equivalent to stratified programs where extrema are used as post-constraints, and (iii) any program computing any aggregates on sets of facts of predictable cardinality tantamounts to stratified programs where the precomputation of the cardinality of the set is followed by a stratum where recursive rules only use monotonic constructs. With (i) and (ii) covered in previous papers, this paper focuses on (iii) using examples of great practical interest. For such examples, we provide a formal semantics that is conducive to efficient and scalable implementations via well-known techniques such as semi-naive fixpoint currently supported by most Datalog and SQL3 systems.</abstract><cop>Ithaca</cop><pub>Cornell University Library, arXiv.org</pub><oa>free_for_read</oa></addata></record>
fulltext fulltext
identifier EISSN: 2331-8422
ispartof arXiv.org, 2019-10
issn 2331-8422
language eng
recordid cdi_proquest_journals_2307556091
source Publicly Available Content Database
subjects Aggregates
Algorithms
Containment
Query languages
Semantics
title Monotonic Properties of Completed Aggregates in Recursive Queries
url http://sfxeu10.hosted.exlibrisgroup.com/loughborough?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-30T15%3A49%3A27IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-proquest&rft_val_fmt=info:ofi/fmt:kev:mtx:book&rft.genre=document&rft.atitle=Monotonic%20Properties%20of%20Completed%20Aggregates%20in%20Recursive%20Queries&rft.jtitle=arXiv.org&rft.au=Zaniolo,%20Carlo&rft.date=2019-10-20&rft.eissn=2331-8422&rft_id=info:doi/&rft_dat=%3Cproquest%3E2307556091%3C/proquest%3E%3Cgrp_id%3Ecdi_FETCH-proquest_journals_23075560913%3C/grp_id%3E%3Coa%3E%3C/oa%3E%3Curl%3E%3C/url%3E&rft_id=info:oai/&rft_pqid=2307556091&rft_id=info:pmid/&rfr_iscdi=true