qudt / qudt-public-repo

QUDT -Quantities, Units, Dimensions and dataTypes - public repository
Other
108 stars 69 forks source link

DRAFT: POC for Using xsd:decimal while maintaining readability #821

Closed fkleedorfer closed 4 months ago

fkleedorfer commented 7 months ago

This is a suggestion regarding #798

The suggestion implemented in this DRAFT PR is

The changes to the units ttl file were made in order to test the SHACL constraint, hopefully covering all the possible cases. The proofValues are added using the property qudt:conversionMultiplierInScientificNotation.

Details:

Note: This is just a proof of concept - if adopted the question would be: do we use one proofValue property per value property, or do we use one property holding all proofValues for all numbers in the entity.

The former is straighforward based on this PR. The latter would require a format for the proof values property, such as ([property] [proofValue] [newline] )*, and the SHACL rule would have to do some more work (splitting by newline and selecting the value of [property] for each line).

steveraysteveray commented 4 months ago

Resolved in #869