query-2d4bdc9cd670a4d7db693fb282db575b

rq turtle/ttl

Prefix should be s: but it return wds:Hi, I expect this to return s: prefix but how come it return with prefix wds: instead ? wds:Q36949-91bc1581-43b0-78c1-4970-c2480d22c56c https://www.wikidata.org/wiki/Special:EntityData/Q36949.ttlBecause according to this entity ttl The value prefix is s: not wds: , you can search Q36949-91bc1581-43b0-78c1-4970-c2480d22c56c at that ttl.

Use at

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX p: <http://www.wikidata.org/prop/>
select * 
WHERE {
  wd:Q36949 p:P2218 ?vv.
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?vv"):::projected c1(["wd:Q36949"]):::iri c1 --"p:P2218"--> v1