dcppc / crosscut-metadata

7 stars 6 forks source link

DATS Material 'derivesFrom' relationships needed #23

Closed robes closed 6 years ago

robes commented 6 years ago

We (Team Argon and presumably other downstream users of the datasets) need the derivesFrom predicate available in the datasets so that we can query for all three levels of the extract - sample - subject/donor hierarchy.

proccaserra commented 6 years ago

@robes this will addressed when we switch to using the OBOfoundry based context file.

https://github.com/datatagsuite/context/blob/master/obo/material_obo_context.jsonld

with dats.derives_from attributes mapped to RO_0001000

jonathancrabtree commented 6 years ago

This has been implemented and the queries in https://github.com/dcppc/crosscut-metadata/blob/master/sparql/topmed_gtex_sparql_examples.py, which make use of obo:RO_0001000 ("derives from") will work on the v0.4 DATS JSON files.