SemanticMediaWiki installation : SPARQL integration, OpenId
MediaWiki  is a popular wiki system written in PHP. SemanticMediaWiki  is an extension to this that allows collaborate database backed site with RDF and Sparql capability. Semantic Bundle  extends this by adding some more extensions including semantic forms, drilldown, parallel queries, extra types and fields, result formats, and an interesting one “Halo”  (from Project Halo) – this brings some fairly sophisticated query, form and visualisation capability.
The reason I’m looking into this is because its quite similar to Drupal7 – php, RDFa, sparql are all part of the deal and both promise to get you up and running pretty quickly with a semantic website, data mashups and syndication. But the crucial difference is that SemanticMediaWiki by nature is a collaborative thing where the structure and admin are shared among users, whereas Drupal7 has a central admin model where governance and a-priori typing are the order of the day (see  for early Drupal consideration in comparison to the likes of SemanticMediaWiki).
OpenID, despite its faults, allows single sign on – you can use your Google ID (and others) to sign into sites without having to create yet another username and password and divulge personal details yet again. Its useful even if it needs to change, so I thought I’d see how easy it is to set up for PHP. Sucker for punishment.
So here is the outline
- install mysql
- install phpMyAdmin if you like
- setup a database for mediawiki
- create a user with all privileges for the wiki, grant privileges, initialise database
- install mediawiki
- initialise the wiki database
- install SemanticMediaWiki
- install php5_gmp, php_curl
- install openID – install php_openid, use pear.
- sudo pear install MDB2mysql
- sudo pear install OpenID
- add Semantic Bundle extensions.
- check out wibit*/exhibit  to visualise and create forms for RDF data
An alternative might be to install Halo, but I found that trying to use the latest version and the latest SemanticBundle was troublesome, and install documentation and packages seem not to match with documentation. Probably best to install on its own, and by the looks of it, its a good package.
*Now part of the SemanticResultFormats so that you can use the Exhibit result printer. You can use it with JSON/JSONP feeds from you local wiki, or from other SemanticMediaWiki instances if you get the other instance to create the necessary URL to plug into it. (You’ll need a CORS filter or some such on the remote side if you want to use remote JSON).