Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requesting SPARQL query for HuBMAP IDs for datasets -> samples #1074

Open
andreasbueckle opened this issue Jul 31, 2023 · 3 comments
Open

Requesting SPARQL query for HuBMAP IDs for datasets -> samples #1074

andreasbueckle opened this issue Jul 31, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@andreasbueckle
Copy link
Contributor

It would be great for @dw-dot and me to have a SPARQL query on grlc that takes an array of hubmap_id and returns a dict/mapping of <hubmap_id_dataset : hubmap_id_sample. This would avoid us having to do recursive magic to get the rui_location for a data such as: https://github.com/cns-iu/ccf-queries/blob/main/cell_annotations/queries.py#L79-L97

@andreasbueckle andreasbueckle added the enhancement New feature or request label Jul 31, 2023
@bherr2
Copy link
Member

bherr2 commented Jul 31, 2023

hubmap_id == uuid or HBMXX.XXX.XXX id?

@andreasbueckle
Copy link
Contributor Author

We generally track datasets with the HBMXX.XXX.XXX format. However, URLs use the uuid format, So...maybe both?

@andreasbueckle
Copy link
Contributor Author

@dw-dot Any suggestions for refinement of this request?

@andreasbueckle andreasbueckle changed the title Requestin SPARQL query for HuBMAP IDs for datasets -> samples Requesting SPARQL query for HuBMAP IDs for datasets -> samples Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants