query-90abc7c9a02caf6b6b1226fe880ab82b
Nodes (basic)(Konsortien und Konsortialbeteiligte)
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT (?node AS ?Id) ?Label
WHERE {
{
?node wdt:P31 wd:Q98270496 .
} UNION {
?p wdt:P31 wd:Q98270496 .
?p wdt:P1416 ?node .
}
?node rdfs:label ?Label .
FILTER (lang(?Label) = 'de')
} ORDER BY ASC(?nodeLabel)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?Id")
v2("?Label"):::projected
v3("?node"):::projected
v1("?nodeLabel")
v4("?p")
c3(["wd:Q98270496"]):::iri
f0[["?Label = 'de'"]]
f0 --> v2
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
v4 --"wdt:P31"--> c3
v4 --"wdt:P1416"--> v3
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v3 --"wdt:P31"--> c3
end
union0r <== or ==> union0l
end
v3 --"rdfs:label"--> v2
bind1[/"?node"/]
v3 --o bind1
bind1 --as--o v5