Tpt created this task.
Tpt added projects: Wikidata, Wikidata-Query-Service, StructuredDataOnCommons.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  Currently, there is no easy way to fetch the Structured Data on Commons 
(SDOC) M-ID for e.g. the value of the "image" property on Wikidata.
  
  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
  However, this is the URL of the file itself, and not of the SDOC MediaInfo 
entity.
  This requires people to write SPARQL queries between Wikidata and SDOC to 
"hack" in order to fetch the M-ID for a given "Commons File" value on Wikidata.
  
  It would be nice to provide the M-IDs in Wikidata dumps using the same 
"normalized value" system that is already used for RDF URIs for some "external 
id" properties. For example, we could have:
  
    wd:Q123 wdt:P18 
<https://commons.wikimedia.org/wiki/File:Leon%20Cogniet%20-%20Jean-Francois%20Champollion.jpg>
 .
    wd:Q123 wdtn:P234 sdoc:P18
  
  instead of just
  
    wd:Q123 wdt:P18 
<https://commons.wikimedia.org/wiki/File:Leon%20Cogniet%20-%20Jean-Francois%20Champollion.jpg>
 .
  
  The "normalized value" system is not used already for "commons files" and so, 
allows to keep RDF backward compatibility.

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

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

To: Tpt
Cc: Aklapper, Tpt, CBogen, Akuckartz, darthmon_wmde, Nandana, JKSTNK, 
Namenlos314, Lahi, Gq86, Lucas_Werkmeister_WMDE, 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