Open Robsteranium opened 4 years ago
I was myself just wondering how close your mapping was to the csvw table to rdf mechanism, although you’re using multiple tables…
Related example from Jeremy Tandy:
https://github.com/w3c/csvw/blob/gh-pages/examples/rdf-data-cube-example.md
You can see the journey from csv => csvw in the regional-trade example.
The key part is the value_transformation
s (like sluggising) but we're also outputting structure - as in the component-specification.csv
. We have considered using the JSON-LD metadata for the Cube it's DSD instead of CSV as per the Cambourne weather example. Indeed this is what colleagues at ONS have since chosen to do.
We currently have a meta-templating language for defining URI templates. This allows you to include variables that aren't available within the csv table - like
$(base-uri)
.@RickMoynihan has suggested that we could instead provide variables as virtual columns:
These could then be used in templates like normal variables:
This would obviate the need for a meta-templating language.
This would involve a range of changes including:
template-vars
would becomecsvw-vars