Conditional Query to Get full graph

@shanea please see if you can help me anyway.