query-5d020b58b4d073b1fcc5d8a4f1c4389a
With P6262=routes:
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:Q3456602 .
?item wdt:P6262 ?value .
FILTER(STRSTARTS(?value,"routes:")) .
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
c6(["bd:serviceParam"]):::iri
c3(["wd:Q3456602"]):::iri
c8(["fr"]):::literal
f0[["starts-with(?value,'routes:')"]]
f0 --> v1
v2 --"wdt:P16"--> c3
v2 --"wdt:P6262"--> v1
bind1[/"replace(?value,'routes:','https://routes.fandom.com/wiki/')"/]
v1 --o bind1
bind1 --as--o v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end