The system runs as a Web server, providing a Web user interface. It is implemented in SWI Prolog. It is released under the GNU General Public License.
The system was originally written in 2002, the underlying planning system in 1999. It has been slightly revised and adapted to recent versions of SWI-Prolog in 2007.
Homepage: http://www.infraengine.com/, Contact: info@cs.christophwernhard.com
Software | Tested versions | For Debian 4.0 “etch” | For Mac OS-X 10.4 with Fink 0.8.1 |
---|---|---|---|
SWI-Prolog | 5.6.43 |
|
Download and install the stable release of
SWI-Prolog/XPCE for MacOS X 10.4 from
http://www.swi-prolog.org
Unfortunately version 5.6.43 seems to require a newer version of libXft.2.dylib than that provided by Apple. With Darwinports it can be installed by $ sudo port install xft2 Version 5.6.40 works out of the box. |
dot | 1.16 and 2.8 | Package graphviz | Fink package graphviz |
Arial and Courier-Bolds fonts for dot | - | Packages gsfonts and msttcorefonts | Fink package msttcorefonts
The $ mkdir ~/my-fonts-for-dot $ cp /sw/lib/X11/fonts/msttf/arial.ttf ~/my-fonts-for-dot/ $ cp /sw/lib/X11/fonts/msttf/courbd.ttf ~/my-fonts-for-dot/courier-bold.ttfand setting DOTFONTPATH e.g. by the following line
in ~/.bash_profile :
export DOTFONTPATH="${HOME}/my-fonts-for-dot" |
wget | GNU Wget 1.10.2 | Package wget | Fink package wget |
htpasswd | unspecified | Package apache2-utils | Comes with OS-X as /usr/bin/htpasswd |
infra
is created.
$ tar xzvf infra.tgz
infra
directory to some place. Write access to the
infra
directory is not required.
By default, the application assumes
infra
is placed directly in your home directory. If another
location is used, set the environment variable INFRADIR
, for
example by a line like the following in ~/.bash_profile
:
export INFRADIR=/usr/local/software/infra
~/.infra
with
configuration files and stores for temporary data with the command
$ infra/bin/install-infra-skel.shThis command creates a password file
~/.infra/passwd
with
an entry for a single user of the Web server interface of the system. The
user name is by default the value of $USER
, but can also be
supplied as optional argument to install-infra-skel.sh
. The
password is prompted by install-infra-skel.sh
.
If ~/.infra
already exists, then
install-infra-skel.sh
aborts without any effect.
Configuration settings are in ~/.infra/config.rdf
. This file
can of course be manually adapted to specific needs.
$ infra/bin/infra-server.shOptionally a port number can be given as argument to
infra-server.sh
. The default port is 2210
.
http://localhost:2210/
~/.infra/passwd
.
This is implemented with the basic
method of the HTTP
authentication of the SWI-Prolog HTTP support library.
[See also: an example.]
[Deficiencies: Classes which are populated with direct instances should be indicated.]
[See also: an example.]
[See also: an example.]
[To be written; for now see this example.]
[To be written. For now see this example.]
[To be written. For now see this example.]
[To be written; for now see this example.]
Create a knowledge base. The knowledge base is identified by an URI
http://www.infraengine.com/user#ID
(or user:ID
if
namespace abbreviations are used), where ID
is the value submitted
to the
Identifier field. The value of Comment is text that is
associated with the knowledgebase with the rdfs:comment
property.
Accessible from Main, Knowledgebases and Knowledgebase pages.
Delete the current knowledgebase.
Accessible from Knowledgebase pages.
http://www.infraengine.com/system#document
property.
In some contexts, Newly Generated can be chosen as knowledgebase. A new knowledgebase is then created that contains just these triples.
Accessible from Knowledgebase pages and from the modified Web pages delivered by Browse the Web.
Browse the Web through a proxy that decorates pages with headers that allow to perform Add Documents on RDF documents linked from them.
Accessible from Main and Knowledgebase pages.
[Deficiencies: A mouse-right menu entry on the link would be better than the header. Current implementation does not work with many web pages.]
http://www.infraengine.com/system#document
property.
Accessible from Knowledgebase pages.
[Deficiencies: Information added for example by the Add Namespace command gets lost. It should be clarified where this extra information is kept.]
Accessible from Namespaces pages.