query-98ad1084e694836f85ea2e453b92463b
Use of aliases
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?item ?term WHERE {
?item p:P106/ps:P106/wdt:P279* wd:Q26270618
OPTIONAL {
?item skos:altLabel ?term
FILTER(lang(?term) = "de")
}
FILTER(BOUND(?term))
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?term"):::projected
a1((" "))
a2((" "))
c5(["wd:Q26270618"]):::iri
f0[["bound(?term)"]]
f0 --> v1
v2 --"p:P106"--> a1
a1 --"p:statement/P106"--> a2
a2 --"p:direct/P279"--> c5
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."skos:altLabel".-> v1
end