I just need to
be able to do something like:
SELECT `qid` FROM Wikibase WHERE `Instance Of` = 'Elephant';
Using that list and the Wikibase API, I can do processing on my own of the
returned data and take it from there.
That is not possible until simple query functionality is finished.
I knew complex queries were not done yet, but I though simple might be. Its
of no worry though. I can run a nightly job to iterate through all of the
items to build an index of them that is good enough for what I need.
While the MediaWiki extension that will expose this, Wikibase Query, has no
releases yet, the component it is based on, Wikibase QueryEngine, does have
a release already. And that release allows you to do the very basic query in
your example. So if you are fine with specifying the query and getting the
results in PHP land, you can already go ahead and use QueryEngine.
PHP land is actually exactly where I need it, so that will work just fine!
That will definitely make things easier. No more cronjob to iterate over all
of the items to find and cache the results to queries that might be useful to
help answer more complex quries!
Thank you,
Derric Atzrott