query-47ef6436402b94eba171dee896d31b25
Bouzinac
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?ligne_Sakai ?ligne_SakaiLabel ?lat ?lon ?coordonnées_géographiques (datatype(?lat) as ?type) WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?ligne_Sakai wdt:P16 wd:Q5370577;
wdt:P625 ?coordonnées_géographiques;
p:P625 _:b18.
_:b18 rdf:type wikibase:BestRank;
ps:P625 ?coord;
psv:P625 ?cValue.
?cValue wikibase:geoLatitude ?lat.
?cValue wikibase:geoLongitude ?lon.
FILTER( ?lat >= "35.89"^^xsd:double).
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?cValue")
v4("?coord")
v3("?coordonnées_géographiques"):::projected
v1("?lat"):::projected
v2("?ligne_Sakai"):::projected
v6("?lon"):::projected
v7("?type")
a1((" "))
c11(["wikibase:BestRank"]):::iri
c3(["bd:serviceParam"]):::iri
c7(["wd:Q5370577"]):::iri
c5(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["?lat >= '35.89^^xsd:double'"]]
f0 --> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c3 --"wikibase:language"--> c5
end
v2 --"p:direct/P16"--> c7
v2 --"p:direct/P625"--> v3
v2 --"p:P625"--> a1
a1 --"a"--> c11
a1 --"p:statement/P625"--> v4
a1 --"p:statement/value/P625"--> v5
v5 --"wikibase:geoLatitude"--> v1
v5 --"wikibase:geoLongitude"--> v6
bind1[/"?lat"/]
v1 --o bind1
bind1 --as--o v7