Skip to content

dandi metadata: How should I link dandiset and asset meta-data in RDF #22

Answered by satra
surchs asked this question in Q&A
Discussion options

You must be logged in to vote

we are adding a little collection file on publish (this just got merged), and we would be doing something similar in pushing draft metadata to a triplestore.

here is the relevant issue: dandi/dandi-archive#399

you could temporarily, do the same for any assets you download. here is the relevant code in the api: https://github.com/dandi/dandi-api/blob/627eb4d617a9158c610cb59a0d4cb307833367ca/dandiapi/api/manifests.py#L93

effectively this information is there when you retrieve all the assets through the assets endpoint of a dandiset. also the metadata you receive from the api server for any asset or dandiset should already be jsonld, so you should not technically need to do any conversion.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@surchs
Comment options

@satra
Comment options

Answer selected by surchs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants