XSB as an efficient deductive database engine
Konstantinos Sagonas, Terrance Swift, David Scott Warren · ACM SIGMOD Record · 1994
This paper describes the XSB system, and its use as an in-memory deductive database engine. XSB began from a Prolog foundation, and traditional Prolog systems are known to have serious deficiencies when used as database systems. Accordingly, XSB has a fundamental bottom-up extension, introduced through tabling (or memoing)[4], which makes it appropriate as an underlying query engine for deductive database systems. Because it eliminates redundant computation, the tabling extension makes XSB able to compute all modularly stratified datalog programs finitely and with polynomial data complexity. For non-stratified programs, a meta-interpreter with the same properties is provided. In addition XSB significantly extends and improves the indexing capabilities over those of standard Prolog. Finally, its syntactic basis in HiLog [2], lends it flexibility for data modelling. The implementation of XSB derives from the WAM [25], the most common Prolog engine. XSB inherits the WAM's efficiency and can take advantage of extensive compiler technology developed for Prolog. As a result, performance comparisons indicate that XSB is significantly faster than other deductive database systems for a wide range of queries and stratified rule sets. XSB is under continuous development, and version 1.3 is available through anonymous ftp.
Cited by 59 works. doi:10.1145/191843.191927
Authors
References
- Implementation of logical query languages for databases
- The well-founded semantics for general logic programs
- HiLog: A foundation for higher-order logic programming
- The LDL system prototype
- CORAL - Control, Relations and Logic
- Memoing for logic programs
- High-performance logic programming with the Aquarius Prolog compiler
- Well-Founded Semantics Coincides with Three-Valued Stable Semantics1
- Computation of stable models and its integration with logical query processing
- Modular stratification and magic sets for DATALOG programs with negation