Chase and Provenance
Prometheux natively supports full explanations of logical processes for output generation in reasoning tasks via the materialization of the chase graph during its parallel and distributed evaluation. The chase graph mode is activated using the@chase annotation and is materialized into data sources such as CSV files or Neo4j databases.
Configuring the Chase Graph
Materializing to CSV
The chase graph is stored as a CSV dataset with columns:Fact, ProvenanceLeft, ProvenanceRight, Rule.
disk/data/chase.csv:
Handling Aggregations
For programs with aggregations, intermediate chase nodes are introduced (prefixed withaggregated_explainability_):
Materializing for Neo4j Bulk Import
SetforNeo4jBulkImport=true to structure data for Neo4jās bulk import tool:
Materializing to Neo4j (via Connector)
The chase graph is stored as a graph where each derivation creates aDERIVED_BY edge between CHASE_NODE nodes:
vada.properties:

