query-48ddfdea0fa1258676d7089a4f0f4dd0
liste tableaux d'un peintre SELECT ?item ?itemLabel ?placeLabel ?collectionLabel ?statutDALabel ?image WHERE { ?item wdt:P31 wd:Q3305213. ?item wdt:P170 wd:Q203371. #peintre OPTIONAL { ?item wdt:P18 ?image. } OPTIONAL { ?item wdt:P6216 ?statutDA .} OPTIONAL { ?item wdt:P276 ?place. } OPTIONAL { ?item wdt:P195 ?collection. } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,de". } } order by ?placeLabel
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#>
#liste tableaux d'un peintre
SELECT ?item ?itemLabel ?placeLabel ?collectionLabel ?statutDALabel ?image
WHERE {
?item wdt:P31 wd:Q3305213.
?item wdt:P170 wd:Q203371. #peintre
OPTIONAL { ?item wdt:P18 ?image. }
OPTIONAL { ?item wdt:P6216 ?statutDA .}
OPTIONAL { ?item wdt:P276 ?place. }
OPTIONAL { ?item wdt:P195 ?collection. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,de". }
}
order by ?placeLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v6("?collection")
v3("?image"):::projected
v2("?item"):::projected
v5("?place")
v1("?placeLabel"):::projected
v4("?statutDA")
c2(["wd:Q3305213"]):::iri
c4(["wd:Q203371"]):::iri
c10(["bd:serviceParam"]):::iri
c12(["#91;AUTO_LANGUAGE#93;,en,de"]):::literal
v2 --"wdt:P31"--> c2
v2 --"wdt:P170"--> c4
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P18".-> v3
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P6216".-> v4
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P276".-> v5
end
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P195".-> v6
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end