glam/frontend/public/schemas/20251121/linkml/modules/slots/digital_surrogate.yaml
kempersc f2b10fca19
All checks were successful
Deploy Frontend / build-and-deploy (push) Successful in 3m48s
fix: correct hallucinated PREMIS terms and Schema.org namespace mismatch
PREMIS ontology fixes (8 schema files):
- Replace invalid premis:hasRepresentation with dcterms:hasFormat
- Replace invalid premis:hasAccessRestriction with odrl:hasPolicy
- Replace invalid premis:hasPreservationPolicy with dcterms:conformsTo
- Replace invalid premis:hasAccessPolicy with dcterms:accessRights
- Replace invalid premis:hasStoragePolicy with dcterms:conformsTo
- Replace invalid premis:ProcessingStatus with skos:Concept
- Add proper close_mappings to valid PREMIS classes (premis:Representation, etc.)
- Document hallucinated terms in Rule 51 (AGENTS.md) for future prevention

Schema.org namespace fixes (3 frontend files):
- Update OntologyTermPopup.tsx: add normalizeSchemaOrgUri() function
- Update ontology-loader.ts: change schema prefix to https://schema.org/
- Update linkml-schema-service.ts: change schema prefix to https://schema.org/
- The schemaorg.owl file uses https:// but code was using http://

These changes ensure ontology term lookups work correctly for Schema.org
terms and that LinkML schema files only reference valid ontology predicates.
2026-01-13 14:16:33 +01:00

51 lines
1.3 KiB
YAML

id: https://nde.nl/ontology/hc/slot/digital_surrogate
name: digital_surrogate_slot
title: Digital Surrogates Slot
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
dcterms: http://purl.org/dc/terms/
premis: http://www.loc.gov/premis/rdf/v3/
imports:
- linkml:types
default_prefix: hc
slots:
digital_surrogate:
slot_uri: dcterms:hasFormat
range: string
multivalued: true
description: 'Digital representations/surrogates of collection materials.
Dublin Core: hasFormat links resources to alternative format representations.
PREMIS: premis:Representation class models digital instantiations of intellectual entities.
Values can be:
- URIs to digital object repositories
- IIIF manifest URLs
- Persistent identifiers (DOIs, handles)
Examples:
- "https://iiif.rijksmuseum.nl/manifest/SK-A-1505"
- "https://doi.org/10.5281/zenodo.1234567"
- "https://archive.org/details/manuscript-collection-x"
'
exact_mappings:
- dcterms:hasFormat
close_mappings:
- premis:Representation
annotations:
custodian_types: '["*"]'
custodian_types_rationale: Applicable to all heritage custodian types.
specificity_score: 0.6
specificity_rationale: Digital surrogate links are moderately specific to digitized collections.