query-c0183679c5829cd73b54090ff44a99c5
GLAMs in Germany that are publicly funded). (Q294095)Legal Entity of Public Law How can I find a list of all (rather: as many as possible) GLAM institutions in Germany that are publicly funded (My first attempt (see below) doesn't seem to be complete at all.
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 bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?GLAM ?GLAMLabel ?Betreiber ?BetreiberLabel ?ist_ein_e_ ?ist_ein_e_Label WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?GLAM (wdt:P31/wdt:P279*) wd:Q1030034.
?GLAM wdt:P137 ?Betreiber.
?GLAM wdt:P17 wd:Q183.
MINUS { ?Betreiber wdt:P31 wd:Q4830453. }
?GLAM wdt:P31 ?ist_ein_e_.
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?Betreiber"):::projected
v1("?GLAM"):::projected
v3("?ist_ein_e_"):::projected
a1((" "))
c2(["bd:serviceParam"]):::iri
c11(["wd:Q4830453"]):::iri
c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c10(["wd:Q183"]):::iri
c7(["wd:Q1030034"]):::iri
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c7
v1 --"wdt:P137"--> v2
v1 --"wdt:P17"--> c10
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P31"--> c11
end
v1 --"wdt:P31"--> v3