用cypher构建规则

  • Post author:
  • Post category:其他


# match  p = (m:Source{name:’粒数’})-[*1..]-(n:Source{name:’ROOT’})

# match q = (h:Source{name:’播种量’})-[*1..]-(n:Source{name:’ROOT’})

# where  m.titleid = h.titleid

# return m.titleid

# match  p = (m:Source{name:’粒数’})-[*1..]-(n:Source{name:’ROOT’})

# match q = (h:Source{name:’秧盘’})-[*1..]-(n:Source{name:’ROOT’})

# match w = (k:Source{name:’播种量’})-[*1..]-(n:Source{name:’ROOT’})

# where  m.titleid = h.titleid and h.titleid = k.titleid

# return m.titleid

转载于:https://www.cnblogs.com/herosoft/p/7940334.html