- Apply Rule 39: RiC-O style hasOrHad*/isOrWas* for temporal slots - Apply Rule 43: Singular noun convention (keywords → keyword) - Update slot references to match renamed slot files - Maintain schema integrity across all class definitions
138 lines
3.7 KiB
YAML
138 lines
3.7 KiB
YAML
id: https://nde.nl/ontology/hc/class/PageSection
|
|
name: page_section_class
|
|
title: PageSection Class
|
|
prefixes:
|
|
linkml: https://w3id.org/linkml/
|
|
hc: https://nde.nl/ontology/hc/
|
|
schema: http://schema.org/
|
|
dcterms: http://purl.org/dc/terms/
|
|
default_prefix: hc
|
|
default_range: string
|
|
imports:
|
|
- linkml:types
|
|
- ../metadata
|
|
- ./SpecificityAnnotation
|
|
- ./TemplateSpecificityScores
|
|
- ./PageLink
|
|
- ./FeaturedCard
|
|
- ../slots/xpath
|
|
- ../slots/content_block
|
|
- ../slots/has_or_had_featured_item
|
|
- ../slots/heading_level
|
|
- ../slots/heading_text
|
|
- ../slots/heading_text_en
|
|
- ../slots/list_item
|
|
- ../slots/section_id
|
|
- ../slots/has_or_had_section_link
|
|
- ../slots/specificity_annotation
|
|
- ../slots/has_or_had_sub_section
|
|
- ../slots/template_specificity
|
|
|
|
classes:
|
|
PageSection:
|
|
class_uri: schema:WebPageElement
|
|
description: |
|
|
A section of a finding aid page with heading and content.
|
|
|
|
Captures the hierarchical structure of web pages for preservation
|
|
and semantic understanding.
|
|
slots:
|
|
- content_block
|
|
- has_or_had_featured_item
|
|
- heading_level
|
|
- heading_text
|
|
- heading_text_en
|
|
- list_item
|
|
- section_id
|
|
- has_or_had_section_link
|
|
- specificity_annotation
|
|
- has_or_had_sub_section
|
|
- template_specificity
|
|
- xpath
|
|
slot_usage:
|
|
section_id:
|
|
description: Unique identifier for this section
|
|
heading_level:
|
|
description: Heading level (1-6 for h1-h6)
|
|
range: integer
|
|
minimum_value: 1
|
|
maximum_value: 6
|
|
heading_text:
|
|
description: Text of the section heading (original language)
|
|
required: true
|
|
heading_text_en:
|
|
description: English translation of heading
|
|
content_block:
|
|
description: Paragraph content within this section
|
|
multivalued: true
|
|
has_or_had_sub_section:
|
|
description: Nested sub-sections
|
|
range: PageSection
|
|
multivalued: true
|
|
inlined_as_list: true
|
|
has_or_had_section_link:
|
|
description: Links within this section
|
|
range: PageLink
|
|
multivalued: true
|
|
inlined_as_list: true
|
|
has_or_had_featured_item:
|
|
description: Featured cards/items in this section
|
|
range: FeaturedCard
|
|
multivalued: true
|
|
inlined_as_list: true
|
|
list_item:
|
|
description: List items (bulleted/numbered) in this section
|
|
multivalued: true
|
|
xpath:
|
|
description: XPath to this section element
|
|
specificity_annotation:
|
|
range: SpecificityAnnotation
|
|
inlined: true
|
|
template_specificity:
|
|
range: TemplateSpecificityScores
|
|
inlined: true
|
|
exact_mappings:
|
|
- schema:WebPageElement
|
|
|
|
slots:
|
|
section_id:
|
|
slot_uri: dcterms:identifier
|
|
description: Section identifier
|
|
range: string
|
|
heading_level:
|
|
slot_uri: hc:headingLevel
|
|
description: Heading level (1-6)
|
|
range: integer
|
|
heading_text:
|
|
slot_uri: dcterms:title
|
|
description: Heading text
|
|
range: string
|
|
heading_text_en:
|
|
slot_uri: dcterms:title
|
|
description: Heading text in English
|
|
range: string
|
|
content_block:
|
|
slot_uri: schema:text
|
|
description: Content paragraphs
|
|
range: string
|
|
multivalued: true
|
|
has_or_had_sub_section:
|
|
slot_uri: schema:hasPart
|
|
description: Nested sections
|
|
range: PageSection
|
|
multivalued: true
|
|
has_or_had_section_link:
|
|
slot_uri: schema:relatedLink
|
|
description: Links in section
|
|
range: PageLink
|
|
multivalued: true
|
|
has_or_had_featured_item:
|
|
slot_uri: schema:hasPart
|
|
description: Featured items
|
|
range: FeaturedCard
|
|
multivalued: true
|
|
list_item:
|
|
slot_uri: schema:itemListElement
|
|
description: List items
|
|
range: string
|
|
multivalued: true
|