Difference between revisions of "OWL Wiki Forms v0.2 installation"

From SW_OWF
Jump to navigation Jump to search
(Fuseki quickstart instructions)
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
## [http://www.mediawiki.org/wiki/Extension:ParserFunctions ParserFunctions]
 
## [http://www.mediawiki.org/wiki/Extension:ParserFunctions ParserFunctions]
 
## [http://www.mediawiki.org/wiki/Extension:Character_Escapes Character Escapes]
 
## [http://www.mediawiki.org/wiki/Extension:Character_Escapes Character Escapes]
## access to a SPARQL endpoint server matching these requirements
 
### supports SPARQL 1.1 that your OWF installation can CLEAR and LOAD to it
 
### performs RDFS and OWL reasoning. Note that 4store does not support the required reasoning.
 
### OWF is developed and tested with [http://jena.apache.org/documentation/serving_data/index.html Jena/Fuseki],
 
# Download and install the ''OWL Wiki Forms extension''
 
 
# Copy the directory from http://is.cs.ou.nl/OWF/files/OWLwikiForms_v0.2.1.zip into your wiki's extensions directory.
 
# Copy the directory from http://is.cs.ou.nl/OWF/files/OWLwikiForms_v0.2.1.zip into your wiki's extensions directory.
 +
# Arrange a SPARQL endpoint server
 +
## OWF is developed and tested with [http://jena.apache.org/documentation/serving_data/index.html Jena/Fuseki]
 +
## The [[#Fuseki quickstart instructions|Fuseki quickstart instructions]] below can get you going with Fuseki (and OWF) fast
 +
## The endpoint must match these requirements
 +
### Supports SPARQL 1.1 that your OWF installation can CLEAR and LOAD to it
 +
### Performs RDFS and OWL reasoning. Note that 4store does not support the required reasoning.
 +
### Note: This SPARQL endpoint does ''not'' have to be the same as the one used by your Semantic MediaWiki, nor does your Semantic MediaWiki need to be using any SPARQL endpoint.
 
# Add to your wiki's LocalSettings.php file the following lines:<br/><code>require_once("$IP/extensions/OWLwikiForms/OWLwikiForms.php" );</code><br/><code>$wgRawHtml = true;</code><br/><code>$owfgSparqlQueryEndpoint  = 'http://localhost:3030/OWF/sparql';</code><br/><code>$owfgSparqlUpdateEndpoint = 'http://localhost:3030/OWF/update';</code>
 
# Add to your wiki's LocalSettings.php file the following lines:<br/><code>require_once("$IP/extensions/OWLwikiForms/OWLwikiForms.php" );</code><br/><code>$wgRawHtml = true;</code><br/><code>$owfgSparqlQueryEndpoint  = 'http://localhost:3030/OWF/sparql';</code><br/><code>$owfgSparqlUpdateEndpoint = 'http://localhost:3030/OWF/update';</code>
 
# Replace the query and update endpoint URIs with those of the endpoint you installed for use by OWF
 
# Replace the query and update endpoint URIs with those of the endpoint you installed for use by OWF
 
# Go to the page "Special:OWLwikiForms" on your wiki and try it out
 
# Go to the page "Special:OWLwikiForms" on your wiki and try it out
 +
 +
== Fuseki quickstart instructions ==
 +
 +
# Full instructions are at http://jena.apache.org/documentation/serving_data/index.html
 +
# Go to the SNAPSHOT directory at https://repository.apache.org/content/repositories/snapshots/org/apache/jena/jena-fuseki/
 +
# Download one of the distribution compressed directory files
 +
# Decompress it to a directory suited for downloaded Java programs
 +
# Copy the file config-OWL.ttl from the OWF directory to the Fuseki directory
 +
# cd to the Fuseki directory
 +
# Enter the commands:<br/><code>export FUSEKI_HOME=.;</code><br/><code>./fuseki-server --config=config-OWF.ttl & </code>
 +
# Fuseki is now running and ready for OWL Wiki Forms
 +
# The variable assignment code above for LocalSettings.php should work as is with the default Fuseki server these quickstart instructions lead to

Latest revision as of 17:26, 30 December 2013

Install instructions

  1. Download and install the prerequisites:
    1. MediaWiki
    2. Semantic MediaWiki
    3. Semantic Forms
    4. ParserFunctions
    5. Character Escapes
  2. Copy the directory from http://is.cs.ou.nl/OWF/files/OWLwikiForms_v0.2.1.zip into your wiki's extensions directory.
  3. Arrange a SPARQL endpoint server
    1. OWF is developed and tested with Jena/Fuseki
    2. The Fuseki quickstart instructions below can get you going with Fuseki (and OWF) fast
    3. The endpoint must match these requirements
      1. Supports SPARQL 1.1 that your OWF installation can CLEAR and LOAD to it
      2. Performs RDFS and OWL reasoning. Note that 4store does not support the required reasoning.
      3. Note: This SPARQL endpoint does not have to be the same as the one used by your Semantic MediaWiki, nor does your Semantic MediaWiki need to be using any SPARQL endpoint.
  4. Add to your wiki's LocalSettings.php file the following lines:
    require_once("$IP/extensions/OWLwikiForms/OWLwikiForms.php" );
    $wgRawHtml = true;
    $owfgSparqlQueryEndpoint = 'http://localhost:3030/OWF/sparql';
    $owfgSparqlUpdateEndpoint = 'http://localhost:3030/OWF/update';
  5. Replace the query and update endpoint URIs with those of the endpoint you installed for use by OWF
  6. Go to the page "Special:OWLwikiForms" on your wiki and try it out

Fuseki quickstart instructions

  1. Full instructions are at http://jena.apache.org/documentation/serving_data/index.html
  2. Go to the SNAPSHOT directory at https://repository.apache.org/content/repositories/snapshots/org/apache/jena/jena-fuseki/
  3. Download one of the distribution compressed directory files
  4. Decompress it to a directory suited for downloaded Java programs
  5. Copy the file config-OWL.ttl from the OWF directory to the Fuseki directory
  6. cd to the Fuseki directory
  7. Enter the commands:
    export FUSEKI_HOME=.;
    ./fuseki-server --config=config-OWF.ttl &
  8. Fuseki is now running and ready for OWL Wiki Forms
  9. The variable assignment code above for LocalSettings.php should work as is with the default Fuseki server these quickstart instructions lead to