BSBM Shim for Graffiti RDF Store
--------------------------------

Prerequisites: bsbmtools, Java (+ jdom), Ruby (+ graffiti, syncache,
dbi, pg), PostgreSQL, 30GB of free disk space (for the 100M dataset).

1. Unpack graffiti-bsbm.tar.gz into bsbmtools directory:

  cd bsbmtools; tar -zxf graffiti-bsbm.tar.gz

2. Configure PostgreSQL to allow access from yourself and the test user
'bsbm' to test database 'bsbm', give your own user database and role
creation priviledges, update database access credentials in
graffiti-bsbm/bsbm.yaml.

3. Generate SQL data (check BSBM Spec for -pc values, 14208 below
corresponds to the dataset with 5M triples):

  java -Xmx1280m -cp bin:lib/ssj.jar benchmark.generator.Generator -pc 14208 -s sql

4. Generate the database from SQL data:

  sh graffiti-bsbm/generate.sh

5. Run the test until the performance stops growing ("ramp-up"), then
run 3 more times and take the average result:

  ruby graffiti-bsbm/drive.rb

6. Repeat steps 3-5 for each dataset size.

