Skip to content

Bash script to generate N files of M universities each in the desired serialization format

License

Notifications You must be signed in to change notification settings

jm-gimenez-garcia/lubm-batch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

LUBM BATCH GENERATOR

Script to create files with the a number of universities in the desired format. Version 1.0, 2018/02/26

It uses LUBM to generate the data, Raptor rapper to transform to the desired format, and optionaly gzip, bzip2, or lzop to compress the output.

Usage ./lubm.sh [OPTION]

  -c, --compress  compress the output in the desired format (gzip|bzip|lzop)
  -f, --format    output format (see rapper options, default 'ntriples')
  -h, --help      shows this help and exits
  -i, --index     starting index (see LUBM options, default '1')
  -l, --lubm      path to lubm folder (default '$HOME/lubm')
  -n, --number    number of files to generate (default '1')
  -o, --onto      namespace of the ontology (see LUBM options, default 'https://wdaqua.eu/lubm')
  -O, --output    output folder
  -p, --parallel  run rapper in parallel
  -t, --temp      temp folder to store files generated by LUBM (default '/tmp')
  -u, --univ      number of universities per file (see LUBM options, default '1')
  -v, --verbose   Verbose output (includes output from LUBM and raptor rapper)

Example:

./lubm.sh -u 1000 -n 8 -t . generates 8 files with 1000 universities each, starting by University 1 in n-triples format, using current folder for temporary files (1st file contains universities 1-1000, 2nd file universities 1001-2000, and so on).

About

Bash script to generate N files of M universities each in the desired serialization format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages