glam/schemas/20251121/linkml/modules/classes/DataSource.yaml
kempersc fcd1c21c63 Add aliases and enhance slot definitions across various modules
- Added new aliases for existing slots to improve clarity and usability, including:
  - has_deadline: has_embargo_end_date
  - has_extent: has_extent_text
  - has_fonds: has_fond
  - has_laboratory: conservation_lab
  - has_language: has_iso_code639_1, has_iso_code639_3
  - has_legal_basis: legal_basis
  - has_light_exposure: max_light_lux
  - has_measurement_unit: has_unit
  - has_note: has_custodian_observation
  - has_occupation: occupation
  - has_operating_hours: has_operating_hours
  - has_position: position
  - has_quantity: has_artwork_count, link_count
  - has_roadmap: review_date
  - has_skill: skill
  - has_speaker: speaker_label
  - has_specification: specification_url
  - has_statement: rights_statement_url, rights_statement
  - has_type: custodian_only
  - has_user_category: serves_visitors_only
  - hold_record_set: record_count
  - identified_by: has_index_number
  - in_period: has_period
  - in_place: has_place
  - in_series: has_series
  - measure: has_measurement
  - measured_on: measurement_date
  - organized_by: has_organizer
  - originate_from: has_origin
  - part_of: suborganization_of
  - published_on: has_publication_date
  - receive_investment: has_investment
  - related_to: connection_heritage_type
  - require: preservation_requirement
  - safeguarded_by: current_keeper, record_holder_note
  - state: states_or_stated
  - take_comission: takes_or_took_comission
  - take_place_at: takes_or_took_place_at
  - transmit_through: transmits_or_transmitted_through
  - warrant: warrants_or_warranted

- Introduced a new slot definition for evaluated_through to capture evaluation methodologies and review statuses.
2026-02-14 14:41:49 +01:00

102 lines
No EOL
3.1 KiB
YAML

id: https://nde.nl/ontology/hc/class/DataSource
name: data_source_class
title: DataSource Class
description: >-
Represents a source of data for enrichment or information gathering.
Used to track where data came from, including messaging platforms,
APIs, web scraping, databases, and other data sources.
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
prov: http://www.w3.org/ns/prov#
dcterms: http://purl.org/dc/terms/
schema: http://schema.org/
imports:
- linkml:types
- ../slots/has_code
- ../slots/has_description
- ../slots/has_label
- ../slots/has_url
default_prefix: hc
classes:
DataSource:
class_uri: prov:Entity
description: >-
A source of data used for enrichment or information gathering.
**Common Source Types**:
| Type | Short Code | Description |
|------|------------|-------------|
| WhatsApp | WHATSAPP | WhatsApp messaging platform |
| LinkedIn | LINKEDIN | LinkedIn social network |
| Web Scrape | WEB_SCRAPE | Website scraping |
| API | API | External API |
| Database | DATABASE | Database query |
| Manual | MANUAL | Manual entry |
| Wikidata | WIKIDATA | Wikidata knowledge base |
| Google Maps | GOOGLE_MAPS | Google Maps API |
**PROV-O Alignment**: Maps to prov:Entity as the source entity
from which data was derived.
exact_mappings:
- prov:Entity
close_mappings:
- dcterms:source
- schema:CreativeWork
slots:
- has_label
- has_code
- has_description
- has_url
slot_usage:
has_label:
# range: string
required: true
examples:
- value: "WhatsApp"
- value: "LinkedIn Profile"
has_code:
# range: string
required: true
pattern: "^[A-Z][A-Z0-9_]*$"
examples:
- value: "WHATSAPP"
- value: "LINKEDIN"
- value: "WEB_SCRAPE"
has_description:
# range: string
required: false
examples:
- value: "Profile information extracted from WhatsApp message exchange"
has_url:
# range: string # uriorcurie
required: false
examples:
- value: "https://linkedin.com/in/example-profile"
annotations:
specificity_score: 0.35
specificity_rationale: >-
Data sources are broadly applicable across all enrichment contexts.
custodian_types: '["*"]'
custodian_types_rationale: >-
Data sources apply universally to all custodian types.
examples:
- value:
has_label: "WhatsApp"
has_code: "WHATSAPP"
has_description: "Information gathered via WhatsApp conversation"
- value:
has_label: "LinkedIn Profile"
has_code: "LINKEDIN"
has_description: "Profile information from LinkedIn"
source_url: "https://linkedin.com/in/example-profile"
- value:
has_label: "Wikidata"
has_code: "WIKIDATA"
has_description: "Entity data from Wikidata SPARQL query"
source_url: "https://www.wikidata.org/wiki/Q12345"