query-28f4dfe918fd4a7264d8a430b1fa3f6e
Seigneuries québécoises
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 schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:Map
SELECT ?id ?idLabel ?geo ?image ?regionLabel ?link
WHERE
{
# Seigneurie québécoise
?id wdt:P31 wd:Q1550557 .
?id wdt:P17 wd:Q16 .
?id wdt:P131 ?region .
?region wdt:P131* wd:Q176 .
?id wdt:P625 ?geo
OPTIONAL {?id wdt:P18 ?image }
SERVICE wikibase:label {bd:serviceParam wikibase:language "fr" .}
OPTIONAL {
?link schema:about ?id .
?link schema:isPartOf <https://fr.wikipedia.org/> .
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?geo"):::projected
v1("?id"):::projected
v4("?image"):::projected
v5("?link"):::projected
v2("?region")
c15([https://fr.wikipedia.org/]):::iri
c12(["fr"]):::literal
c4(["wd:Q16"]):::iri
c10(["bd:serviceParam"]):::iri
c2(["wd:Q1550557"]):::iri
c6(["wd:Q176"]):::iri
v1 --"wdt:P31"--> c2
v1 --"wdt:P17"--> c4
v1 --"wdt:P131"--> v2
v2 --"wdt:P131"--> c6
v1 --"wdt:P625"--> v3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P18".-> v4
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v5 -."schema:about".-> v1
v5 --"schema:isPartOf"--> c15
end