hi,
i was wondering what the most simple way to query multiple categories and intersections. the most simple application for e.g. GLAM is: search museums of modern art in the city of zürich. if i do not find enough i want to see all museums in the city of zürich. how and where i would query that information?
another example would be barack obama: https://en.wikipedia.org/wiki/Barack_Obama, which has the categories: politicians from chicago, politicians from hawei, afro american politicians, afro american christians, afro american non fiction writers, and so on. basically all of them include: * location * profession * race * religion * awards in some combination. l was wondering how these categories can be matched with what is stored in wikidata: www.wikidata.org/wiki/Q76, or, e.g. query wikidata for afro-american politicians from hawei.
happy new year btw :)
rupert
rupert THURNER, 28/12/2014 17:08:
in some combination. l was wondering how these categories can be matched with what is stored in wikidata:www.wikidata.org/wiki/Q76, or, e.g. query wikidata for afro-american politicians from hawei.
https://tools.wmflabs.org/autolist/autolist1.html ?
Nemo
many thanks for the hint! i tried, i tried reading the documentation. i seem to be not intelligent enough for this *blush*. would you be able to enter this in autolist1, so it gives a reasonable result and send a link with explanation?
rupert
On Sun, Dec 28, 2014 at 6:41 PM, Federico Leva (Nemo) nemowiki@gmail.com wrote:
rupert THURNER, 28/12/2014 17:08:
in some combination. l was wondering how these categories can be matched with what is stored in wikidata:www.wikidata.org/wiki/Q76, or, e.g. query wikidata for afro-american politicians from hawei.
https://tools.wmflabs.org/autolist/autolist1.html ?
Nemo
Wikidata-l mailing list Wikidata-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-l
rupert THURNER, 28/12/2014 20:05:
many thanks for the hint! i tried, i tried reading the documentation. i seem to be not intelligent enough for this*blush*. would you be able to enter this in autolist1, so it gives a reasonable result and send a link with explanation?
There are too many politicians and "Hawaii" is not a citizenship so it's not a statement in your example, here's e.g. a list of Peace Nobels born in a certain place of Kenya: https://tools.wmflabs.org/autolist/index.php?language=en&project=wikiped...
You can select one category at a time and filter with as many statements as you want.
Nemo
Federico Leva (Nemo), 28/12/2014 23:43:
There are too many politicians and "Hawaii" is not a citizenship so it's not a statement in your example, here's e.g. a list of Peace Nobels born in a certain place of Kenya: https://tools.wmflabs.org/autolist/index.php?language=en&project=wikiped...
Errata corrige, the permalink doesn't work as expected, sorry. You have to select "and" for "category" and "wdq", then "Run" again. The values for claim[P:Q] you can pick from the wikidata.org interface by searching properties and item ids . Nemo