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 ./DirectAccessURI and ./IconURI mapping #4

Open
4 tasks done
airnst opened this issue Jul 10, 2024 · 2 comments · May be fixed by #22
Open
4 tasks done

Add ./DirectAccessURI and ./IconURI mapping #4

airnst opened this issue Jul 10, 2024 · 2 comments · May be fixed by #22
Assignees
Labels
enhancement New feature or request mapping_xslt

Comments

@airnst
Copy link
Collaborator

airnst commented Jul 10, 2024

Description

While abcd:DirectAccessURI can be mapped to Dataset:distribution (type: DataDownload, abcd:IconURI can be mapped to Dataset:image (type: URL in case of included http, or schema:identifier of a schema:ImageObject in case of non-URL identifier). In addition, the example XML file must be extended by the respective information.

Files

XSLT file
XML file

Open questions

  1. abcd:DirectAccessURI may refer to a website query form instead of a direct download, which would clash with the definition of Dataset:distribution. It should be discussed whether this case could cause subsequent problems.

Tasks

  • Update XML file.
  • Update XSLT file.
  • Test if mapping works as defined.
  • Resolve open questions.

Solution

For abcd:DirectAccessURI, if the URL contains a file format (currently only ZIP), it is mapped to DataDownload:contentURL with additional information in DataDownload:encodingFormat. If not, the URL is simply assigned to DataDownload:url.

@airnst airnst self-assigned this Jul 10, 2024
@airnst airnst added enhancement New feature or request question Further information is requested mapping_xslt labels Jul 10, 2024
@airnst
Copy link
Collaborator Author

airnst commented Jul 24, 2024

Concerning the open question: In case the link contains a file extension such as .zip, it can be used as schema:distribution value. The current implementation already contains this checking, but must be adapted so that no distribution is added if the link does not contain a format specification.

@airnst airnst linked a pull request Jul 29, 2024 that will close this issue
@airnst airnst linked a pull request Jul 29, 2024 that will close this issue
@airnst airnst removed the question Further information is requested label Jul 29, 2024
airnst pushed a commit that referenced this issue Aug 26, 2024
@airnst
Copy link
Collaborator Author

airnst commented Aug 26, 2024

A solution has been added for the problem if icon URIs are not URLs. See ticket description.

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 a pull request may close this issue.

1 participant