ckanext-csvwmapandtransform
CKAN extension facilitating MapToMethod and RDFConverter to map CSVW data to knowledge graphs and run automatic transforms for matching maps as a background job.
Requirements
Needs running instances of:
- MapToMethod Application
- RDFConverter Application
Environment variables:
CSVWMAPANDTRANSFORM_TOKEN=${CKAN_API_TOKEN}
MAPTOMETHOD_CONTAINER_NAME="ckan_maptomethod"
MAPTOMETHOD_APP_PORT=5002
CKAN_MAPTOMETHOD_URL=http://<CKAN_HOST>:${MAPTOMETHOD_APP_PORT}
RDFCONVERTER_CONTAINER_NAME="ckan_rdfconverter"
RDFCONVERTER_APP_PORT=5003
CKAN_RDFCONVERTER_URL=http://${RDFCONVERTER_CONTAINER_NAME}:${RDFCONVERTER_APP_PORT}
CSVWMAPANDTRANSFORM_SQLALCHEMY_URL=postgresql://<user>:<pass>@<db>/ckandb
Default formats: json, json-ld, turtle, n3, nt, hext, trig, longturtle, xml
Compatibility
| CKAN Version |
Compatible |
| 2.9 and earlier |
not tested |
| 2.10 |
yes |
| 2.11 |
yes |
Installation
- Activate your CKAN virtual environment
pip install ckanext-csvwmapandtransform
- Add
csvwmapandtransform to ckan.plugins
- Restart CKAN
License
AGPL-3.0