In this BSc thesis, a SQL-to-SQL compiler is to be implemented. In recent research, we employed a two-step query rewrite strategy in order to compute Where- and Why-provenance for SQL.
Using the approach from above, we want to implement a different provenance semantics, i.e. How-provenance. Related work by O'Grady et al. employed a query compilation approach to How-provenance. Originally, Green et al. introduced the notion of How-provenance in context of relational algebra and semirings.
The implementation language is Haskell. An existing SQL parser and AST definition are utilized.