Command line interface for importing RDF files to Blazegraph from the client file system or a list of URLs. This is built on top of Blazegraphs REST API if you have access to its batch import tools use that instead.
- GIT
- Python 3.6
- pipenv
git clone https://github.com/riksantikvarieambetet/Blazegraph-import-CLI.git
cd Blazegraph-import-CLI
pipenv install
Heads up: This program might use all the systems available CPUs.
Import from a directory containing RDF files
pipenv run python import.py --endpoint=http://172.17.0.1:9999/blazegraph/ --namespace=kb --rdfs=/path/to/dir
Import from a list of URLs
The target file should have its URLs separated by line breaks.
pipenv run python import.py --endpoint=http://172.17.0.1:9999/blazegraph/ --namespace=kb --urls=/path/to/file.txt
Help
pipenv run python import.py --help