jpatokal/mediawiki-gateway — pull request #36 by mtyeh411 (2012-06-27 19:14:32+00:00)
Title: modify semantic_query for SMW Core (v1.7) Ask API

As of Semantic Mediawiki 1.7 semantic queries can be run using the MediaWiki API. I updated the 'semantic_query' method to take advantage of this, falling back on the previous implementation of 'semantic_query' for unsupported Semantic MediaWiki versions.

[Documentation link](http://semantic-mediawiki.org/wiki/Ask_API)