abian added a comment.

  In T244054#5844581 <https://phabricator.wikimedia.org/T244054#5844581>, 
@Lucas_Werkmeister_WMDE wrote:
  
  > I also observe that the property with the highest number of allowed units, 
conversion to SI unit <https://www.wikidata.org/wiki/Property:P2370>, 
presumably wouldn’t profit from this at all – its 84 units should all be 
different “classes”, otherwise it’s not very much of a standard conversion. 
From a glance at the list, that indeed appears to be the case (the classes 
being “length”, “mass”, “length squared”, “length over time”, etc.).
  > (It also follows that for this particular constraint, the checker should in 
fact //not// apply unit conversions, but we don’t have a way to express that in 
the constraint statement yet.)
  
  We could create a class that represented a "convertible unit in Wikidata", of 
which the corresponding Items (units) were instances. However, I'm not sure if 
this is possible right now or not at the implementation level because I also 
don't know to what extent there are hardcoded classes of units in 
WikibaseQualityConstraints or whether it's possible to create new classes and 
immediately use them in "allowed units" constraints.

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

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

To: abian
Cc: Wikirik123, Lucas_Werkmeister_WMDE, Ivan_A_Krestinin, abian, Aklapper, 
darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, 
_jensen, rosalieper, Agabi10, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to