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

Add ./Unit/UnitReferences mapping #26

Open
4 tasks done
airnst opened this issue Jul 30, 2024 · 0 comments · May be fixed by #33
Open
4 tasks done

Add ./Unit/UnitReferences mapping #26

airnst opened this issue Jul 30, 2024 · 0 comments · May be fixed by #33
Assignees

Comments

@airnst
Copy link
Collaborator

airnst commented Jul 30, 2024

Description

In addition to the publications upon which the units in the dataset are based, the information in the abcd:UnitReferences element can be used to make it possible to filter datasets by publications that cite them. Since schema:citation represents the inverse property of this requirement, it may be used by additionally applying the JSON-LD keyword @ reverse. This cannot be performed in the XSLT file alone. Therefore, an element is added in the XSLT along with the schema:citation. After the conversion of the XML into a Python dictionary, an @ is prepended to the key reverse.

Files

XML file
XSLT file
IPYNB file

Tasks

  • Extend example XML file.
  • Update XSLT file.
  • Update Jupyter notebook.
  • Test if citing publications are mapped correctly.
@airnst airnst added enhancement New feature or request mapping_xslt labels Jul 30, 2024
@airnst airnst self-assigned this Jul 30, 2024
@airnst airnst linked a pull request Aug 5, 2024 that will close this issue
@airnst airnst linked a pull request Aug 5, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant