Lucas_Werkmeister_WMDE added a comment.

  To test this, we can query for the normalized value of the statement 
“conversion to standard unit: 1 technical atmosphere”, which is present on 
kilogram-force per square centimetre <https://www.wikidata.org/wiki/Q13582667> 
and on the sandbox item <https://www.wikidata.org/wiki/Q4115189>. On the former 
item, the statement has existed for a while, and the item hasn’t been edited 
yet since the config change was deployed earlier today, so the query service 
still has data that was generated using the old unit conversion config. On the 
sandbox item, I just added the statement, so if the query service has it then 
it’s using the new config.
  
    SELECT ?subject ?subjectLabel ?amount WHERE {
      VALUES ?subject {
        wd:Q13582667
        wd:Q4115189
      }
      ?subject p:P2442/psn:P2442/wikibase:quantityAmount ?amount.
      SERVICE wikibase:label { bd:serviceParam wikibase:language 
"[AUTO_LANGUAGE],en". }
    }
  
  Try it! 
<https://query.wikidata.org/#SELECT%20%3Fsubject%20%3FsubjectLabel%20%3Famount%20WHERE%20%7B%0A%20%20VALUES%20%3Fsubject%20%7B%0A%20%20%20%20wd%3AQ13582667%0A%20%20%20%20wd%3AQ4115189%0A%20%20%7D%0A%20%20%3Fsubject%20p%3AP2442%2Fpsn%3AP2442%2Fwikibase%3AquantityAmount%20%3Famount.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D>
  
  | subject | subjectLabel                         | amount  |
  | ------- | ------------------------------------ | ------- |
  | wd:Q13582667    | kilogram-force per square centimetre | 9806.65 |
  | wd:Q4115189    | Wikidata Sandbox                     | 98066.5 |
  |
  
  A look at the Wikipedia article 
<https://en.wikipedia.org/wiki/Kilogram-force_per_square_centimetre> tells us 
that one kilogram-force per square centimetre, aka one technical atmosphere, 
ought to be 98.0665 kPa or 98066.5 Pa, not 9806.65 Pa as under the old config.

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

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

To: Lucas_Werkmeister_WMDE
Cc: dcausse, Zbyszko, Aklapper, Lucas_Werkmeister_WMDE, Gehel, Toni_001, 
MPhamWMF, CBogen, Akuckartz, Iflorez, alaa_wmde, Nandana, 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