Running the LUBM 50 benchmark in Lisp.

Building the triple-store

  1. Download the files do-lubm.cl and lubm.tar.gz.

  2. extract the lubm.tar.gz files into your temp directory (or any other place that you want)

  3. Start up your Lisp and type the following code into the listener.

    1. (require :agraph) ; this will load agraph.

    2. :cl do-lubm.cl ; this will load the setup code for lubm.

    3. Now modify the following form to match your setup and evaluate it:

      (load-lubm-50 
       :output-directory \"/tmp/lubm-50/\"
       :source-directory \"/tmp/lubm-50/\"
       :ntriple-file-type \"ntriples\"
       :lubm-uri \"http://www.lehigh.edu/%7Ezhp2/2004/0401/univ-bench.owl#\"
       :recreate? t)
      

Querying the triple-store

To run the queries yourself, open the file ‘do-lubm.cl’ in your editor and search for “LUBM Queries”. Each query (1 through 14) appears in order in the file. The file also contains several example SPARQL queries. You can find these by searching for “SPARQL Queries”.