Skip to content

Commit 9833489

Browse files
nroehnerpalchicz
authored andcommitted
Sep028: Measurements/Parameters and Units (#212)
This commit adds incorporates a subset of classes from the Ontology of Units of Measure (OM) to represent measurements/parameters and their associated units. As part of this commit, a new `measure` property has been added to the relevant classes in the data model. As part of this change: * Add new validation rules to ComponentInstance, Module, Interaction, and Participation class * Add uml, text, and validation rules for Measurement class * Add uml, text, and validation rules for Unit class and derived classes * Add uml, text, and validation rules for Prefix class and derived classes Additional changes: * Splits out a complementary standards section
1 parent b0668fa commit 9833489

17 files changed

+3093
-1105
lines changed

apdx-validation.tex

Lines changed: 220 additions & 2 deletions
Large diffs are not rendered by default.

complementary_standards.tex

Lines changed: 1554 additions & 0 deletions
Large diffs are not rendered by default.

model.tex

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,13 @@ \subsubsection{ComponentInstance}
589589

590590
In some cases, a designer might want to set the \sbol{access} property of a \sbol{ComponentInstance} such that others cannot map to the \sbol{ComponentInstance} when they reuse its parent \sbol{ComponentDefinition}. For example, a designer who is concerned about retroactivity might set the \sbol{access} of the \sbol{ComponentInstance} to ``private'' in order to prevent its mapping to another \sbol{ComponentInstance} that participates in a new \sbol{Interaction} as part of a composite design.
591591

592+
\twothreezero{
593+
\paragraph{The \sbolheading{measures} property}
594+
\label{sec:measures:CI}
595+
596+
The \sbolmult{measures:CI}{measures} property is OPTIONAL and MAY contain a set of \sbol{Measure} objects. \ref{sec:Measure} contains a more detailed description of the \sbol{Measure} class.
597+
}
598+
592599
\paragraph{Serialization}
593600

594601
No serialization is defined for the \sbol{ComponentInstance} class, since this class is only used indirectly through the \sbol{Component} and \sbol{FunctionalComponent} subclasses.
@@ -1272,6 +1279,13 @@ \subsubsection{Module}
12721279

12731280
\ref{sec:MapsTo} contains a detailed description of the \sbol{MapsTo} class.
12741281

1282+
\twothreezero{
1283+
\paragraph{The \sbolheading{measures} property}
1284+
\label{sec:measures:M}
1285+
1286+
The \sbolmult{measures:M}{measures} property is OPTIONAL and MAY contain a set of \sbol{Measure} objects. \ref{sec:Measure} contains a more detailed description of the \sbol{Measure} class.
1287+
}
1288+
12751289
\paragraph{Serialization}
12761290
The serialization of \sbol{Module}s has the following form.
12771291
\lstsetsbol
@@ -1403,6 +1417,13 @@ \subsubsection{Interaction}
14031417

14041418
Even though an \sbol{Interaction} generally contains at least one \sbol{Participation}, the case of zero \sbol{Participation} objects is allowed because it is plausible that a designer might want to specify that an \sbol{Interaction} will exist, even if its \sbol{participant}s have not yet been determined.
14051419

1420+
\twothreezero{
1421+
\paragraph{The \sbolheading{measures} property}
1422+
\label{sec:measures:I}
1423+
1424+
The \sbolmult{measures:I}{measures} property is OPTIONAL and MAY contain a set of \sbol{Measure} objects. \ref{sec:Measure} contains a more detailed description of the \sbol{Measure} class.
1425+
}
1426+
14061427
\paragraph{Serialization}
14071428

14081429
The serialization of an \sbol{Interaction} has the following form.
@@ -1494,6 +1515,12 @@ \subsubsection{Participation}
14941515

14951516
The \sbol{participant} property MUST specify precisely one \sbol{FunctionalComponent} object that plays the designated role in its parent \sbol{Interaction} object.
14961517

1518+
\twothreezero{
1519+
\paragraph{The \sbolheading{measures} property}
1520+
\label{sec:measures:P}
1521+
1522+
The \sbolmult{measures:P}{measures} property is OPTIONAL and MAY contain a set of \sbol{Measure} objects. \ref{sec:Measure} contains a more detailed description of the \sbol{Measure} class.
1523+
}
14971524

14981525
\paragraph{Serialization}
14991526

practices.tex

Lines changed: 0 additions & 1102 deletions
Large diffs are not rendered by default.

sbol2.tex

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,10 @@
6565
\lstdefinelanguage{sbol}
6666
{morekeywords={xmlns:sbol,xmlns:prov,xmlns:rdf,xmlns:dcterms,xmlns:myapp,rdf:RDF,rdf:resource,rdf:about,sbol:displayId,sbol:persistentIdentity,sbol:version,sbol:timeStamp,sbol:name,sbol:description,sbol:member,sbol:Collection,sbol:type,
6767
sbol:role, sbol:roleIntegration, sbol:ComponentDefinition, sbol:MapsTo, sbol:sequence,sbol:wasDerivedFrom,sbol:Component,sbol:subComponent,sbol:SequenceAnnotation,sbol:component,sbol:location, sbol:sourceLocation, sbol:sequenceAnnotation, sbol:Range, sbol:start, sbol:end, sbol:orientation,sbol:SequenceConstraint, sbol:restriction, sbol:subject, sbol:object,sbol:Sequence, sbol:elements, sbol:encoding,sbol:Model, sbol:source, sbol:language, sbol:framework,sbol:FunctionalComponent, sbol:Module, sbol:Interaction, sbol:interaction, sbol:module, sbol:model,sbol:Model,sbol:definition, sbol:access, sbol:direction, sbol:mapsTo, sbol:refinement, sbol:local, sbol:remote, sbol:participation, sbol:Participation, sbol:participant,sbol:sequenceConstraint,sbol:at,sbol:Cut,sbol:functionalComponent,sbol:ModuleDefinition,prov:wasDerivedFrom,dcterms:title,dcterms:description,sbol:Implementation,sbol:built,sbol:CombinatorialDerivation,sbol:template,sbol:strategy,sbol:variableComponent,sbol:VariableComponent,sbol:operator,sbol:variable,sbol:variant,sbol:variantCollection,sbol:variantDerivations,sbol:format,sbol:size,sbol:hash,sbol:Attachment,prov:wasGeneratedBy,prov:Activity,prov:startedAtTime,prov:endedAtTime,prov:wasInformedBy,prov:qualifiedUsage,prov:Usage,prov:entity,prov:qualifiedAssociation,prov:Association,prov:hadRole,prov:hadPlan,prov:Plan,prov:agent,prov:Agent,
68-
sbol:experimentalData,sbol:Experiment,sbol:ExperimentalData,sbol:attachment},
68+
sbol:experimentalData,sbol:Experiment,sbol:ExperimentalData,sbol:attachment,om:hasNumericalValue,om:symbol,om:alternativeSymbol,om:alternativeLabel,om:longcomment,om:hasFactor,
69+
om:hasTerm1,om:hasTerm2,om:hasNumerator,om:hasDenominator,om:hasBase,om:hasExponent,om:hasUnit,om:hasPrefix,rdfs:comment,rdfs:label,
70+
om:Measure,om:Unit,om:SingularUnit,om:CompoundUnit,om:om:UnitMultiplication,om:UnitDivision,om:Exponentiation,om:PrefixedUnit,om:Prefix,om:SIPrefix,
71+
om:BinaryPrefix,xlmns:om,xlmns:rdfs,xlmns:xsd,xml:lang},
6972
basicstyle=\fontsize{7}{9}\selectfont\ttfamily,
7073
backgroundcolor=\color{light-gray},
7174
keywordstyle=\color{blue},
@@ -269,6 +272,8 @@
269272
270273
\input{practices}
271274
275+
\input{complementary_standards}
276+
272277
\newpage
273278
\bibliography{sbol}
274279

uml/component_instance.pdf

189 Bytes
Binary file not shown.

uml/interaction.pdf

156 Bytes
Binary file not shown.

uml/media_example.pdf

4.14 KB
Binary file not shown.

uml/module.pdf

172 Bytes
Binary file not shown.

uml/om.pdf

3.98 KB
Binary file not shown.

0 commit comments

Comments
 (0)