query-cfc5a1c808e1758f1e3b7e49c56f7197
Give me all persons who work for NFDI!
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 DISTINCT ?person ?personLabel ?pic ?p ?pLabel WHERE {
{?person wdt:P108 ?p .
?p wdt:P31 wd:Q98270496 .} UNION {?person wdt:P108 wd:Q105757481}
OPTIONAL { ?person wdt:P18 ?pic }
SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en" }
} ORDER BY ?personLabel ?pLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?p"):::projected
v2("?pLabel"):::projected
v3("?person"):::projected
v1("?personLabel"):::projected
v5("?pic"):::projected
c7(["bd:serviceParam"]):::iri
c4(["wd:Q105757481"]):::iri
c9(["de,en"]):::literal
c3(["wd:Q98270496"]):::iri
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
v3 --"wdt:P108"--> c4
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v3 --"wdt:P108"--> v4
v4 --"wdt:P31"--> c3
end
union0r <== or ==> union0l
end
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."wdt:P18".-> v5
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end