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

MIDS Website - format of URIs in the mappings file #111

Open
emhaston opened this issue Jan 9, 2025 · 2 comments
Open

MIDS Website - format of URIs in the mappings file #111

emhaston opened this issue Jan 9, 2025 · 2 comments
Assignees
Labels
StaDocGen Issues related to the creation of documentation using StaDocGen

Comments

@emhaston
Copy link
Contributor

emhaston commented Jan 9, 2025

From Ben: "The main issue now and what stopped further progress on the website is the source data. I'm documenting a list of issues that we need to address. Here's an example: The Object ID column in the SSSOM mappings needs to be a URI to the term. Currently, the mappings files dont include the URIs. I can see why, given the SOM specification, but if we want to list them on the information elements page, then we need to add them. We need to standardize the mappings files as well."

@CatChapman
Copy link
Contributor

🫡
Acknowledging this assignment.

Are we meeting today (Jan 9)?? I don't have a calendar invite, and I am traveling today for vacation. Will return Jan 18th.

@emhaston emhaston added the StaDocGen Issues related to the creation of documentation using StaDocGen label Jan 9, 2025
@emhaston emhaston changed the title MIDS Website - source data issue MIDS Website - use of uri vs curie Jan 16, 2025
@emhaston emhaston changed the title MIDS Website - use of uri vs curie MIDS Website - format of URIs in the mappings file Jan 16, 2025
@emhaston emhaston removed their assignment Jan 16, 2025
@matdillen
Copy link
Contributor

Copy from my response through e-mail:

The mappings do include URIs for Object ID, but they're compact URIs (CURIEs). The namespaces are defined in the yml file. The MIDS namespace used for Subject ID obviously does not resolve at the moment and Subject Category needs to have a namespace as well. To integrate this into the website, either you'd need to hardcode support for the yml+csv SSSOM structure, or add a preprocessing script that replaces the namespaces in the csv files with the full paths from the yml. We need the CURIE terms and their full URLs, the former to show on the page and the latter to set as hyperlink.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
StaDocGen Issues related to the creation of documentation using StaDocGen
Projects
None yet
Development

No branches or pull requests

5 participants