query-def99d1fce5dec607e3e4efa773d4b95

rq turtle/ttl

Image gallery of people with a connection to Coventry does not appear as his connection to Coventry is too complex for this query. (Q1453055)Frederick W. Lanchester Note:

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:ImageGrid
SELECT DISTINCT ?person ?personLabel ?personDescription (SAMPLE(?img) AS ?image) (YEAR(SAMPLE(?dob)) AS ?born) WHERE {
?person ?prop wd:Q6225; wdt:P31 wd:Q5.
?person wdt:P18 ?img.
OPTIONAL {?person wdt:P569 ?dob}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} GROUP BY ?person ?personLabel ?personDescription
ORDER BY ?born

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v7("?born") v5("?dob") v6("?image") v4("?img"):::projected v2("?person"):::projected v3("?prop") c7(["bd:serviceParam"]):::iri c3(["wd:Q5"]):::iri c1(["wd:Q6225"]):::iri c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal v2 -->v3--> c1 v2 --"wdt:P31"--> c3 v2 --"wdt:P18"--> v4 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P569".-> v5 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end bind2[/"sample(?img)"/] v4 --o bind2 bind2 --as--o v6 bind3[/"year-from-dateTime()"/] null --o bind3 bind3 --as--o v7