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.10.11.tar.gz (85.0 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.10.11-py3-none-any.whl (97.4 kB view details)

Uploaded Python 3

File details

Details for the file idp_engine-0.10.11.tar.gz.

File metadata

  • Download URL: idp_engine-0.10.11.tar.gz
  • Upload date:
  • Size: 85.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.7.7 Linux/5.15.0-78-generic

File hashes

Hashes for idp_engine-0.10.11.tar.gz
Algorithm Hash digest
SHA256 3ee3e82acd1658b5f47afc1fbaee8ffcce4546d625c55719eccccd29959f1bb9
MD5 18dc703c34bd0a947bd892056d4f8697
BLAKE2b-256 feb15d103e47ea76b8e6b5d9bee0131191cc2a2620e26bff16717b1dbbbc4a5e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: idp_engine-0.10.11-py3-none-any.whl
  • Upload date:
  • Size: 97.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.7.7 Linux/5.15.0-78-generic

File hashes

Hashes for idp_engine-0.10.11-py3-none-any.whl
Algorithm Hash digest
SHA256 54f9220262fd698b944188fc512c7c3877e9635aaa6e06241b6797d77cf2c380
MD5 9e4246ff7371371f83b5cbeeea70205a
BLAKE2b-256 325994601354a4c4cf7bc3f452729d21e1577be5082c34828882a385b02f5918

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