query-8e9cae0409be359737bb3f83fcea53c0
show me the list of organzations that are members of NFDI and/or NFDI e.V.
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 ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:Table
SELECT DISTINCT ?w1 ?w1Label ?w ?wLabel ?affiliationTypeLabel ?p ?pLabel
WHERE
{
?w1 wdt:P463 ?w .
{ ?w wdt:P463 wd:Q105757481 . }
UNION {
?p wdt:P31 wd:Q98270496 .
?p p:P1416 ?statement .
?statement ps:P1416 ?w .
OPTIONAL { ?statement pq:P3831 ?affiliationType . }
}
FILTER NOT EXISTS {?w1 wdt:P31 wd:Q5}
SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en" . }
} ORDER BY ASC(?w1Label) ASC(?wLabel)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v7("?affiliationType")
v5("?p"):::projected
v6("?statement")
v4("?w"):::projected
v3("?w1"):::projected
v1("?w1Label"):::projected
v2("?wLabel"):::projected
c10(["bd:serviceParam"]):::iri
c4(["wd:Q105757481"]):::iri
c2(["wd:Q5"]):::iri
c12(["de,en"]):::literal
c5(["wd:Q98270496"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"p:direct/P31"--> e0c2
e0v1("?w1"):::projected
e0c2(["wd:Q5"]):::iri
end
f0--EXISTS--> f0e0
f0 --> v3
f0 --> c1
f0 --> c2
v3 --"p:direct/P31"--> c2
v3 --"p:direct/P463"--> v4
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
v5 --"p:direct/P31"--> c5
v5 --"p:P1416"--> v6
v6 --"p:statement/P1416"--> v4
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v6 -."p:qualifier/P3831".-> v7
end
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v4 --"p:direct/P463"--> c4
end
union0r <== or ==> union0l
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end