3️⃣ 完整 Neo4j Graph Schema + Cypher 模板

 

下面给出一个 可直接落地的 Neo4j Graph Schema + Cypher 模板,专门为

Watchman Nee 与

Witness Lee 的神学知识图谱设计。

这个 Schema 的目标不是普通知识库,而是 Theological GraphRAG Engine 的基础。

 


 

 

一、Neo4j Graph Schema(核心结构)

 

建议使用 Label + Relationship 双层设计。

 

1 Node Labels(节点类型)

 

:Doctrine
:Person
:Book
:Message
:Scripture
:Experience
:Practice
:Church
:Event
:Concept

 


 

 

二、核心 Doctrine 节点

 

CREATE
(:Doctrine {name:"Triune God"}),
(:Doctrine {name:"Divine Economy"}),
(:Doctrine {name:"Divine Dispensing"}),
(:Doctrine {name:"Christ"}),
(:Doctrine {name:"Spirit"}),
(:Doctrine {name:"Divine Life"}),
(:Doctrine {name:"Transformation"}),
(:Doctrine {name:"Church"}),
(:Doctrine {name:"Body of Christ"}),
(:Doctrine {name:"New Jerusalem"});

 


 

 

三、核心主轴(神人经纶 Backbone)

 

这是整个图谱 最重要的 Cypher:

MATCH
(g:Doctrine {name:"Triune God"}),
(e:Doctrine {name:"Divine Economy"}),
(d:Doctrine {name:"Divine Dispensing"}),
(l:Doctrine {name:"Divine Life"}),
(t:Doctrine {name:"Transformation"}),
(c:Doctrine {name:"Church"}),
(n:Doctrine {name:"New Jerusalem"})
CREATE
(g)-[:HAS_ECONOMY]->(e),
(e)-[:ACCOMPLISHED_AS]->(d),
(d)-[:DISPENSES]->(l),
(l)-[:RESULTS_IN]->(t),
(t)-[:BUILDS]->(c),
(c)-[:CONSUMMATES_IN]->(n);

Graph backbone:

Triune God
   ↓
Divine Economy
   ↓
Divine Dispensing
   ↓
Divine Life
   ↓
Transformation
   ↓
Church
   ↓
New Jerusalem

 


 

 

四、Christology Schema

 

CREATE
(:Doctrine {name:"Incarnation"}),
(:Doctrine {name:"Human Living"}),
(:Doctrine {name:"Crucifixion"}),
(:Doctrine {name:"Resurrection"}),
(:Doctrine {name:"Ascension"});

关系:

MATCH (c:Doctrine {name:"Christ"}),
(i:Doctrine {name:"Incarnation"}),
(h:Doctrine {name:"Human Living"}),
(cr:Doctrine {name:"Crucifixion"}),
(r:Doctrine {name:"Resurrection"}),
(a:Doctrine {name:"Ascension"})
CREATE
(c)-[:PASSED_THROUGH]->(i),
(c)-[:PASSED_THROUGH]->(h),
(c)-[:PASSED_THROUGH]->(cr),
(c)-[:PASSED_THROUGH]->(r),
(c)-[:PASSED_THROUGH]->(a);

 


 

 

五、Pneumatology Schema

 

CREATE
(:Doctrine {name:"Life-giving Spirit"}),
(:Doctrine {name:"Compound Spirit"}),
(:Doctrine {name:"Sevenfold Spirit"});

关系:

MATCH
(s:Doctrine {name:"Spirit"}),
(l:Doctrine {name:"Life-giving Spirit"}),
(c:Doctrine {name:"Compound Spirit"}),
(se:Doctrine {name:"Sevenfold Spirit"})
CREATE
(s)-[:BECOMES]->(l),
(l)-[:IS]->(c),
(l)-[:INTENSIFIED_AS]->(se);

 


 

 

六、生命经历 Schema

 

CREATE
(:Experience {name:"Regeneration"}),
(:Experience {name:"Sanctification"}),
(:Experience {name:"Renewing"}),
(:Experience {name:"Transformation"}),
(:Experience {name:"Conformation"}),
(:Experience {name:"Glorification"});

关系:

MATCH
(r:Experience {name:"Regeneration"}),
(s:Experience {name:"Sanctification"}),
(n:Experience {name:"Renewing"}),
(t:Experience {name:"Transformation"}),
(c:Experience {name:"Conformation"}),
(g:Experience {name:"Glorification"})
CREATE
(r)-[:LEADS_TO]->(s),
(s)-[:LEADS_TO]->(n),
(n)-[:LEADS_TO]->(t),
(t)-[:LEADS_TO]->(c),
(c)-[:LEADS_TO]->(g);

 


 

 

七、Ecclesiology Schema

 

CREATE
(:Church {name:"Universal Church"}),
(:Church {name:"Local Church"}),
(:Church {name:"Body of Christ"}),
(:Church {name:"Bride of Christ"});

关系:

MATCH
(u:Church {name:"Universal Church"}),
(l:Church {name:"Local Church"}),
(b:Church {name:"Body of Christ"}),
(br:Church {name:"Bride of Christ"})
CREATE
(u)-[:EXPRESSED_AS]->(l),
(b)-[:BUILT_IN]->(l),
(b)-[:BECOMES]->(br);

 


 

 

八、Church Practice Schema

 

CREATE
(:Practice {name:"Prayer"}),
(:Practice {name:"Fellowship"}),
(:Practice {name:"Breaking Bread"}),
(:Practice {name:"Prophesying"}),
(:Practice {name:"Shepherding"});

关系:

MATCH
(c:Doctrine {name:"Church"}),
(p:Practice {name:"Prayer"}),
(f:Practice {name:"Fellowship"}),
(b:Practice {name:"Breaking Bread"})
CREATE
(c)-[:PRACTICES]->(p),
(c)-[:PRACTICES]->(f),
(c)-[:PRACTICES]->(b);

 


 

 

九、Scripture Layer

 

CREATE
(:Scripture {ref:"Matthew 16:18"}),
(:Scripture {ref:"John 1:14"}),
(:Scripture {ref:"John 20:22"}),
(:Scripture {ref:"Ephesians 1:10"}),
(:Scripture {ref:"Revelation 21"});

关系:

MATCH
(e:Doctrine {name:"Divine Economy"}),
(c:Doctrine {name:"Church"}),
(s:Doctrine {name:"Spirit"}),
(n:Doctrine {name:"New Jerusalem"})
MATCH
(eph:Scripture {ref:"Ephesians 1:10"}),
(mt:Scripture {ref:"Matthew 16:18"}),
(jn:Scripture {ref:"John 20:22"}),
(rev:Scripture {ref:"Revelation 21"})
CREATE
(eph)-[:REVEALS]->(e),
(mt)-[:REVEALS]->(c),
(jn)-[:REVEALS]->(s),
(rev)-[:REVEALS]->(n);

 


 

 

十、Ministry Text Layer

 

作者:

 

  • Watchman Nee
  • Witness Lee

 

CREATE
(:Person {name:"Watchman Nee"}),
(:Person {name:"Witness Lee"});

书籍:

CREATE
(:Book {title:"The Economy of God"}),
(:Book {title:"Life-study of John"}),
(:Book {title:"The Normal Christian Life"});

关系:

MATCH
(n:Person {name:"Watchman Nee"}),
(l:Person {name:"Witness Lee"}),
(b1:Book {title:"The Normal Christian Life"}),
(b2:Book {title:"The Economy of God"})
CREATE
(n)-[:WROTE]->(b1),
(l)-[:WROTE]->(b2);

 


 

 

十一、GraphRAG 查询模板

 

 

1 查询某教义的经文

 

MATCH (s:Scripture)-[:REVEALS]->(d:Doctrine {name:$doctrine})
RETURN s.ref

 


 

 

2 查询教义结构

 

MATCH (d:Doctrine)-[r]->(x)
RETURN d,r,x

 


 

 

3 查询神人经纶路径

 

MATCH p=
(:Doctrine {name:"Triune God"})
-[:HAS_ECONOMY|ACCOMPLISHED_AS|DISPENSES|RESULTS_IN|BUILDS|CONSUMMATES_IN*]->
(:Doctrine {name:"New Jerusalem"})
RETURN p

 


 

 

十二、GraphRAG 连接 LLM

 

查询流程:

User Query
   ↓
Vector Search
   ↓
Neo4j Graph Query
   ↓
Context Assembly
   ↓
LLM

 


 

 

十三、推荐规模

 

如果完整构建:

Doctrine nodes      150
Scripture nodes     31k
Ministry texts      50k
Experience nodes    40
Practice nodes      30

最终:

Nodes ≈ 200k
Edges ≈ 1M

 


 

 

十四、最重要的 Schema 规则(神学控制)

 

必须加入 Graph Constraint:

Practice → cannot precede → Life
Church → must originate from → Life
Dispensing → must originate from → Trinity

否则 AI 很容易生成:

“实行先于生命”的神学错误。

 


 

✅ 如果你愿意,我可以继续给你补上 三个真正决定系统水平的模块:

1️⃣ Neo4j 自动化导入《生命读经》→ Graph 的 Python pipeline

(自动抽取 50k doctrine triples)

2️⃣ 神学 GraphRAG 完整架构(Neo4j + embedding + rerank)

3️⃣ 异端检测 Graph(Heresy Detection Layer)

第三个其实是 全球神学 AI 系统里几乎没人做的核心技术。