Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Table of Contents |
---|
The opportunity
It is not clear in which order to read traces when there are more than one in a single semantic correspondence statement. Some traces are, in fact, qualifiers of other traces. Is it possible to somehow differentiate the traces and apply a reading order?
Background
Much of the background has been captured in the comments section below.
Discussion
The discussion has been split into parts to make easier to follow.
Assumptions
The traces are to be read by humans/machines
The traces are to be created by humans/machines
Different types of traces
Note |
---|
|
Requirement | Trace required | Trace name | Definition |
---|---|---|---|
SWIM-INFO-016 Mapping of information concepts | requires one concept trace | "information concept" trace | trace from the information concept in the information definition to the AIRM concept that has an equivalent or wider meaning |
SWIM-INFO-017 Mapping of data concepts | requires one concept trace and one data type trace |
|
|
SWIM-INFO-018 Additional traces to clarify the mapping | allows any number of additional clarifying traces | "additional" trace | trace to an AIRM concept to fully describe the narrowing of the concept being mapped |
Source and target of traces
The usual start point depends on the requirement being fulfilled.
Trace name | Source | Target |
---|---|---|
"information concept" trace | Likely sources: information exchange requirements | Best place to start: Conceptual Model. If not found there, use Contextual Model or Logical Model |
| Likely sources: service message | Best place to start: Logical Model. If not found there, use Contextual Model or Conceptual Model for the "data concept" trace |
"additional" trace | source depends on the trace being clarified | Should be in the same model as the trace being qualified. |
Info |
---|
The Interoperability Architecture provides good advice. Basically, trace to the adjacent box by default. |
Reading order of traces
General reading order is:
- "information concept" trace
- "additional" traces
or
- "data concept" trace
- "data type" trace
- "additional" traces
All traces have an AND relationship.
Level of semantic correspondence
Advance users may like to add extra detail concerning the level of semantic correspondence achieved. The requirements talk about "equivalent or wider meaning"
Definition being traced to is... | Annotations that can make this more explicit | or in skos |
---|---|---|
Equivalent |
|
|
Wider | Specialised: The definition in the information definition is a special case of the definition found in the AIRM. | narrowMatch: used to state a hierarchical mapping link between two concepts. |
Note |
---|
We only need additional traces if the main trace is "specialised" |
Note |
---|
Traces cannot be annotated as "generalised" as this breaks the requirement. |
Info | ||
---|---|---|
| ||
AIRM_Rule 60 The 'Definition:Adapted' AIRM::TaggedValue shall be completed in order to indicate the level of semantic correspondence with the source definition. The list of values is:
AIRM_Rule 116 A data or information construct is considered to be in semantic correspondence with the AIRM if one of the following conditions holds:
|
Annotating traces
It is possible to add a further notes to the mapping (or trace?). This comes in handy for example when e.g. tracing legacy interfaces that have data type constraints leading to loss of Information.
Representing traces in XSD
Example of tracing exercise
However it should be consistent with the information given at the AIRM homepage. Links to the according pages will also help.
How should the different traces be represented in the XSD examples we use?
<dataConceptTrace>
<dataTypeTrace>
<trace keyword="dataConceptTrace>
<trace keyword="dataTypeTrace>
"additional" trace
<trace keyword="additionalTrace>
If this is a best practice, the attribute option is probably preferable - the attribute can be optional and the name of the element is always <trace>
Full example
If we apply all of this:
<xs:annotation> <xs:documentation> <semanticCorrespondence> <mapping note="loss of info because of legacy"> <informationConceptTrace degree="specialised">-AIRM unique identifier-</informationConceptTrace> <additionalTrace>-AIRM unique identifier-</additionalTrace> </mapping> </semanticCorrespondence> </xs:documentation> </xs:annotation>
or:
<xs:annotation> <xs:documentation> <semanticCorrespondence> <mapping note="loss of info because of legacy"> <trace type="informationConceptTrace" degree="specialised">-AIRM unique identifier-</informationConceptTrace> <trace type="additionalTrace">-AIRM unique identifier-</additionalTrace> </mapping> </semanticCorrespondence> </xs:documentation> </xs:annotation>