MaastrichtU-IDS / d2s-project-template

📋 Template to build CWL workflows to convert data to a RDF Knowledge Graph and deploy services.
https://d2s.semanticscience.org/
MIT License
5 stars 0 forks source link

Use BioLink dataset class in metadata #3

Open vemonet opened 5 years ago

vemonet commented 5 years ago

Map the generated HCLS metadata to the BioLink model.

BioLink have classes equivalent to dataset, version, distribution:

https://biolink.github.io/biolink-model/docs/DataSet.html

Should we use BioLink property when we can? Or HCLS? Or the 2? e.g. for label

micheldumontier commented 5 years ago

it's a good question to ask the biolink developers. don't they include property mappings in the biolink spec?

vemonet commented 5 years ago

Yes, for some attributes e.g. https://github.com/biolink/biolink-model/blob/master/biolink-model.yaml#L1689 Search for mappings:

Unfortunately the mapping is not displayed in the documentation UI: https://biolink.github.io/biolink-model/docs/has_numeric_value.html

So the best way to access them is the YAML

micheldumontier commented 5 years ago

can you request that the mappings are displayed in the documentatioN?

vemonet commented 5 years ago

Already mentioned in the past, I just created an issue: https://github.com/biolink/biolink-model/issues/278

vemonet commented 4 years ago

This has been solved with the new documentation UI: https://biolink.github.io/biolink-model/docs/Disease.html

@micheldumontier Let me know if this is enough for the moment

A clickable link would have been preferable, but the mappings are stored as CURIE in the YAML, so they would need to be resolved by a service