Hey Yury,
We are indeed planning to use the Ask query language for Wikidata.
People will be able to define queries on dedicated query pages that contain
a query entity. These query entities will represent things such as "The
cities with highest population in Europe". People will then be able to
access the result for those queries via the web API and be able to embed
different views on them into wiki pages. These views will be much like SMW
result formats, and we might indeed be able to share code between the two
projects for that.
This functionality is still some way off though. We still need to do a lot
of work, such as creating a nice visual query builder. To already get
something out to the users, we plan to enable more simple queries via the
web API in the near future.
Cheers
--
Jeroen De Dauw -
http://www.bn2vs.com
Software craftsmanship advocate
Evil software architect at Wikimedia Germany
~=[,,_,,]:3