Repository navigation
CLARIN-DSpace v9/CCMM: port of #1720 (ccmm-xml not in openaire_data, primary language only for one language, one iri per related resource, version prefix in clarin-dspace.cfg) - #1772
Open
xlukacm wants to merge 7 commits into
Conversation
added 7 commits
November 26, 2026 12:42
OpenAIRE does not use CCMM; the national metadata directory (NMA) harvests the default context /oai/request, which keeps the format. Review of ufal#1438.
CLARIN-specific values live in clarin-dspace.cfg (e.g. dspace.name), which overrides dspace.cfg, so the effective value does not change. dspace.cfg keeps the documentation, now with the actual fallback of RootConverter. Review of ufal#1438.
dc.language.iso has no order of importance: multilingual items list their languages alphabetically, so the first code was an arbitrary primary language (e.g. Ancient Greek for Universal Dependencies). With several languages all of them are now other_language; no language is dropped. primary_language is optional (0..1) in CCMM 1.1.0 and 2.0.0. Review of ufal#1438.
An item with ces and a free-text value (e.g. "English; Czech") has no primary language either; CES stays as other_language. dspace.cfg no longer suggests setting dspace.version.prefix there, clarin-dspace.cfg overrides it.
… iri CCMM identifies a related resource by its iri and gives it one relation type (SHACL sh:maxCount 1 on ccmm:hasType). Two stated relations to one Handle (11858/00-097C-0000-0001-487A-4: isbasedon + requires PDT 2.0, 11858/00-097C-0000-0006-DB11-8: isbasedon + replaces) became one RDF resource with two types and failed SHACL in CCMM 1.1.0 and 2.0.0. The further relation keeps identifier and resource_url, so both relations are still published.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
References
dtq-dev) to CLARIN-DSpace v9; same change as UFAL/CCMM: port of #1720 to clarin-v7-merge-767 (ccmm-xml not in openaire_data, primary language only for one language, one iri per related resource, version prefix in clarin-dspace.cfg) #1754 (clarin-v7-merge-767) and [dtq-dev-767-base] UFAL/CCMM: port of #1720 (ccmm-xml not in openaire_data, primary language only for one language, one iri per related resource, version prefix in clarin-dspace.cfg) #1771 (dtq-dev-767-base)9-base/be-ccmm-port-1653), becausedtq-dev-93has no CCMM crosswalk yet (CLARIN-DSpace v9/Add CCMM 1.1.0 OAI-PMH crosswalk (ccmm-xml) #1652, CLARIN-DSpace v9/CCMM: port of #1653, #1659, #1667, #1670 #1657 are open). Merge after CLARIN-DSpace v9/CCMM: port of #1653, #1659, #1667, #1670 #1657, then retarget this PR todtq-dev-93(GitHub does it itself if the CLARIN-DSpace v9/CCMM: port of #1653, #1659, #1667, #1670 #1657 branch is deleted).Description
The 7 commits of #1720, cherry-picked unchanged (no conflicts):
xoai.xml:ccmm-xmlis no longer offered in theopenaire_datacontext. OpenAIRE does not use CCMM;/oai/requestkeeps the format.dspace.version.prefix:CLARIN-DSpacemoved fromdspace.cfgtoclarin-dspace.cfg. The effective value does not change; thedspace.cfgcomment states the real fallback ofRootConverter(CLARIN-DSpace).primary_languageonly for an item with exactly one language. With several languages (or a value without a code), all of them areother_languagein document order; no language is dropped.iri; the others keepidentifierandresource_url.Instructions for Reviewers
Verification:
ccmm.xslandCcmmXslTeston this branch equal those ofdtq-dev-767-baseexcept one comment line (an issue link).CcmmXslTestthere: 179/179.Manual Testing (if applicable)
Copilot review