PPP Asociācijas (PPPA) koncepcija. Šis nav oficiāls valsts datu portāls; dati ņemti no publiskiem avotiem, apstrādāti automātiski un var būt nepilnīgi vai kļūdaini.

How it works · 5

VZB — how the National Knowledge Base is built

VZB (the PPPA National Knowledge Base) is a knowledge graph: state institutions, their functions, tasks and rights, statutes, laws and Cabinet regulations, and the links between them. Nobody edits the graph by hand. Every night it is rebuilt from VDE data by rules kept as code, and every link states where it came from.

1 · sourcesRecord keeperslikumi.lv, TAP, Enterprise Register, State Treasury and others (SSOT)
2 · VDEData lakehouseloaded daily, checked, turned into tables
3 · mappingsVZB-as-Coderules in a Git repository: how data rows become objects and links
4 · graphKnowledge graphobjects, links, evidence and time following the OKM model
5 · checkOKM conformanceschema and link rules on every build
6 · usePeople and AIobject pages, graph, search, MCP tools

What the National Knowledge Base is made of

ObjectsInstitution, function, task, right, document (law, Cabinet regulation, statute), rule (article, point).
LinksSupervised by, responsible for, performs, has competence, establishes, contains — each with its meaning in the model.
EvidenceFor every link: status, method, source and the rule it rests on.
TimeValid from/to in the world, and when VZB learnt it; old links are never deleted.
IdentifiersA permanent VRI for every object, aliases (registration number, VPK ID, likumi.lv ID) and date versions.

Example: from a law to an institution

Why does the Central Statistical Bureau work the way it does? In the graph this can be traced in four steps, each a separate link with its own source:

  1. State Administration Structure Law contains article 16
  2. Article 16 establishes the statute of the Central Statistical Bureau — "Issued in accordance with …"
  3. the statute contains point 4.3 and the other points
  4. point 4.3 establishes a task that the Central Statistical Bureau performs

An AI agent finds the same chain with the okm_path tool and explains it with okm_explain. Open in the graph →

Evidence for every link

StatusMeaningMay it be stated as fact?
sourceThe link is in the source itself, e.g. a statute contains a point.Yes, citing the source.
derivedObtained by a published mapping from source data, e.g. the kind of a point (function / task / right) or a law article read from a regulation's "Issued in accordance with …".Yes, naming the mapping.
proposedSuggested by AI or a person; not checked.No — only as a suggestion.
confirmedA suggestion checked and approved by the person responsible.Yes, with the reviewer and date.
rejectedA suggestion rejected; kept so it is not suggested again.No.

How the graph is built every night

How it is used

People

Every object has a page vzb.pppa.lv/id/<VRI>; the knowledge graph with clusters and filters; search and overviews on the VZB start page.

AI agents

Tools okm_resolve, okm_neighbours, okm_path, okm_explain, okm_search in the VDZP MCP connection. Every answer comes with evidence; suggestions must not be presented as facts.

Current content

Loading…

ObjectsCount
LinkStatusCount
MappingLast buildObjectsLinks+ / − links

Status

VZB is a PPPA concept and an implementation of the country profile of OKM. It is not an official national knowledge base; the official source that every record points to always prevails.