Replies: 5 comments
-
I would not try to capture this. |
Beta Was this translation helpful? Give feedback.
-
I would (as a user) try to capture it with the minimal work possible. To me that means translate the original into true SKOS properties (as I think Clement is saying), but figure out a way to say the source for the mappings, and that my exactMatch mappings came from EXACT, and so on (i.e., the translation rules). At least where I could. Or better, I could just point to the software that creates the mappings, which should be in some git repo and which will provide the exact translation methods. In either case, you don't have to solve it as part of SSSOM, not part of the standard. That's what best practices are for. |
Beta Was this translation helpful? Give feedback.
-
So @graybeal you would merely write a comment or provide a link to the python script to document the translation rules? |
Beta Was this translation helpful? Give feedback.
-
I think repeating the rules in the mapping file would be time consuming and error prone. Pointing to the IRI of the conversion software is basic good provenance. So that’s a yes.
…________________________________
From: Nico Matentzoglu ***@***.***>
Sent: Thursday, April 21, 2022 2:15:06 PM
To: mapping-commons/sssom ***@***.***>
Cc: John Graybeal ***@***.***>; Mention ***@***.***>
Subject: Re: [mapping-commons/sssom] How to capture meta-mappings (mappings of mappings into SSSOM) (Issue #145)
So @graybeal<https://github.com/graybeal> you would merely write a comment or provide a link to the python script to document the translation rules?
—
Reply to this email directly, view it on GitHub<#145 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAJVJUFWWUSP7RBVABMYOO3VGHANVANCNFSM5PKJ6Q3Q>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Real-world data always requires some cleanup and transformation such as renaming column headers and replacing identifiers. It can be done with command line script (e.g. sed or awk) or with search & replace in a spreadsheet software. |
Beta Was this translation helpful? Give feedback.
-
We frequently have the situation where we take an external mapping provided as a spreadsheet (e.g. from NCIT, SNOMED, etc) and wish to convert it to SSSOM for further processing. The question is what to best do about the metamodel mapping. Let's say we have this raw data:
It seems wasteful to import this as:
Rather we would like something like:
Where do we capture that
someCrazyNamespace:EXACT ---> skos:exactMatch
description field
?I notice these kinds of questions are relevant everywhere, like LinkML etc, but just thinking out loud now. Any ideas anyone?
Beta Was this translation helpful? Give feedback.
All reactions