What is that you want to restrict by place? Place of birth, place of death, residence or where they were educated? Or should all these be restricted or should the restriction be that at least one of them should be there (or some other combination)? It is probably doable, but more information is needed.
Med vänliga hälsningar Jan Ainali http://ainali.com 2017-04-09 18:54 GMT+02:00 Erika Herzog aka BrillLyle < [email protected]>: > Is there a way to restrict the query to all geographic places in > Massachusetts possibly? Or even just Boston? And/or Boston University? > > I am glad for the query below but it somewhat replicates the Listeria > table we have set up currently, so it's helpful but at the same time a bit > more faceted searching would help. > > Heather will be doing this query by geographic location depending on where > she is holding the Black Lunch Table editathons. Right now they are only in > locations in North America but they will be potentially expanding to South > Africa and Europe soon. > > Thanks again -- and in advance if this query is possible. > > Best, > > - Erika > > On Apr 8, 2017, at 2:58 AM, Nicolas VIGNERON <[email protected]> > wrote: > > Hi, > > Somtehing like this ? https://query.wikidata.org/#SELECT%20%3Fitem%20% > 3FitemLabel%20%3FgenderLabel%20%3FoccupationLabel%20%3FplaceBirthLabel%20% > 3FplaceDeathLabel%20%3FresidenceLabel%20%3FeducationLabel%20WHERE%20% > 7B%0A%20%20%3Fitem%20wdt%3AP972%20wd%3AQ28781198%20.% > 0A%20%20OPTIONAL%20%7B%20%3Fitem%20wdt%3AP21%20%3Fgender%20%7D%0A%20% > 20OPTIONAL%20%7B%20%3Fitem%20wdt%3AP106%20%3Foccupation% > 20%7D%0A%20%20OPTIONAL%20%7B%20%3Fitem%20wdt%3AP19%20% > 3FplaceBirth%20%7D%0A%20%20OPTIONAL%20%7B%20%3Fitem% > 20wdt%3AP20%20%3FplaceDeath%20%7D%0A%20%20OPTIONAL%20%7B% > 20%3Fitem%20wdt%3AP551%20%3Fresidence%20%7D%0A%20% > 20OPTIONAL%20%7B%20%3Fitem%20wdt%3AP69%20%3Feducation%20% > 7D%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd% > 3AserviceParam%20wikibase%3Alanguage%20%22en%22%20%7D%0A%7D > > Cdlt, ~nicolas > > 2017-04-08 3:39 GMT+02:00 Brill Lyle <[email protected]>: > >> Hi there, >> >> I need to do a Wikidata query of the Black Lunch Table task list that >> includes location-specific faceted searching: >> >> So for the upcoming Boston event, would like to be able to search by >> - residence (P551) >> - place of birth (P19) >> - place of death (P20) >> - educated at (P69) >> and maybe.... >> - employed by >> >> Here's the Listeria table: >> https://en.wikipedia.org/wiki/Wikipedia:Meetup/Black_Lunch_T >> able/Lists_of_Articles#Black_Lunch_Table_Project_Wikidata_task_list >> >> It would be for this event: >> https://en.wikipedia.org/wiki/Wikipedia:Meetup/Black_Lunch_T >> able/Boston_Univ_Apr2017_1 >> >> The query would provide data that could be curated / vetted / updated on >> Wikidata to populate the Listeria table on the Boston 1 page. >> >> Thanks in advance for any help with this. >> >> - Erika >> >> *Erika Herzog* >> Wikipedia *User:BrillLyle <https://en.wikipedia.org/wiki/User:BrillLyle>* >> >> _______________________________________________ >> Wikidata mailing list >> [email protected] >> https://lists.wikimedia.org/mailman/listinfo/wikidata >> >> > _______________________________________________ > Wikidata mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikidata > > > _______________________________________________ > Wikidata mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikidata > >
_______________________________________________ Wikidata mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata
