Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Datalog

< >

Datalog is a programming language created in 1977.

#399on PLDB 47Years Old
Wikipedia

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 Example Token
Comments ✓ % A comment
Line Comments ✓ % A comment %
Semantic Indentation X
View source
- Build the next great programming language · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements · Part of the World Wide Scroll