Skip to main content

IDP-Z3 is a collection of software components implementing the Knowledge Base paradigm using the FO(.) language and a Z3 SMT solver.

Project description

The IDP-Z3 tools implement a knowledge base system combining the Microsoft Z3 solver and a grounder developed in-house, supporting the IDP language. See the presentation at www.IDP-Z3.be.

It is developed by the Knowledge Representation group at KU Leuven in Leuven, Belgium, and made available under the GNU LGPL v3 License.

Installation

  • Install python3 on your machine.
  • Install poetry:
    • after that, logout and login if requested, to update $PATH
  • Use git to clone https://gitlab.com/krr/IDP-Z3 to a directory on your machine
  • Open a terminal in that directory
  • If you have several versions of python3, and want to run on a particular one, e.g., 3.9:
    • run poetry env use 3.9
    • replace python3 by python3.9 in every command below
  • Run poetry install

Get started

To launch the Interactive Consultant web server:

  • open a terminal in that directory and run poetry run python3 main.py
  • open your browser at http://127.0.0.1:5000

Develop

You may want to read about the technical documentation and the Development and deployment guide.

The user manual is in the /docs folder and can be locally generated as follows:

poetry run sphinx-autobuild docs docs/_build/html

To view it, open http://127.0.0.1:8000

The documentation on readthedocs is automatically updated from the main branch of the GitLab repository.

The home page is in the /homepage folder and can be locally generated as follows:

poetry run sphinx-autobuild homepage homepage/_build/html

To view it, open http://127.0.0.1:8000. The website is also automatically updated from the main branch of the GitLab repository.

Testing

To generate the tests, from the top directory run poetry run python3 test.py or poetry run python3 test.py generate. After this, you can manually check what has changed using git.

There is also a testing pipeline available, which can be used by running poetry run python3 test.py pipeline.

Deploy

See the instructions here.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

idp-engine-0.7.2.tar.gz (54.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

idp_engine-0.7.2-py3-none-any.whl (63.5 kB view details)

Uploaded Python 3

File details

Details for the file idp-engine-0.7.2.tar.gz.

File metadata

  • Download URL: idp-engine-0.7.2.tar.gz
  • Upload date:
  • Size: 54.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.2 CPython/3.7.7 Linux/5.4.0-66-generic

File hashes

Hashes for idp-engine-0.7.2.tar.gz
Algorithm Hash digest
SHA256 5f6397325c6333da6dd814562a012707a54307ae29c6782c2e67c9fa61c7462f
MD5 064e78de2494f690082231b8cabac848
BLAKE2b-256 f81e152d501a8eec8c0056be3809c93b1bfff4b0a92b53d9743e3f70ddfe7b3b

See more details on using hashes here.

File details

Details for the file idp_engine-0.7.2-py3-none-any.whl.

File metadata

  • Download URL: idp_engine-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 63.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.2 CPython/3.7.7 Linux/5.4.0-66-generic

File hashes

Hashes for idp_engine-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ca75477dede177b17d2fda9968b7483949e6c11f9aab84dc13fe86254b899e9d
MD5 edaa933506ec679adf9119ccf0ce51f7
BLAKE2b-256 8eda9529db02a9d5aa55899831cc0340222e4c8ab58643b0ae2064f6fb5ec0c6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page