public static GraphTraversal<Vertex, ?> compile(final GraphTraversalSource g, final String sparqlQuery) {
        return compile(g, QueryFactory.create(Prefixes.prepend(sparqlQuery), Syntax.syntaxSPARQL));
    }
Converts SPARQL to a Gremlin traversal.

@param g           the {@link GraphTraversalSource} instance to execute the traversal from
@param sparqlQuery the query to compile to Gremlin
sparql-gremlin/src/main/java/org/apache/tinkerpop/gremlin/sparql/SparqlToGremlinCompiler.java