Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

specify metadata file by command line option #145

Open
rlzijdeman opened this issue Jun 24, 2022 · 1 comment
Open

specify metadata file by command line option #145

rlzijdeman opened this issue Jun 24, 2022 · 1 comment

Comments

@rlzijdeman
Copy link
Member

Original issue posted via cattle repo by @bblfish. See: CLARIAH/cattle#29
I would like to specify the metadata file via the command line so that I can use the same metadata file for different csv files that implement the same schema. Using Swirrl/csv2rdf I can do something like this

$ csv2rdf -t 20220204.csv -u 20220204.csv-metadata.json -m minimal > out.ttl

@bblfish
Copy link

bblfish commented Jun 25, 2022

Thanks for moving the issue. I had not noticed I was on the wrong repository.

A better example from the one I gave above would be one where the csv and the metadata don't fit the naming conventations and are located in different directories.

$ csv2rdf -t ../data/20220204.csv -u 20220204.csv-meta.json -m minimal > out.ttl

This is using the https://github.com/Swirrl/csv2rdf implementation which I found very nice, but a bit limiting in that it does not have conditional features, which I was starting to find a need for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants