query-6f802f10fc84bf816e543352526ffb49
croix dans le Gard Q12515 SELECT ?item ?itemLabel ?communeLabel ?image ?commons WHERE { ?item (wdt:P31/(wdt:P279*)) wd:Q392371. ?item wdt:P131 ?commune. ?commune wdt:P131 wd:Q12515.
OPTIONAL {?item wdt:P18 ?image. } OPTIONAL {?item wdt:P373 ?commons. } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }
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#>
#croix dans le Gard Q12515
SELECT ?item ?itemLabel ?communeLabel ?image ?commons WHERE {
?item (wdt:P31/(wdt:P279*)) wd:Q392371.
?item wdt:P131 ?commune.
?commune wdt:P131 wd:Q12515.
OPTIONAL {?item wdt:P18 ?image. }
OPTIONAL {?item wdt:P373 ?commons. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?commons"):::projected
v2("?commune")
v3("?image"):::projected
v1("?item"):::projected
a1((" "))
c9(["bd:serviceParam"]):::iri
c3(["wd:Q392371"]):::iri
c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c5(["wd:Q12515"]):::iri
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
v1 --"wdt:P131"--> v2
v2 --"wdt:P131"--> c5
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P18".-> v3
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P373".-> v4
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end