query-df1a9e4488fe556a49201bcbb486496a
Stale values in SparQL query resultTask T362977PhabricatorTracked in This query:
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 ?p ?pLabel ?id ?web {
?p wdt:P12614 ?id .
wd:P12614 wdt:P1630 ?fmt.
BIND(IRI(REPLACE(?id, "(^.*)", ?fmt)) AS ?web)
SERVICE wikibase:label { bd:serviceParam wikibase:language "ru,en" }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?fmt")
v2("?id"):::projected
v1("?p"):::projected
v4("?web"):::projected
c5(["bd:serviceParam"]):::iri
c2(["wd:P12614"]):::iri
c7(["ru,en"]):::literal
v1 --"wdt:P12614"--> v2
c2 --"wdt:P1630"--> v3
bind0[/"replace(?id,'(^.*)',?fmt)"/]
v2 --o bind0
v3 --o bind0
bind0 --as--o v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end