Apologies for what is likely a basic question. Having trouble with my search for answers. I'll create a simple example to get to my question:
Suppose I am working with a graph G in the browser --- associated with Star Wars.
Some (but not all) of the nodes of G are labeled "Character." These Character nodes have a "Side" property which is either (Rebel, Empire, or Neither).
One of the relationship types between Characters is "AppearedOnScreenWith" and this relationship type has an associated property called "Time" which represents how many minutes they appear on screen together.
I would like to run some algorithms on a specific subgraph of this graph. I only want to consider the Character nodes whose Side is "Rebel" and only those relationships between these nodes where the "Time" property is at least 5 minutes.
I know that I need to use gds.graph.create.cypher to create this subgraph, but I can't find examples that show how to create subgraphs in this setting based on node and relationship properties. (I've seen how to select certain node labels, but not certain properties.)
I'm assuming this is fairly easy and I'm being dense. Would someone be so kind as to share code that would create such a (sub)graph? Or point me toward a helpful resource?
Thanks very much.