Subsume Graph#query functionality in Graph#relation