You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
samm:description "Represents if speed of position change is within specification (green), within tolerance (yellow), or outside specification (red)."@en ;
153
+
samm:dataType xsd:string ;
154
+
samm-c:values ( :GreenLight ) .
155
+
156
+
:GreenLight a samm:Value ;
157
+
samm:value "green" ;
158
+
samm:preferredName "Normal"@en ;
159
+
samm:description "Indicates that the speed of position change is within specification."@en ;
samm:description "Represents if speed of position change is within specification (green), within tolerance (yellow), or outside specification (red)."@en ;
168
+
samm:dataType xsd:string ;
169
+
samm-c:values (
170
+
:GreenLight # A reference to named described scalar value
171
+
"yellow"# A direct literal value
172
+
[
173
+
a samm:Value ; # An anonymous described scalar value with additional metadata
174
+
samm:value "red" ;
175
+
samm:preferredName "Critical Warning"@en ;
176
+
samm:description "Indicates that the position change is outside the specification."@en
177
+
]
178
+
) .
179
+
180
+
:GreenLight a samm:Value ;
181
+
samm:value "green" ;
182
+
samm:preferredName "Normal"@en ;
183
+
samm:description "Indicates that the speed of position change is within specification."@en ;
Copy file name to clipboardExpand all lines: documentation/modules/ROOT/pages/entities.adoc
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,3 +73,25 @@ Describes a resource with a relative or absolute location and a MIME type.
73
73
| `samm-e:resource` | The location of the resource | xref:characteristics.adoc#resource-path-characteristic[Resource Path]
74
74
| `samm-e:mimeType` | The MIME type of the resource | xref:characteristics.adoc#mime-typecharacteristic[MIME Type]
75
75
|===
76
+
77
+
[[quantity-entity]]
78
+
== Quantity Entity
79
+
[.element-urn]
80
+
--
81
+
{samm-e}Quantity
82
+
--
83
+
84
+
The Quantity Entity is used to represent a numeric value along with its corresponding physical unit.
85
+
It ensures that values are always explicitly associated with their units, providing clarity and consistency
86
+
in data representation.
87
+
88
+
This entity is particularly useful when working with dynamic units that are determined at runtime.
89
+
90
+
See xref:modeling-guidelines.adoc#declaring-quantities[declaring quantities] for usage in an Aspect Model.
91
+
92
+
[width="100%", options="header", cols="30,40,30"]
93
+
|===
94
+
| Property | Description | Characteristic
95
+
| `samm-e:value` | The numeric value | This is an xref:modeling-guidelines.adoc#abstract-entities-with-abstract-properties[Abstract Property] without a Characteristic
96
+
| `samm-e:unit` | The corresponding physical unit of the value | xref:characteristics.adoc#unit-reference-characteristic[Unit Reference]
** https://github.com/eclipse-esmf/esmf-semantic-aspect-meta-model/blob/main/documentation/decisions/0005-rdf-vocabulary.md[Aspect Meta Model RDF Vocabulary]
51
51
** https://github.com/eclipse-esmf/esmf-semantic-aspect-meta-model/blob/main/documentation/decisions/0006-unit-catalog.md[Unit Catalog: Use UNECE Recommendation 20]
52
52
53
-
* Section on xref:samm-specification:ROOT:modeling-guidelines.adoc#declaring-events[Declaring
54
-
Events] was added; wrong edges in the xref:samm-specification:ROOT:meta-model-elements.adoc[Meta
53
+
* Section on xref:ROOT:modeling-guidelines.adoc#declaring-events[Declaring
54
+
Events] was added; wrong edges in the xref:ROOT:meta-model-elements.adoc[Meta
55
55
Model Elements overview diagram] were fixed.
56
56
https://github.com/eclipse-esmf/esmf-semantic-aspect-meta-model/issues/104[Issue on Github].
57
57
58
-
* xref:samm-specification:ROOT:modeling-guidelines.adoc#naming-rules[Naming convention] for Events
58
+
* xref:ROOT:modeling-guidelines.adoc#naming-rules[Naming convention] for Events
59
59
was clarified: Events should use UpperCamelCase, like Aspects, Entities, Constraints and
60
60
Characteristics. https://github.com/eclipse-esmf/esmf-semantic-aspect-meta-model/issues/147[Issue on Github].
61
61
62
-
* Section on xref:samm-specification:appendix:model-evolution.adoc[Model Evolution] was added in
62
+
* Section on xref:appendix:model-evolution.adoc[Model Evolution] was added in
63
63
appendix. https://github.com/eclipse-esmf/esmf-semantic-aspect-meta-model/issues/82[Issue on
64
64
Github].
65
65
66
66
* Reference to outdated terminology "leaf Characteristic" was fixed.
67
67
https://github.com/eclipse-esmf/esmf-semantic-aspect-meta-model/pull/215[Issue on Github].
68
68
69
-
* Japanese sample text in xref:samm-specification:ROOT:datatypes.adoc[Data Types] was fixed.
69
+
* Japanese sample text in xref:ROOT:datatypes.adoc[Data Types] was fixed.
70
70
https://github.com/eclipse-esmf/esmf-semantic-aspect-meta-model/issues/172[Issue on Github].
71
71
72
72
[[samm-2.1.0-others]]
@@ -104,19 +104,19 @@ re-released as Eclipse Semantic Modeling Framework (ESMF) Semantic Aspect Meta M
104
104
of an element is the local name part of its URI, i.e., the part following the `#` symbol.
105
105
* The meta model elements `Unit`, `QuantityKinds` and their corresponding attributes have been moved
106
106
from the `unit` namespace to the `bamm` namespace. The unit namespace is now solely reserved for
107
-
the units of the xref:samm-specification:appendix:unitcatalog.adoc#unit-catalog-units[unit
107
+
the units of the xref:appendix:unitcatalog.adoc#unit-catalog-units[unit
0 commit comments