Skip to content
EntityQ275603· pop 38· linked from 416 articles

logic programming

Sign in to save

Also known as use logic programming

programming paradigm based on formal logic

Wikidata facts

Show 2 more facts
Commons category
Logic programming
Sources (3)

via Wikidata · CC0

~40 min read

Article

Logic programming is a programming, database and knowledge representation paradigm based on formal logic. A logic program is a set of sentences in logical form, representing knowledge about some problem domain. Computation is performed by applying logical reasoning to that knowledge, to solve problems in the domain. Major logic programming language families include Prolog, Answer Set Programming (ASP) and Datalog. In all of these languages, rules are written in the form of clauses:

A :- B1, ..., Bn.

Connections

Categories