问题: 2层之内邓庶民和姜宏志的最短路径有多少？
Cypher查询:
match p=allshortestpaths((a:ENTITY{name:'邓庶民'})-[:Relationship*..2]-(b:ENTITY{name:'姜宏志'})) return count(p)
查询结果:
1