I have a structure like this:
user - [: talking] β topic - [: category_in] β topic [: categorized_in] β topic ... etc.
Starting with the user, how do I get the most distant topics that they talk about. This is mainly represented by the top-level categories of which they speak. This is the only way I know this, and it returns all nodes along the path, not just the nodes of the sheet.
START user=node(1) MATCH user-[:talking]->x<-[:categorized_in*0..]-y RETURN distinct y.uuid
This is my last attempt. This seems to work, although I don't know if this is suitable for this?
START user=node(1) MATCH user-[:talking]->x<-[:categorized_in*0..]-y<-[?:pull]-z WHERE z is null RETURN distinct y.uuid
source share