The only way I could find to retrieve it is through theAPI.

https://www.wikidata.org/w/api.php?action=wbgetclaims&entity=Q2674064&property=P1082

How to go about picking a population type (urban, rural, etc.) and accessing its value? I cannot see such a qualifier, so what is the right way to do it?


On Thursday, May 19, 2016 9:50 AM, Gerard Meijssen <gerard.meijssen@gmail.com> wrote:


Hoi,
So 2015 is preferred, how do I then get the data for 1984?
Thanks.
    GerardM

On 18 May 2016 at 21:00, Stas Malyshev <smalyshev@wikimedia.org> wrote:
Hi!

> Is there any chance we can access qualifier-specific data on Wikidata?
> For instance, we have two population properties on
> https://www.wikidata.org/wiki/Q2674064 and want to access the value of
> the first one (i.e, the population value for 2015).

What should happen is that 2015 value should be marked as preferred.
That is regardless of data access. Then probably something like this:
https://www.mediawiki.org/wiki/Extension:Wikibase_Client/Lua#mw.wikibase.entity:getBestStatements
can be used (not sure if there's better way to achieve the same).
Also not sure what #property would return...
--
Stas Malyshev
smalyshev@wikimedia.org

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


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