This is free software licenced under the GNU General Public Licence. Please see http://www.gnu.org/copyleft/gpl.html for further details, including the full text and terms of the licence.
SparqlQuery is an extension to MediaWiki that creates a new special page, Special:SparqlQuery, that provides a GUI for specifying a query and to produce wiki text for creating the same query result in a wiki page. Further, an inline query capability is provided to return the result of a Sparql query as a table.
For more information, see the extension homepage at: http://www.sensordatalab.org/wiki/index.php5/Extensions:Sparql_Query
This version of the SparqlQuery extension requires Semantic MediaWiki 1.1 or higher. Further, the RAP endpoint must have been installed (Admin:Sparql).
To install the extension, place the entire SparqlQuery directory within your MediaWiki extensions directory, then add the following line to your LocalSettings.php file:
require_once( "$IP/extensions/SparqlQuery/includes/SPQ_Settings.php" );
The file is available
Comments, questions, suggestions and bug reports are welcome, and can be placed on the Talk page for the extension, or sent to Andreas at a.wombacher AT utwente dot nl.
This extension is based on the structure and the code layout of an extension from Yaron Koren and some code from K. Ashwin Kumar. Laurent Alquier contributed a lot to the extension, for example by making the result printing much more nice.