Skip to content

Associated resource / Add dcat:prev support.#199

Merged
joachimnielandt merged 1 commit into
mainfrom
feature/previous-link
Jun 17, 2026
Merged

Associated resource / Add dcat:prev support.#199
joachimnielandt merged 1 commit into
mainfrom
feature/previous-link

Conversation

@fxprunayre

@fxprunayre fxprunayre commented Apr 30, 2026

Copy link
Copy Markdown
Contributor
  • dcat:next is replaced by dcat:prev
  • Relationship can be navigated in both direction
image image
  • revisionOf is used in codelist (to mimic ISO)

* dcat:next is turned off.
* dcat:prev is added
* Relationship can be navigated in both direction
@fxprunayre fxprunayre marked this pull request as ready for review June 16, 2026 08:37

@joachimnielandt joachimnielandt left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested locally

</xsl:template>

<xsl:template match="*[name() = ('dcat:Dataset', 'dcat:DataService', 'dcat:DatasetSeries') and $associationType = 'nextResource']">
<xsl:template match="*[name() = ('dcat:Dataset', 'dcat:DataService', 'dcat:DatasetSeries') and $associationType = ('nextResource', 'revisionOf')]">

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fxprunayre is there a reason for naming the new type revisionOf instead of prevResource, which would be more specific?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Main reason was that it is the same value as in ISO. At some point we could also integrate version API done in geonetwork/core-geonetwork#9227 for DCAT records.

@joachimnielandt joachimnielandt merged commit 0e0920b into main Jun 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants