Questions Concepts
GitHub icon


Datalog - Programming language

< >

Datalog is a programming language created in 1977.

#332on PLDB 46Years 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...

Example from the web:
parent(john, douglas). % store some data parent(john, douglas)? % run a query
Example from Wikipedia:
ancestor(X,Y) :- parent(X,Y). ancestor(X,Y) :- parent(X,Z),ancestor(Z,Y).

Language features

Feature Supported Token Example
% A comment
Line Comments %
% A comment
Semantic Indentation X

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Traffic · Traffic Today · Day 305 · · Logout