glam/schemas/20251121/linkml/modules/classes/WebPage.yaml
kempersc ba2c766dd0 Add new slots and update existing ones following RiC-O temporal naming conventions
- Introduced `founding_date`, `founding_date_diocese`, and `fr` slots for capturing founding dates and French language text.
- Created `collects_or_collected`, `has_or_had_objective`, `has_or_had_percentage`, `has_or_had_place`, `has_or_had_reply`, `has_or_had_web_page`, `is_or_was_acquired_by`, `is_or_was_appreciated`, `is_or_was_founded_through`, `is_or_was_part_of`, `is_or_was_part_of_total`, `start_of_the_start`, `takes_or_took_comission`, and `was_fetched_at` slots to enhance data modeling capabilities.
- Each slot includes detailed descriptions, examples, and ontology alignments to ensure clarity and usability.
- Migration notes added for slots transitioned from previous definitions to maintain historical context and facilitate understanding of changes.
2026-01-22 15:15:56 +01:00

119 lines
3.8 KiB
YAML

# WebPage class
# Represents a web page with URL and metadata
#
# Created per slot_fixes.yaml migration for: collection_web_address
# Creation date: 2026-01-22
#
# Rule 53 (No Bespoke Slots): collection_web_address → has_or_had_content + Collection + has_or_had_web_page + WebPage + has_or_had_url + URL
id: https://nde.nl/ontology/hc/class/WebPage
name: WebPage
title: Web Page
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
imports:
- linkml:types
- ../slots/has_or_had_url
- ./URL
- ../slots/has_or_had_label
- ./Label
- ../slots/has_or_had_description
- ./Description
classes:
WebPage:
class_uri: schema:WebPage
description: |
Represents a web page that provides access to heritage content.
**RULE 53 MIGRATION**:
Replaces the simple `collection_web_address` URI slot with a structured model:
- `has_or_had_web_page` → WebPage (this class)
- `has_or_had_url` → URL (the actual web address)
**USAGE**:
```yaml
has_or_had_web_page:
- has_or_had_label:
label_value: "Rijksstudio Collections"
has_or_had_url:
- has_or_had_url: "https://www.rijksmuseum.nl/nl/rijksstudio"
has_or_had_type: collection_access
```
**Ontological Alignment**:
- **Primary** (`class_uri`): `schema:WebPage` - Schema.org WebPage
- **Close**: `dcterms:BibliographicResource` - DC bibliographic resource
**Use Cases**:
- Collection access pages (digital collection browse interfaces)
- Institutional portals (main website landing pages)
- API documentation pages
- Europeana collection pages
exact_mappings:
- schema:WebPage
close_mappings:
- dcterms:BibliographicResource
slots:
- has_or_had_url
- has_or_had_label
- has_or_had_description
slot_usage:
has_or_had_url:
description: |
The URL(s) of this web page.
May include primary URL and alternate URLs (e.g., different languages).
range: URL
multivalued: true
inlined: true
inlined_as_list: true
required: true
has_or_had_label:
description: |
The name/title of this web page.
range: Label
inlined: true
required: false
has_or_had_description:
description: |
Description of the web page content.
range: Description
inlined: true
required: false
annotations:
specificity_score: "0.30"
specificity_rationale: "Moderately generic - applies to web-accessible heritage resources."
template_specificity: '{"archive_search": 0.35, "museum_search": 0.35, "library_search": 0.35, "collection_discovery": 0.60, "person_research": 0.15, "location_browse": 0.20, "identifier_lookup": 0.25, "organizational_change": 0.10, "digital_platform": 0.65, "general_heritage": 0.30}'
examples:
- value:
has_or_had_label:
label_value: "Rijksstudio Collections"
has_or_had_url:
- has_or_had_url: "https://www.rijksmuseum.nl/nl/rijksstudio"
has_or_had_type: collection_access
description: Rijksstudio collection access page
- value:
has_or_had_label:
label_value: "Europeana Collections Browse"
has_or_had_url:
- has_or_had_url: "https://www.europeana.eu/en/collections"
has_or_had_type: collection_access
description: Europeana collections browse page
comments:
- "Created per slot_fixes.yaml migration (2026-01-22)"
- "RULE 53: Replaces collection_web_address URI slot with structured model"