Okay, I think I see a problem with my query: there is no single uid passing into shortest since the context is still all Resource nodes.
Seems like this is a good example of requiring foreach functionality, which to my understanding does not yet exist in DQL.
Is there any other query approach other than:
- Query all Resources;
- Outside of DQL iterate through all Resources;
- Iteratively Call the shortest path query for each Resource?