Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > db4738b84a6fa4f9e3d8c85c29c9268a > files > 5

powl-0.93-2mdv2008.1.noarch.rpm

POWL - web-based RDFS/OWL Publisher/Browser/Editor/Modeler
http://powl.sourceforge.net


INSTALLATION INSTRUCTIONS

Copy the contents of this POWL distribution to a web accessible directory
(directory at your webspace or below your DocumentRoot) further refered as
installation directory.

Create a database and a database user privileged to fully access this database.

Copy "config.inc.php-dist" to "config.inc.php" and adjust the database
connection parameters according to these values.

Due to a restriction of PHP4 (to define optional parameters to be passed by
reference) the PHP ini directive allow_call_time_pass_reference has to be
set to true. This is done by the included ".htaccess" file, which will be
read by the webserver if "AllowOverride all" is set in the Apache
configuration. Otherwise allow_call_time_pass_reference has to be enabled
manually in "php.ini".

Point your webbrowser to the installation directory.

Login as administrator using the database "username" and "password" (as
configured in "config.inc.php") and follow the instructions thereafter.


CREATING DB TABLES MANUALLY

pOWL tries to automatically create the database tables as needed.
If something goes wrong you may create them manually using the
following SQL-Dump:

CREATE TABLE `models` (
  `modelID` bigint(20) NOT NULL default '0',
  `modelURI` varchar(255) NOT NULL default '',
  `baseURI` varchar(255) default '',
  PRIMARY KEY  (`modelID`),
  UNIQUE KEY `m_modURI_idx` (`modelURI`)
);
CREATE TABLE `namespaces` (
  `modelID` bigint(20) NOT NULL default '0',
  `namespace` varchar(255) NOT NULL default '',
  `prefix` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`modelID`,`namespace`),
  KEY `n_mod_idx` (`modelID`)
);
CREATE TABLE `statements` (
  `modelID` bigint(20) NOT NULL default '0',
  `subject` varchar(255) NOT NULL default '',
  `predicate` varchar(255) NOT NULL default '',
  `object` text,
  `l_language` varchar(255) default '',
  `l_datatype` varchar(255) default '',
  `subject_is` char(1) NOT NULL default '',
  `object_is` char(1) NOT NULL default '',
  `id` int(10) unsigned NOT NULL auto_increment,
  PRIMARY KEY `s_id_idx` (`id`),
  KEY `s_mod_idx` (`modelID`),
  KEY `s_sub_pred_idx` (`subject`(200)),
  KEY `s_pred_idx` (`predicate`(200)),
  KEY `s_obj_idx` (`object`(250))
);


ENABLING NETAPI

The included RAP NetAPI server interface enables model publishing by
using the HTTP protocol on the net.
Please have a look at "doc/howto.php" for step-by-step instructions on
enabling the NetAPI server.


INSTALLATION FROM CVS

Complete the steps as above - instead of using the POWL distribution checkout POWL from CVS:

cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/powl login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/powl co powl

Further some third party modules have to be installed (and patched according to the TODO file):

To install the files on unix, you can run the script installRequirements.sh in the pOWL dir.

RDFAPI
Extract the RAP (http://www.wiwiss.fu-berlin.de/suhl/bizer/rdfapi/) distribution into the pOWL installation directory.
Update adodb in api/util/adodb to a recent version from http://adodb.sourceforge.net/.

JS-Calendar
Unpack the JS-Calendar distribution from http://dynarch.com/mishoo/calendar.epl
into the directory "plugins/widgets/date/jscalendar".
plugins/widgets/date/jscalendar/calendar.php will be included, so maybe you have to rename
the JS-Calendar distribution directory from jscalendar-1.x.x to jscalendar

FCKEDITOR
Unpack the FCKEditor distribution from http://www.fckeditor.net/ into the directory "plugins/widgets/htmledit".