Extension talk:Semantic Result Formats/process format

=Collaborative Process Development using Semantic MediaWiki=

This is an attempt to document the steps involved in implementing the Collaborative Process Development using Semantic MediaWiki as described in the following paper:

Status
I am still in the procees of trying to make this work... stay tuned.

1. Install Mediawiki
Installed fresh copy of Mediawiki v1.16.0 per: http://download.wikimedia.org/mediawiki/1.16/mediawiki-1.16.0.tar.gz

2. Install Semantic Bundle
Installed a fresh copy of SMW bundle (2010 12 02) per: https://code.google.com/p/semantic-mediawiki-bundle/downloads/detail?name=SemanticBundle-20101202.7z&can=2

Note: I enabled everything except for the Validator, Maps and Semantic Maps extensions

3. Install Graphviz
Installed the latest Graphviz (v2.26.3) per: http://www.graphviz.org/pub/graphviz/stable/windows/graphviz-2.26.3.msi installed to: C:\www\Graphviz2.26.3\ location of dot.exe: C:\www\Graphviz2.26.3\bin\dot.exe tested with the following command line: C:\www\Graphviz2.26.3\bin\dot.exe -Tpng graph1.dot -o graph1.png where graph1.dot is a text file containing: digraph G { A -> B } resulting in a nice little PNG file to look at names graph1.png

4. Install GraphViz Extention
Installed the Improved GraphViz Extention to mediawiki per: http://www.mediawiki.org/wiki/Extension:GraphVizAndMSCGen added the following to LocalSettings.php: require_once("extensions/GraphViz.php"); $wgGraphVizSettings->execPath = "c:\\www\\Graphviz2.26.3\\bin\\"; tested it with the following wiki text in the main page: digraph mytest1 {  A -> B } resulting in an image rendered in the wiki page which is identical to the command line text.
 * 1) GraphViz & MSCGen
 * 2) From: http://www.mediawiki.org/wiki/Extension:GraphVizAndMSCGen
 * 1) From: http://www.mediawiki.org/wiki/Extension:GraphVizAndMSCGen

5. Modify LocalSettings.php
Enabled Process format in LocalSettings.php by adding: $srfgFormats[] = 'process'; to LocalSettings.php per: http://www.mediawiki.org/wiki/Extension:Semantic_Result_Formats/process_format see: include_once("$IP/extensions/SemanticResultFormats/SemanticResultFormats.php"); $srfgFormats[] = 'process';
 * 1) Semantic Result Formats
 * 2) More info: http://semantic-mediawiki.org/wiki/Help:Semantic_Result_Formats#Installation
 * 1) More info: http://semantic-mediawiki.org/wiki/Help:Semantic_Result_Formats#Installation

6. Tested Mediawiki, SMW, GraphViz, and all SMW bundle extensions
GraphViz Command Line test. (Screenshot 00 - version page, and Screenshot 01 - Main Page)

7. Created Template, Form and Property pages
cloned all the pages from the process demo site at:

Properties: http://km.aifb.kit.edu/projects/process/index.php?title=Special%3AAllPages&from=&namespace=102

Forms: http://km.aifb.kit.edu/projects/process/index.php?title=Special%3AAllPages&from=&namespace=106

Templates: http://km.aifb.kit.edu/projects/process/index.php?title=Special%3AAllPages&from=&namespace=10

8. Partial Success but no joy!
At this point, I can add news processes using:

but.... I am not able to add process steps to the process...

attempting to do so result in a page that never resolves with the nifty circle spinny wait graphic... bah!

if anyone can figure out whats missing in this procedure to make it work... PLEASE let me know! (by posting the solution here)

thanks! -Rich (revansx)