Extension:Semantic Need

What can this extension do?
Semantic Need takes care of semantic inline queries in your Semantic MediaWiki installation. It provides a semantic query log and highlights required semantic annotations on Wiki pages, based on structured semantic queries.

I.e. if there are three inline queries for, Semantic Need will highlight that   is a requested property on all pages of type   that do not have this property annotated yet. This materializes in the following user interface elements:
 * Semantic Need offers a Wiki-wide log of all on Special:SNEAskLog
 * Semantic Need also adds a link to Special:SNESemanticMatches to each Wiki page, which shows all inline queries related to that page (comparable to Special:WhatLinksHere)

Finally, based on the query log, Semantic Need is able to trigger a refresh of query result lists, once annotations in the Wiki change. This was a frequently requested feature for SMW.

Usage

 * Install Semantic Need (see below)
 * If you want to crawl existing ask-queries in the Wiki, you can do so on Special:SNEAdmin (otherwise, only queries create/update/deleted after installation will be tracked)
 * You can now use Semantic Need features such as Special:SNEAskLog or Special:SNESemanticMatches

CAUTION: Semantic Need is still very experimental - use at your own risk! Please report problems, questions and feedback on the discussion page!

A demo system is running at http://amazonas.fzi.de/semanticneed/

Download instructions
There is not yet an official download bundle currently. If you are interested in testing Semantic Need, download the source code (see below) or contact us directly.

Installation

 * Copy the extension files to the folder
 * Add the following snippet to your LocalSettings.php:


 * Patch SMW's SMW_QueryProcessor.php by adding ~at line 303:


 * Create Semantic Need database tables using Special:SNEAdmin
 * Crawl existing ask-queries in the Wiki using Special:SNEAdmin (optional)

Code
Source code is available at  (User/Pass "anonymous").

Acknowledgements
Development of Semantic Need is partially funded by the Landesstiftung BW in the context of project GlobaliSE.

We thank those external developers and all contributors to the MediaWiki core and to Semantic MediaWiki and its related extensions.