Skip to content

Add ./DatasetGUID mapping to different identifier types #38

@airnst

Description

@airnst

Description

According to this guide, it is recommended to map IDs at schema:PropertyValue if there is more than just a plain text string available as information. Therefore, a case distinction is necessary to map the following types of identifiers in different ways:

Case ID type Mapping target type Notes
1 Text Text -
2 URL URL Unknown ID domain
3 URL PropertyValue Known ID domain (e.g., DOI)

Case 3 (PropertyValue) with known IDs being mapped has the following properties that get information assigned:

  • schema:value
  • schema:propertyID
  • schema:url

Here's an example:
"identifier": { "@id": "https://doi.org/10.5066/F7VX0DMQ", "@type": "PropertyValue", "propertyID": "https://registry.identifiers.org/registry/doi", "value": "doi:10.5066/F7VX0DMQ", "url": "https://doi.org/10.5066/F7VX0DMQ" }

Initially, only DOIs will be integrated into the PropertyValue mapping, but additional types of identifier will be incorporated in the future.

Files

abcd2bioschemas-xml.xslt

Tasks

  • Implement case distinction
  • Implement PropertyValue mapping
  • Test the implementation
  • Update mapping documentation

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationenhancementNew feature or requestmapping_xsltphase2Issues to be fixed in phase 2.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions