Properly execute the Cypher query on the graph