跪拜 Guibai
← All articles
Frontend · Backend · Interview

Explaining Ontology, Knowledge Graphs, and LLMs to Clients: A Fund-Verification Walkthrough

By Moment ·
Read original on juejin.cn ↗ Google Translate ↗ Alt translation

Technical consultants and full-stack engineers who pitch AI solutions to non-technical stakeholders need a repeatable way to translate abstract concepts into business value. This walkthrough shows how to avoid overcommitting to hallucination-free systems and how to structure pilots so clients see measurable, verifiable improvements instead of feature lists.

Summary

When pitching an AI system that combines ontology, knowledge graphs, and large language models, starting with concept definitions loses clients. This article uses an authorized fund-verification scenario to show a task-first approach: describe how materials flow in, how questions are processed, and how results are checked, then assign responsibilities to each technology.

The ontology defines business meanings (what counts as an account, a transaction, a counterparty), the knowledge graph links specific records with sources and verification status, and the LLM understands questions, calls tools, and drafts explanations. None of these can guarantee correctness alone: type checks catch format errors but not wrong decimal points; a graph path does not prove fund flows; and LLM output must be rechecked against sources.

Concrete guidance covers handling a 200-page PDF, distinguishing queried paths from rule-derived conclusions and speculative leads, using relational databases instead of graph databases when appropriate, and implementing validation and permissions in code rather than prompts. The article also stresses trial design: define acceptance metrics, record baselines, run regression checks, and separate responsibilities among business, data, and engineering teams.

Takeaways
— Start explanations with a concrete business task, not with concept definitions; trace how materials enter the system, how questions are processed, and how results are verified.
— Ontology unifies meaning, knowledge graphs organize sourced records, and LLMs handle understanding and generation; none alone can guarantee data quality, computation correctness, or permission enforcement.
— Validation rules (type, completeness, permissions) must be executed by code and backend checks, not only written into prompts; OWL constraints are for logical inference, not database write constraints.
— Store transactions as traceable records with source, time, and verification status; do not merge same-name objects without stable identifiers and original materials.
— Distinguish three result types: queried paths (evidence of links, not fund flow), rule-derived conclusions (deduced from explicit rules), and leads needing verification (e.g., frequent transfers).
— Relational databases with recursive queries can handle many multi-hop relationship queries; graph databases are not mandatory.
— When processing a 200-page PDF, use text extraction and OCR, restore tables and cross-page links, and never fill unreadable amounts with plausible values; put unconfirmed content in a pending area.
— LLM-generated answers based on RAG can still contain unsupported or contradictory content; check that each citation actually supports the claim.
— Any revision (data corrections, ontology rule changes) must preserve original records and reasons, then trigger regression testing on a fixed set of business questions.
— Pick a small pilot, define acceptance criteria and metrics (extraction accuracy, entity linking, query correctness, permission efficacy, manual burden), and compare against baseline.
— Audience-specific presentations (executive, business manager, frontline, technical, finance) can vary in emphasis without changing core technical conclusions.
— Responsibilities split cleanly: business defines meanings and acceptance, data handles sources and quality, developers implement queries/validation/permissions, and the model handles understanding and generation.
Conclusions

The article effectively shifts the sales conversation from capability to accountability: the contract with the client is not 'here's what AI does' but 'here's what you can verify'.

A key practical point is that ontology, knowledge graphs, and LLMs are often presented as a monolithic AI stack, but each addresses a different failure mode: meaning, provenance, and language understanding; treating them as separable and partially optional is more honest and easier to scope.

The emphasis on keeping uncertainty visible (candidate ties, pending areas, unsupported claims) is a direct countermeasure to the common hallucination naive approach of 'we have a graph so it's accurate'.

The article's pilot design framework is generalizable beyond fund verification: define metrics first, compare before/after, and let business stakeholders own acceptance criteria.

Concepts & terms
Ontology (OWL)
In knowledge engineering, an ontology formally defines the types, properties, and relationships of entities in a domain. In OWL, constraints like domain and range have logical inference semantics, not database integrity semantics; enforcement requires separate rules.
Knowledge graph
A graph-structured data model that stores entities as nodes and relationships as edges, often with provenance (source, time, verification status). It can be implemented with a graph database or with relational tables and recursive queries.
RAG (Retrieval-Augmented Generation)
A pattern where an LLM answers a query by first retrieving relevant documents or records, then generating a response grounded in those materials. Even with citations, outputs may still contain unsupported claims, so verification remains necessary.
SHACL
A W3C language for validating RDF data against a set of conditions (e.g., required properties, value types). It produces validation reports but does not enforce writes; a business process must decide to block invalid data.
Source: juejin.cn ↗ Google Translate ↗ Backup ↗