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

[#20] Add record uri to unit-level entities in dataset #25

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

airnst
Copy link
Collaborator

@airnst airnst commented Jul 29, 2024

Tickets

[#20]

Justification

Searching for datasets using record URIs can be a use case. Thus, information in abcd:./RecordURI needs to be mapped to the schema:identifier property of a freshly created bioschemas:BioSample entity. In case this URI contains 'http', it can also be added to schema:url of the same entity. Bio samples are added to the schema:about property of the dataset.

Code changes

XSLT file

  • Add variable each for unit and record URI.
  • For each extracted unit, a BioSample is to be created with the information specified above in Justification.

XML file

  • Change a record URI to a non-HTTP identifier in order to test both URI cases.

@airnst airnst self-assigned this Jul 29, 2024
@airnst airnst linked an issue Jul 29, 2024 that may be closed by this pull request
3 tasks
@airnst airnst requested a review from DavidFichtmueller July 29, 2024 06:40
@airnst airnst added enhancement New feature or request mapping_xslt labels Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request mapping_xslt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ./Unit/RecordURI mapping
1 participant