Re: Proposal to NOT address I18N-ISSUE-183: Use of types questionable?

Eric,

I have to disagree. Neither untyped integers nor untyped doubles are hard to find; examples for integers include world rankings (e.g., 34th in the world) and unit multipliers (e.g., 9 for billions); examples for doubles include ratios (e.g., change compared to previous year) and, indeed, structured typed values:

  :landArea [ :unit :km2; :value 9.827E6 ];

The current example does not just lack rigour, but shows two examples of poor practice:

1. the use of integers where a more appropriate XSD type (gYear) exists; don't do that!
2. the use of floating point values for currencies; don't do that!

Also, a census does not produce GDP figures. Call it </stat-facts2007> or whatever.

Best,
Richard
(who often hangs out with statistics people)




On 17 Oct 2012, at 17:53, Eric Prud'hommeaux wrote:

> Proposal to NOT address I18N-ISSUE-183: Use of types questionable?
> ===============================================================
> 
> Issue: In the example [[
>  @prefix : <http://example.org/stats> .
>  <http://somecountry.example/census2007>
>      :censusYear 2007 ;              # xsd:integer
>      :birthsPerPerson .0135 ;        # xsd:decimal
>      :gdpDollars 14074.2E9 ;         # xsd:double
> ]], 2007 and 14074.2E9 should be typed.
> 
> Discussion: Untyped integers and doubles are hard to come by. The datatypes for some, like gene sequence location, don't spring as readily to the average reader's mind, but they are typed. While the current example doesn't demonstrate the most rigorous data modelling, it illustrates the parsing of integer, decimal and double barewords.
> 
> Proposal: no change, noting that proposals from I18N (or anyone else) are welcome and easily incorporated after LC.
> 
> Please indicate whether this addresses the stated issue.
> -- 
> -ericP
> 

Received on Sunday, 21 October 2012 19:21:47 UTC