Lucas_Werkmeister_WMDE added a comment.

  > The value of the "image" property in Wikidata RDF dumps is an URL like 
https://commons.wikimedia.org/wiki/File:Leon%20Cogniet%20-%20Jean-Francois%20Champollion.jpg
  
  As far as I’m aware, the real URL in RDF is more like 
http://commons.wikimedia.org/wiki/Special:FilePath/Leon%20Cogniet%20-%20Jean-Francois%20Champollion.jpg
 – the query service UI rewrites it to the file description URL (/wiki/File:) 
on display.
  
  I also don’t understand your first example – is `sdoc:P18` meant to be 
something like `sdoc:M123` instead?
  
  And finally, I’m not sure this will be doable, since it would require looking 
up the page ID for every Commons file mentioned in a dump, and also sending 
updates to the query service when that page ID change due to page moves… I 
think it would be more feasible to add the Special:FilePath URL to the 
WikibaseMediaInfo RDF, and combine WDQS and WCQS that way.

TASK DETAIL
  https://phabricator.wikimedia.org/T258776

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Jheald, Aklapper, Tpt, CBogen, Akuckartz, 
darthmon_wmde, Nandana, JKSTNK, Namenlos314, Lahi, Gq86, GoranSMilovanovic, 
QZanden, EBjune, merbst, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, 
Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, 
Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to