Skip to content

[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

Open
xlukacm wants to merge 7 commits into
dtq-dev-767-basefrom
ufal/ccmm-1720-to-767-base
Open

xlukacm wants to merge 7 commits into
dtq-dev-767-basefrom
ufal/ccmm-1720-to-767-base

Conversation

@xlukacm

@xlukacm xlukacm commented Nov 26, 2026

Copy link
Copy Markdown

References

Description

The 7 commits of #1720, cherry-picked unchanged (no conflicts):

  1. xoai.xml: ccmm-xml is no longer offered in the openaire_data context. OpenAIRE does not use CCMM; /oai/request keeps the format.
  2. dspace.version.prefix: CLARIN-DSpace moved from dspace.cfg to clarin-dspace.cfg. The effective value does not change; the dspace.cfg comment states the real fallback of RootConverter (CLARIN-DSpace).
  3. primary_language only for an item with exactly one language. With several languages (or a value without a code), all of them are other_language in document order; no language is dropped.
  4. Two relations to one resource no longer fail SHACL. Only the first relation to an IRI carries the iri; the others keep identifier and resource_url.

Instructions for Reviewers

Verification:

  • CcmmXslTest on this branch: 179/179.

Manual Testing (if applicable)

Copilot review

  • Requested review from Copilot

Mario Lukac 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

No deployments
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.

1 participant