query-b382c5efcfcba5816d5bf1472fe332bf
title:IMD persons SELECT DISTINCT ?a ?aLabel ?aDescription ?id ?viaf WHERE { ?a wdt:P108 [ wdt:P31 wd:Q33506 ; wdt:P17 wd:Q142 ] ; wikibase:identifiers ?id . #?a wdt:P106 wd:Q1650915 . OPTIONAL { ?a wdt:P214 ?viaf } . SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } ORDER BY ?id ?aLabel
Use at
- https://query.wikidata.org/sparql
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#>
#title:IMD persons
SELECT DISTINCT ?a ?aLabel ?aDescription ?id ?viaf
WHERE {
?a wdt:P108 [ wdt:P31 wd:Q33506 ; wdt:P17 wd:Q142 ] ; wikibase:identifiers ?id .
#?a wdt:P106 wd:Q1650915 .
OPTIONAL { ?a wdt:P214 ?viaf } .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY ?id ?aLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?a"):::projected
v2("?aLabel"):::projected
v1("?id"):::projected
v4("?viaf"):::projected
a1((" "))
c2(["wd:Q33506"]):::iri
c9(["bd:serviceParam"]):::iri
c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c4(["wd:Q142"]):::iri
a1 --"wdt:P31"--> c2
a1 --"wdt:P17"--> c4
v3 --"wdt:P108"--> a1
v3 --"wikibase:identifiers"--> v1
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."wdt:P214".-> v4
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end