query-372bc47337118d6a13c320d36cd7e9c8

rq turtle/ttl

Liste für ein gegebenes Konsortium (KonsortSWD), an welchem andern Konsortien dessen Beteiligte ebenfalls beteiligt sind! (2023-04-17)

Use at

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  ?wsingular ?wsingularLabel ?affiliationTypeLabel ?p ?pLabel
WHERE 
{
  wd:Q98380340 wdt:P1416 ?wsingular .    # Für anderes Konsortium: wd:Q98380340 ersetzen
  ?p wdt:P31 wd:Q98270496 .
  ?p p:P1416 ?statement .
  ?statement ps:P1416 ?wsingular .
  #FILTER (?p != wd:Q98380340 )     # um KonsortSWD auszublenden
  OPTIONAL { ?statement pq:P3831 ?affiliationType .}  
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],de,en" . }
} ORDER BY ASC(?wsingularLabel) ASC(?pLabel)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v6("?affiliationType") v4("?p"):::projected v2("?pLabel"):::projected v5("?statement") v3("?wsingular"):::projected v1("?wsingularLabel"):::projected c9(["bd:serviceParam"]):::iri c11(["#91;AUTO_LANGUAGE#93;,de,en"]):::literal c4(["wd:Q98270496"]):::iri c1(["wd:Q98380340"]):::iri c1 --"p:direct/P1416"--> v3 v4 --"p:direct/P31"--> c4 v4 --"p:P1416"--> v5 v5 --"p:statement/P1416"--> v3 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v5 -."p:qualifier/P3831".-> v6 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end