Now querying parent works ! path for [:all 0 :parent] or [:parent 1 :parent] and qpath for [:course 1 :lecture]