The actual value of the statement is just the image name itself (in this case “0 A.D. logo.png”), the c.w.o/wiki/ link is only generated for the HTML view. You can get the path to the actual file using Special:FilePath on Commons; for instance, the RDF export of the entity (https://www.wikidata.org/wiki/Special:EntityData/Q161234.ttl) contains the statement wd:Q161234 wdt:P18 <http://commons.wikimedia.org/wiki/Special:FilePath/0%20A.D.%20Seleucide.jpg>.
On 30.10.2017 18:16, Laura Morales wrote: > - wikidata entry: https://www.wikidata.org/wiki/Q161234 > - "logo image" property pointing to: > https://commons.wikimedia.org/wiki/File:0_A.D._logo.png > > However... that's a HTML page... How do I get a reference to the .png file? > In this case > https://upload.wikimedia.org/wikipedia/commons/1/1c/0_A.D._logo.png > > Thanks. > > _______________________________________________ > Wikidata mailing list > Wikidata@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/wikidata _______________________________________________ Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata