Difference between revisions of "OWL Wiki Forms v0.2 installation"
Jump to navigation
Jump to search
(### performs RDFS and OWL reasoning →Install instructions) |
(Fuseki quickstart instructions) |
||
(4 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] | ||
− | ## | + | # 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
- Download and install the prerequisites:
- 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 Jena/Fuseki
- The 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:
require_once("$IP/extensions/OWLwikiForms/OWLwikiForms.php" );
$wgRawHtml = true;
$owfgSparqlQueryEndpoint = 'http://localhost:3030/OWF/sparql';
$owfgSparqlUpdateEndpoint = 'http://localhost:3030/OWF/update';
- 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
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:
export FUSEKI_HOME=.;
./fuseki-server --config=config-OWF.ttl &
- 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