Stas,

One thing that would be extremely useful right away would be an integration of the free text search from MediaWiki API.  That is one area SPARQL does not handle well, Mediawiki does well, and its pretty important for many applications.  If there were some clever way of mixing (fast!) free text search with sparql it would be quite powerful.  Imagine e.g. building type-ahead query boxes given semantic constraints.  

On Thu, Apr 27, 2017 at 2:40 PM, Stas Malyshev <smalyshev@wikimedia.org> wrote:
Hi!

I am developing functionality that will allow WDQS query to get data
from Mediawiki API [1].

Currently, the design is as follows:
- The API should have a pre-defined template
- The template also specifies which results are available from the API

The need for template is currently because we need to convert data from
API's treelike format to tabular format that SPARQL needs, and the
template allows to specify how the conversion is done.
See https://www.wikidata.org/wiki/Wikidata:WDQS_and_Mediawiki_API for
detailed description of how it works.

The prototype implementation is running on http://wdqs-test.wmflabs.org/
(only Categories API described in the page above is configured now, but
more will be soon). I'd like to hear feedback about this:
- does template model make sense at all? Is it enough?
- what APIs would we want to expose?
- any other features that would be useful?

Other comments and ideas on the matter are of course always welcome.
Please comment on the talk page[2] or reply to this message.

[1] https://phabricator.wikimedia.org/T148245
[2]
https://www.wikidata.org/w/index.php?title=Wikidata_talk:WDQS_and_Mediawiki_API&action=edit

Thanks,
--
Stas Malyshev
smalyshev@wikimedia.org

_______________________________________________
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata