Skip to content

linkml-reference-validator

Validate quotes and excerpts against their source publications

linkml-reference-validator ensures that text excerpts in your data accurately match their cited sources. It fetches references from PubMed/PMC and performs deterministic substring matching with support for editorial conventions like brackets [...] and ellipsis ....

Key Features

  • Deterministic validation - No fuzzy matching or AI hallucinations
  • Editorial convention support - Handles [clarifications] and ... ellipsis
  • Multiple interfaces - CLI for quick checks, Python API for integration
  • LinkML integration - Validates data files with linkml:excerpt annotations
  • Smart caching - Stores references locally to avoid repeated API calls

Tutorials