How to include package into query?
问题 This question is a continuation of How to identify all classes implementing a specific interface that do NOT extend some base class?. The accepted answer there suggests to use: MATCH (i:Interface {name:'Action'} )<-[:IMPLEMENTS|EXTENDS*1..10]- (class), (abstractAction:Class {name:'AbstractAction'}) where not (class)-->(abstractAction) RETURN class That works nicely, and gives a list of classes matching that condition. The only problem I have: the name of that interface Action is (surprise)