- Created the Country class with ISO 3166-1 alpha-2 and alpha-3 codes, ensuring minimal design without additional metadata. - Integrated the Country class into CustodianPlace and LegalForm schemas to support country-specific feature types and legal forms. - Removed duplicate keys in FeatureTypeEnum.yaml, resulting in 294 unique feature types. - Eliminated "Hypernyms:" text from FeatureTypeEnum descriptions, verifying that semantic relationships are now conveyed through ontology mappings. - Created example instance file demonstrating integration of Country with CustodianPlace and LegalForm. - Updated documentation to reflect the completion of the Country class implementation and hypernyms removal.
154 lines
5.7 KiB
YAML
154 lines
5.7 KiB
YAML
---
|
|
# Valid LinkML Instance - Passes All Validation Rules
|
|
# This example demonstrates proper temporal consistency and bidirectional relationships
|
|
# for organizational structure aspects (collection units and staff units).
|
|
|
|
id: https://w3id.org/heritage/custodian/example/valid-museum
|
|
name: Example Heritage Museum
|
|
description: >-
|
|
A fictional museum demonstrating valid organizational structure with proper
|
|
temporal consistency and bidirectional relationships between custodian,
|
|
organizational units, collection units, and staff members.
|
|
|
|
# Custodian Aspect - The heritage institution itself
|
|
custodian_aspect:
|
|
class_uri: cpov:PublicOrganisation
|
|
name: Example Heritage Museum
|
|
valid_from: "2000-01-01"
|
|
valid_to: null # Still operating
|
|
has_legal_form:
|
|
id: https://w3id.org/heritage/custodian/example/legal-form-001
|
|
legal_form_code: "3000" # ISO 20275: Foundation
|
|
name: Museum Foundation
|
|
valid_from: "2000-01-01"
|
|
valid_to: null
|
|
|
|
# Organizational Structure - Three departments
|
|
organizational_structure:
|
|
- id: https://w3id.org/heritage/custodian/example/curatorial-dept
|
|
class_uri: org:OrganizationalUnit
|
|
name: Curatorial Department
|
|
unit_type: DEPARTMENT
|
|
valid_from: "2000-01-01" # Same as parent organization
|
|
valid_to: null
|
|
part_of_custodian: https://w3id.org/heritage/custodian/example/valid-museum
|
|
|
|
- id: https://w3id.org/heritage/custodian/example/conservation-dept
|
|
class_uri: org:OrganizationalUnit
|
|
name: Conservation Department
|
|
unit_type: DEPARTMENT
|
|
valid_from: "2005-01-01" # Established 5 years later
|
|
valid_to: null
|
|
part_of_custodian: https://w3id.org/heritage/custodian/example/valid-museum
|
|
|
|
- id: https://w3id.org/heritage/custodian/example/education-dept
|
|
class_uri: org:OrganizationalUnit
|
|
name: Education Department
|
|
unit_type: DEPARTMENT
|
|
valid_from: "2010-01-01" # Established 10 years later
|
|
valid_to: null
|
|
part_of_custodian: https://w3id.org/heritage/custodian/example/valid-museum
|
|
|
|
# Collections Aspect - Two collections with proper temporal alignment
|
|
collections_aspect:
|
|
# ✅ VALID: Collection founded AFTER unit exists (2002 > 2000)
|
|
- id: https://w3id.org/heritage/custodian/example/paintings-collection
|
|
collection_name: European Paintings Collection
|
|
collection_type: MUSEUM_OBJECTS
|
|
valid_from: "2002-06-15" # After curatorial dept (2000-01-01)
|
|
valid_to: null
|
|
managed_by_unit:
|
|
- https://w3id.org/heritage/custodian/example/curatorial-dept
|
|
subject_areas:
|
|
- Renaissance Art
|
|
- Baroque Art
|
|
temporal_coverage: "1400-01-01/1750-12-31"
|
|
extent: "Approximately 250 paintings"
|
|
|
|
# ✅ VALID: Collection founded AFTER unit exists (2006 > 2005)
|
|
- id: https://w3id.org/heritage/custodian/example/manuscripts-collection
|
|
collection_name: Medieval Manuscripts Collection
|
|
collection_type: ARCHIVAL
|
|
valid_from: "2006-03-20" # After conservation dept (2005-01-01)
|
|
valid_to: null
|
|
managed_by_unit:
|
|
- https://w3id.org/heritage/custodian/example/conservation-dept
|
|
subject_areas:
|
|
- Medieval History
|
|
- Illuminated Manuscripts
|
|
temporal_coverage: "1200-01-01/1500-12-31"
|
|
extent: "85 manuscripts"
|
|
|
|
# Staff Aspect - Three staff members with proper temporal alignment
|
|
staff_aspect:
|
|
# ✅ VALID: Employment starts AFTER unit exists (2001 > 2000)
|
|
- id: https://w3id.org/heritage/custodian/example/curator-001
|
|
person_observation:
|
|
class_uri: pico:PersonObservation
|
|
observed_name: Jane Smith
|
|
role: Chief Curator
|
|
valid_from: "2001-03-15" # After curatorial dept (2000-01-01)
|
|
valid_to: null
|
|
employed_by_unit:
|
|
- https://w3id.org/heritage/custodian/example/curatorial-dept
|
|
|
|
# ✅ VALID: Employment starts AFTER unit exists (2006 > 2005)
|
|
- id: https://w3id.org/heritage/custodian/example/conservator-001
|
|
person_observation:
|
|
class_uri: pico:PersonObservation
|
|
observed_name: John Doe
|
|
role: Senior Conservator
|
|
valid_from: "2006-09-01" # After conservation dept (2005-01-01)
|
|
valid_to: "2020-12-31" # Retired
|
|
employed_by_unit:
|
|
- https://w3id.org/heritage/custodian/example/conservation-dept
|
|
|
|
# ✅ VALID: Employment starts AFTER unit exists (2011 > 2010)
|
|
- id: https://w3id.org/heritage/custodian/example/educator-001
|
|
person_observation:
|
|
class_uri: pico:PersonObservation
|
|
observed_name: Maria Garcia
|
|
role: Education Coordinator
|
|
valid_from: "2011-02-01" # After education dept (2010-01-01)
|
|
valid_to: null
|
|
employed_by_unit:
|
|
- https://w3id.org/heritage/custodian/example/education-dept
|
|
|
|
# ✅ BIDIRECTIONAL RELATIONSHIPS VERIFIED:
|
|
#
|
|
# Organizational Units → Custodian:
|
|
# - All 3 units have `part_of_custodian: valid-museum`
|
|
# - Custodian has `organizational_structure: [3 units]`
|
|
#
|
|
# Collection Units → Collections:
|
|
# - Curatorial dept manages paintings collection
|
|
# - Conservation dept manages manuscripts collection
|
|
# - Collections reference their managing units
|
|
#
|
|
# Staff Units → Staff:
|
|
# - Each staff member references their employing unit
|
|
# - Units implicitly reference staff through inverse relationship
|
|
|
|
# Provenance - Data source tracking
|
|
provenance:
|
|
data_source: EXAMPLE_DATA
|
|
data_tier: TIER_1_AUTHORITATIVE
|
|
extraction_date: "2025-11-22T15:00:00Z"
|
|
extraction_method: "Manual creation for validation testing"
|
|
confidence_score: 1.0
|
|
notes: >-
|
|
This is a valid example demonstrating proper temporal consistency and
|
|
bidirectional relationships for organizational structure validation.
|
|
|
|
# Location
|
|
locations:
|
|
- city: Example City
|
|
country: XX
|
|
latitude: 50.0
|
|
longitude: 10.0
|
|
|
|
# Identifiers
|
|
identifiers:
|
|
- identifier_scheme: EXAMPLE_ID
|
|
identifier_value: MUSEUM-001
|
|
identifier_url: https://example.org/museums/001
|