Skip to main content

IDP-Z3 is a reasoning engine for knowledge represented using the FO(.) (aka FO-dot) language.

Project description

idp-engine is a reasoning engine for knowledge represented using the FO(.) language. FO(.) (aka FO-dot) is First Order logic, with various extensions to make it more expressive: types, equality, arithmetic, inductive definitions, aggregates, and intensional objects. The idp-engine uses the Z3 SMT solver as a back-end.

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

See more information at www.IDP-Z3.be.

Installation

idp_engine can be installed from pypi.org, e.g. using pip:

   pip install idp_engine

Get started

The following code illustrates how to run inferences on a knowledge base.

    from idp_engine import IDP, model_expand
    kb = IDP.parse("path/to/file.idp")
    T, S = kb.get_blocks("T, S")
    for model in model_expand(T,S):
        print(model)

For more information, please read the documentation.

Contribute

Contributions are welcome! The repository is on GitLab.

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.9.1.tar.gz (78.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.9.1-py3-none-any.whl (88.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: idp-engine-0.9.1.tar.gz
  • Upload date:
  • Size: 78.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.8 CPython/3.9.10 Linux/5.4.0-96-generic

File hashes

Hashes for idp-engine-0.9.1.tar.gz
Algorithm Hash digest
SHA256 90929315316da5e4d56d068d35061e8c2d459719d9bcc237bd59d98535426375
MD5 0759ce904fe89f3034883adf343be839
BLAKE2b-256 c256e7d7614d1395ba78fb3034c48f3858070597cddf1ee68e55ab5f2af0ca3e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: idp_engine-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 88.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.8 CPython/3.9.10 Linux/5.4.0-96-generic

File hashes

Hashes for idp_engine-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b285aa70b7a5034422f32114aaa5d84d5f8a850869c0403637ac00e8d0d5b8f5
MD5 c58f82f01f820faddb8e800002bd0035
BLAKE2b-256 ca2da99319abee0931e3997f715bfbc1ba7aae1dda8faf5da697f60a997b87dc

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