skip to main content
10.1145/3269206.3269223acmconferencesArticle/Chapter ViewAbstractPublication PagescikmConference Proceedingsconference-collections
research-article

ASTRO: A Datalog System for Advanced Stream Reasoning

Published: 17 October 2018 Publication History

Abstract

The rise of the Internet of Things (IoT) and the recent focus on a gamut of 'Smart City' initiatives world-wide have pushed for new advances in data stream systems to (1) support complex analytics and evolving graph applications as continuous queries, and (2) deliver fast and scalable processing on large data streams. Unfortunately current continuous query languages (CQL) lack the features and constructs needed to support the more advanced applications. For example recursive queries are now part of SQL, Datalog, and other query languages, but they are not supported by most CQLs, a fact that caused a significant loss of expressive power, which is further aggravated by the limitation that only non-blocking queries can be supported. To overcome these limitations we have developed an a dvanced st ream r easo ning system ASTRO that builds on recent advances in supporting aggregates in recursive queries. In this demo, we will briefly elucidate the formal Streamlog semantics, which combined with the Pre-Mappability (PreM) concept, allows the declarative specification of many complex continuous queries, which are then efficiently executed in real-time by the portable ASTRO architecture. Using different case studies, we demonstrate (i) the ease-of-use, (ii) the expressive power and (iii) the robustness of our system, as compared to other state-of-the-art declarative CQL systems.

References

[1]
2016. Chicago Taxi Data Released. https://digital.cityofchicago.org/index.php/chicago-taxi-data-released/. (2016).
[2]
Brian Babcock, Shivnath Babu, Mayur Datar, Rajeev Motwani, and Jennifer Widom. 2002. Models and Issues in Data Stream Systems. In PODS'02. 1--16.
[3]
Arvind Arasu et al. 2006. The CQL Continuous Query Language: Semantic Foundations and Query Execution. The VLDB Journal 15, 2 (June 2006), 121--142.
[4]
Andre Bolles et al. 2008. Streaming SPARQL Extending SPARQL to Process Data Streams. In ESWC'08. 448--462.
[5]
Alessandro Ronca et al. 2018. Stream Reasoning in Temporal Datalog. In AAAI'18.
[6]
Barzan Mozafari et al. 2012. High-performance Complex Event Processing over XML Streams. In SIGMOD '12. 253--264.
[7]
Chenghui Ren et al. 2011. On querying historical evolving graph sequences. Proceedings of the VLDB Endowment 4, 11 (2011), 726--737.
[8]
Carlo Zaniolo et al. 2017. Fixpoint semantics and optimization of recursive Datalog programs with aggregates. TPLP 17, 5-6 (2017), 1048--1065.
[9]
Darko Anicic et al. 2011. EP-SPARQL: A Unified Language for Event Processing and Stream Reasoning. In WWW '11. 635--644.
[10]
Davide Barbieri et al. 2010. Deductive and Inductive Stream Reasoning for Semantic Social Media Analytics. IEEE Intelligent Systems (2010), 32--41.
[11]
Faiz Arni et al. 2003. The Deductive Database System LDL++. Theory Pract. Log. Program. 3, 1 (2003), 61--94.
[12]
Francois Bancilhon et al. 1986. Magic Sets and Other Strange Ways to Implement Logic Programs (Extended Abstract). In PODS'86. 1--15.
[13]
Harald Beck et al. 2015. LARS: A Logic-Based Framework for Analyzing Reasoning over Streams. In AAAI'15. 1431--1438.
[14]
Jay Kreps et al. 2011. Kafka: A distributed messaging system for log processing.
[15]
Jure Leskovec et al. 2005. Graphs over Time: Densification Laws, Shrinking Diameters and Possible Explanations. In KDD'05. 177--187.
[16]
Mirjana Mazuran et al. 2013. Extending the Power of Datalog Recursion. The VLDB Journal 22, 4 (Aug. 2013), 471--493.
[17]
Srijan Kumar et al. 2016. Edge weight prediction in weighted signed networks. In ICDM'16. 221--230.
[18]
Shengqi Yang et al. 2014. SLQ: A User-friendly Graph Querying System. In SIGMOD'14. 893--896.
[19]
Xiang Su et al. 2016. Stream Reasoning for the Internet of Things: Challenges and Gap Analysis. In WIMS'16. Article 1, 10 pages.
[20]
Yijian Bai et al. 2007. Optimizing Timestamp Management in Data Stream Management Systems. In ICDE'07. 1334--1338.
[21]
Alessandro Gnoli. 2010. C - SPARQL: A Continuous Query Language for Resource Description Framework Data Streams. LAP Lambert Academic Publishing, Germany.
[22]
Martin Hirzel. 2012. Partition and Compose: Parallel Complex Event Processing. In DEBS '12. 191--200.
[23]
Jayanta Mondal and Amol Deshpande. 2014. Stream querying and reasoning on social data. In Encyclopedia of Social Network Analysis and Mining. Springer, 2063--2075.
[24]
Alexander Shkapsky et al. 2016. Big Data Analytics with Datalog Queries on Spark. In SIGMOD'16. 1135--1149.
[25]
Mohan Yang. 2017. Declarative Languages and Scalable Systems for Graph Analytics and Knowledge Discovery. Ph.D. Dissertation. UCLA.
[26]
Carlo Zaniolo. 2012. Logical Foundations of Continuous Query Languages for Data Streams. In Datalog in Academia and Industry - Second International Workshop, Datalog 2.0. 177--189.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
CIKM '18: Proceedings of the 27th ACM International Conference on Information and Knowledge Management
October 2018
2362 pages
ISBN:9781450360142
DOI:10.1145/3269206
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 17 October 2018

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. complex event processing (cep) system
  2. continuous query languages (cql)
  3. data stream management system (dsms)
  4. datalog
  5. evolving graphs
  6. recursive queries
  7. stream reasoning applications

Qualifiers

  • Research-article

Conference

CIKM '18
Sponsor:

Acceptance Rates

CIKM '18 Paper Acceptance Rate 147 of 826 submissions, 18%;
Overall Acceptance Rate 1,861 of 8,427 submissions, 22%

Upcoming Conference

CIKM '25

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)18
  • Downloads (Last 6 weeks)1
Reflects downloads up to 06 Feb 2025

Other Metrics

Citations

Cited By

View all

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media