4s-import(1) Import RDF into a 4store KB


kbname [-v ] [-a ] [-M default-model ] [-m model ] [-f format ] [rdf-file] ...

-v, --verbose
Increase verbosity (by default success is silent)
-a, --add
Ordinarily importing RDF to a model replaces any previous contents of that model, by using the --add flag this behaviour is overridden and any triples which were previously in the model are retained.
-M, --model-default
Set a model (graph) URI which is used by default for all imported files
-m, --model
Set a model (graph) URI for the next named file only (overrides -M if it has been used)
-f, --format
Tell the RDF parser the format of the files (if not specified the parser will guess)


$ demo one.ttl two.xrdf

Imports two files into the demo KB, each as a separate model (graph) guessing the RDF format used for each file

$ demo -M http://example.com/menu starters.ttl mains.ttl sweets.ttl

Imports three files into a single graph named <http://example.com/menu>