linkml / rda-crosswalk

Example schema: RDA crosswalk
2 stars 0 forks source link

Use for translation of data #3

Open joshmoore opened 1 year ago

joshmoore commented 1 year ago

At https://www.denbi.de/de-nbi-events/1454-biohackathon-germany we are discussing crosswalking between domain-specific, linkml-based models and a more generic, (bio)schemas-based representation for the web. The crosswalk example would seem to be an ideal starting point. However, is there an example or suggestion of how one might use that to actually perform the translation of triples from the specific to the generic model?

joshmoore commented 1 year ago

see: https://github.com/deNBI/biohackathon-2022/pull/7

cmungall commented 1 year ago

Transforming instance data is a difficult topic, with multiple alternate frameworks

In some cases, a roundtrip via RDF may work provided schemas are isomorphic and shared IRIs are used in class/slot uris - but many real world cases are more complex, requiring custom code.

Here are some very drafty slides

https://docs.google.com/presentation/d/1ctgT1IfwPjnFQO2Q0sYlM8qk0wiB2_32JyeKyN4Uf8k/edit#slide=id.p

joshmoore commented 1 year ago

Thanks, that's great. (Pretty sure I've looked at it before but now have a concrete need :smile) "Level 1 Mapping: Isomorphic, different URIs" is what we're currently evaluating. In your mind, this crosswalk is not working towards, e.g., a CLI tool which would represent one set way of doing this? i.e. you would suggest keeping such mapping in each project's codebase for the moment rather than trying to work towards a common method? Or are there (incremental) steps you would suggest today?