通过RESTAPI查询neo4J最短路径不';t回归图

通过RESTAPI查询neo4J最短路径不';t回归图,neo4j,Neo4j,此查询在我的neo4J浏览器中运行良好 MATCH p=shortestPath((n1:FBDV)<-[:immediately_preceded_by*]-(n2:FBDV)) WHERE n1.label='embryonic stage 1' AND n2.label='embryonic stage 10' RETURN p MATCH p=shortestPath((n1:FBDV)使用,您可以指定希望以行和图形格式接收结果: POSThttp://localhost:

此查询在我的neo4J浏览器中运行良好

MATCH p=shortestPath((n1:FBDV)<-[:immediately_preceded_by*]-(n2:FBDV)) 
WHERE n1.label='embryonic stage 1' 
AND n2.label='embryonic stage 10' 
RETURN p
MATCH p=shortestPath((n1:FBDV)使用,您可以指定希望以行和图形格式接收结果:

POSThttp://localhost:7474/db/data/transaction/commit

{
  "statements" : [ {
    "statement" : "MATCH p=shortestPath((n1:FBDV)<-[:immediately_preceded_by*]-(n2:FBDV)) WHERE n1.label='embryonic stage 1' and n2.label='embryonic stage 10' return p",
"resultDataContents" : [ "row", "graph" ]
  } ]
}
{
“声明”:[{

“语句”:“匹配p=shortestPath((n1:FBDV)Thx.工作正常。正是我需要的。