|
@@ -49,9 +49,8 @@ match (n)-[r:\u8BCA\u65AD\u4F9D\u636E]->(m)\n \
|
|
|
where n.name in data1\n \
|
|
|
return m.name as condition, count(distinct r)>=m.path as jundgement, labels(m)[0] as label
|
|
|
#\u67E5\u627E\u786E\u8BCA,\u62DF\u8BCA\u7684\u8BED\u53E5
|
|
|
-searchQuezhen=with fildList as data\n \
|
|
|
-match (n)-[r:\u786E\u8BCA|:\u62DF\u8BCA]->(m:Disease)\n \
|
|
|
-where n.name in data\n \
|
|
|
+searchQuezhen=match (n)-[r:\u786E\u8BCA|:\u62DF\u8BCA]->(m:Disease)\n \
|
|
|
+where n.name in fildList\n \
|
|
|
with distinct m,r\n \
|
|
|
return m.name as name, labels(m)[0] as label,type(r) as relationType
|
|
|
|