void Knowledge Bundle
Vocabulary of Interlinked Datasets (VoID), W3C Note of 2011 (LinkML)
https://w3id.org/lmodel/void/knowledge/Health32 concepts
- Confirmed by a person0 of 32
- Checked by automation only0
- Nobody has checked32
- Drafts32
- Reopened0
- Past review date0
- Edited since confirmed0
- Retired0
- Licence
- CC BY 4.0
- Publisher
- Noel McLoughlin
- As data
concepts.jsonldgraph.jsongraph.ntdatasets.jsonld
A LOKF knowledge base for void. Every Markdown file under knowledge/ is one concept; together they form a queryable knowledge graph, derived from this repository’s code and docs.
Services#
- Documentation site - The knowledge website in
website/, a Hugo site that the Knowledge website workflow publishes to GitHub Pages athttps://lmodel.github.io/void/: the README as its home page,docs/, the schema’s pages, a page per concept and the fourlokf exportfiles, with redirects from the retired mkdocs site’s addresses.
Datasets#
- void LinkML schema - The LinkML schema of the Vocabulary of Interlinked Datasets (VoID),
src/void/schema/void.yaml(schema idhttps://w3id.org/lmodel/void, version 2011-03-03): VoID’s four classes and 27 properties under VoID’s own names and IRIs, two partition classes of its own, and the Dublin Core, FOAF and RDF Schema terms a VoID description uses. Itslokf adaptcopy.lokf/schema/void.yamlis the bundle’s domain schema. - Generated artefacts - What
just gen-projectandjust gen-docgenerate from the void schema: the projections inproject/(JSON Schema, JSON-LD, OWL, SHACL, ShEx, SQL, GraphQL, Protobuf, Excel, Java, TypeScript), the Python dataclasses and Pydantic models insrc/void/datamodel/, the merged schema indocs/schema/and the schema pages indocs/elements/. - The schema’s OWL rendering -
project/owl/void.owl.ttl, the OWL ontology that gen-owl writes from the void schema, described as a VoID dataset: a Turtle file that w3id serves athttps://w3id.org/lmodel/void/void.owl.ttl, using the OWL and RDF Schema vocabularies. - Example data - The examples
tests/test_data.pychecks: valid records of every class intests/data/valid/andtests/data/problem/valid/, and counter-examples intests/data/invalid/, each naming in its first line,# Fails at:, where the validator must report it. - Upstream term lists - The two term lists in
tests/upstream/, whichscripts/extract_void_terms.pywrites from pinned files: VoID’s 31 terms with the domain, range, parent and functional facts of each, and the classes and properties of the five other vocabularies the schema names.tests/test_upstream.pyholds the schema and its mappings to them. - Neighbours’ adapt copies - The thirteen released lmodel adapt copies in
tests/neighbours/, each pinned by its SHA-256, against whichtests/test_schema_rules.pyholds this schema’s copy: no shared class, and only the listed shared keys (subject,comment,modified,label,seeAlso).
References#
- Describing Linked Datasets with the VoID Vocabulary - The W3C Interest Group Note of 3 March 2011 that explains the Vocabulary of Interlinked Datasets (VoID), by Keith Alexander, Richard Cyganiak, Michael Hausenblas and Jun Zhao, at
https://www.w3.org/TR/2011/NOTE-void-20110303/, under the W3C Document License. The schema header pins it as its source. - VoID’s vocabulary file - The RDF Schema file that declares VoID’s classes and properties,
rdfs/void.ttlin the editors’ repository cygri/void, pinned at commit5b2ca68b7897by its git object hash, since the namespace document athttp://rdfs.org/ns/voidredirects to a host that no longer answers. It states no licence.
Glossary#
- VoID - VoID, the Vocabulary of Interlinked Datasets: an RDF vocabulary, under the namespace
http://rdfs.org/ns/void#, for describing datasets of linked data and the links between them. This repository renders it as a LinkML schema. - Linkset - A linkset (
void:Linkset): a dataset of triples joining exactly two datasets, each triple’s subject in one and its object in the other, named with two targets or with a subjects’ and an objects’ target, and with at most one link predicate. - Partition - A class-based or property-based partition: the slice of a dataset about one class’s members or made of one property’s triples, given in this schema as a
ClassBasedPartitionorPropertyBasedPartitionvalue inside its dataset, usually to state counts. - Adapt copy - An adapt copy: the copy of a published LinkML schema that
lokf adaptwrites so that it can sit beside LOKF’slokf.yamlin a domain schema, with its top classes re-rooted onConceptand every name LOKF also defines renamed with its IRI kept. Here it is.lokf/schema/void.yaml.
Explanations#
- Names and IRIs - Why the schema keeps VoID’s names and IRIs (
void:Dataset,void:distinctSubjects) and the Dublin Core, FOAF and RDF Schema ones, puts only what it adds undervoid_linkml:, names the partition classes as it does, relaxes the slot naming rule, and leavesdcterms:dateout. - Scope, influences and mappings - What the void schema models and leaves out, the one influence beyond VoID (lmodel/slsa’s release asset and governance files), and its mappings:
sd:Datasetandsd:Graphas narrow anddcat:Datasetas broad forDataset,foaf:DocumentforDatasetDescription, andvoid:Datasetfor the partitions.
Playbooks#
- Regenerate and test after a schema change - How to change the void schema: edit
src/void/schema/void.yaml, runjust lint,just gen-project,just gen-doc,just lokf-adaptandjust test, and commit the regenerated files with the change. - Validate data against the void schema - How to check a VoID description written as YAML or JSON with
linkml-validate -s src/void/schema/void.yaml -C <Class>, what the validator checks, what the generated dataclasses and Pydantic models leave out, and the three rules no validator states. - Update the upstream pins - What to do when the upstream watch opens an issue: a new edition of the VoID Note, a changed or dropped vocabulary file, a changed licence, or a check that could not finish; which pins move together (the watch,
scripts/extract_void_terms.py, the schema header and the term lists’ checksums). - Release a version - How a version of void is released: entries under
## [Unreleased]inCHANGELOG.md, a releasing commit type (feat:,fix:,security:), semantic-release on a push tomainfrom thev0.0.0baseline, and the knowledge release that attaches the schema copy, the bundle and the Copilot skill. - Knowledge sources map - The librarian’s scrape map: every repository location and external source this bundle derives concepts from, the concepts each yields, how to re-check each on a refresh run, and the paths left out on purpose.
Policies#
- Security policy - How to report a vulnerability (GitHub’s private vulnerability reporting), which release receives fixes (the latest), what executes in the repository and what holds each surface, the three assets a release carries, the ruleset on
main, and the two repository settings not yet in force. - Licence and attribution - The repository’s licences and what it may take from elsewhere: Apache-2.0 for the schema and code, CC BY 4.0 for the knowledge bundle, no text of the VoID Note (W3C Document License) or of the vocabulary file (no licence stated), the term lists’ IRIs and facts, and the template’s and KTL’s notices.
- AI covenant - The rules for AI-assisted work on void: a contributor owns what they submit, an element must say what VoID says, no text of the Note or the vocabulary file, VoID’s terms keep VoID’s IRIs, and the scheduled librarian commits as a bot, through pull requests a person approves.
Workflows#
- Build and test (main.yaml) - The Build and test workflow,
.github/workflows/main.yaml: on every pull request and push tomain, its test job runsjust teston Python 3.11 to 3.14, and on 3.13 alsojust lintandjust lokf-adapt-check, withuv sync --locked. - Lint & docs (lint-and-docs.yaml) - The Lint & docs workflow,
.github/workflows/lint-and-docs.yaml: on pull requests, pushes tomain, Mondays and by hand, it runs ShellCheck, actionlint, the word budgets of CONTRIBUTING.md (1000) and SECURITY.md (900), markdownlint, lychee and codespell. - Upstream watch (upstream-watch.yaml) - The Upstream watch workflow,
.github/workflows/upstream-watch.yaml: every Monday at 07:00 UTC and by hand, its void-sources job runsscripts/check_upstream_release.pyagainst the VoID Note’s page and the editors’ repository, and on a finding opens or updates the issue titled Upstream watch: the VoID Note or vocabulary file has changed. - Semantic release (semantic-release.yml) - The Semantic release workflow,
.github/workflows/semantic-release.yml: on a pull request tomainits plan job says what the merge would release; on a push tomainits release job, in thereleaseEnvironment, runs semantic-release from.release/package-lock.jsonand dispatches the knowledge release. - Knowledge Registrar (knowledge-registrar.yaml) - The Knowledge Registrar workflow,
.github/workflows/knowledge-registrar.yaml, from the KTL sidecar: on a pull request that touches the bundle, on Mondays and by hand, it validates the bundle and runs the conventions script, and on a pull request it checks that each new human confirmation is backed by an approval or a signed commit. - Knowledge Librarian (knowledge-librarian.yaml) - The Knowledge Librarian workflow,
.github/workflows/knowledge-librarian.yaml, from the KTL sidecar: every Monday at 05:00 UTC and by hand, onceKNOWLEDGE_LIBRARIAN_ENABLEDistrue, it runs the ktl-librarian skill at the pinned KTL release in a read-only job and opens a review pull request from a job that runs no agent. - Knowledge Release (knowledge-release.yaml) - The Knowledge Release workflow,
.github/workflows/knowledge-release.yaml, from the KTL sidecar: on a published release onceKNOWLEDGE_RELEASE_ENABLEDistrue, or by hand, it validates and packs the bundle and attaches the bundle zip, the Copilot skill zip and the schema copyschema-<tag>-void.yaml, each with its.sha256and attestation. - Knowledge sync (knowledge-sync.yaml) - The Knowledge sync workflow,
.github/workflows/knowledge-sync.yaml, from the KTL sidecar: every Monday at 04:10 UTC and by hand, it compares the skills pin with KTL’s newest release and opens or refreshes one pull request that moves the pin and the sidecar’s copies, holding workflow changes for a reviewer. - Knowledge website (knowledge-website.yaml) - The Knowledge website workflow,
.github/workflows/knowledge-website.yaml, from the KTL website templates: it builds the site on a pull request or push that touches its inputs, on Mondays and by hand, and deploys it to GitHub Pages frommainonceKNOWLEDGE_WEBSITE_ENABLEDistrue.