tdwg / gbwg

Genomic Biodiversity Interest Group
Apache License 2.0
18 stars 2 forks source link

Capture value syntax recommendations in DwC-MIxS mapping #28

Closed raissameyer closed 3 years ago

raissameyer commented 3 years ago

While most MIxS terms specify a constrained value syntax, many of the mapped DwC terms are "verbatim".

We will have to consider this in addition to the definitions when choosing mapping predicates. We will add a column to the mapping spreadsheet to capture this.

Moreover, the mapping predicates may change depending on the direction of the mapping (e.g. see issue #15).

Example For MIxS elevation the value syntax is constrained to be {float}{unit}, however for verbatimElevation it could be anything, e.g. 1 m 5 cm, so {float}{unit}{float}{unit}, etc. Here, for taking MIxS into DwC skos:exactMatch is fine, however, if the mapping goes from DwC to MIxS there is no guarantee that the value syntax pattern will be matched. We are currently mapping in the direction of DwC to MIxS, so it would be a skos:broadMatch (because the subject is DwC and the object is MIxS, the DwC would always be broader because there could be a wider range of syntax coming from verbatim)

tucotuco commented 3 years ago

Do you think it is best to add reverse mapping predicates to the existing issues?

On Tue, Feb 23, 2021 at 5:40 PM Raissa Meyer notifications@github.com wrote:

While most MIxS terms specify a constrained value syntax, many of the mapped DwC terms are "verbatim".

We will have to consider this in addition to the definitions when choosing mapping predicates. We will add a column to the mapping spreadsheet to capture this.

Moreover, the mapping predicates may change depending on the direction of the mapping (e.g. see issue #15 https://github.com/tdwg/gbwg/issues/15).

Example For MIxS elevation the value syntax is constrained to be {float}{unit}, however for verbatimElevation it could be anything, e.g. 1 m 5 cm, so {float}{unit}{float}{unit}, etc. Here, for taking MIxS into DwC skos:exactMatch is fine, however, if the mapping goes from DwC to MIxS there is no guarantee that the value syntax pattern will be matched. We are currently mapping in the direction of DwC to MIxS, so it would be a skos:broadMatch (because the subject is DwC and the object is MIxS, the DwC would always be broader because there could be a wider range of syntax coming from verbatim)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tdwg/gbwg/issues/28, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADQ72ZKORUZ3AREVCSBXSLTAQHD3ANCNFSM4YDFWQQQ .

ymgan commented 3 years ago

What do you think about MIxS terms that might not be mapped to a Darwin Core term but could be the values of Darwin Core fields?

Take the elevation term for example, it can be fitted into Darwin Core Measurement or Fact extension like this:

measurementType: elevation measurementValue: 1.05 measurementUnit: meter

I believe many MIxS terms could be fitted this way (especially the ones from various environmental packages) into Darwin Core even though they could not be mapped semantically.

Darwin Core terms like these will have broad usage that might not be mapped with any MIxS fields, I guess?