query-92175b1853d3b5633ca6c0fd894dfbb0
Objects in Bibliothèque du Patrimoine de Clermont Auvergne Métropole Collection with Biblissima identifier SELECT ?item ?cote ?biblissima ?itemLabel ?pic WHERE { ?item wdt:P195 wd:Q85821952. ?item p:P217 ?statement1. ?statement1 (ps:P217) :anyValueP217. ?item p:P11493 ?statement2. ?statement2 (ps:P11493) :anyValueP11493 OPTIONAL { ?item wdt:P18 ?pic. ?item wdt:P217 ?cote. ?item wdt:P11493 ?biblissima.} SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],fr". } } LIMIT 100
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 ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#Objects in Bibliothèque du Patrimoine de Clermont Auvergne Métropole Collection with Biblissima identifier
SELECT ?item ?cote ?biblissima ?itemLabel ?pic WHERE {
?item wdt:P195 wd:Q85821952.
?item p:P217 ?statement1.
?statement1 (ps:P217) _:anyValueP217.
?item p:P11493 ?statement2.
?statement2 (ps:P11493) _:anyValueP11493
OPTIONAL {
?item wdt:P18 ?pic.
?item wdt:P217 ?cote.
?item wdt:P11493 ?biblissima.}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],fr". }
}
LIMIT 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v6("?biblissima"):::projected
v5("?cote"):::projected
v1("?item"):::projected
v4("?pic"):::projected
v2("?statement1")
v3("?statement2")
a1((" "))
a2((" "))
c11(["bd:serviceParam"]):::iri
c13(["#91;AUTO_LANGUAGE#93;,fr"]):::literal
c2(["wd:Q85821952"]):::iri
v1 --"p:direct/P195"--> c2
v1 --"p:P217"--> v2
v2 --"p:statement/P217"--> a1
v1 --"p:P11493"--> v3
v3 --"p:statement/P11493"--> a2
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."p:direct/P18".-> v4
v1 --"p:direct/P217"--> v5
v1 --"p:direct/P11493"--> v6
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c11 --"wikibase:language"--> c13
end