-
Key: FIBOFTF-7
-
Status: closed
-
Source: Adaptive ( Mr. Pete Rivett)
-
Summary:
The definition of datatype Percentage seems logically incorrect: by using equivalentClass of decimal that also, as far as I understand it, creates the absurdity that all decimals (e.g. 567.34) are considered percentages.
(definition elided).
<rdfs:Datatype rdf:about="&fibo-fnd-utl-bt;percentage">
<rdfs:label>percentage</rdfs:label>
<owl:equivalentClass rdf:resource="&xsd;decimal"/>
</rdfs:Datatype>
Can we not use a restriction (RDF syntax looks ugly but came from "personAge" in OLW2 Primer):<rdfs:Datatype rdf:about="&fibo-fnd-utl-bt;percentage">
<rdfs:label>percentage</rdfs:label>
<owl:equivalentClass >
<rdfs:Datatype>
<owl:onDatatype rdf:resource="&xsd;decimal"/>
<owl:withRestrictions rdf:parseType="Collection">
<rdf:Description>
<xsd:minInclusive rdf:datatype="&xsd;decimal">0</xsd:minInclusive>
</rdf:Description>
<rdf:Description>
<xsd:maxInclusive rdf:datatype="&xsd; decimal ">100</xsd:maxInclusive>
</rdf:Description>
</owl:withRestrictions>
<rdfs:Datatype>
</owl:equivalentClass >
</rdfs:Datatype>Similar errors also affect other datatypes:
- basisPoints
- restrictedPercentage
-
Reported: EDMC-FIBO/FND 1.0b1 — Thu, 27 Feb 2014 20:08 GMT
-
Disposition: Resolved — EDMC-FIBO/FND 1.0b2
-
Disposition Summary:
Logical error in definitions of BusinessFacingTypes
Several definitions in BusinessFacingTypes appear to be incorrectly specified, including percentage, restrictedPercentage, and basisPoints. All three are declared to be equivalent to xsd:decimal, which seems wrong from a logical perspective.
-
Updated: Fri, 6 Mar 2015 20:58 GMT
-
Attachments:
- BasisPointsDefinition.svg 162 kB (image/svg+xml)
- GeneralPurposeBusinessTypes.svg 1.14 MB (image/svg+xml)
- PercentageDefinitions.svg 365 kB (image/svg+xml)
FIBOFTF — Logical error in definitions of BusinessFacingTypes
- Key: FIBOFTF-7
- OMG Task Force: FIBO Foundations 1.0 FTF