query-8c42d90d52e34c53d069283c39790cf2
Guadeloupe
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#>
SELECT DISTINCT ?item ?itemLabel ?url ?value {
?item wdt:P16 wd:Q1426271 .
?item wdt:P6262 ?value .
FILTER(STRSTARTS(?value,"routes:")) .
FILTER(STRENDS(?value,"(971)")) .
BIND(IRI(REPLACE(?value,"routes:","https://routes.fandom.com/wiki/")) AS ?url) .
SERVICE wikibase:label { bd:serviceParam wikibase:language "fr" } .
} ORDER BY ?value
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v3("?url"):::projected
v1("?value"):::projected
c7(["bd:serviceParam"]):::iri
c4(["wd:Q1426271"]):::iri
c9(["fr"]):::literal
f0[["ends-with(?value,'(971)')"]]
f0 --> v1
f1[["starts-with(?value,'routes:')"]]
f1 --> v1
v2 --"wdt:P16"--> c4
v2 --"wdt:P6262"--> v1
bind2[/"replace(?value,'routes:','https://routes.fandom.com/wiki/')"/]
v1 --o bind2
bind2 --as--o v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end