77 lines
No EOL
2.3 KiB
YAML
77 lines
No EOL
2.3 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_description
|
|
- ../slots/has_type
|
|
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_degree → ConnectionDegree (THIS CLASS)
|
|
└── has_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_type
|
|
- has_description
|
|
|
|
slot_usage:
|
|
has_type:
|
|
# range: string # uriorcurie
|
|
required: true
|
|
examples:
|
|
- value: FIRST
|
|
- value: SECOND
|
|
has_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_type: FIRST
|
|
- value:
|
|
has_type: SECOND
|
|
has_description:
|
|
description_text: "Connected through mutual colleague" |