TINKERPOP-1878 Added upgrade docs for sparql-gremlin
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/7802de5b Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/7802de5b Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/7802de5b Branch: refs/heads/TINKERPOP-1878 Commit: 7802de5b96ff2f1717787f2c9c288e83a4ed5e55 Parents: 37a38ae Author: Stephen Mallette <sp...@genoprime.com> Authored: Wed Aug 8 07:42:13 2018 -0400 Committer: Stephen Mallette <sp...@genoprime.com> Committed: Wed Aug 8 07:47:32 2018 -0400 ---------------------------------------------------------------------- docs/src/upgrade/release-3.4.x.asciidoc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/7802de5b/docs/src/upgrade/release-3.4.x.asciidoc ---------------------------------------------------------------------- diff --git a/docs/src/upgrade/release-3.4.x.asciidoc b/docs/src/upgrade/release-3.4.x.asciidoc index 587e761..8a7bfa1 100644 --- a/docs/src/upgrade/release-3.4.x.asciidoc +++ b/docs/src/upgrade/release-3.4.x.asciidoc @@ -29,6 +29,23 @@ Please see the link:https://github.com/apache/tinkerpop/blob/3.4.0/CHANGELOG.asc === Upgrading for Users +==== sparql-gremlin + +The `sparql-gremlin` module is a link:https://en.wikipedia.org/wiki/SPARQL[SPARQL] to Gremlin compiler, which allows +SPARQL to be executed over any TinkerPop-enabled graph system. + +[source,groovy] +---- +graph = TinkerFactory.createModern() +g = graph.traversal(SparqlTraversalSource) +g.sparql("""SELECT ?name ?age + WHERE { ?person v:name ?name . ?person v:age ?age } + ORDER BY ASC(?age)""") +---- + +See: link:https://issues.apache.org/jira/browse/TINKERPOP-1878[TINKERPOP-1878], +link:http://tinkerpop.apache.org/docs/3.4.0/reference/#sparql-gremlin[Reference Documentation] + ==== with() Step This version of TinkerPop introduces the `with()`-step to Gremlin. It isn't really a step but is instead a step