Abstract
Knowledge base systems (KBS) store declarative knowledge, on which they can execute different inference tasks, such as “propagation”, which is the derivation of consequences of some given information with respect to the knowledge base. When building larger applications that make use of such a KBS, specific inference tasks are typically invoked through an imperative API. For instance, both the Clasp system for Answer Set Solving and the IDP-Z3 reasoning engine for the FO(·) language offer a Python API for this. However, when the application should be deployed, e.g., in the cloud or on embedded hardware, it is not always convenient or even possible to include the entire KBS as a separate component. For this reason, we investigate the compilation of a knowledge base into a Python program that can perform propagation inference without needing access to an external solver. We investigate this approach for the FO(·) language, presenting and comparing two compilation methods. Experimental results on these two methods demonstrate that high-level propagators achieve better performance than grounded propagators.
| Original language | English |
|---|---|
| Title of host publication | Practical Aspects of Declarative Languages |
| Subtitle of host publication | 28th International Symposium, PADL 2026, Rennes, France, January 12–13, 2026, Proceedings |
| Editors | Nada Amin, Joaquín Arias |
| Publisher | Springer |
| Pages | 115-132 |
| Number of pages | 18 |
| ISBN (Electronic) | 9783032159816 |
| ISBN (Print) | 9783032159809 |
| DOIs | |
| Publication status | Published - 2026 |
Publication series
| Name | Lecture Notes in Computer Science |
|---|---|
| Volume | 16401 LNCS |
| ISSN (Print) | 0302-9743 |
| ISSN (Electronic) | 1611-3349 |
Bibliographical note
Publisher Copyright:© The Author(s), under exclusive license to Springer Nature Switzerland AG 2026.
Fingerprint
Dive into the research topics of 'An Efficient Compiler for the IDP-Z3 Knowledge Base System'. Together they form a unique fingerprint.Datasets
Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver