Git graph imported. Not sure how to implement log. This query does not do the job, only retrieves one parent even if many are present : start n=node(*) match c-[?:IS_CHILD_OF]->n<-[?:IS_PARENT_OF]-m where n.position! >= 0 and n.position! < 100 return n.position, n.sha1, c.position, m.position