query-947c267af8da7cbc6e140c4c4d55ae7e
- graph view by event (incomplete list, as of 7.4.21) Coding da VinciParticipating GLAM institutions in the German cultural data hackathon,
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#>
#codingdavinci.de Datengebenden Institutionen
#defaultView:Graph
SELECT ?GLAM ?GLAMLabel ?image ?event ?eventLabel #?coord
WHERE
{
?event wdt:P179 wd:Q51845238. # event is in the series coding da vinci
?event wdt:P710 ?GLAM. # event has participating instiution
OPTIONAL {?GLAM wdt:P625 ?coord.} # get participating institution geographical co-ordinates
OPTIONAL {?GLAM wdt:P18 ?image.} # get image of participating institution
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],de". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?GLAM"):::projected
v3("?coord")
v1("?event"):::projected
v4("?image"):::projected
c9(["#91;AUTO_LANGUAGE#93;,de"]):::literal
c7(["bd:serviceParam"]):::iri
c2(["wd:Q51845238"]):::iri
v1 --"wdt:P179"--> c2
v1 --"wdt:P710"--> v2
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P625".-> v3
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P18".-> v4
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end