query-e012c8091c64ae806d3bcaec5df7c653

rq turtle/ttl

Also using the property english label : ?edition wdt:P1025 ?ideditionSUDOC_editions . ?directeditionSUDOC_editions wikibase:directClaim wdt:P1025 . ?directeditionSUDOC_editions wikibase:propertyType wikibase:ExternalId . ?directeditionSUDOC_editions wdt:P1630 ?baseurleditionSUDOC_editions . BIND(IRI(REPLACE(?ideditionSUDOC_editions, '^(.+)$', ?baseurleditionSUDOC_editions )) AS ?editionurl). (Q19184969)Pour la vie The sudoc id and url for |Q19184969|P1025|?editionurl|?id}}Id url{{ wd:Q19184969 wdt:P1025 ?id . ?directQ19184969P1025 wikibase:directClaim wdt:P1025 . ?directQ19184969P1025 wikibase:propertyType wikibase:ExternalId . ?directQ19184969P1025 wdt:P1630 ?baseurlQ19184969P1025 . BIND(IRI(REPLACE(?id, '^(.+)$', ?baseurlQ19184969P1025 )) AS ?editionurl).

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
select ?id ?editionurl where {
  wd:Q19184969 wdt:P1025 ?id .
  ?directQ19184969P1025 wikibase:directClaim wdt:P1025 .
  ?directQ19184969P1025 wikibase:propertyType wikibase:ExternalId . 
  ?directQ19184969P1025 wdt:P1630 ?baseurlQ19184969P1025 .
  BIND(IRI(REPLACE(?id, '^(.+)$', ?baseurlQ19184969P1025 )) AS ?editionurl).
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?baseurlQ19184969P1025") v2("?directQ19184969P1025") v4("?editionurl"):::projected v1("?id"):::projected c1(["wd:Q19184969"]):::iri c2(["wdt:P1025"]):::iri c5(["wikibase:ExternalId"]):::iri c1 -->c2--> v1 v2 --"wikibase:directClaim"--> c2 v2 --"wikibase:propertyType"--> c5 v2 --"wdt:P1630"--> v3 bind0[/"replace(?id,'^(.+)$',?baseurlQ19184969P1025)"/] v1 --o bind0 v3 --o bind0 bind0 --as--o v4