glam/schemas/20251121/linkml/modules/classes/ConnectionDegree.yaml
kempersc ca4a54181e Refactor schema files to improve clarity and maintainability
- Updated WorldCatIdentifier.yaml to remove unnecessary description and ensure consistent formatting.
- Enhanced WorldHeritageSite.yaml by breaking long description into multiple lines for better readability and removed unused attributes.
- Simplified WritingSystem.yaml by removing redundant attributes and ensuring consistent formatting.
- Cleaned up XPathScore.yaml by removing unnecessary attributes and ensuring consistent formatting.
- Improved YoutubeChannel.yaml by breaking long description into multiple lines for better readability.
- Enhanced YoutubeEnrichment.yaml by breaking long description into multiple lines for better readability.
- Updated YoutubeVideo.yaml to break long description into multiple lines and removed legacy field name.
- Refined has_or_had_affiliation.yaml by removing unnecessary comments and ensuring clarity.
- Cleaned up is_or_was_retrieved_at.yaml by removing unnecessary comments and ensuring clarity.
- Added rules for generic slots and avoiding rough edits in schema files to maintain structural integrity.
- Introduced changes_or_changed_through.yaml to define a new slot for linking entities to change events.
2026-01-31 00:46:23 +01:00

79 lines
No EOL
2.4 KiB
YAML

id: https://nde.nl/ontology/hc/class/ConnectionDegree
name: connection_degree_class
title: Connection Degree Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
schema: http://schema.org/
default_prefix: hc
imports:
- linkml:types
- ../slots/has_or_had_description
- ../slots/has_or_had_type
- ./ConnectionDegreeType
- ./ConnectionDegreeTypes
classes:
ConnectionDegree:
class_uri: hc:ConnectionDegree
description: |
Represents the degree of connection between two people in a social network.
**DEFINITION**:
ConnectionDegree captures the "distance" in a social network graph:
- **1st degree**: Direct mutual connection
- **2nd degree**: One person between viewer and connection
- **3rd+ degree**: Two or more people between
**IMPORTANT**: The degree is relative to the VIEWER (person conducting
the search), NOT the target profile being analyzed. See AGENTS.md Rule 17.
**SEMANTIC PATTERN**:
```
PersonConnection
└── has_or_had_degree → ConnectionDegree (THIS CLASS)
└── has_or_had_type → ConnectionDegreeType (FIRST, SECOND, THIRD_PLUS)
```
**MIGRATION NOTE** (Rule 53, 2026-01-22):
Created as part of connection_degree migration. Wraps the simple enum
in a structured class for consistency with other Type/Types patterns.
exact_mappings:
- schema:QuantitativeValue
slots:
- has_or_had_type
- has_or_had_description
slot_usage:
has_or_had_type:
range: uriorcurie
required: true
examples:
- value: FIRST
- value: SECOND
has_or_had_description:
annotations:
custodian_types: '["*"]'
custodian_types_rationale: Connection degrees apply to any heritage sector network.
specificity_score: 0.65
specificity_rationale: Specialized class for LinkedIn network analysis.
comments:
- "Created 2026-01-22 per slot_fixes.yaml connection_degree migration"
- "Degree is relative to VIEWER, not target profile"
- "Uses ConnectionDegreeType class hierarchy per Rule 0b"
examples:
- value:
has_or_had_type: FIRST
- value:
has_or_had_type: SECOND
has_or_had_description:
description_text: "Connected through mutual colleague"