Skip to content

Command line interface for importing RDF files to Blazegraph from the client file system or a list of URL's.

License

Notifications You must be signed in to change notification settings

riksantikvarieambetet/Blazegraph-import-CLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Command line interface for importing RDF files to Blazegraph from the client file system or a list of URL's.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages