query-381323e30db1ce8e9888b6c6bf254488
TODO
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#>
SELECT ?orcid ?employerLabel ?genderLabel ?parents ?parentsLabel
WHERE {
?item wdt:P31 wd:Q5 .
OPTIONAL {?item wdt:P496 ?orcid }.
OPTIONAL {?item wdt:P108 ?employer }.
OPTIONAL {?item wdt:P21 ?gender }.
Values ?item { wd:Q28360163 }.
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;
v3("?employer")
v4("?gender")
v5("?item")
v2("?orcid"):::projected
c7(["bd:serviceParam"]):::iri
c2(["wd:Q5"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v5 --"wdt:P31"--> c2
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v5 -."wdt:P496".-> v2
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v5 -."wdt:P108".-> v3
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v5 -."wdt:P21".-> v4
end
bind0[/VALUES ?item/]
bind0-->v5
bind00(["wd:Q28360163"])
bind00 --> bind0
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end