Skip to content

How to capture meta-mappings (mappings of mappings into SSSOM) #145

Description

@matentzn

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions