The Zoo World

The Zoo World is an action domain proposed by Erik Sandewall as part of his Logic Modelling Workshop. In the paper "Representing the Zoo World and the Traffic World in the Language of the Causal Calculator" this domain is formalized in the input language of the Causal Calculator.

The formalization is available here online:

To run each test, for instance test 1, load the input files:

| ?- loadf(['zoo','zoo-example','zoo-test1']).
(For other tests, replace 'zoo-test1' with the corresponding test file)

and then ask a query:
| ?- query 0.
The trace of each run is available here.