Syntax and semantics of logic programming
Logic programming is a programming paradigm that includes languages based on formal logic, including Datalog and Prolog. This article describes the syntax and semantics of the purely declarative subset of these languages.
Source: Wikipedia — Syntax and semantics of logic programming (CC BY-SA 4.0)