query-7aefd8041353006bd5e7ec77ca05d10f
(Q19184969)Pour la vie Every identifier urls known in Wikidata for |Q5|?prop|?humanurl}}Id url{{ wd:Q5 ?prop ?idQ5prop . ?directQ5prop wikibase:directClaim ?prop . ?directQ5prop wikibase:propertyType wikibase:ExternalId . ?directQ5prop wdt:P1630 ?baseurlQ5prop . BIND(IRI(REPLACE(?idQ5prop, '^(.+)$', ?baseurlQ5prop )) AS ?humanurl).
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/>
select ?humanurl where {
wd:Q5 ?prop ?idQ5prop .
?directQ5prop wikibase:directClaim ?prop .
?directQ5prop wikibase:propertyType wikibase:ExternalId .
?directQ5prop wdt:P1630 ?baseurlQ5prop .
BIND(IRI(REPLACE(?idQ5prop, '^(.+)$', ?baseurlQ5prop )) AS ?humanurl).
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?baseurlQ5prop")
v3("?directQ5prop")
v5("?humanurl"):::projected
v2("?idQ5prop")
v1("?prop")
c1(["wd:Q5"]):::iri
c4(["wikibase:ExternalId"]):::iri
c1 -->v1--> v2
v3 --"wikibase:directClaim"--> v1
v3 --"wikibase:propertyType"--> c4
v3 --"wdt:P1630"--> v4
bind0[/"replace(?idQ5prop,'^(.+)$',?baseurlQ5prop)"/]
v2 --o bind0
v4 --o bind0
bind0 --as--o v5