LatinFlash — Applied Transformation Consultancy
LATIN FLASH LDA · Funchal, Madeira (PT)
LatinFlashLatinFlash

We turn complex problems into systems that work. Strategy, marketing, technology, production, and research.

Navigation

  • Home
  • Systems & Products
  • Consulting
  • Team
  • Cases
  • Blog
  • Contact

Platform & Products

  • Philologica ↗
  • PrintPrice Pro ↗
  • LatinFlash Research ↗
  • Client Portal ↗

Legal

  • Terms of Service
  • Privacy Policy
  • Cookie Policy
  • Legal Notice

© 2026 LatinFlash LDA. All rights reserved.

Terms of ServicePrivacy PolicyCookie PolicyLegal Notice
LatinFlashLatinFlash
Systems & ProductsConsultingTeamBlogContact
Start a conversation ↗
← Back to Blog/Technology & AI/Data Architecture and Traceability in Philologica: Why Not Every Graph is GraphRAG
Technology & AIEN·October 3, 2026·4 min read

Data Architecture and Traceability in Philologica: Why Not Every Graph is GraphRAG

Philologica separates vector retrieval from the relational evidence graph to audit claims, citations, and sources without confusing traceability with GraphRAG.

By Manuel Enrique Morales[ LATIN FLASH LDA ]
Data Architecture and Traceability in Philologica: Why Not Every Graph is GraphRAG

By Manuel Enrique Morales Santiago

When an artificial intelligence tool reviews an academic manuscript, the critical question is not merely whether it finds a relevant excerpt. It is also necessary to know what relationship exists between that excerpt and the claim being evaluated.

During the development of Philologica, this distinction led to an architectural decision: deliberately separating semantic similarity information retrieval from the preservation of provenance and evidentiary relationships.

Philologica should not be described as a conventional GraphRAG implementation. The platform combines two engines with distinct responsibilities:

  • a vector store for context retrieval via similarity;
  • an Academic Evidence Graph to structure and traverse provenance relationships.

The Problem: Retrieving Context Does Not Equal Demonstrating Provenance

A conventional RAG system retrieves fragments close to the query, but academic review also needs to know what evidence supports a claim, whether a citation resolves to a source, and what decision the reviewer made.

Retrieving a relevant fragment is not equivalent to reconstructing the relationship that makes that fragment relevant.

1. Ingestion and Document Chunking

The server/services/DocIndexer.js module divides Markdown documentation into semantic chunks using headings and size limits. Each chunk retains its path, language, heading, and indexed text.

2. Indexing and Similarity Retrieval

server/services/VectorStore.js calculates cosine similarity between queries and stored embeddings.

¿Buscas transformar tu arquitectura o posicionamiento?

Hablemos de cómo nuestros sistemas y socios pueden articular tu proyecto.

Start a conversation ↗

Related articles

View all articles →
Technology & AI

Custody Protocols for the Physical World: State Machines in Escrow and Cryptographic Reconciliation via Signed ePOD

Introduction: The awkward gap between paying and receiving. A publisher confirms a book print run for a fixed-date campaign. The supplier needs an advance...

Read article →
Technology & AI

A single search engine for all rigorous knowledge: how Philologica connects 18 official databases in real time

Modern research presents a clear paradox: we have never had so much open knowledge available on the internet and yet, finding, verifying...

Read article →
Technology & AI

Vertical AI: Why Industry Context is the New Technological Moat

This article is part of the Architecture for Executives series. Today, any company can buy a GPT-4 license and deploy a chat interface over its documents. But if everyone uses the same generalist tool...

  1. The embedding is generated.
  2. Candidates are retrieved via vectorStore.search.
  3. They are filtered by language and context is limited.
  4. A prompt is constructed.
  5. The wrapper generates the response.

The vector store is a semantic index, not a canonical source of truth.

3. Academic Evidence Graph: Representing What the Vector Does Not Preserve

Philologica defines an Academic Evidence Graph to represent projects, manuscripts, reviews, sections, claims, citations, sources, excerpts, findings, arguments, terminology, and human decisions.

Its relationships include CITES, RESOLVES_TO, CONTAINS_EVIDENCE, SUPPORTED_BY, PARTIALLY_SUPPORTED_BY, CONTRADICTED_BY, PART_OF_ARGUMENT, USES_TERM, and REVIEWED_BY.

The documentation specifies a relational representation in MySQL using node and edge tables; it does not introduce a standalone graph database.

4. Provenance Traversal and Auditing

graphReader.js makes it possible to trace the chain: Claim → Citation → Source → Evidence excerpt → Finding → Human decision.

  • Does the claim have an associated citation?
  • Can the citation be resolved to a source?
  • Is there a linked excerpt?
  • Is the relationship complete, partial, contradictory, or uncertain?
  • Has a human decision been recorded?

The observed traversal is deterministic and restricted to registered nodes and edges. No GraphRAG pipeline involving communities, hierarchical summaries, or global/local searches has been confirmed.

5. Provenance Over Automatic Authority

A registered relationship does not automatically prove that a claim is true. The model differentiates between supported, partially supported, contradicted, inconclusive support, and pending human review relationships.

  1. What the system has detected.
  2. What it has been able to relate.
  3. What a human has validated.

6. Vertical Governance and Data Control

  • queries are qualified by organization, user, and project;
  • traversal is limited to the project;
  • excerpts are bounded;
  • hashes are utilized;
  • human decisions are logged.
Philologica designs the evidence layer to maintain organization and project isolation, preserve provenance, and limit persisted content. Effective data sovereignty must be verified against the specific configuration of the deployed environment.

7. Graphify belongs to another layer

Graphify analyzes code architecture through AST dependencies, symbols, functions, types, and components. It is a software architecture graph, whereas the Academic Evidence Graph is a research and provenance graph.

8. What Philologica is and is not in the audited commit

The audit found no explicit implementation called GraphRAG nor identifiable stages specific to the conventional GraphRAG pipeline.

Conclusion: traceability is a capability, not a marketing effect

Philologica separates semantic retrieval and relational traceability. Vector search helps find context; the Academic Evidence Graph makes it possible to demonstrate provenance and review the relationship between a claim and its evidence.

It is not GraphRAG in the strict technical sense of the community-based local/global query pipeline. It is a separate, deliberate architecture geared toward traceability.

References

  • Philologica public GitHub repository
  • Microsoft Research — Project GraphRAG
  • Edge et al. — From Local to Global
  • Peng et al. — Graph Retrieval-Augmented Generation: A Survey
Read article →