Processing code and examples for a Code4Lib 2016 presentation, "Build Your Own Identity Hub".
The process directory contains:
get_wikidata_issns.py
- retrieves all ISSNs from Wikidata and builds a local index of issn -> wikidata id.match_to_wd.py
- matches the local data indata/journals.csv
to Wikidata.to_rdf.py
- converts the matched data indata/journals_matched.csv
to a basic RDF model.
Running the LDF Server requires nodejs and npm. To run first install the dependencies:
$ cd ldf
$ npm install
To start the server run:
$ node_modules/ldf-server/bin/ldf-server config.json 5000
View the config.json
file to see how the LDF server reads your triple file.
A Procfile
is included that will allow you to run the server on Heroku.
Please see more information about Linked Data Fragments and the software at: http://linkeddatafragments.org/.