Datalog is a programming language created in 1977.
#401on PLDB | 47Years Old |
Datalog is a declarative logic programming language that syntactically is a subset of Prolog. It is often used as a query language for deductive databases. In recent years, Datalog has found new application in data integration, information extraction, networking, program analysis, security, and cloud computing. Read more on Wikipedia...
parent(john, douglas). % store some data
parent(john, douglas)? % run a query
ancestor(X,Y) :- parent(X,Y).
ancestor(X,Y) :- parent(X,Z),ancestor(Z,Y).
Feature | Supported | Example | Token |
---|---|---|---|
Comments | ✓ | % A comment | |
Line Comments | ✓ | % A comment | % |
Semantic Indentation | X |