- Remove slot_uri, description, mappings from slot_usage sections - Move these properties to centralized slot files in modules/slots/ - Keep only class-specific overrides in slot_usage (required, inlined, examples) - Update 1,499 centralized slot files with enriched definitions - Clean 188 class files Violations fixed: - slot_uri in slot_usage: 1,676 → 0 - description in slot_usage: 2,287 → 0 (moved to centralized) Schema still validates: 816 classes, 2028 slots, 127 enums
64 lines
2.2 KiB
YAML
64 lines
2.2 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
|
|
- ./SpecificityAnnotation
|
|
- ./TemplateSpecificityScores
|
|
- ./HeritageTypeCount
|
|
- ../slots/connections_by_heritage_type
|
|
- ../slots/heritage_relevant_count
|
|
- ../slots/heritage_relevant_percentage
|
|
- ../slots/specificity_annotation
|
|
- ../slots/template_specificity
|
|
- ../slots/total_connections_extracted
|
|
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
|
|
- heritage_relevant_count
|
|
- heritage_relevant_percentage
|
|
- specificity_annotation
|
|
- template_specificity
|
|
- total_connections_extracted
|
|
slot_usage:
|
|
total_connections_extracted:
|
|
range: integer
|
|
required: true
|
|
minimum_value: 0
|
|
heritage_relevant_count:
|
|
range: integer
|
|
required: true
|
|
minimum_value: 0
|
|
heritage_relevant_percentage:
|
|
range: float
|
|
minimum_value: 0.0
|
|
maximum_value: 100.0
|
|
examples:
|
|
- value: 58.8
|
|
connections_by_heritage_type:
|
|
range: HeritageTypeCount
|
|
multivalued: true
|
|
inlined: true
|
|
inlined_as_list: true
|
|
specificity_annotation:
|
|
range: SpecificityAnnotation
|
|
inlined: true
|
|
template_specificity:
|
|
range: TemplateSpecificityScores
|
|
inlined: true
|
|
comments:
|
|
- Optional aggregation - can be computed from connections array
|
|
- Useful for quick heritage sector analysis
|