glam/schemas/20251121/linkml/modules/classes/DataSource.yaml
kempersc 90842851c2 Add slot definitions for 'updated_at' and 'written_in' with multilingual support and ontology alignment
- Created 'updated_at.yaml' to record the last modified date and time of entities, including multilingual descriptions and structured aliases.
- Created 'written_in.yaml' to specify the language in which content is composed, covering both natural and programming languages, with detailed comments and close ontology mappings.
2026-02-07 11:22:05 +01:00

102 lines
No EOL
3.2 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/20260202_matang/has_code
- ../slots/20260202_matang/has_description
- ../slots/20260202_matang/has_label
- ../slots/20260202_matang/new/source_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
- source_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"
source_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"