valerio.bozzolan created this task.
valerio.bozzolan added projects: Wikidata, Structured Data Engineering.
Restricted Application added a subscriber: Aklapper.
Restricted Application added a project: Structured-Data-Backlog.

TASK DESCRIPTION
  Hello everyone!
  
  We know that that the `prop` parameter in the `wbgetentities` API in Wikidata 
accepts these values: [1]
  
  - aliases
  - **claims**
  - datatype
  - descriptions
  - ...
  
  In the other hand, the `wbgetentities` API in Wikimedia Commons has the same 
documentation but it does not support `claims`. [2]
  
  Briefly, in Wikidata the statements are considered "claims" and must be 
retrieved through `prop=claims`. Instead, in Wikimedia Commons the statements 
(about a file) must be retrieved using `prop=statements`. Moreover, 
`prop=claims` return nothing in Commons.
  
  [1]: https://www.wikidata.org/w/api.php?action=help&modules=wbgetentities
  [2] https://commons.wikimedia.org/w/api.php?action=help&modules=wbgetentities
  
  [3] 
https://www.wikidata.org/w/api.php?action=wbgetentities&props=statements&ids=Q42
  [4] 
https://commons.wikimedia.org/w/api.php?action=wbgetentities&props=statements&ids=208390
  
  I know that everything is in alpha, but I don't understand if this an 
undocumented inconsistency between these two Wikibase instances or if this is a 
bug. Are there some public thougths about this?
  
  Thank you for the clarifications!

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

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

To: valerio.bozzolan
Cc: valerio.bozzolan, Aklapper, CBogen, darthmon_wmde, Nandana, Lahi, Gq86, 
Ramsey-WMF, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Wikidata-bugs, aude, Jdforrester-WMF, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to