Back to Search Start Over

Declarative Datalog Debugging for Mere Mortals

Authors :
Bertram Ludäscher
Sven Köhler
Yannis Smaragdakis
Source :
Lecture Notes in Computer Science ISBN: 9783642329241, Datalog
Publication Year :
2012
Publisher :
Springer Berlin Heidelberg, 2012.

Abstract

Tracing why a "faulty" fact A is in the model M=P(I) of program P on input I quickly gets tedious, even for small examples. We propose a simple method for debugging and "logically profiling" P by generating a provenance-enriched rewriting P, which records rule firings according to the logical semantics. The resulting provenance graph can be easily queried and analyzed using a set of predefined and ad-hoc queries. We have prototypically implemented our approach for two different Datalog engines (DLV and LogicBlox), demonstrating the simplicity, effectiveness, and system-independent nature of our method.

Details

ISBN :
978-3-642-32924-1
ISBNs :
9783642329241
Database :
OpenAIRE
Journal :
Lecture Notes in Computer Science ISBN: 9783642329241, Datalog
Accession number :
edsair.doi...........b483e7866b79ef95579caca1ce8f4312
Full Text :
https://doi.org/10.1007/978-3-642-32925-8_12