-
Notifications
You must be signed in to change notification settings - Fork 19
Pabu Rule Language
Paula Gearon edited this page Jun 18, 2018
·
3 revisions
Pabu is a rule language with a Prolog-like syntax. It provides a simple format for declaring rules and data.
It is important to realize that Naga is based on a graph database, with all assertions being represented as a triple
of elements, representing:
Entity | Attribute | Value |
---|
Other systems may provide different labels, such as RDF:
Subject | Predicate | Object |
---|
Rules form queries against data in this graph, with output that will be inserted back into the graph. They will be executed continuously until there is nothing more to be produced by the rules.
Each rule is written as a head and body:
head :- body . __