query-3883baa21eb603db25f58196bd228c61

rq turtle/ttl

Gib mir alle Fachhochschulen in Deutschland, die Mitglied von NFDI sind, gruppiert nach Bundesländern!

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?w ?wLabel ?bundesland ?bundeslandLabel
WHERE 
{
  ?w wdt:P463 wd:Q105757481 .
  ?w wdt:P31 wd:Q1365560 .
  OPTIONAL {
    ?w wdt:P131+ ?bundesland .
    ?bundesland  wdt:P31 wd:Q1221156 .
  }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en" . }
} ORDER BY ASC(?bundeslandLabel) ASC(?wLabel)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?bundesland"):::projected v1("?bundeslandLabel"):::projected v3("?w"):::projected v2("?wLabel"):::projected c8(["bd:serviceParam"]):::iri c2(["wd:Q105757481"]):::iri c6(["wd:Q1221156"]):::iri c10(["de,en"]):::literal c4(["wd:Q1365560"]):::iri v3 --"wdt:P463"--> c2 v3 --"wdt:P31"--> c4 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P131".-> v4 v4 --"wdt:P31"--> c6 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end