query-a12822fcfcc1e30b5e770fefa106bfd0
All items (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 bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel ?url ?value {
?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
c4(["bd:serviceParam"]):::iri
c6(["fr"]):::literal
f0[["starts-with(?value,'routes:')"]]
f0 --> v1
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;
c4 --"wikibase:language"--> c6
end