Wiki

Clone wiki

lmf / Shell-Client-Library

LMF Shell Client Library

The LMF Shell [[Client Library|Client Library]] provides a command-line friendly tool for accessing LMF.

Download

For the moment it is still under development, so you would need to get it from the code repository.

Usage

Currently only import operations are supported, since could be the most one required for batch processes.

Import

It could be used from the command line to import your data into LMF:

$ ./lmf-client-import.sh host path [context] 

where "host" is where LMF is running, "path"the pat to your RDF file(s), and "context" the (optional) named graph where you would like to import your data.

Such client allows you to import data both individual files:

$ ./lmf-client-import.sh http://your.host.name:8080/LMF data.rdf 

or directories with several files (and formats):

$ ./lmf-client-import.sh http://your.host.name:8080/LMF /path/to/data 

Updated