glam/frontend/public/schemas/20251121/linkml/modules/classes/Fylkesarkiv.yaml
kempersc dfa667c90f Fix LinkML schema for valid RDF generation with proper slot_uri
Summary:
- Create 46 missing slot definition files with proper slot_uri values
- Add slot imports to main schema (01_custodian_name_modular.yaml)
- Fix YAML examples sections in 116+ class and slot files
- Fix PersonObservation.yaml examples section (nested objects → string literals)

Technical changes:
- All slots now have explicit slot_uri mapping to base ontologies (RiC-O, Schema.org, SKOS)
- Eliminates malformed URIs like 'custodian/:slot_name' in generated RDF
- gen-owl now produces valid Turtle with 153,166 triples

New slot files (46):
- RiC-O slots: rico_note, rico_organizational_principle, rico_has_or_had_holder, etc.
- Scope slots: scope_includes, scope_excludes, archive_scope
- Organization slots: organization_type, governance_authority, area_served
- Platform slots: platform_type_category, portal_type_category
- Social media slots: social_media_platform_category, post_type_*
- Type hierarchy slots: broader_type, narrower_types, custodian_type_broader
- Wikidata slots: wikidata_equivalent, wikidata_mapping

Generated output:
- schemas/20251121/rdf/01_custodian_name_modular_20260107_134534_clean.owl.ttl (6.9MB)
- Validated with rdflib: 153,166 triples, no malformed URIs
2026-01-07 13:48:03 +01:00

56 lines
1.9 KiB
YAML

# Fylkesarkiv - Norwegian County Archive
# Refactored with LinkML geographic restriction pattern
# Wikidata: Q15119463
id: https://w3id.org/nde/ontology/Fylkesarkiv
name: Fylkesarkiv
title: Fylkesarkiv (Norwegian County Archive)
prefixes:
linkml: https://w3id.org/linkml/
imports:
- linkml:types
- ./ArchiveOrganizationType
- ./CollectionType
classes:
Fylkesarkiv:
is_a: ArchiveOrganizationType
class_uri: skos:Concept
description: |
Norwegian county archive (fylkesarkiv). These archives serve as regional
archival institutions at the county (fylke) level in Norway.
**Wikidata**: Q15119463
**Geographic Restriction**: Norway (NO) only.
This constraint is enforced via LinkML `rules` with `postconditions`.
**Scope**:
Fylkesarkiv preserve:
- County administration records (fylkeskommunen)
- Municipal records from constituent kommuner
- Regional health and social services documentation
- Education records (videregående skole)
- Cultural affairs and heritage documentation
- Private archives from regional businesses and organizations
**Administrative Context**:
In the Norwegian archival system:
- Arkivverket (National Archives of Norway)
- Fylkesarkiv (county level) ← This type
- Kommunearkiv/Byarkiv (municipal level)
- Interkommunale arkiv (inter-municipal archives)
**Historical Context**:
Norway has reorganized its counties (2020 regional reform):
- Some fylkesarkiv have merged following county mergers
- County archives serve both historical fylker and new regions
- Arkivverket coordinates national archival policy
**Related Types**:
- Landsarkiv - Regional state archives (under Arkivverket)
- RegionalArchive (Q27032392) - Generic regional archives
- CountyArchive - Generic county-level archives
slot_usage: