DataConservancy / dcs-packaging-osf

Open Science Framework packaging model, client, and utilities.
2 stars 3 forks source link

Nodes should link to their source #28

Open birkland opened 7 years ago

birkland commented 7 years ago

Either as owl:sameAs or some provenance-related relationship should point to the original node in OSF.

For example http://localhost/fcrepo/rest/from_package/azx9e should link back to https://osf.io/azx9e/ or even https://api.osf.io/v2/nodes/azx9e/

birkland commented 7 years ago

The right way to do this would be either when the resource is retrieved from the OSF (unclear where/when that happens), or by following the 'self' link (unclear where/when that would need to happen). As a terrible hack, statements can be added to the domain object when building the IPM tree based on cutting and pasting ids into URIs.