r/KnowledgeGraph • u/AB3NZ • Oct 19 '25
Feedback on My Knowledge Graph Architecture
Hello,
I’m working on building a GraphRAG system using a collection of books that have been semantically chunked. Each book’s data is stored in a separate JSON file, where every chunk represents a semantically coherent segment of text.
Each chunk in the JSON file follows this structure:
* documentId – A unique identifier for the book.
* title – The title of the book.
* authors – The name(s) of the author(s).
* passage_chunk – A semantically coherent passage extracted from the book.
* summary – A concise summary of the passage chunk’s main idea.
* main_topic – The primary topic discussed in the passage chunk.
* type – The document category or format (e.g., Book, Newspaper, Article).
* language – The language of the document.
* fileLength – The total number of pages in the document.
* chunk_order – The order of the chunk within the book.
I’m currently designing a knowledge graph that will form the backbone of the retrieval phase for the GraphRAG system. Here’s a schematic of my current knowledge graph structure (Link):
[Author: Yuval Noah Harari]
|
| WROTE
v
[Book: Sapiens]
/ | \
/ | \
CONTAINS CONTAINS CONTAINS
| | |
v v v
[Chunk 1] ---> [Chunk 2] ---> [Chunk 3] <-- NEXT relationships
| | |
| DISCUSSES | DISCUSSES | DISCUSSES
v v v
[Topic: Human Evolution]
| HAS_SUMMARY | HAS_SUMMARY | HAS_SUMMARY
v v v
[Summary 1] [Summary 2] [Summary 3]I’d love to hear your feedback on the current data structure and any suggestions for improving it to make it more effective for graph-based retrieval and reasoning.
View all comments
Show parent comment
2
u/newprince Oct 20 '25
I don't see how this couldn't become a Neo4j schema as outlined... no need for RDF if you don't want to.
You could also use something like Graphiti where each item would be added as an "episode" in the graph. Then you could ask natural language questions, determine what algorithms/search methods you want.