Download the files do-lubm.cl and lubm.tar.gz.
extract the lubm.tar.gz files into your temp directory (or any other place that you want)
Start up your Lisp and type the following code into the listener.
(require :agraph) ; this will load agraph.
:cl do-lubm.cl ; this will load the setup code for lubm.
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)
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”.
Emacs: make sure that do-lubm.cl in in one buffer and the common-lisp listener (the common-lisp buffer) is in the other. Evaluate each of the expressions one by one from the file ‘lubm-queries’.
Common Graphics IDE on Windows: Have the listener open on the left, the editor on the right. Position the cursor above the first query and hit alt-enter. This will evaluate each query step by step.