Learn Datalog Today

Learn Datalog Today is an interactive tutorial designed to teach you the Datomic dialect of Datalog. Datalog is a declarative database query language with roots in logic programming. Datalog has similar expressive power as SQL.

Datomic is a new database with an interesting and novel architecture, giving its users a unique set of features. You can read more about Datomic at http://datomic.com and the architecture is described in some detail in this InfoQ article.

Table of Contents

This tutorial was written on rainy days for the Lisp In Summer Projects 2013. If you find bugs, or have suggestions on how to improve the tutorial, please visit the project on github.

Many thanks to Robert Stuttaford for his careful proof reading/editing. I'd also like to thank everyone who has contributed by fixing bugs and spelling mistakes.