query-c01dc8ac3a7df4f74d40ddbf2f23d60a

rq turtle/ttl

Geographic comparison

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#>
#defaultView:Map
SELECT ?personLabel ?personDescription ?coords WHERE {
?person wdt:P4431 [] .  # subject of a Google Doodle
#?person wdt:P1938 [].   # things with a Project Gutenberg ID
#?person wdt:P1417 [].    # things in the Encyclopedia Britannica
#?article schema:about ?personĀ ; schema:isPartOf <https://ga.wikipedia.org/> .  # Things in Irish language Wikipedia

#?person wdt:P106/wdt:P279? wd:Q864503 . # occupation: biologist

?person wdt:P31 wd:Q5.   # only get people
?person wdt:P19/wdt:P625 ?coords   # place of birth
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }   # Get labels in English
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?coords"):::projected v1("?person") a1((" ")) a2((" ")) c7(["bd:serviceParam"]):::iri c3(["wd:Q5"]):::iri c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal v1 --"wdt:P4431"--> a1 v1 --"wdt:P31"--> c3 v1 --"wdt:P19"--> a2 a2 --"wdt:P625"--> v2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end