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 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.
Related articles
View all articles →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...
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...
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...