TY - GEN
T1 - Declarative datalog debugging for mere mortals
AU - Köhler, Sven
AU - Ludäscher, Bertram
AU - Smaragdakis, Yannis
PY - 2012
Y1 - 2012
N2 - 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.
AB - 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.
UR - http://www.scopus.com/inward/record.url?scp=84867127994&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=84867127994&partnerID=8YFLogxK
U2 - 10.1007/978-3-642-32925-8_12
DO - 10.1007/978-3-642-32925-8_12
M3 - Conference contribution
AN - SCOPUS:84867127994
SN - 9783642329241
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 111
EP - 122
BT - Datalog in Academia and Industry - Second International Workshop, Datalog 2.0, Proceedings
T2 - 2nd International Workshop on Datalog in Academia and Industry, Datalog 2.0
Y2 - 11 September 2012 through 13 September 2012
ER -