glam/schemas/20251121/linkml/modules/classes/SourceDocument.yaml
kempersc b34992b1d3 Migrate all 293 class files to ontology-aligned slots
Extends migration to all class types (museums, libraries, galleries, etc.)

New slots added to class_metadata_slots.yaml:
- RiC-O: rico_record_set_type, rico_organizational_principle,
  rico_has_or_had_holder, rico_note
- Multilingual: label_de, label_es, label_fr, label_nl, label_it, label_pt
- Scope: scope_includes, scope_excludes, custodian_only,
  organizational_level, geographic_restriction
- Notes: privacy_note, preservation_note, legal_note

Migration script now handles 30+ annotation types.
All migrated schemas pass linkml-validate.

Total: 387 class files now use proper slots instead of annotations.
2026-01-06 12:24:54 +01:00

93 lines
2.6 KiB
YAML

id: https://nde.nl/ontology/hc/class/SourceDocument
name: source_document_class
title: SourceDocument Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
crm: http://www.cidoc-crm.org/cidoc-crm/
prov: http://www.w3.org/ns/prov#
schema: http://schema.org/
dcterms: http://purl.org/dc/terms/
rico: https://www.ica.org/standards/RiC/ontology#
foaf: http://xmlns.com/foaf/0.1/
imports:
- linkml:types
- ../metadata
- ../enums/SourceDocumentTypeEnum
- ../slots/source_uri
- ../slots/source_type
- ../slots/source_date
- ../slots/source_creator
- ../slots/class_metadata_slots
classes:
SourceDocument:
class_uri: crm:E73_Information_Object
description: |
A source document where custodian information was observed.
CIDOC-CRM E73_Information_Object: Identifiable immaterial items with propositional content.
**Examples**:
- Archival documents
- Websites
- Letterheads
- Legal statutes
- Publications
**Properties**:
- URI/URL of source
- Document type
- Publication/creation date
- Creator/publisher
exact_mappings:
- crm:E73_Information_Object
- prov:Entity
close_mappings:
- crm:E31_Document
- rico:Record
- rico:RecordSet
- schema:CreativeWork
- dcterms:BibliographicResource
- foaf:Document
related_mappings:
- rico:RecordResource
- crm:E33_Linguistic_Object
- crm:E32_Authority_Document
slots:
- source_creator
- source_date
- source_type
- source_uri
- specificity_annotation
- template_specificity
slot_usage:
source_uri:
slot_uri: dcterms:identifier
description: |
URI or URL of the source document.
Dublin Core: identifier for resource location.
range: uriorcurie
required: true
source_type:
slot_uri: crm:P2_has_type
description: |
Type of source document.
CIDOC-CRM: P2_has_type links to E55_Type.
range: SourceDocumentTypeEnum
source_date:
slot_uri: dcterms:created
description: |
Date when source document was created.
Dublin Core: created for resource creation date.
range: date
source_creator:
slot_uri: dcterms:creator
description: |
Creator or publisher of the source document.
Dublin Core: creator property.
range: string
specificity_annotation:
range: SpecificityAnnotation
inlined: true
template_specificity:
range: TemplateSpecificityScores
inlined: true