Add support for simple queries over TitanGraphs