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:
| HPO Term |
MPO Term |
Mapping |
| HP:123 |
MP:123 |
EXACT |
| HP:124 |
MP:124 |
BROAD |
It seems wasteful to import this as:
| subject_id |
object_id |
predicate_id |
| HP:123 |
MP:123 |
someCrazyNamespace:EXACT |
| HP:124 |
MP:124 |
someCrazyNamespace:BROAD |
Rather we would like something like:
| subject_id |
object_id |
predicate_id |
| HP:123 |
MP:123 |
skos:exactMatch |
| HP:124 |
MP:124 |
skos:broadMatch |
Where do we capture that
someCrazyNamespace:EXACT ---> skos:exactMatch
- 👍 In a separate SSSOM file? Which we somehow link to this one.
- 👀 In the
description field?
- 🎉 In a new element somewhere?
I notice these kinds of questions are relevant everywhere, like LinkML etc, but just thinking out loud now. Any ideas anyone?
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?