void
Theme
Text size
GitHub Menu

On exhibit · LinkML schema

Vocabulary of Interlinked Datasets (VoID)

A LinkML rendering of the Vocabulary of Interlinked Datasets (VoID), the RDF vocabulary for describing datasets of linked data and the links between them, as the W3C Interest Group Note of 3 March 2011 explains it. Every VoID class and property keeps its VoID IRI, and the Dublin Core, FOAF and RDF Schema terms the Note uses in a description keep theirs.

  • 6classes
  • 46slots
  • 19types

The schema The bundle Architecture Glossary Quick start

Copier Badge

void#

Build and test Licence OpenSSF Scorecard KTL scorecard

Vocabulary of Interlinked Datasets (VoID), W3C Note of 2011 (LinkML)

Only want to ask? Install ktl-docent into any agent you use, by a route from the install page, and ask it about this project. It answers from the bundle and says how far each answer has been checked.

Agents: if .lokf/knowledge/index.md exists, read it first. llms.txt says how to weigh it.

Documentation Website#

https://lmodel.github.io/void

What it models#

The schema renders the Vocabulary of Interlinked Datasets (VoID), the RDF vocabulary that describes a linked dataset: what it is, who made it, how to reach it, what it holds and how it links to other datasets.

The schema follows Describing Linked Datasets with the VoID Vocabulary, a W3C Interest Group Note of 3 March 2011, and the vocabulary file its editors keep at cygri/void.

Every VoID class and property keeps its VoID name and Internationalized Resource Identifier (IRI), such as void:distinctSubjects, and the Dublin Core, FOAF and RDF Schema terms the Note uses keep theirs. Only the identifier id and the two partition classes are the schema’s own, under void_linkml:.

tests/upstream/void-terms.tsv lists the terms of the vocabulary file at the editors’ pinned commit, and the tests hold the schema to it. A weekly workflow opens an issue when W3C publishes another edition of the Note, the editors change the vocabulary file, or a licence changes.

Mappings#

  • Dataset: sd:Dataset and sd:Graph in narrow_mappings, as the Note’s section 6.5 says, and dcat:Dataset in broad_mappings, as DCAT 3 offers VoID’s properties for a DCAT dataset whose data is RDF.
  • DatasetDescription: foaf:Document in broad_mappings, as the vocabulary file states.
  • The two partition classes: void:Dataset in broad_mappings, since VoID makes a partition a dataset.

tests/test_upstream.py checks that each mapping names a term the pinned file of its vocabulary declares.

Not modelled here#

  • The text of the Note and of the vocabulary file. Every description is this project’s own.
  • dcterms:date: a slot named date takes the name of LinkML’s date type, and the generated Pydantic model then checks no date. created, issued and modified carry the dates the Note names.
  • The people and organisations a description names, which FOAF describes: the schema takes their IRIs.
  • The Waiver vocabulary’s terms and the SPARQL Service Description’s own terms.
  • The rules no validator can check, which docs/index.md lists.

Repository Structure#

  • docs/: the website’s own pages
  • project/: generated project files (do not edit them)
  • scripts/: the upstream watch and the term list extractor
  • src/void/schema/: the LinkML schema, void.yaml (edit this)
  • src/void/datamodel/: the generated Python datamodel
  • tests/: Python tests, with example data in data/, the term lists in upstream/ and the neighbours’ adapt copies in neighbours/
  • website/: the Hugo site built from the README, docs/, the schema’s pages and the knowledge bundle

Developer Tools#

Run just to list the project’s just recipes.

Knowledge Trust Ladder (KTL)#

.lokf/ holds this project’s KTL knowledge bundle. Its domain schema, .lokf/schema/void.yaml, is the copy just lokf-adapt writes from src/void/schema/void.yaml, and just lokf-adapt-check says when it is stale. Edit the source, never the copy. A release carries the copy as schema-<tag>-void.yaml, on the terms CONTRIBUTING.md gives.

The copy roots on Concept the three classes whose instances VoID names by an IRI, so a concept may name any of them, or Linkset, a kind of dataset, as its type. In Obsidian, add them to the Known LOKF types setting of the KTL Registrar and KTL Curator plugins:

VoidDataset, Linkset, DatasetDescription, TechnicalFeature

The partitions stay values inside a dataset’s concept. In the copy, LOKF’s id replaces the schema’s own.

The copy renames each name LOKF also defines and keeps its IRI: the class Dataset becomes VoidDataset, and the keys title, description, publisher, source, created, license and target take a void_ prefix, such as void_title. Five keys, such as subject and comment, are other lmodel copies’ too, under another IRI there. tests/test_schema_rules.py lists every shared name and fails on a new one, and lokf #169 asks adapt for a --beside option to rename them.

License#

The schema and the code are under the Apache License 2.0 (LICENSE), and the knowledge bundle in .lokf/knowledge/ is under CC BY 4.0.

The Note is under the W3C Document License, and the vocabulary file states no licence, so this repository carries the text of neither: see NOTICE. This is not a W3C project, and its use implies no endorsement by W3C or VoID’s authors.

Contributing and security#

CONTRIBUTING.md is the checklist for pull requests and releases, AI_COVENANT.md sets the rules for AI-assisted work, SECURITY.md says how to report a vulnerability, and CHANGELOG.md records the changes.

Credits#

Built from the linkml-project-copier template (doi:10.5281/zenodo.15163584).