query-86f1b02f447cff052eaa4531a569ef70
All works of art in the Groeningemuseum with inventory number and image
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#>
#defaultView:List
SELECT ?item ?itemLabel ?inventarisnummer ?afbeelding WHERE {
?item wdt:P195 wd:Q1948674.
SERVICE wikibase:label { bd:serviceParam wikibase:language "nl". }
OPTIONAL { ?item wdt:P217 ?inventarisnummer. }
OPTIONAL { ?item wdt:P18 ?afbeelding. }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?afbeelding"):::projected
v2("?inventarisnummer"):::projected
v1("?item"):::projected
c4(["bd:serviceParam"]):::iri
c2(["wd:Q1948674"]):::iri
c6(["nl"]):::literal
v1 --"wdt:P195"--> c2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P217".-> v2
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P18".-> v3
end