Extension:SMW ParserFunctionAsk

Introduction
This extension enables you to pass template parameters to the Semantic MediaWiki &lt;ask&gt; tag. The syntax is only marginally modified. Its based on the SMW_InlineQueryParserFunction made by Jim R. Wilson.

Installation

 * 1) Copy the code from below into a file called SMW_ParserFunctionAsk.php.
 * 2) Drop this script in $IP/extensions/SemanticMediaWiki
 * Note: $IP is your MediaWiki install dir.
 * 1) Enable the extension by adding this line to your LocalSettings.php: require_once('extensions/SemanticMediaWiki/SMW_ParserFunctionAsk.php');
 * Note: Make sure this appears later in LocalSettings than the include_once call which enables Semantic MediaWiki itself!

Usage
To query for an unordered list of results in extension tag form, you might do this: some relation to::Some Page

The equivalent parser function form is this: -or- -or-

You may provide all parameters that the original   tag supported provided that you do not use the quotes around the values. One might deduce from the code that these are re-inserted by the parser extension.

Good luck!