glam/frontend/public/schemas/20251121/rdf
kempersc 13938c92ca chore(schemas): sync LinkML schemas to frontend apps
Copies authoritative schemas from schemas/20251121/ to:
- frontend/public/schemas/20251121/
- apps/archief-assistent/public/schemas/20251121/

This ensures slot definitions with corrected ontology property
references (commit 2808dad6cd) are available to frontend apps.
2026-01-10 15:02:25 +01:00
..
archive chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
archive_broken chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
archive_pre_timestamp_policy chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
instances chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
01_custodian_name_20251208_185629.context.jsonld chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
01_custodian_name_20251208_192131.context.jsonld chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
01_custodian_name_20251208_193033.context.jsonld chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
01_custodian_name_20251230_203124.nt chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
01_custodian_name_20251230_203326.context.jsonld chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
01_custodian_name_modular_20251122_181224.jsonld chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
01_custodian_name_modular_20251122_181224.nt chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
01_custodian_name_modular_20251122_181224.rdf chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
01_custodian_name_modular_20251122_182317.jsonld chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
01_custodian_name_modular_20251122_182317.nt chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
01_custodian_name_modular_20251122_182317.rdf chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
01_custodian_name_modular_20251124_002122.n3 chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
01_custodian_name_modular_20251124_002122.trig chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
01_custodian_name_modular_20251209_113125.context.jsonld chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
01_custodian_name_modular_20260107_120151.nt chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
01_custodian_name_modular_20260107_120422.nt chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
01_custodian_name_modular_20260107_121806.nt chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
01_custodian_name_modular_20260107_121900.context.jsonld chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
custodian_multi_aspect_20251122_154430.jsonld chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
custodian_multi_aspect_20251122_154430.nt chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
custodian_multi_aspect_20251122_154430.rdf chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
custodian_multi_aspect_20251122_155319.jsonld chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
custodian_multi_aspect_20251122_155319.nt chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
custodian_multi_aspect_20251122_155319.rdf chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
custodian_with_cms_20251126_235722.n3 chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
custodian_with_ontology_mappings_20251126_130159.n3 chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
custodian_with_ontology_mappings_20251126_193334.n3 chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
custodian_with_ontology_mappings_20251126_204859.n3 chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
EncompassingBody_20251123_225622.n3 chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
EncompassingBody_20251123_225622.nt chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
EncompassingBody_20251123_225622.rdf chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
EncompassingBody_20251123_225622.trig chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
EncompassingBody_20251123_225622.trix chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
EncompassingBody_20251123_232811.jsonld chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
EncompassingBody_20251123_232811.n3 chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
EncompassingBody_20251123_232811.nt chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
EncompassingBody_20251123_232811.rdf chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
EncompassingBody_20251123_232811.trig chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
EncompassingBody_20251123_232811.trix chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
identifier_standards_20251127_174522.nt chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00
README.md chore(schemas): sync LinkML schemas to frontend apps 2026-01-10 15:02:25 +01:00

Heritage Custodian Ontology - RDF Exports

Version: 0.1.0
Generated: 2025-11-21 (20:26)
Source: ../linkml/01_custodian_name_modular.yaml

This directory contains RDF/OWL exports of the Heritage Custodian Observation and Reconstruction Pattern ontology in 8 serialization formats.


Current Schema (Production)

Custodian Observation & Reconstruction Pattern

The schema implements a three-layer pattern inspired by PiCo (Persons in Context):

  1. CustodianObservation: Source-based references (emic/etic perspectives as recorded in documents)
  2. CustodianName: Standardized emic names (accepted by institution in daily operations)
  3. CustodianReconstruction: Formal legal entities (derived from multiple observations)

Key Features:

  • Hyper-modular LinkML schema (78 files: 12 classes + 5 enums + 59 slots)
  • Direct module imports (no aggregators)
  • Integrates 7 base ontologies (CPOV, TOOI, Schema.org, CIDOC-CRM, RiC-O, PROV-O, PiCo)
  • Supports ISO 20275 legal form codes

Available Formats (8 total):

Format File Size Use Case
Turtle 01_custodian_name.owl.ttl 77KB Human-readable, Git-friendly
N-Triples 01_custodian_name.nt 233KB Streaming, line-oriented processing
JSON-LD 01_custodian_name.jsonld 191KB Web APIs, JavaScript
RDF/XML 01_custodian_name.rdf 165KB Legacy Java tools
Notation3 01_custodian_name.n3 77KB Logic rules, reasoning
TriG 01_custodian_name.trig 103KB Named graphs
TriX 01_custodian_name.trix 348KB XML named graphs
N-Quads 01_custodian_name.nq 288KB Quad stores

Total Size: ~1.4MB


Archived Schemas (Obsolete)

Previous iterations archived to ../archive/rdf_obsolete/:

Schema 01_name_entity (Archived)

  • Generated: 2025-11-21 (09:34-12:22)
  • Status: Obsolete - early experiment
  • Files: 7 formats

Schema 02_organization_observation_reconstruction (Archived)

  • Generated: 2025-11-21 (15:27-15:28)
  • Status: Obsolete - mid-iteration
  • Files: 8 formats

⚠️ Do not use archived schemas - they are from obsolete versions

Format Descriptions

Format Extension Description Use Case
Turtle .ttl Human-readable RDF syntax Manual editing, documentation
OWL Turtle .owl.ttl OWL ontology in Turtle format Ontology tools (Protégé, etc.)
RDF/XML .rdf XML serialization of RDF Legacy tools, Java applications
N-Triples .nt Line-based triple format Streaming, large-scale processing
N3 .n3 Notation3 (superset of Turtle) Rules, logic programming
JSON-LD .jsonld JSON with linked data context Web APIs, JavaScript applications
TriG .trig Named graphs extension of Turtle Multi-graph databases, versioning

Ontology Alignment

The Heritage Custodian ontology integrates with multiple base ontologies:

Schema 1 (Name Entity)

  • SKOS (skos:Concept): Names as concepts in knowledge organization systems
  • CIDOC-CRM (crm:E41_Appellation): Names as appellations
  • Wikidata (wd:Q82799): Nominal reference pattern
  • Dublin Core (dct:*): Metadata properties

Schema 2 (Organization)

  • PROV-O (prov:Entity, prov:Activity, prov:Agent): Provenance tracking
  • PiCo (Persons in Context): Observation/reconstruction pattern
  • CPOV (EU Core Public Organisation Vocabulary): Legal entities
  • W3C ORG (org:Organization): Organizational structures
  • Schema.org (schema:Organization): Web semantics
  • FOAF (foaf:Agent, foaf:name): Agent descriptions
  • RiC-O (Records in Contexts): Archival relationships

Generation Method

Files generated using LinkML toolchain:

  1. LinkML YAML schemas → OWL Turtle (gen-owl tool)
  2. OWL Turtle → Multiple RDF formats (rdflib Python library)

Generation date: 2025-11-21

Usage Examples

Load in Python (rdflib)

from rdflib import Graph

# Load Turtle format
g = Graph()
g.parse("01_name_entity.ttl", format="turtle")

print(f"Loaded {len(g)} triples")

# Query with SPARQL
query = """
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
SELECT ?name ?prefLabel
WHERE {
    ?name a skos:Concept ;
          skos:prefLabel ?prefLabel .
}
LIMIT 10
"""
for row in g.query(query):
    print(row)

Load in SPARQL Endpoint

# Using Apache Jena Fuseki
tdbloader --loc=/path/to/tdb 01_name_entity.nt 02_organization_observation_reconstruction.nt

Import in Protégé

  1. Open Protégé
  2. File → Open → Select .owl.ttl file
  3. Ontology will be loaded with full class hierarchy and properties

Use in JavaScript

// Using JSON-LD format
const context = await fetch('01_name_entity.jsonld');
const data = await context.json();

// Process with JSON-LD library
const jsonld = require('jsonld');
const expanded = await jsonld.expand(data);

References

License

CC0 1.0 Universal (Public Domain Dedication)

See /LICENSE for details.