Difference between revisions of "Fresnel Forms SMW extension"
Jump to navigation
Jump to search
m (moved Fresnel Forms SMW extension installation to Fresnel Forms SMW extension: broader) |
(headers top level) |
||
Line 1: | Line 1: | ||
This is a '''''work in progress'''''. | This is a '''''work in progress'''''. | ||
− | + | = Install instructions = | |
# Download and install the prerequisites: | # Download and install the prerequisites: | ||
Line 21: | Line 21: | ||
# Go to the page "Special:FresnelForms" on your wiki and try it out | # Go to the page "Special:FresnelForms" on your wiki and try it out | ||
− | + | = Fuseki quickstart instructions = | |
# Full instructions are at http://jena.apache.org/documentation/serving_data/index.html | # Full instructions are at http://jena.apache.org/documentation/serving_data/index.html |
Revision as of 16:35, 28 December 2017
This is a work in progress.
Install instructions
- Download and install the prerequisites:
- git from https://github.com/LloydRutledge/FresnelForms/ the directory FresnelForms into the 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/FresnelForms/FresnelForms.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:FresnelForms" 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