SSTIM
SSTIM is an open, evolving reference for stimuli and sensory stimulation,
designed to connect human knowledge, AI systems, scientific research, and
technology through precise concepts, evidence-aware descriptions, and
persistent, citable references. Its purpose is to make this knowledge easier to
understand, compare, challenge, validate, exchange, and improve.
Its current formal implementation is a modular knowledge standard covering
sensory-stimulation techniques, modalities, stimulus parameters, exposure
boundaries, evidence claims, protocols, presets, and sessions. It comprises RDF
vocabularies, ontology modules, semantic infrastructure, validation profiles,
interoperability work, documentation, and shared identifiers. The long-term
vision is broader than any one representation technology.
The living-reference vision describes that
direction and its boundaries. It is a project-level vision, not a ratified
Community Group charter or a claim to exclusive scientific authority.
Contribute to the living reference: AI agents and humans are invited
to report inaccurate definitions, missing concepts, evidence conflicts,
implementation flaws and unmet research or technology needs. Reports should
identify sources, affected versions and reproducible observations. The
feedback form prepares a public
GitHub issue draft for review; no machine contribution changes canonical
SSTIM automatically.
The SSTIM ecosystem is broader than the standard itself. It includes SSTIM,
its reference tooling and community, and the wider field of sensory-stimulation
applications and initiatives whether they adopt SSTIM, contribute to it, support
it, or are related through documented domain relevance. This repository also
contains SSTIM Workbench, SSTIM's non-normative executable reference
environment; Graph Navigator and Patch Studio are Workbench components.
SSTIM is developed through the W3C Sensory Stimulation Vocabulary Community
Group. Historical development provenance is preserved in the repository
history. Community Group work is not a W3C Recommendation or W3C-endorsed
technology.
The work is non-clinical. It does not prescribe treatment, certify efficacy, or
claim that a protocol treats, prevents, cures, or diagnoses a condition. Start
with Scope, Non-Scope, and
the Evidence Framework.
Project Status
Version numbers, DOIs, module and term counts are derived, not restated
here — make truth-audit fails when prose disagrees with the sources:
| Fact |
Source |
| Latest citable release, its version DOI, graph counts |
void.ttl |
| Live development version, modules, profile closures |
manifest.json |
| How to cite |
CITATION.cff |
| What changed in each release |
CHANGELOG.md |
- Persistent namespace:
https://w3id.org/sstim is registered and live.
All-version concept DOI:
10.5281/zenodo.21286974.
- Ontology shape: manifest-owned Turtle modules behind four profile entry
points — Kernel, Core, Core Plus, Full — plus VoID/DCAT and a JSON-LD context.
Kernel is a shapeless discovery profile; Core, Core Plus, and Full are the
conformance targets. The development line is mutable and not an immutable
release; use the manifest and explicit profile entry points rather than
treating
sstim-core.ttl as the whole suite.
- Public example data: the BSC framework, nine framework techniques (three
originated by BSC, six vendor-neutral ones it incorporates — ADR 0033), two
implementations, protocols, reference presets, evidence assessments,
knowledge-status assertions, exposure hypotheses and profiles, DOI-identified
references, one explicitly synthetic session with pre/post reports, and one
synthetic ecosystem contract graph. No real ecosystem-agent record ships here.
- Validation: SHACL Core and SHACL-SPARQL, HermiT via ROBOT, repository-wide
semantic integrity checks, and executable SPARQL competency queries run under
the pinned Nix toolchain.
- External review: the 2026-07-10
automated OOPS/FOOPS review
is resolved, and the maintainer guided and accepted the ontology changes.
Releases are accepted once the automated OWL, SHACL, quality, round-trip,
runtime, and build gates pass; independent human ontology review is not
claimed. The deployed canonical FOOPS score is 87.5%, with the remaining
failures registry-dependent.
- Registry discoverability: the
sstim prefix resolves at prefix.cc and the
ontology is parsed and browsable in
BioPortal, and it is
catalogued in BARTOC (node 21154, entered
by a BARTOC editor on 2026-07-27) and in
FAIRsharing (record 8494, curated 2026-08-06,
DOI pending) and in
DBpedia Archivo,
and listed in LOV since
2026-09-28. Archivo's
rating is frozen at the state of first submission — its updater has not run
since February 2026, which is
reported upstream — so treat
its star count as stale rather than current. Tracked in
registry submissions.
- Web app: ontology graph, SPARQL workbench, preset browser, Patch Studio
with built-in Sensory Field starters, logbook, profile and settings are
implemented as a static SvelteKit application, usable with no account;
Firebase-backed sync is optional.
Browsers at the ontology IRI get the interactive application; reference
documentation is regenerated on every deploy (ADRs 0023 and 0043) —
WIDOCO for the Full OWL profile and
pyLODE for the SKOS
vocabulary. Real participant session data, the private BioSynCare catalog,
clinical protocols, and clinical claims are not published here.
SSTIM Modules And Profiles
The live source set is manifest-driven. The
manifest.json file is the authoritative list
of modules, direct dependencies, runtime named graphs, checksums, and profile
closures. The main adoption choices are:
| Profile |
Semantic closure |
Validation |
| Kernel |
sstim-core.ttl: the two process anchors |
No published Kernel shapes |
| Core |
Kernel + engine-independent stimulus description |
sstim-core-shapes.ttl |
| Core Plus |
Core + reusable common descriptors and calibrated quantities |
Core shapes; Common-specific shapes are deferred |
| Full |
All semantic, bridge, vocabulary, alignment, ecosystem, and Patch Studio modules |
sstim-shapes.ttl |
New here? Adopting SSTIM walks the whole path in
about half an hour, without a checkout: pick a profile, fetch it pinned to a
release, copy a file from examples/, change the namespace,
validate. It also states plainly what SSTIM does not do yet.
There are two clients with one API. Both resolve a profile closure from the
manifest, checksum-verify what they fetch, and check a file three ways:
conformance, containment, and namespace discipline.
packages/sstim, Python, on PyPI as
sstim:
pip install sstim && sstim validate my.ttl --profile core
packages/sstim-js, JavaScript, on npm as
@sstim/core:
npm install @sstim/core. rdf-validate-shacl cannot evaluate sh:sparql,
so Full-profile results are marked PARTIAL with the count skipped; Kernel,
Core and Core Plus carry none.
Consumers that previously merged the eight pre-modular sources should select
the Full profile. New reusable integrations should start with Core or Core Plus and
add concern modules through their manifest-resolved dependency closure. Shapes
are selected separately from OWL imports. Core validation deliberately leaves
channels and targets optional, but hardens either link when it is present: a
channel object must be typed sstim-ex:StimulusChannel, and a stimulation
target must be an IRI or blank node rather than a literal.
Each entry point is also a W3C Profiles Vocabulary (prof:Profile) resource
with discoverable specification, constraints (where available), and manifest
artifacts. The manifest declares its schema by the persistent identifier
https://w3id.org/sstim/manifest-schema/1 while it is mutable. A released
manifest points $schema at its frozen versioned sibling instead.
For the modular publication contract, machine-readable requests to
https://w3id.org/sstim return a generated catalog of the Full semantic
namespace, while https://w3id.org/sstim/kernel is the exact two-class Kernel
endpoint. https://w3id.org/sstim/exposure returns a generated Stimulus +
Exposure namespace catalog because the exposure namespace contains terms owned
by both modules. The exact Exposure semantic module and its mutable
distribution/import endpoint are instead
https://w3id.org/sstim/module/exposure; the live Full profile's owl:imports
uses that endpoint, never the namespace catalog. Its dct:requires may still
identify the logical Exposure ontology as https://w3id.org/sstim/exposure.
Release preparation replaces the mutable import endpoint with the exact
immutable versioned sibling file. A development line's artifacts and routes stay
staged until the Pages deployment and corresponding perma-id update; they are
never citable release endpoints.
Every module is an owl:Ontology with creator, publisher, dates, license,
description, version metadata, and explicit ownership. Controlled values remain
dual-typed OWL individuals and SKOS concepts. See the
module architecture,
ontology source guide, and
ADR index.
SSTIM MCP: installable reference for AI agents
Published: @sstim/mcp@0.3.1,
official MCP Registry identity io.github.w3c-cg/sstim
(canonical OIDC registration).
The local stdio MCP adapter exposes four read-only knowledge tools: list
released versions, search concepts, retrieve exact terms with definitions/
mappings/provenance, and prepare a human-reviewed feedback link. Since 0.3.0 it
can also draft contribution proposals and read the public contribution issues;
it opens a public GitHub issue only when its operator enables submission and
approves the exact text. It consults the
release-pinned Concept Reference API;
it never mutates the ontology. No source checkout, login or API key is required
to run the published package with Node.js 20+.
Quick installation, VS Code + Copilot Agent (.vscode/mcp.json):
{
"servers": {
"sstim": {
"type": "stdio",
"command": "npx",
"args": ["--yes", "@sstim/mcp@0.3.1"]
}
}
}
For Codex use [mcp_servers.sstim] with command = "npx" and
args = ["--yes", "@sstim/mcp@0.3.1"].
Installation instructions for Codex, Claude Code, Gemini CLI, Cursor and
Neovim include the appropriate client-specific
configuration.
Try asking your agent: “Use SSTIM to find the canonical terminology for
binaural beats, retrieve each relevant term's source and provenance, and
propose a mapping for my session JSON without inventing any ontology IRIs.”
Stewardship: SSTIM W3C Community Group
(primary author/project); with thanks to BioSynCare
for support and contributions. Community Group publication is not a W3C
Recommendation or formal endorsement. Distribution and public directories.
SSTIM Workbench
The first screen is the working application, not a marketing site. Its main
surfaces are:
- Graph Navigator: Cytoscape graph navigation over named RDF graphs.
- SPARQL workbench: Comunica queries over ontology and public instance data.
- Presets: SSTIM Workbench reference presets, their preserved BSC Lab
implementation identifiers, and their evidence links.
- Published protocols: protocols encoded from published papers, compared
side by side (stimulus, levels and the stage each holds at, schedule, arms,
population), each with its full record and its source.
- Patch Studio: real-time audio/visual authoring with Web Audio,
AudioWorklet/WASM options, modulation, photosensitivity safeguards, and
first-class colour-field and stereoscopic scene tracks. Its built-in Sensory
Field starters create ordinary Studio tracks for colour/audio, depth markers,
trees, abstractions, and landscapes; the former
/field/* URLs are
history-replacing compatibility redirects, not another application screen. The SHACL-tested
legacy exposure mapper remains a golden path while unified Studio exposure
export is completed.
- Logbook, annotations, patches and profile: kept in your browser by
default, with no account required. Signing in (when Firebase is configured)
keeps them with your account instead so they follow you between devices.
Ecosystem architecture is maintained in the Workbench's /ecosystem/ page.
Software architecture details are in src/README.md,
Patch Studio, and the
Session Model.
Deployment And Portability
SSTIM Workbench builds as a static SvelteKit application. Graph Navigator, SPARQL
workbench, Patch Studio, legacy Field redirects and reference data all operate
client-side, so the core application is hostable on any static file server. Firebase is
optional: configuration comes from build-time VITE_FIREBASE_* variables, and a
build without them produces a working instance with no embedded credentials. Only
sign-in becomes unavailable — annotations, saved patches, the logbook and the
profile are kept on the device instead of an account.
The pinned Nix flake reproduces the development, build and validation
toolchain, and CI runs inside it. nix build (or make package) additionally
produces the static site as an immutable, bit-reproducible package at
result/share/bsc-lab, a compatibility path retained from the imported baseline,
servable by any static web server — nix build --rebuild
yields an identical output, and nix flake check builds it.
That same package deploys three ways from one source: a NixOS module
(nixosModules.default) that configures a hardened nginx with the required MIME
types and headers, an OCI container image (nix build .#oci) running unprivileged,
and any plain static host. All three are held to a single deployment-conformance
contract, scripts/smoke-http.sh, exercised in CI against both a NixOS VM and the
container.
Local user data is fully portable: a versioned instance export covers patches,
annotations, logbook, profile and skin with SHA-256 integrity, and make migrate-test
proves it across two genuinely separate origins — export from instance A, import into
instance B, re-export, byte-identical.
The package is configured at deployment, not at build: a runtime-config.json
beside the site names the instance and selects identity and storage providers, so
one byte-identical artifact serves many operators. The NixOS module generates it
from services.bsc-lab.settings; the container takes it as a read-only mount.
Absence changes nothing, and invalid configuration degrades to local-only and
says why in Settings.
Every build publishes build-info.json naming the commit it came from, and CI
fetches it back from the deployed URL after publishing — so "the live site is the
commit we built" is checked rather than assumed.