Closed dwinston closed 2 years ago
@xeniacs thank you for pointing me to SPARQL Anything. Could be useful.
was addressed during the call.
https://github.com/chrdebru/r2rml (mentioned by @rdfguy in #14) claims to implement "R2RML-F",
allowing one to declare and use functions in ECMAScript as (Function Valued) TermMaps in the mapping. R2RML-F extends R2RML's vocabulary with predicates for declaring functions, function calls and parameter bindings.
paper ("R2RML-F: Towards Sharing and Executing Domain Logic in R2RML Mappings"): https://chrdebru.github.io/papers/2016-ldow-preprint.pdf.
This is the kind of prior art I was looking for!
I realize that R2RML is a standard for mapping from a relational database to triples via SQL queries.
I realize also that RML is an unofficial extension of R2RML to support sourcing other than through SQL queries (e.g. JSONPath for sourcing from JSON files).
Are there existing tools to help source from "arbitary" sources via code? A concrete use case that interests me: pointing to a reference to a Python function that, when called, will produce rows of output indistinguishable to what an equivalent SQL query would produce, but of course what is run is Python code and not SQL.