<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Knowledge graphs on Boris Dupoux</title><link>https://borisdupoux.com/tags/knowledge-graphs/</link><description>Recent content in Knowledge graphs on Boris Dupoux</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Wed, 16 Sep 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://borisdupoux.com/tags/knowledge-graphs/index.xml" rel="self" type="application/rss+xml"/><item><title>Mission Knowledge Graphs: An Agent That Answers From Field Evidence Through MCP</title><link>https://borisdupoux.com/research/mission-knowledge-graph/</link><pubDate>Wed, 16 Sep 2026 00:00:00 +0000</pubDate><guid>https://borisdupoux.com/research/mission-knowledge-graph/</guid><description>&lt;h2 class="marque" id="where-it-started" data-chapitre data-nom="Where it started"&gt;&lt;span class="n" aria-hidden="true"&gt;&lt;/span&gt;&lt;span class="t"&gt;Where it started&lt;/span&gt;&lt;/h2&gt;&lt;!--geste--&gt;&lt;figure class="gd kg rev leve" data-allume="evidence on" data-eteint="evidence off"&gt;
&lt;div class="kg-cadre"&gt;
&lt;div class="kg-graphe"&gt;
&lt;svg class="kg-svg" viewBox="0 0 100 100" preserveAspectRatio="none" aria-hidden="true" focusable="false"&gt;
&lt;line class="kg-arete kg-a-qf" x1="50" y1="9" x2="50" y2="40"/&gt;
&lt;line class="kg-arete kg-a-x" data-vers="x" x1="50" y1="40" x2="17" y2="66"/&gt;
&lt;line class="kg-arete kg-a-r" data-vers="x" x1="17" y1="66" x2="17" y2="92"/&gt;
&lt;line class="kg-arete kg-a-e" data-vers="e" x1="50" y1="40" x2="50" y2="78"/&gt;
&lt;line class="kg-arete kg-a-l" data-vers="l" x1="50" y1="40" x2="83" y2="66"/&gt;
&lt;line class="kg-arete kg-point kg-a-o" data-vers="o" x1="86" y1="24" x2="50" y2="40"/&gt;
&lt;line class="kg-arete kg-point kg-a-z" data-vers="z" x1="50" y1="40" x2="14" y2="24"/&gt;
&lt;/svg&gt;
&lt;button type="button" class="kg-n kg-q" data-id="q" style="--x: 50%; --y: 9%"&gt;&lt;b&gt;Question&lt;/b&gt;&lt;small&gt;ask the question&lt;/small&gt;&lt;/button&gt;
&lt;span class="kg-n kg-f" data-id="f" style="--x: 50%; --y: 40%"&gt;&lt;b&gt;Fact&lt;/b&gt;&lt;small&gt;status: to confirm&lt;/small&gt;&lt;/span&gt;
&lt;button type="button" class="kg-n kg-p" data-id="x" aria-pressed="true" style="--x: 17%; --y: 66%"&gt;&lt;b&gt;&lt;i&gt;1&lt;/i&gt; Excerpt found word for word&lt;/b&gt;&lt;small&gt;exact quote&lt;/small&gt;&lt;/button&gt;
&lt;span class="kg-n kg-r" data-id="r" style="--x: 17%; --y: 92%"&gt;&lt;b&gt;Timestamped recording&lt;/b&gt;&lt;/span&gt;
&lt;button type="button" class="kg-n kg-p" data-id="e" aria-pressed="true" style="--x: 50%; --y: 78%"&gt;&lt;b&gt;&lt;i&gt;2&lt;/i&gt; Captured screen&lt;/b&gt;&lt;small&gt;seen on&lt;/small&gt;&lt;/button&gt;
&lt;button type="button" class="kg-n kg-p" data-id="l" aria-pressed="true" style="--x: 83%; --y: 66%"&gt;&lt;b&gt;&lt;i&gt;3&lt;/i&gt; Deliverable&lt;/b&gt;&lt;small&gt;carried into&lt;/small&gt;&lt;/button&gt;
&lt;button type="button" class="kg-n kg-o" data-id="o" aria-pressed="true" style="--x: 86%; --y: 24%"&gt;&lt;b&gt;Open point “to be decided”&lt;/b&gt;&lt;small&gt;concerns&lt;/small&gt;&lt;/button&gt;
&lt;span class="kg-n kg-z" data-id="z" style="--x: 14%; --y: 24%"&gt;&lt;b&gt;Refusal: role to ask&lt;/b&gt;&lt;small&gt;nothing direct&lt;/small&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;div class="kg-reponse" aria-live="polite"&gt;
&lt;span class="etiq"&gt;Agent&amp;#39;s answer&lt;/span&gt;
&lt;p class="kg-r-fait"&gt;&lt;b&gt;Fact&lt;/b&gt; &lt;span class="kg-statut"&gt;status: to confirm&lt;/span&gt;&lt;/p&gt;
&lt;p class="kg-r-sources"&gt;&lt;span class="kg-r-lab"&gt;Cited sources&lt;/span&gt;
&lt;cite data-src="x"&gt;&lt;i&gt;1&lt;/i&gt; Excerpt found word for word · Timestamped recording&lt;/cite&gt;
&lt;cite data-src="e"&gt;&lt;i&gt;2&lt;/i&gt; Captured screen&lt;/cite&gt;
&lt;cite data-src="l"&gt;&lt;i&gt;3&lt;/i&gt; Deliverable&lt;/cite&gt;&lt;/p&gt;
&lt;p class="kg-r-ouvert"&gt;Open point flagged: to be decided.&lt;/p&gt;
&lt;p class="kg-r-refus"&gt;Nothing direct to cite: the agent refuses and names the role to ask.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;figcaption&gt;The structure of one fact in the graph, with neutral labels and no mission content. Switch off a piece of evidence: the sentence it supported leaves the answer; switch them all off: the agent refuses. The status is read from the graph, not decided by the model.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;!--/geste--&gt;
&lt;p&gt;At Capture, my work is to observe processes in the field and map them. Each
mission leaves recordings, captured screens, notes and deliverables. Once the
report is handed over, all of it goes inert: the facts we observed, the points
we had left open, the answers we had already found. The next mission cannot
use any of it.&lt;/p&gt;
&lt;p&gt;I took one real field mission as a corpus and asked whether its evidence could
go on answering questions, on three conditions: every sentence of an answer
cites its source, what was observed stays distinct from what was validated,
and the agent refuses when it has nothing direct to cite. The result is a
typed graph, served through MCP to a local agent, and it is deployed.&lt;/p&gt;
&lt;h2 class="marque" id="what-i-built" data-chapitre data-nom="What I built"&gt;&lt;span class="n" aria-hidden="true"&gt;&lt;/span&gt;&lt;span class="t"&gt;What I built&lt;/span&gt;&lt;/h2&gt;&lt;figure class="dg-bloc" data-dg="flux" data-mot-pointille="dotted" data-mot-schema="Diagram" data-repli="/vendor/mermaid/11.17.2/mermaid.min.js"&gt;
&lt;pre class="dg-source" translate="no"&gt;&lt;code&gt;flowchart TB
 A[&amp;#34;Mission evidence&amp;lt;br/&amp;gt;recordings, screens, notes, deliverables&amp;#34;] --&amp;gt; B[&amp;#34;Typed graph&amp;lt;br/&amp;gt;every fact sourced&amp;#34;]
 B --&amp;gt; C[&amp;#34;Knowledge server (MCP)&amp;lt;br/&amp;gt;read-only, names masked by role&amp;#34;]
 C --&amp;gt; D[&amp;#34;Agent: search documents&amp;lt;br/&amp;gt;and graph separately&amp;#34;]
 D --&amp;gt; E[&amp;#34;Extract facts&amp;lt;br/&amp;gt;with exact quotes&amp;#34;]
 E --&amp;gt; F{&amp;#34;Direct, quoted facts?&amp;#34;}
 F --&amp;gt;|&amp;#34;yes&amp;#34;| G[&amp;#34;Answer &amp;#43; sources&amp;lt;br/&amp;gt;established · to confirm · not settled&amp;#34;]
 F --&amp;gt;|&amp;#34;no&amp;#34;| H[&amp;#34;Refusal &amp;#43; role to ask&amp;#34;]
 B --&amp;gt; I[&amp;#34;Review assistant&amp;lt;br/&amp;gt;evidence dossier &amp;#43; local AI&amp;#34;]
 I --&amp;gt; J{&amp;#34;Human decision&amp;#34;}
 J --&amp;gt;|&amp;#34;validated&amp;#34;| B&lt;/code&gt;&lt;/pre&gt;
&lt;/figure&gt;&lt;p&gt;Every fact in the graph points to its source. The agent extracts facts with a
quote copied from the source; code rejects any quote it cannot find and removes
from the answer any sentence that no quote supports. When it has nothing direct
to say, the agent refuses and names the role to ask. Each fact carries one of
three states, established, to confirm or not settled, and an observed practice
is never presented as a validated rule. The questions left open in the
deliverables became nodes of the graph, so the agent reads from the database
that a point is still open.&lt;/p&gt;
&lt;p&gt;The agent follows a fixed chain: it splits the question, searches the delivered
documents and the graph separately, extracts the facts in one pass, writes the
action to take first, then checks each sentence against its quote. Procedure
questions are built by code, with the conditions, then the numbered steps taken
from the delivered sheets, then the open points. A web page shows the answer
with clickable sources and workflow diagrams.&lt;/p&gt;
&lt;h2 class="marque" id="behind-a-single-statement" data-chapitre data-nom="Behind a single statement"&gt;&lt;span class="n" aria-hidden="true"&gt;&lt;/span&gt;&lt;span class="t"&gt;Behind a single statement&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;One fact in the graph, its evidence and what is still open:&lt;/p&gt;
&lt;figure class="dg-bloc" data-dg="flux" data-mot-pointille="dotted" data-mot-schema="Diagram" data-repli="/vendor/mermaid/11.17.2/mermaid.min.js"&gt;
&lt;pre class="dg-source" translate="no"&gt;&lt;code&gt;flowchart TB
 Q([&amp;#34;Question&amp;#34;]) --&amp;gt; F[&amp;#34;Fact&amp;lt;br/&amp;gt;status: to confirm&amp;#34;]
 F --&amp;gt;|&amp;#34;exact quote&amp;#34;| X[&amp;#34;Excerpt&amp;lt;br/&amp;gt;found word for word&amp;#34;]
 X --&amp;gt; R[&amp;#34;Timestamped&amp;lt;br/&amp;gt;recording&amp;#34;]
 F --&amp;gt;|&amp;#34;seen on&amp;#34;| E[&amp;#34;Captured screen&amp;#34;]
 F --&amp;gt;|&amp;#34;carried into&amp;#34;| L[&amp;#34;Deliverable&amp;#34;]
 P[&amp;#34;Open point&amp;lt;br/&amp;gt;“to be decided”&amp;#34;] -.-&amp;gt;|&amp;#34;concerns&amp;#34;| F
 F -.-&amp;gt;|&amp;#34;nothing direct&amp;#34;| O[&amp;#34;Refusal: role&amp;lt;br/&amp;gt;to ask&amp;#34;]&lt;/code&gt;&lt;/pre&gt;
&lt;/figure&gt;&lt;p&gt;&lt;em&gt;The structure of one fact, with neutral labels: no mission content. The status comes from
the graph, not from the model.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;No tool can validate anything: the machine prepares and the human decides. A
review assistant assembles an evidence dossier per fact, lets the reviewer
question a local AI bound to that dossier, and ranks facts by how strongly
independent signals agree.&lt;/p&gt;
&lt;p&gt;&lt;img class="volet" src="https://borisdupoux.com/research/mission-knowledge-graph/review-assistant.png" srcset="https://borisdupoux.com/research/mission-knowledge-graph/review-assistant_hu_d9f2997028e4db77.png 800w, https://borisdupoux.com/research/mission-knowledge-graph/review-assistant.png 1121w" sizes="(max-width: 899px) calc(100vw - 32px), (max-width: 1600px) 88vw, 1400px" data-zoom="/research/mission-knowledge-graph/review-assistant.png" data-zl="1121" data-zh="822" width="1121" height="822" style="--ratio: 1.364" alt="The review assistant: on the left the cascade triage and batches to reject after sampling, in the centre a card with its proposal, the local AI’s pre-reading citing the evidence and the machine opinion to confirm, on the right questions to the case file" loading="lazy" decoding="async"&gt;
&lt;em&gt;The review assistant (interface in French): cascade triage, a pre-reading by the local AI that cites the evidence, a machine opinion to confirm; only the reviewer decides. Identifiers and names masked.&lt;/em&gt;&lt;/p&gt;
&lt;h2 class="marque" id="what-the-numbers-say" data-chapitre data-nom="What the numbers say"&gt;&lt;span class="n" aria-hidden="true"&gt;&lt;/span&gt;&lt;span class="t"&gt;What the numbers say&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;&lt;img class="volet" src="https://borisdupoux.com/research/mission-knowledge-graph/benchmark-en.png" srcset="https://borisdupoux.com/research/mission-knowledge-graph/benchmark-en_hu_e07a4d0cfa82c4cf.png 800w, https://borisdupoux.com/research/mission-knowledge-graph/benchmark-en_hu_882c9c6a4311bdfc.png 1600w, https://borisdupoux.com/research/mission-knowledge-graph/benchmark-en.png 1920w" sizes="(max-width: 899px) calc(100vw - 32px), (max-width: 1600px) 88vw, 1400px" data-zoom="/research/mission-knowledge-graph/benchmark-en.png" data-zl="1920" data-zh="624" width="1920" height="624" style="--ratio: 3.077" alt="Three charts: median answer time down from 10.7 to 6.3 s, trap questions refused up from 22 to 27 of 30, correct answers up from 58 to 66 % and sources retrieved from 82 to 95 %" loading="lazy" decoding="async"&gt;
&lt;em&gt;The benchmark from one version to the next: faster, more cautious, better sourced. Quality has not yet been re-measured on the latest version.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;On 161 questions, rewriting the chain around separate searches and a single
extraction took correct answers from 58 to 66 % and brought errors down from 8
to 3, with 95 % of the expected sources retrieved. The latest version refuses
27 trap questions out of 30. On open points, 30 of the 46 genuinely open
questions are now flagged as not settled, while 12 of the 85 settled answers
are flagged wrongly; about one open point in three still goes unflagged.&lt;/p&gt;
&lt;p&gt;Profiling the latency showed that most of the time went into logging the tool
calls; once that was fixed, median answer time went from 15.6 s to 4.8 s on
four test questions.&lt;/p&gt;
&lt;p&gt;The review assistant found every one of the 461 quoted audio excerpts word for
word in its source. Triage in stages and cross-examined machine opinions (an
adviser, then a sceptic who revised 232 of 454 opinions) cut the estimated
review effort by about two thirds.&lt;/p&gt;
&lt;h2 class="marque" id="what-it-is-worth-and-what-is-missing" data-chapitre data-nom="What it is worth, and what is missing"&gt;&lt;span class="n" aria-hidden="true"&gt;&lt;/span&gt;&lt;span class="t"&gt;What it is worth, and what is missing&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;Everything rests on a single real-mission corpus. The agent is deployed and
serves observed facts, labelled as such, because human validation of the graph
is under way but not finished. The evaluation is self-produced: the 161
questions were drafted by AI agents and still await human validation, and
answer quality was graded by LLM reviewers in the role of second annotator. The
automatic checks verify the form of the answers; they do not judge their
substance.&lt;/p&gt;
&lt;p&gt;Only the knowledge server is built; the evidence and ontology servers remain to
be done, and the extraction quality target for screen identification is still
not met. The latency gains rest on four questions. On the full set, small score
differences stayed within run-to-run noise until decoding was made
deterministic.&lt;/p&gt;
&lt;details&gt;
&lt;summary&gt;Technical details&lt;/summary&gt;
&lt;p&gt;Agent benchmark on the same 161 questions (85 answerable, 46 open, 30 to refuse), local
model; quality graded by LLM reviewers.&lt;/p&gt;
&lt;table&gt;
	&lt;thead&gt;
			&lt;tr&gt;
					&lt;th&gt;Measure&lt;/th&gt;
					&lt;th&gt;First chain&lt;/th&gt;
					&lt;th&gt;Chain v2&lt;/th&gt;
					&lt;th&gt;Latest&lt;/th&gt;
			&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tbody&gt;
			&lt;tr&gt;
					&lt;td&gt;Correct answers&lt;/td&gt;
					&lt;td&gt;58 %&lt;/td&gt;
					&lt;td&gt;66 %&lt;/td&gt;
					&lt;td&gt;—&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;Errors&lt;/td&gt;
					&lt;td&gt;8&lt;/td&gt;
					&lt;td&gt;3&lt;/td&gt;
					&lt;td&gt;—&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;Expected sources retrieved&lt;/td&gt;
					&lt;td&gt;82 %&lt;/td&gt;
					&lt;td&gt;95 %&lt;/td&gt;
					&lt;td&gt;—&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;Trap questions refused&lt;/td&gt;
					&lt;td&gt;22 / 30&lt;/td&gt;
					&lt;td&gt;26 / 30&lt;/td&gt;
					&lt;td&gt;27 / 30&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;Open points flagged / false flags&lt;/td&gt;
					&lt;td&gt;—&lt;/td&gt;
					&lt;td&gt;27 / 46 · 12 / 85&lt;/td&gt;
					&lt;td&gt;30 / 46 · 12 / 85&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;Median / p95 answer time&lt;/td&gt;
					&lt;td&gt;10.7 / 25.5 s&lt;/td&gt;
					&lt;td&gt;5.4 / 8.0 s&lt;/td&gt;
					&lt;td&gt;6.3 / 9.9 s&lt;/td&gt;
			&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Procedure questions (10, built by code): 9 of 10 answers pass the checks, up from 5;
expected steps covered rose from 6 / 73 to 38 / 73, expected conditions from 7 / 53 to
27 / 53 (word-overlap measure, no LLM judge).&lt;/p&gt;
&lt;/details&gt;
&lt;h2 class="marque" id="stack" data-chapitre data-nom="Stack"&gt;&lt;span class="n" aria-hidden="true"&gt;&lt;/span&gt;&lt;span class="t"&gt;Stack&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;&lt;code&gt;Python&lt;/code&gt; · &lt;code&gt;SQLite full-text search&lt;/code&gt; · &lt;code&gt;vector embeddings + reranker&lt;/code&gt; · &lt;code&gt;MCP&lt;/code&gt; · &lt;code&gt;local open-weight LLM&lt;/code&gt; · &lt;code&gt;Mermaid&lt;/code&gt; · &lt;code&gt;pytest&lt;/code&gt;&lt;/p&gt;</description></item></channel></rss>