glam/frontend/public/schemas/20251121/linkml/modules/slots/confidence.yaml
kempersc 1fb924c412 feat: add ontology mappings to LinkML schema and enhance entity resolution
Schema enhancements (443 files):
- Add class_uri with proper ontology references (schema:, prov:, skos:, rico:)
- Add close_mappings, related_mappings per Rule 50 convention
- Replace stub hc: slot_uri with standard predicates (dcterms:identifier, skos:prefLabel)
- Improve descriptions with ontology mapping rationale
- Add prefixes blocks to all schema modules

Entity Resolution improvements:
- Add entity_resolution module with email semantics parsing
- Enhance build_entity_resolution.py with email-based matching signals
- Extend Entity Review API with filtering by signal types and count
- Add candidates caching and indexing for performance
- Add ReviewLoginPage component

New rules and documentation:
- Add Rule 51: No Hallucinated Ontology References
- Add .opencode/rules/no-hallucinated-ontology-references.md
- Add .opencode/rules/slot-ontology-mapping-reference.md
- Add adms.ttl and dqv.ttl ontology files

Frontend ontology support:
- Add RiC-O_1-1.rdf and schemaorg.owl to public/ontology
2026-01-13 13:51:02 +01:00

50 lines
1.2 KiB
YAML

id: https://nde.nl/ontology/hc/slot/confidence
name: confidence_slot
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
sosa: http://www.w3.org/ns/sosa/
prov: http://www.w3.org/ns/prov#
schema: http://schema.org/
imports:
- linkml:types
default_range: string
slots:
confidence:
slot_uri: sosa:hasSimpleResult
description: 'Confidence score for AI-generated content.
Range: 0.0 (no confidence) to 1.0 (complete certainty)
**Applies to**:
- ASR-generated transcript/subtitle segments
- CV-detected scene or object annotations
- OCR-extracted text from video frames
**Thresholds** (suggested):
- > 0.9: High confidence, suitable for display
- 0.7-0.9: Medium, may need review
- < 0.7: Low, flag for human verification
**Ontology mapping**: Uses sosa:hasSimpleResult because AI/ML models
act as sensors producing observation results. The confidence score is
the simple (scalar) result of a classification/detection observation.
'
range: float
minimum_value: 0.0
maximum_value: 1.0
close_mappings:
- prov:value
related_mappings:
- schema:ratingValue