skip to main content
10.1145/1989323.1989456acmconferencesArticle/Chapter ViewAbstractPublication PagesmodConference Proceedingsconference-collections
tutorial

Datalog and emerging applications: an interactive tutorial

Published: 12 June 2011 Publication History

Abstract

We are witnessing an exciting revival of interest in recursive Datalog queries in a variety of emerging application domains such as data integration, information extraction, networking, program analysis, security, and cloud computing. This tutorial briefly reviews the Datalog language and recursive query processing and optimization techniques, then discusses applications of Datalog in three application domains: data integration, declarative networking, and program analysis. Throughout the tutorial, we use LogicBlox, a commercial Datalog engine for enterprise software systems, to allow the audience to walk through code examples presented in the tutorial.

Supplementary Material

JPG File (tuesday14-athensview-tutorial2.jpg)
WMV File (tuesday14-athensview-tutorial2.wmv)

References

[1]
Amazon High Performance Computing Clusters. http://aws.amazon.com/ec2/hpc-applications. Accessed Dec 2010.
[2]
Intel Atom E600C with FPGA. http://www.intel.com/design/intarch/atom/index.htm. Accessed Dec 2010.
[3]
LogicBlox. http://www.logicblox.com. Accessed Dec 2010.
[4]
Semmle. http://www.semmle.com. Accessed Dec 2010.
[5]
Abiteboul, S., Abrams, Z., Haar, S., and Milo, T. Diagnosis of Asynchronous Discrete Event Systems-Datalog to the Rescue! In PODS (2005).
[6]
Abiteboul, S., Hull, R., and Vianu, V. Foundations of Databases. Addison-Wesley, 1995.
[7]
Alvaro, P., Condie, T., Conway, N., Elmeleegy, K., Hellerstein, J. M., and Sears, R. Boom analytics: exploring data-centric, declarative programming for the cloud. In EuroSys (2010).
[8]
Alvaro, P., Marczak, W., Conway, N., Hellerstein, J. M., Maier, D., and Sears, R. C. Dedalus: Datalog in time and space. Tech. Rep. UCB/EECS-2009--173, EECS Department, University of California, Berkeley, Dec 2009.
[9]
Arni, F., Ong, K., Tsur, S., Wang, H., and Zaniolo, C. The deductive database system LDL. TPLP 3, 1 (2003), 61--94.
[10]
Bancilhon, F., and Ramakrishnan, R. An amateur's introduction to recursive query processing strategies. SIGMOD Rec. 15, 2 (1986), 16--52.
[11]
Beeri, C., and Vardi, M. Y. A proof procedure for data dependencies. J. ACM 31, 4 (1984), 718--741.
[12]
Bidoit, N. Bases de Données Déductives: Présentation de Datalog. Armand Colin, 1992.
[13]
Bravenboer, M., and Smaragdakis, Y. Strictly declarative specification of sophisticated points-to analyses. In OOPSLA (2009).
[14]
Ceri, S., Gottlob, G., and Tanca, L. What you always wanted to know about datalog (and never dared to ask). TKDE 1, 1 (1989), 146--166.
[15]
de Moor, O., Sereni, D., Avgustinov, P., and Verbaere, M. Type inference for datalog and its application to query optimisation. In PODS (2008).
[16]
Deutsch, A., and Tannen, V. Reformulation of xml queries and constraints. In ICDT (2003), pp. 225--241.
[17]
Fagin, R., Kolaitis, P. G., Miller, R. J., and Popa, L. Data exchange: semantics and query answering. TCS 336, 1 (2005), 89--124.
[18]
Genesereth, M. R. Data Integration: The Relational Logic Approach. Morgan & Claypool Publishers, 2010.
[19]
Gottlob, G., Koch, C., Baumgartner, R., Herzog, M., and Flesca, S. The Lixto data extraction project: back and forth between theory and practice. In PODS (2004).
[20]
Govindaraju, N., Gray, J., Kumar, R., and Manocha, D. GPUTeraSort: high performance graphics co-processor sorting for large database management. In SIGMOD (2006).
[21]
Green, T. J., Huang, S. S., and Loo, B. T. Datalog and recursive query processing. Foundations and Trends in Databases (2011). In preparation.
[22]
Green, T. J., Karvounarakis, G., Ives, Z. G., and Tannen, V. Update exchange with mappings and provenance. In VLDB (2007).
[23]
Hajiyev, E., Verbaere, M., and de Moor, O. Codequest: Scalable source code queries with datalog. In ECOOP (2006).
[24]
He, B., Lu, M., Yang, K., Fang, R., Govindaraju, N. K., Luo, Q., and Sander, P. V. Relational query coprocessing on graphics processors. ACM TODS 34 (December 2009).
[25]
Jim, T. SD3: A Trust Management System With Certified Evaluation. In IEEE Symposium on Security and Privacy (May 2001).
[26]
Lenzerini, M. Data integration: A theoretical perspective. In PODS (2002), pp. 233--246.
[27]
Loo, B. T., Condie, T., Garofalakis, M., Gay, D. E., Hellerstein, J. M., Maniatis, P., Ramakrishnan, R., Roscoe, T., and Stoica, I. Declarative networking: Language, execution and optimization. In SIGMOD (2006).
[28]
Loo, B. T., Condie, T., Hellerstein, J. M., Maniatis, P., Roscoe, T., and Stoica, I. Implementing declarative overlays. In SOSP (2005).
[29]
Loo, B. T., Hellerstein, J. M., Stoica, I., and Ramakrishnan, R. Declarative routing: extensible routing with declarative queries. In SIGCOMM (2005).
[30]
Ludascher, B., May, W., and Lausen, G. Nested transactions in a logical language for active rules. In LID (1996).
[31]
Marczak, W. R., Huang, S. S., Bravenboer, M., Sherr, M., Loo, B. T., and Aref, M. Secureblox: customizable secure distributed data processing. In SIGMOD (2010).
[32]
Mengmeng Liu and Nicholas Taylor and Wenchao Zhou and Zachary Ives and Boon Thau Loo. Recursive Computation of Regions and Connectivity in Networks. In ICDE (2009).
[33]
Mueller, R., Teubner, J., and Alonso, G. Data processing on FPGAs. PVLDB 2, 1 (August 2009).
[34]
Mueller, R., Teubner, J., and Alonso, G. Glacier: a query-to-hardware compiler. In SIGMOD (2010).
[35]
Ramakrishnan, R., Srivastava, D., Sudarshan, S., and Seshadri, P. The CORAL deductive system. The VLDB Journal 3, 2 (1994), 161--210.
[36]
Ramakrishnan, R., and Ullman, J. D. A Survey of Research on Deductive Database Systems. JLP 23, 2 (1993).
[37]
Ross, K. A syntactic stratification condition using constraints. In ILPS (1994).
[38]
Shen, W., Doan, A., Naughton, J., and Ramakrishnan, R. Declarative information extraction using datalog with embedded extraction predicates. In VLDB (2007).
[39]
Stonebraker, M., and Hellerstein, J. M., Eds. Readings in Database Systems, Third Edition. Morgan Kaufmann, 1998.
[40]
Ullman, J. D. Principles of Database and Knowledge-Base Systems, vol. II. W. H. Freeman & Co., 1990.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
SIGMOD '11: Proceedings of the 2011 ACM SIGMOD International Conference on Management of data
June 2011
1364 pages
ISBN:9781450306614
DOI:10.1145/1989323
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: 12 June 2011

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. data exchange
  2. data integration
  3. datalog
  4. declarative networking
  5. program analysis
  6. recursive query processing

Qualifiers

  • Tutorial

Conference

SIGMOD/PODS '11
Sponsor:

Acceptance Rates

Overall Acceptance Rate 785 of 4,003 submissions, 20%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)47
  • Downloads (Last 6 weeks)6
Reflects downloads up to 16 Oct 2024

Other Metrics

Citations

Cited By

View all

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media