Extension:SMWAskAPI

What can this extension do?
Extends the mediawiki API with support for semantic queries #ask: allow one to execute SMW ask query via API.

Usage
After installing it, you can execute a semantic #ask query through the api.

This example:

will look for all pages with a property  set to , and display them along with their   and   values.

Dependencies
This extension depends on Semantic MediaWiki to work.

Both 1.6 and 1.5 versions of Semantic MediaWiki are supported - see below the download section to know where to pick the corresponding archives.

Download instructions
Project is located on sourceforge.net at https://sourceforge.net/projects/smwaskapi/. Use the following link to download the latest version. You can also use this link if you want the version of this extension compatible with SMW 1.5

Extract the zip file and move the SMWAskAPI folder into. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation
After placing the sources into, add following lines into LocalSettings.php:

Configuration parameters

 * $wgSMWAskAPI_ActionName: (optional) define the api action name used to execute the ask query. Default is 'ask'

Report a bug / request a feature
Use this link: http://sourceforge.net/apps/trac/smwaskapi/newticket to create a new ticket about a bug or a feature request. You do not need to have a sourceforge account to create a ticket (although it does not hurt)