Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/issue 782 simplify units. Fixes #782. #784

Closed
wants to merge 18 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
7f223b9
Added temporary file to track detailed changes
uscholdm Dec 8, 2022
28411af
- Rename CoherentUnit to StandardUnit (have Coherent Unit be an altla…
uscholdm Dec 9, 2022
2859fb0
- Remove product and ratio units and magnitudes
uscholdm Dec 9, 2022
a3cc14c
- Moved an annotation about units from Magnitude to a better home: Un…
uscholdm Dec 9, 2022
850573d
Make hasStandardUnit functional
uscholdm Dec 12, 2022
e2e6e4e
Remove and deprecate SimpleUnitOfMeasure
uscholdm Dec 12, 2022
075af05
Remove and deprecate hasBaseUnit. Use hasStandardUnit instead
uscholdm Dec 12, 2022
4cb970c
Rename Extent to Distance for consistency with DistanceUnit
uscholdm Dec 12, 2022
1f2238e
Fixed mistake, I has left out the class Distance.
uscholdm Dec 12, 2022
5518944
Remove redundant typing of BaseUnits, can be inferred from enumeration.
uscholdm Dec 13, 2022
b829011
Added square meter and cubic meter as standard units for Area and Vol…
uscholdm Dec 13, 2022
c0924ab
Make cubic_meter and square_meter explicit instances of just UnitOfMe…
uscholdm Dec 14, 2022
46ac58e
Fix mistaken prefLabel
uscholdm Dec 15, 2022
2bbfe85
Make non-standard units explicit instances of UnitOfMeasure rather th…
uscholdm Dec 15, 2022
46383cf
Renamed MolarQuantity to MoleQuantity and CountingUnit to CountUnit f…
uscholdm Dec 16, 2022
223e611
Renamed InformationQuantity to DataSize for naming consistency
uscholdm Dec 16, 2022
26c007b
Ignore stray protege file gistUnitsMagnitudes-PROTEGE.ttl created for…
uscholdm Jan 27, 2023
995c4dd
Updated change notes
uscholdm Jan 27, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
*_webDownload/
.DS_Store
*.orig

gistUnitsMagnitudes-PROTEGE.ttl
46 changes: 46 additions & 0 deletions docs/release_notes/Issue-782.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
### Major Updates
- CoherentUnit / StandardUnit
- Renamed CoherentUnit to StandardUnit with altLabel as CoherentUnit
- Changed formal definition to be equivalent to a UnitOfMeasure that
- has conversion=1
- has itself as a standard unit
- has a scopeNote indicating that this captures the idea of dimensiona UnitOfMeasure with itself as a standerd unit and conversion of 1.
- Made hasStandardUnit functional
- UnitOfMeasure
- made equivalent to a Magnitude that
- has numericValue =1 (it's not called 'unit' for nothing)
- has itself at its unit of measure
- has conversion=1
- has a standard unit
- removed UnitOfMeasuree from disjoints where incorrect or redundant

- Removed product and ratio units and magnitudes
- Removed: ProductUnit, CoherentProductUnit, ProductMagnitude
- Removed: RatioUnit, CoherentRatioUnit, RatioMagnitude
- Percentage was redefined because it had been a subclass of RatioMagnitude which was defined in terms of RationUnit. The old definitions are inserted as blank nodes to retain same formal meaning.

- Aspect
- Make Aspect a not a subclass of Category. Aspects such as like length, or inner diameter or cycle time do not exist for the purpose of categorizing things.
- Make Aspect a subclass of SchemaMetaData. An aspect is a representation of a property connecting two things. It has roughly the same meaning as an OWL property.

- Renamed Extent to Distance for consistency with DistanceUnit
- Renamed MolarQuantity to MoleQuantity and CountingUnit to CountUnit for consistency
- Renamed InformationQuantity to DataSize for naming consistency

### Minor Updates
- Moved an annotation about units from Magnitude to a better home: UnitOfMeasure
- Fixed an erroneous definition of Magnitude and added examples
- Added scopeNote for hasPrecision to say the precision of a Magnitude must have the same StandardUnit as the Magnitude.
- Removed and deprecated SimpleUnitOfMeasure
- Removed and deprecated hasBaseUnit. Use hasStandardUnit instead.
- Removed redundant typing of BaseUnits, can be inferred from enumeration.
- Added square meter and cubic meter as standard units for Area and Volume units respectively.
- Made cubic_meter and square_meter explicit instances of just UnitOfMeasure instead of VolumeUnit and AreaUnit, respectively.
- AreaUnit is now equivalent to UnitOfMeasure with standard unit of square meter, no longer requiring multipier/multiplicand
- VolumeUnit is now equivalent to UnitOfMeasure with standard unit of cubic meter, no longer requiring multipier/multiplicand
- Made non-standard units (e.g. minute) explicit instances of UnitOfMeasure rather than of the more specifit class, (e..g DurationUnit)





Loading