This repo presents the ONS' Standard Occupational Classification (SOC) extension project as an RDF skos:ConceptScheme using CSV on the Web (CSVW). The repo is intended to be an example of how reference data can be successfully represented using CSVW and its ability to enable coining of HTTP URIs, from .csv files, for use on the Semantic Web.
pipeline.Ris an R script which reads in the excel file featured on the ONS website and transforms it into a tidy.csvfile.soc-2020-extended-framework.csvis the result of the pipeline.soc-2020-extended-framework.csv-metadata.jsonis a CSV on the Web metadata file describing the contents of the.csv.output.ttlcontains the RDF representation following transformation from CSV on the Web using Swirrl'scsv2rdflibrary.
The RDF output can be recreated using the included Dockerfile by running the following from the project's root:
docker build ./docker --tag csv2rdf:0.4.4
docker run --rm -v $PWD:/workspace -w /workspace -it csv2rdf:0.4.4 \
/usr/local/bin/csv2rdf -u soc-2020-extended-framework.csv-metadata.json -m annotated -o output.ttl