Skip to content

Knowtation concepts

Knowtation describes a dataset at five levels. This page gives real standards for each and follows one example through all five. "Schema" means different things to different people, so Knowtation avoids it on its own.

The five levels

# Term Question it answers Describes Phase
1 Dataset metadata What is this dataset, and can I use it? The dataset as a whole, and its files or services (distributions) First version
2 Data dictionary What does each table and column mean, and what shape is it in? Tables and fields. Includes the structural schema: each field's type, constraints, keys and missing-value codes First version
3 Standard profile Which format do we export to? How levels 1 and 2 are written out, validated and shared First version
4 Vocabulary links Which concept does this field stand for? Field → concept, with a match type and a confidence score Later
5 Knowledge-graph links Which real-world thing does this value refer to? Value → entity (a place, organisation, river…), and publishing results as a graph Later

Levels 1 and 2 are what Knowtation knows about a dataset. Level 3 is how it writes that out. Levels 4 and 5 connect it to shared meaning: vocabularies define concepts, and knowledge graphs describe things using those concepts.

            ┌─────────────────────────────────────────────┐
  level 5   │ Knowledge graphs  (things and relations)     │  Wikidata, GeoNames, a tarkam graph
            ├─────────────────────────────────────────────┤
  level 4   │ Vocabularies      (concepts and units)       │  schema.org, QUDT, AGROVOC, SDMX
            ├─────────────────────────────────────────────┤
  level 1–2 │ Dataset metadata + data dictionary           │  what Knowtation generates
            └─────────────────────────────────────────────┘
  level 3     Standard profiles write levels 1–2 out:        Frictionless, DCAT-AP, STAC, Croissant

Examples at each level

1. Dataset metadata

Standard From Typical use
DCAT 3 / DCAT-AP W3C / EU Data catalogues and government portals
GeoDCAT-AP EU DCAT for spatial data
schema.org Dataset schema.org Making datasets findable by web search engines
STAC (Catalog, Collection, Item) OGC Community Standard Spatio-temporal data such as satellite imagery and gridded data
Croissant MLCommons Datasets for machine learning
DataCite DataCite DOIs and citing datasets
Dublin Core DCMI Basic descriptive fields used everywhere
ISO 19115 ISO Formal geographic metadata (import and export only)

2. Data dictionary (including the structural schema)

Standard From Typical use
Frictionless Table Schema / Data Package Open Knowledge Foundation Field types, constraints, keys and missing values for tabular data
CSVW W3C Describing CSV files on the web
DDI-CDI / DDI Codebook DDI Alliance Variable-level documentation for surveys and socio-economic data
STAC Table extension STAC community Columns of tabular assets in a STAC catalogue
OEMetadata Open Energy Platform Energy datasets, built on Frictionless
JSON Schema, SQL DDL IETF draft / SQL Structural schema only: shape and types, no meaning

3. Standard profiles (export targets)

Profile Writes out Validated with Phase
Frictionless Data Package v2 Levels 1 and 2 The Frictionless validator v1
DCAT-AP 3 Level 1 SHACL shapes v1
schema.org Dataset (JSON-LD) Level 1 A JSON Schema bundled with Knowtation v1
STAC 1.1 + Table extension Levels 1 and 2 for spatio-temporal data STAC validator Later
Croissant 1.1 Levels 1 and 2 for ML datasets Croissant validator Later
DDI-CDI Level 2 for statistical data DDI-CDI schema Later
A user-added standard Whatever it defines Its JSON Schema, SHACL or LinkML definition Later

A profile is a standard plus Knowtation's crosswalk to it and the standard's validator.

Vocabulary Covers Example concept
schema.org General web concepts schema:population
Wikidata properties and classes Almost everything population (P1082)
QUDT Units and quantity kinds unit:KiloW-HR (kilowatt hour)
AGROVOC Agriculture, food, land and water (FAO) irrigation
SDMX code lists and concepts Official statistics SEX (male, female, total)
GEMET Environment (European Environment Agency) groundwater
GeoNames feature codes Kinds of places ADM2 (second-level administrative division)
ISO 3166, ISO 4217 Countries, currencies IN, INR
OWL-Time Time intervals and instants time:Interval
PROV-O Provenance (where a value came from) prov:wasDerivedFrom
SOSA/SSN Observations and sensors sosa:Observation (a meter reading)
Open Energy Ontology (OEO) Energy concepts electricity generation
ENVO Environments and ecosystems river
Darwin Core Biodiversity occurrences dwc:scientificName

SDMX code lists are a vocabulary; SDMX itself is also a standard for statistical data cubes (a later profile).

Each link records a SKOS match type (exact, close, broader, narrower, related), a confidence, and whether a person reviewed it.

Knowledge graph Contains Example entity
Wikidata General entities, openly editable Pune district
GeoNames Places worldwide A town or village
OpenStreetMap Mapped features A river, road or power plant
LGD codes Indian administrative units (Local Government Directory) A district or gram panchayat code
A project or tarkam graph Entities from your own datasets Villages linked to their water sources

Knowledge graphs are usually published as RDF (for example JSON-LD or Turtle) and queried with SPARQL.

One example through all five levels

The SHRUG 2011 Population Census table pc11_pca_clean_shrid:

Level What Knowtation produces
1. Dataset metadata Title "Population Census 2011 (PCA)", producer Census of India, release 2.2, coverage India, licence, source URL
2. Data dictionary Table keyed by shrid2 (unique string). Field pc11_pca_m_06: "Male population, ages 0–6", integer ≥ 0, 0 % missing
3. Standard profile Exported as a Frictionless Data Package, and as DCAT-AP for a catalogue
4. Vocabulary link pc11_pca_m_06 → population (Wikidata P1082), sex = male (SDMX SEX), age 0–6; match: close; confidence, say, 0.82
5. Knowledge-graph link Each shrid2 value → the matching village or town entity, through LGD codes or Wikidata

Where each value comes from

Every value carries one of four provenance labels:

Label Meaning Examples Confidence
Observed Measured directly from the data The type the values were read as, counts, missing values, ranges, time span, bounding box, language None; it's a fact
Declared Stated by the source itself Variable and value labels in Stata, SPSS and SAS files, NetCDF and HDF5 attributes, layout files, CITATION.cff and data packages, OGC API titles and types, GTFS field definitions, units in an API response; a README's title, licence and variable tables High (0.9–0.95); 0.8 from a README, and 0.6 for its first paragraph as a description
Inferred Guessed by Knowtation's rules, profiler heuristics or an LLM Role, unit, aggregation, descriptions, table structure One score per value
Reviewed Accepted or edited by a person Anything saved in a review Marked human-verified

Other terms

Term Meaning
Identification rule A stored, versioned rule that proposes part of a data dictionary, for example "prefix pc11 means Census 2011"
Confidence How likely a proposed element is to be correct, from rules agreeing and from the model's own estimate
Benchmark data dictionary (benchmark) A hand-checked data dictionary for a test dataset, used to score runs and compare experiments (testdata/benchmarks/). Called "gold" in older material, such as default policy 1.0.0
Crosswalk A mapping from Knowtation's internal model to a standard
Lookup table A file whose key column explains the codes used in another file, such as World Bank's Metadata_Country for Country Code
Link A column whose values are a lookup table's keys (references); proposed with the evidence (how many codes were found) and reviewed like any value
Code list What each code in a column means, with an optional description and other facts (region, income group…), from a lookup table, a rule pack or a reviewer
Owner The person a dataset belongs to: whoever uploaded or read it, until they transfer it (accounts)
Co-owner Someone the owner invited to manage a dataset with them: everything but deleting it or transferring it
Reviewer (role) Someone invited to review a dataset's columns and export it
Public A dataset (or rule set, or policy) every signed-in user can see and use; a public dataset can't be reviewed by people who weren't invited
API token A user's one secret for scripts, sent as Authorization: Bearer kt_…; regenerate it to replace it
Run One processing of a dataset, recorded with the rule set, model and settings so it can be reproduced