Message-ID: <3D06389C.8070302@cs.umass.edu> Date: Tue, 11 Jun 2002 13:51:24 -0400 From: Louis Theran Subject: Running Wilbur in ACL At the moment, the easiest way to run Wilbur in Allegro is to use more current code than what's in the pre-alpha. You'll need an account on sourceforge to get CVS access if you don't have one. Other than that, the directions are pretty straightforward---if they aren't send mail, and I'll try to help out. 1. Get the code from CVS Assuming that you are using UNIX or a command line Windows CVS client, something along the lines of the following will get the right files. $ CVS_RSH=ssh $ CVSROOT=:ext:@cvs.wilbur-rdf.sourceforge.net:/cvsroot/wilbur-rdf $ export CVS_RSH CVSROOT $ cvs co core $ cd core $ cvs up -r LST-2002-06-11-SNAP 2. Compile and load the system In Lisp now, open up the file core/source/wilbur.system and set up a logical host named "wilbur" using translations similar to the ones shown in the comment at the top of the file. Then load wilbur.system (C-c C-b works fine). Since the Allegro defsystem is already loaded in the default image, just use (excl:compile-system :wilbur) to build it. This process looks something like the following. CL-USER(1): (setf (logical-pathname-translations "wilbur") '(("core;*.lisp" "wilbur:base;source;*.*") ("core;*.system" "wilbur:base;source;*.*") ("core;*.fasl" "wilbur:bin;*.*") ("core;*.*" "wilbur:base;*.*") ("schemata;*.*" "wilbur:base;schemata;*.*") ("base;**;*.*" "~/wilbur/core/**/*.*") ("bin;**;*.*" "~/wilbur/binaries/**/*.*"))) ;; [ ... ] ;; [ ... Load wilbur.system ... ] CL-USER(2): (compile-system :wilbur) ; Compiling system: "Wilbur RDF processor and frame system". ;; [ ... Should compile with no warnings ... ] 3. Try it out Switch to the package :wilbur-user, create a database and load an RDF file from the web as follows: CL-USER(3): :pack wilbur-user WILBUR-USER(4): (setf *db* (make-instance 'db)) # WILBUR-USER(5): (load-db "http://slashdot.org/slashdot.rdf") ; Fast loading from bundle code/acldns.fasl. # !"http://slashdot.org/slashdot.rdf" NIL WILBUR-USER(6): *db* # If you've gotten this far, then Wilbur is up and running. The documentation in the distribution has more information on using Wilbur and the Ivanhoe frame API for RDF. Hope this is helpful. I will try to put together another release in the near future, but it will have pretty much what you get from the LST-2002-06-11-SNAP tag. ^L