declarative logic programming language that is a subset of Prolog
no side effect (cannot change a variable’s value), no control flow, no functions, not turing-complete
data + logic
In Datalog, a prediction (relation) is a set of statements
A fact asserts that a particular tuple (a row) belongs to a relationship (a table)
2 kinds of predicates in Datalog
the predicates that are defined in a priori
relations are immutable
input relations
the predicates that are established only by rules
relations are inferred by rules
output relations
H ← B1, B2, … Bn
H can only be IDB, Bi can be EDB or IDB