query-acbc027fe3aedad738efe06ab40723d5
Monuments historiques immeubles des PO sur wikidata sans la propriété 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 p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?monument ?monumentLabel ?merimee ?image
WHERE
{
?monument wdt:P1435 wd:Q10387575 .
?monument wdt:P380 ?merimee .
?tree0 (wdt:P150)* ?monument .
?tree0 (wdt:P17 \u007C wdt:P131)* wd:Q12709 .
?monument p:P1435 ?classement .
minus { ?monument wdt:P18 ?image }
SERVICE wikibase:label { bd:serviceParam wikibase:language "fr" }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?classement")
v5("?image"):::projected
v2("?merimee"):::projected
v1("?monument"):::projected
v3("?tree0")
c6(["wd:Q12709"]):::iri
c13(["fr"]):::literal
c2(["wd:Q10387575"]):::iri
c11(["bd:serviceParam"]):::iri
v1 --"p:direct/P1435"--> c2
v1 --"p:direct/P380"--> v2
v3 --"p:direct/P150"--> v1
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
v3 --"p:direct/P131"--> c6
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v3 --"p:direct/P17"--> c6
end
union0r <== or ==> union0l
end
v1 --"p:P1435"--> v4
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v1 --"p:direct/P18"--> v5
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c11 --"wikibase:language"--> c13
end