query-0611bd738fd8484604d10fff4a216a3b
Gib mir alle Konsortialbeteiligten, die (noch) nicht Vereinsmitglied sind!
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#>
SELECT DISTINCT ?w ?wLabel ?affiliationTypeLabel ?p ?pLabel
WHERE
{
?p wdt:P31 wd:Q98270496 .
?p wdt:P31 wd:Q98270496 .
?p p:P1416+ ?statement .
?statement ps:P1416+ ?w .
?statement pq:P3831 ?affiliationType .
FILTER NOT EXISTS {?w wdt:P463+|wdt:P361/wdt:P463|wdt:P749/wdt:P463 wd:Q105757481 .}
SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en" . }
} ORDER BY DESC(?affiliationTypeLabel) ASC(?wLabel)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v6("?affiliationType")
v1("?affiliationTypeLabel"):::projected
v4("?p"):::projected
v5("?statement")
v3("?w"):::projected
v2("?wLabel"):::projected
a1((" "))
a2((" "))
c2(["wd:Q105757481"]):::iri
c11(["bd:serviceParam"]):::iri
c13(["de,en"]):::literal
c6(["wd:Q98270496"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
subgraph unione00[" Union "]
subgraph unione00l[" "]
style unione00l fill:#abf,stroke-dasharray: 3 3;
subgraph unione01[" Union "]
subgraph unione01l[" "]
style unione01l fill:#abf,stroke-dasharray: 3 3;
e0v1 --"p:direct/P749"--> e0a2
e0a2 --"p:direct/P463"--> e0c2
end
subgraph unione01r[" "]
style unione01r fill:#abf,stroke-dasharray: 3 3;
e0v1 --"p:direct/P361"--> e0a1
e0a1 --"p:direct/P463"--> e0c2
end
unione01r <== or ==> unione01l
end
end
subgraph unione00r[" "]
style unione00r fill:#abf,stroke-dasharray: 3 3;
e0v1 --"p:direct/P463"--> e0c2
end
unione00r <== or ==> unione00l
end
e0v1("?w"):::projected
e0a1((" ")):::projected
e0a2((" ")):::projected
e0c2(["wd:Q105757481"]):::iri
end
f0--EXISTS--> f0e0
f0 --> v3
f0 --> c1
f0 --> c2
f0 --> c3
f0 --> a1
f0 --> c4
f0 --> a2
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
subgraph union1[" Union "]
subgraph union1l[" "]
style union1l fill:#abf,stroke-dasharray: 3 3;
v3 --"p:direct/P749"--> a2
a2 --"p:direct/P463"--> c2
end
subgraph union1r[" "]
style union1r fill:#abf,stroke-dasharray: 3 3;
v3 --"p:direct/P361"--> a1
a1 --"p:direct/P463"--> c2
end
union1r <== or ==> union1l
end
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v3 --"p:direct/P463"--> c2
end
union0r <== or ==> union0l
end
v4 --"p:direct/P31"--> c6
v4 --"p:direct/P31"--> c6
v4 --"p:P1416"--> v5
v5 --"p:statement/P1416"--> v3
v5 --"p:qualifier/P3831"--> v6
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c11 --"wikibase:language"--> c13
end