Thanks! This looks super interesting - I was thinking and searching along the lines of "data science", but I completely missed all the work around relational data querying, even though that is exactly what I was looking for. This is a super interesting paper and the references in the literature are fantastic too.
The other interesting thing I cam across in the meantime is Wrex (
https://dl.acm.org/doi/10.1145/3313831.3376442) - which is "by example" (not so much "by demonstration") but it has a really nice ability to then turn your interactively created transformations into a code cell in a notebook.