Add support for GraphQuery of vertices in Strategy.

Tested with PartitionGraph.