Extension:Semantic Need

What can this extension do?
Semantic Need gives you the opportunity to automatically analyze inline queries, subqueries and property chains and concepts and give you information about missing annotations in your wiki. This is accomplished by analyzing existing queries and the information they request from wikipages.

Tools that SemanticNeed provides:
 * Semantic Need offers a list of all queries logged on Special:SNEAskLog (you have the option to scan your wiki for preexisting queries and add them to the database)
 * You can also look at a single query and see its constraints or printouts on Special:SNESemanticQueryInfo/QueryHashValue or Special:SNESemanticQueryInfo/QueryAlias
 * Another option is to open the special page Special:SNESemanticMatches/Wikipage and receive information about:
 * queries which have this page as part of their result set
 * queries that do not have this page as part of their result set due to lacking annotations
 * missing properties on this page (properties which if set would make this page appear in more queries)
 * missing categories on this page (categories which if set would make this page appear in more queries)
 * properties wanted on this page (unset properties that are requested by a query s printouts somewhere in the wiki)
 * 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)
 * A Box similar to the Toolbox that has a list of all missing properties, categories and wanted properties under every Wikipage. If there aren't any then the box isn't displayed. Through the box interface you can complete the lacking information without having to edit the page.

One of the best features of SemanticNeed is a functionality highly sought by wikipedia users. Upon change in annotations on the wikipage Semantic Need is able to trigger a refresh of query result lists thus updating them with the actual information in real time.

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.