When trying to build swi-prolog packages from source, the xpce package complains:
JPL is a bi-directional Java/Prolog interface for SWI-Prolog, which I hope to be able to use for integrating Blipkit into Bioclipse, so I'm happy to have got it up running tonight. Below are some notes from the installation procedure.
NOTE: These are still rather incomplete notes about how to get this to work.
Talking about BLIPKIT, the Thea library - for reading OWL2 ontologies directly from within SWI-Prolog - seems relevant for this project, as a complement to BLIPKIT. It's written (partly) by the author of BLIPKIT.
Some features I noted:
Pellet, the reasoning system already integrated in Bioclipse, is based on so called "Description Logics".
This is how to create a "Hello World" kind of program in SWI-Prolog, as installed on Ubuntu (Jaunty).
PROLOG usage can be divided into two phases, one in which you write the Prolog program, and the other in which you query the program. The first phase is easiest done in a separate file. So create a file, i.e. test.pl, in you home folder, and edit it with a text editor like GEdit or Kate (Kate is much more powerful).
After installation problems with DR-PROLOG, and after looking closer to Blipkit/BioProlog (Biomedical Logic Programming Knowledge Integration Kit), after a suggestion by Claes Andersson, I now aim to integrate it instead of DR-PROLOG.
Trying to get DR-PROLOG up running, following the instructions found here.
I have installed SWI Prolog and XSB Prolog. In order to compile SWI-Prolog, I had to install the following packages in Ubuntu (9.04), as mentioned in the README.debian file:
libxext-dev libice-dev libjpeg62-dev libxinerama-dev libxft-dev libxpm-dev libxt-dev pkg-config
It is now possible to start the DR-PROLOG Java application, but not to start the DR-PROLOG engine (from the DR-PROLOG menu in the Java application) .