glam/schemas/20251121/linkml/modules/classes/NetworkAnalysis.yaml
kempersc fc405445c6 Refactor and update schema definitions
- Removed obsolete slots: `has_or_had_custodian_observation`, `provider`, and `specificity_annotation`.
- Updated `has_or_had_score` slot to use `SpecificityScore` class and modified its description and examples.
- Added new slots: `end_seconds`, `end_time`, `has_archive_path`, `has_or_had_custodian_name`, `protocol_name`, and `protocol_version`.
- Introduced a script `check_annotation_types.py` to validate the presence and structure of `custodian_types` in YAML files.
- Added a script `update_specificity.py` to automate updates related to `SpecificityAnnotation` to `SpecificityScore`.
2026-02-01 19:55:38 +01:00

54 lines
2.1 KiB
YAML

id: https://nde.nl/ontology/hc/class/NetworkAnalysis
name: network_analysis_class
title: Network Analysis Class
version: 1.0.0
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
schema: http://schema.org/
imports:
- linkml:types
- ../slots/connections_by_heritage_type
- ../slots/has_or_had_percentage
- ../slots/has_or_had_quantity
- ../slots/has_or_had_score
- ../slots/is_or_was_related_to
default_prefix: hc
classes:
NetworkAnalysis:
class_uri: schema:DataFeedItem
description: "Aggregated statistics about the connection network.\n\nProvides summary metrics for quick analysis:\n- Total connections extracted\n- Heritage-relevant count and percentage\n- Breakdown by heritage type (GLAMORCUBESFIXPHDNT)\n\n**Example**:\n```json\n{\n \"total_connections_extracted\": 776,\n \"heritage_relevant_count\": 456,\n \"heritage_relevant_percentage\": 58.8,\n \"connections_by_heritage_type\": {\n \"A\": 45,\n \"M\": 89,\n \"D\": 112,\n \"R\": 78\n }\n}\n```\n"
slots:
- connections_by_heritage_type
- has_or_had_quantity
- has_or_had_score
- is_or_was_related_to
- has_or_had_percentage
slot_usage:
has_or_had_quantity:
range: integer
inlined: true
required: true
examples:
- value: "Quantity:\n value: 776\n unit: \"connections\"\n"
- value: "Quantity:\n value: 456\n unit: \"heritage relevant connections\"\n is_or_was_related_to: Heritage"
has_or_had_percentage:
range: Percentage
inlined: true
examples:
- value:
has_or_had_value: 58.8
is_or_was_related_to:
has_or_had_label: Heritage
connections_by_heritage_type:
range: HeritageTypeCount
multivalued: true
inlined: true
inlined_as_list: true
comments:
- Optional aggregation - can be computed from connections array
- Useful for quick heritage sector analysis
annotations:
specificity_score: 0.1
specificity_rationale: Generic utility class/slot created during migration
custodian_types: "['*']"