query-8f1398be234f6b055f41c39b7195228e

rq turtle/ttl

. You can check whether an item has an image on Wikidata using the commented-out line. PetScanThe query above, in English, is more or less saying "select every person who has recieved a Honda Sports Award or a kind of Honda Sports Award, who was educated at a school that is a higher education institution or some kind of higher education institution." It's not simple to filter on Wikipedia pages having images from within the Wikidata query service (I'm not entirely sure if it's possible); however you should be able to do that with , appear multiple times in the list because they have multiple higher education institutions. (Q6377194)Kathy Butler Note that some people, such as If you have your spreadsheet in the form of Wikipedia article titles the following modification might be useful, to have it output Wikipedia article titles instead of labels:

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?person ?articleTitle ?school ?schoolLabel WHERE {
  ?person wdt:P166/wdt:P31 wd:Q5892712.
  ?person wdt:P69 ?school.
  ?school wdt:P31/wdt:P279* wd:Q38723.
  ?sitelink schema:about ?person.
  ?sitelink schema:isPartOf <https://en.wikipedia.org/>.
  ?sitelink schema:name ?articleTitle.
  # uncomment the line below to restrict to those without an image in Wikidata
  # MINUS {?person wdt:P18 []}
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?articleTitle"):::projected v1("?person"):::projected v2("?school"):::projected v3("?sitelink") a1((" ")) a2((" ")) c9([https://en.wikipedia.org/]):::iri c12(["bd:serviceParam"]):::iri c14(["#91;AUTO_LANGUAGE#93;,en"]):::literal c3(["wd:Q5892712"]):::iri c6(["wd:Q38723"]):::iri v1 --"wdt:P166"--> a1 a1 --"wdt:P31"--> c3 v1 --"wdt:P69"--> v2 v2 --"wdt:P31"--> a2 a2 --"wdt:P279"--> c6 v3 --"schema:about"--> v1 v3 --"schema:isPartOf"--> c9 v3 --"schema:name"--> v4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c12 --"wikibase:language"--> c14 end