Add targets for generated *-owl.ttl
1 parent 0967bee commit aa4d7c6c059d4f3b0eaf16f007168f7c404caec4
@Alex Tucker Alex Tucker authored on 5 Jul 2019
Showing 1 changed file
View
6
Makefile
population-british-islands.ttl:
docker run -v $(CURDIR):/workspace -w /workspace cloudfluff/csv2rdf csv2rdf -t population-british-islands.csv -u population-british-islands.csv-metadata.json -m annotated -o population-british-islands-tmp.ttl
riot --formatted=turtle prefixes.ttl population-british-islands-tmp.ttl > population-british-islands.ttl
 
british-isles-owl.ttl:
./owl_classification.py codelists/british-isles.csv http://gss.data.org/def/class/british-isles/ http://www.wikidata.org/entity/ http://purl.org/linked-data/sdmx/2009/dimension#refArea > british-isles-owl.ttl
 
british-islands-owl.ttl:
./owl_classification.py codelists/british-islands.csv http://gss.data.org/def/class/british-islands/ http://www.wikidata.org/entity/ http://purl.org/linked-data/sdmx/2009/dimension#refArea > british-islands-owl.ttl
 
test:
docker run -v $(CURDIR):/workspace -w /workspace cloudfluff/gdp-sparql-tests sparql-test-runner -t /usr/local/tests -r reports/TESTS-population-british-isles.xml population-british-isles.ttl
docker run -v $(CURDIR):/workspace -w /workspace cloudfluff/gdp-sparql-tests sparql-test-runner -t /usr/local/tests -r reports/TESTS-population-british-islands.xml population-british-islands.ttl