This commit is contained in:
Hassan Abedi 2026-06-03 12:30:41 +02:00
parent cb07245bd9
commit ba530d3deb

View File

@ -34,6 +34,7 @@ It uses all three operators:
- and `natural_join` to attach each book's price. - and `natural_join` to attach each book's price.
```prolog ```prolog
% Datalog rule/query
Q(name, book, dollars) :- author(name, book), bestseller(book), price(book, dollars). Q(name, book, dollars) :- author(name, book), bestseller(book), price(book, dollars).
``` ```
@ -107,7 +108,7 @@ fn main() {
} }
``` ```
How it works: How it works (logically):
<div align="center"> <div align="center">
<picture> <picture>