Skip to content

Commit

Permalink
Update documentation and Quantity model
Browse files Browse the repository at this point in the history
  • Loading branch information
Yauhenikapl committed Jan 30, 2025
1 parent 672d381 commit dc9f18e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 deletions.
4 changes: 0 additions & 4 deletions documentation/modules/ROOT/examples/aspect-sample.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,6 @@
a samm-c:SingleEntity ;
samm:dataType :Parameter ;
] .

:TestMeasurement a :Parameter ;
:parameterValue 75 ;
:parameterUnit unit:kilogram .
# end::quantity-declaration[]

# tag::enumeration-simple-declaration-string[]
Expand Down
5 changes: 0 additions & 5 deletions documentation/modules/ROOT/pages/modeling-guidelines.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -408,11 +408,6 @@ Example:
include::example$aspect-sample.ttl[tag=quantity-declaration]
----

TIP: When defining measurements, ensure that both `value` and `unit` properties are always included
together to maintain semantic integrity. If multiple units are relevant for a given aspect, consider
defining explicit conversions or constraints to prevent ambiguity in data interpretation.


[[declaring-either]]
==== Declaring Either

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,4 @@
samm:characteristic [
a samm-c:SingleEntity ;
samm:dataType :Parameter ;
] .

:TestMeasurement a :Parameter ;
:parameterValue 75 ;
:parameterUnit unit:kilogram .
] .

0 comments on commit dc9f18e

Please sign in to comment.