SWIM Supporting Material
SWIM-INFO-017 Mapping of data concepts
Requirement
Guidance
This requirement covers the mapping of data concepts. This requires two traces as shown below.
The Using the AIRM page gives a summary on how to start using the AIRM for semantic correspondence purposes.
The first trace, at the data concept level, is similar to that explained in SWIM-INFO-016 Mapping of information concepts.
The second trace is particular to data concepts. This trace still concerns the semantics of the data types being mapped to each other. However, it is important to bear in mind the requirement on the compatibility of data types - that requirement will make data concept traces much easier.
It is usually easy to spot exact matches when tracing data types. The skill is when they do not match exactly. Some things then need to be considered.
- The specification talks about an "equivalent" meaning. This allows some differences in the data types.
- The requirement on the compatibility of data types gives good examples of where the data types can be considered as equivalent.
- The specification talks about a "wider" meaning.
- The requirement on the compatibility of data types explains that the compatibility of data types can be achieved in several ways
- by "casting" of data types. This, for example, means that a numeric data type can always be regarded as a string. This means a trace can be established when the information definition's data type can be cast to the AIRM data type.
- likewise a string of length 4 can always "fit" a string of length 32.
- by "casting" of data types. This, for example, means that a numeric data type can always be regarded as a string. This means a trace can be established when the information definition's data type can be cast to the AIRM data type.
- The requirement on the compatibility of data types explains that the compatibility of data types can be achieved in several ways
It is also possible to rule out some traces:
- When the information definition's data type has a wider, more general, meaning no trace can be made. This may mean:
- the data concept mapping is wrong. In effect, the data concept is not the same as the AIRM concept.
- a change request may be considered if the AIRM data type is too restrictive.
If you discover the AIRM concept you are using in the mapping does not have a data type, you are probably looking at the conceptual model but you should be looking at the logical model. Data concepts and their data types are found in the AIRM Logical Model. See the Using the AIRM page for more details on this.
Verification Support
Correctness
Check that:
[ ] Each trace from the data concept in the information definition is to the AIRM concept that has an equivalent or wider meaning.
[ ] Each trace from the data type in the information definition is to the AIRM data type that has an equivalent or wider meaning.
Examples
The following example shows how the trace could look in XML Schema. The trace is to the AIRM concept. An further trace has been added to record the dataType tracing.
<xs:element name="aircraftIdentification" type="don:AircraftIdentification" id="ICAOFlightIdentification.aircraftIdentification" minOccurs="1" maxOccurs="1"> <xs:annotation> <xs:documentation>Name used by ATS units to identify and communicate with the aircraft.</xs:documentation> <xs:documentation> <semanticCorrespondence> <mapping> <trace type="dataConceptTrace">urn:aero:airm:1.0.0:LogicalModel:Subjects:Flight:FlightIdentifier:AircraftIdentification</trace> <trace type="dataTypeTrace">CharacterString</trace> </mapping> </semanticCorrespondence> </xs:documentation> </xs:annotation> </xs:element>
Status: Living Material