VCF → RDF

VCF-RDFizer Vocabulary

RDF vocabulary and SHACL shapes that model VCF files, headers, records, and sample calls. Explore the ontology, validate datasets, inspect relationships, and jump into working examples.

Vocabulary Snapshot

Core namespace and primary source artifacts for this documentation site.

Namespace https://w3id.org/vcf-rdfizer/vocab#
Open Ontology TTL
Artifacts Included
Ontology TTL SHACL TTL Reference Docs Relationship Graph Example Explorer

Suggested Canonical IRI Pattern

This website provides a suggested canonical IRI pattern for core instance resources, so users can generate RDF from VCF files with a consistent structure.

Base URL file://{vcfFilePath}
VCFFilefile://{vcfFilePath}
VCFHeaderfile://{vcfFilePath}#header
HeaderLinefile://{vcfFilePath}#header/line/{lineId}
VCFRecordfile://{vcfFilePath}#record/{recordId}
VariantCallfile://{vcfFilePath}#call/{recordId}
SampleCallfile://{vcfFilePath}#sample/{recordId}/{sampleId}
InfoFieldValuefile://{vcfFilePath}#call/{recordId}/info/{fieldKey}
FormatFieldValuefile://{vcfFilePath}#sample/{recordId}/{sampleId}/fmt/{fieldKey}

These templates are also formalized in the ontology via vcfr:iriTemplate.

Artifacts

Vocabulary Reference

Structured documentation for classes, properties, external ontology alignment, and per-term pages.

Preview of class hierarchy tree structure

Relationship Diagram

Sigma.js ontology map with generated JSON graph data and serialized relationship overview.

Preview of ontology relationship graph terms

Ontology (Turtle)

Core vocabulary for representing VCF files and records.

SHACL Shapes (Turtle)

Validation rules to ensure VCF-derived RDF stays consistent.

Example Explorer

This explorer shows only example files, including a first-mutation TTL example (`var1`) and the full all-variants TTL graph. Ontology and SHACL source files are available in the Artifacts section above.

Example Source (Raw VCF)

Open File
Loaded.
Loading...