Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 1006 Bytes

README.md

File metadata and controls

41 lines (27 loc) · 1006 Bytes

Blazegraph import CLI

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.

Prerequirements

Installing

git clone https://github.com/riksantikvarieambetet/Blazegraph-import-CLI.git
cd Blazegraph-import-CLI
pipenv install

Usage Examples

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