Ontology-Based Post-Coordinated Expression Assembly: from Clinical Narrative to Queryable Knowledge Graphs

Johann Pignat, Christophe Gaudet-Blavignac, Julien Ehrsam, Jean-Philippe Goldman, Cyrille Duret, Phil Cheng, Mina Bjelogrlic, Michel Cuendet, Christian Lovis, Olivier MichielinarXiv 2026

TL;DR

This paper introduces UNIGRAPHE, a deterministic pipeline that transforms unstructured clinical notes into formal, queryable knowledge graphs. By moving beyond simple keyword extraction to a structured "construction grammar" based on SNOMED CT, the researchers demonstrate how to turn messy medical narratives into a precise resource for automated cohort discovery and clinical research.

What Problem Does This Paper Address?

In clinical oncology, the most critical data—like the exact location of a tumor or a patient's response to a specific treatment—is often buried in free-text narrative. Currently, researchers try to "code" this text by mapping individual terms to standard medical codes (pre-coordination).

However, this approach has three major "failure modes" (as illustrated in Figure 1):

  1. Absence: Many complex clinical combinations simply don't have a single pre-existing code.
  2. Primitive Concepts: Existing codes often lack the formal internal definitions needed for deep property-based queries.
  3. Unexpected Definitions: Even when a code exists, its internal hierarchy might not match how a researcher actually wants to search for it.

Essentially, a flat list of extracted terms tells you what a document mentions, but not what it asserts. To make clinical text truly queryable at scale, we need to capture the relationships between those terms.

Figure 1: Three independent failure modes of pre-coordinated SNOMED CT concept mapping, and their resolution by post- coordinated assembly

Methods

The authors propose a method for post-coordinated expression assembly. Instead of looking for one giant code to fit a complex phrase, they break the phrase into "atomic" components and then use a set of five deterministic rules to rebuild the meaning into a knowledge graph.

The UNIGRAPHE pipeline applies these five rules in a fixed sequence:

  1. Qualification: Absorbs one entity into another (e.g., "left" + "leg" → "left leg").
  2. Composition: Combines entities of equal standing (e.g., "skin" + "left leg" → "skin of left leg").
  3. Instantiation: Creates a "Governing Concept," the first level of a clinical statement (e.g., "melanoma" at "skin of left leg").
  4. Contextualisation: Wraps the concept in situational context (e.g., "suspected" or "denied").
  5. Connection: Links independent assertions into a broader "Story" (e.g., linking a biopsy procedure to the tumor it investigated).

The logic behind these rules is summarized in the table below:

Table 1: Node types and the five Rules producing them from the five Classes of annotated relations.

Datasets

The study utilized a corpus of 20 manually annotated documents from five oncology patients. These documents covered four common clinical types: discharge letters, radiology reports, tumor board reports, and oncology consultation reports.

The annotations were grounded in two major ontologies:

  • SNOMED CT: The primary terminology for clinical findings and procedures.
  • NCIt (National Cancer Institute Thesaurus): Used to fill gaps in SNOMED CT, specifically for genomic mutations and treatment response assessments.

Key Insights and Ideas

  • Relation Structure is the "Missing Piece": The authors argue that clinical NLP has spent decades perfecting entity extraction, but that's only half the battle. The real "aha moment" is that the structure of the relations—how "melanoma" relates to "lung"—is what makes the data formally queryable.
  • Deterministic vs. Probabilistic: Unlike "black-box" LLM predictions, UNIGRAPHE is deterministic. If the input annotations are the same, the output graph is the same. This makes the system auditable and easier to debug for clinical use.
  • Unified Querying: Because the reconstructed expressions mirror the internal structure of standard medical ontologies, researchers can use the same query language (ECL - Expression Constraint Language) to search across both structured database fields and unstructured text simultaneously.

Key Results

  • Successful Reconstruction: UNIGRAPHE processed 5,299 manual annotations into 2,196 complex post-coordinated expressions.
  • Structural Expansion: The pipeline expanded the simple relational links drawn by human annotators by a factor of 1.96x, creating a much richer, more detailed graph than the raw input.
  • High Accuracy: Expert clinical curators reviewed the output and found that 79.1% of the reconstructed expressions were perfectly correct and complete.
  • Query Power: The authors demonstrated that the system could handle complex queries that are currently impossible without manual review, such as "Find patients where metastatic disease was explicitly ruled out by an MRI."

Limitations and Future Work

  • The Annotation Bottleneck: Currently, the system relies on high-quality manual annotations. While the reconstruction logic is automated, the initial extraction of entities and relations is labor-intensive. The authors suggest that Large Language Models (LLMs) are the natural candidates to automate this "extraction layer" in the future.
  • Narrative Scope: The current "Story" (Rule V) connections are limited to a single document. A logical next step is connecting these stories across a patient's entire medical history (multiple documents).
  • ECL Constraints: The researchers noted that the standard query language (ECL) sometimes struggles with representing uncertainty on a relation (e.g., "probably due to") or handling complex nested phrases, marking these as areas for future refinement.

Summary updated

BibTeX
@misc{pignat2026ontology,
  author = {Johann Pignat and Christophe Gaudet-Blavignac and Julien Ehrsam and Jean-Philippe Goldman and Cyrille Duret and Phil Cheng and Mina Bjelogrlic and Michel Cuendet and Christian Lovis and Olivier Michielin},
  title = {{Ontology-Based Post-Coordinated Expression Assembly: from Clinical Narrative to Queryable Knowledge Graphs}},
  year = {2026},
  eprint = {2610.16474},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.16474},
}
Figure