query-3b4891b4738b608546fd2e385c33fb5e
Carte de la ville
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 rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:Map
SELECT ?Sartrouville ?SartrouvilleLabel ?coordonnées_géographiques ?image ?nature_de_l_élément ?nature_de_l_élémentLabel ?layer WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "fr". }
?Sartrouville wdt:P131 wd:Q209101.
OPTIONAL { ?Sartrouville wdt:P625 ?coordonnées_géographiques. }
OPTIONAL { ?Sartrouville wdt:P18 ?image. }
OPTIONAL { ?Sartrouville wdt:P31 ?nature_de_l_élément. }
?nature_de_l_élément rdfs:label ?nature_de_l_élémentLabel FILTER (lang(?nature_de_l_élémentLabel) = "fr")
BIND(?nature_de_l_élémentLabel AS ?layer)
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?Sartrouville"):::projected
v3("?coordonnées_géographiques"):::projected
v4("?image"):::projected
v6("?layer"):::projected
v5("?nature_de_l_élément"):::projected
v1("?nature_de_l_élémentLabel"):::projected
c6(["wd:Q209101"]):::iri
c3(["bd:serviceParam"]):::iri
c1(["fr"]):::literal
f0[["?nature_de_l_élémentLabel = 'fr'"]]
f0 --> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c3 --"wikibase:language"--> c1
end
v2 --"wdt:P131"--> c6
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P625".-> v3
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P18".-> v4
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P31".-> v5
end
v5 --"rdfs:label"--> v1
bind1[/"?nature_de_l_élémentLabel"/]
v1 --o bind1
bind1 --as--o v6