Currently it is only possible with Lua.
The documentation is in:
https://www.mediawiki.org/wiki/Extension:Wikibase_Client/Lua
it is quite ugly to write such module (not cool SPARQL...) but it works,
and you can expose it with nice interface to be used in wikipages.
On Sun, Dec 11, 2016 at 6:17 AM, Gergo Tisza <gtisza(a)wikimedia.org> wrote:
On Sat, Dec 10, 2016 at 5:30 PM, MZMcBride
<z(a)mzmcbride.com> wrote:
A more advanced form of this Wikidata querying
would be dynamically
generating a list of presidents of the United States by finding every
Wikidata item where position held includes "President of the United
States". Is this currently possible on-wiki or via wikitext?
Not directly, but there are bots which can emulate it, such as Listeria by
Magnus:
http://magnusmanske.de/wordpress/?p=301
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l