
Guide 05 / Knowledge management
Knowledge worth keeping.
What knowledge management makes possible
Knowledge management means organising information so it can be found, understood and used again. A knowledge graph is one way to do this: it records things and the relationships between them. In legislation, those things might be Acts, sections and defined terms. A connection can show that a section belongs to an Act, uses a definition or refers to another section.
An ontology is the shared framework for that graph. It defines the kinds of things you record, the relationships they can have and what those relationships mean. For example, “refers to” and “creates an exception to” carry different meanings. This structure helps people and software describe the material consistently. It also reflects someone’s choices about what matters and how it should be read. There is no single correct ontology.
To build a graph, start with a question and the sources needed to answer it. Choose the record types and relationship labels, give each item an identity, then add connections with their supporting passages, dates and versions. Software can import sources through an API. AI can suggest links for people to check. The collection can grow as new material arrives.
This becomes especially useful when an AI assistant needs an organisation’s own knowledge. An application can follow relevant connections and supply the language model with a rule, its definitions, qualifications and source evidence together. The ontology helps the application distinguish what each connection means. The model has clearer context for its answer, while the reader can follow the evidence. Sources, connections and answers still need checking.
See how the pieces fit together
We’ve made a small example using the Fair Trading Act and the Consumer Guarantees Act. Selected sections become records, with connections you can follow. Here is one connection from the Fair Trading Act, shown first as a pattern and then with actual legislation.
Define the pattern
Choose the kinds of record and say how they can relate.
The ontology gives “section” and “refers to” a shared meaning that can be used throughout the collection.
Add actual legislation
Use that pattern to connect specific records.
Section 5D names section 9. This link records that reference. Read it in the official source.
Explore New Zealand legislation
This map lets you move through the sample, one section at a time. It opens at section 9 of the Fair Trading Act, with connected sections around it. Choose one to follow the connection. Select a relationship below the map to see the evidence behind it.
15 selected provisions · 30 recorded connections · 2 Acts
Teaching sample, mostly summaries. Sources checked 18 November 2026; legal review remains pending.
The map groups nearby provisions. The relationship list below gives the direction and meaning of each connection.
Misleading and deceptive conduct generally
Selected statutory excerptNo person shall, in trade, engage in conduct that is misleading or deceptive or is likely to mislead or deceive.
Open official sourceSource observation: 2026-11-18. Imported record: unreviewed. Full text: not loaded.
Recorded relationships (7)
Select a relationship to inspect its evidence. Use the section link to follow it.
JSON with the selected records, displayed relationships, source details and coverage limits.
About the sample and its limits
The example uses selected records from the Fair Trading Act 1986 and Consumer Guarantees Act 1993. One record is a statutory excerpt; the other 14 are summaries. The connections are saved records, with no live AI search or legislation feed.
The selected official sections were checked on 18 November 2026. The Fair Trading Act pages carried an unincorporated-amendments notice. Further provisions, case law and the law applicable at a particular date still need checking.