You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2018/08/13 17:42:56 UTC
[2/2] tinkerpop git commit: TINKERPOP-1878 Minor documentation fix
around prefixes
TINKERPOP-1878 Minor documentation fix around prefixes
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/95279baa
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/95279baa
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/95279baa
Branch: refs/heads/TINKERPOP-1878
Commit: 95279baa805f41bf3f027156d307217370417f4b
Parents: 2fb3cf8
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Mon Aug 13 13:42:27 2018 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Mon Aug 13 13:42:27 2018 -0400
----------------------------------------------------------------------
docs/src/reference/compilers.asciidoc | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/95279baa/docs/src/reference/compilers.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/reference/compilers.asciidoc b/docs/src/reference/compilers.asciidoc
index 2a8d561..fd41e92 100644
--- a/docs/src/reference/compilers.asciidoc
+++ b/docs/src/reference/compilers.asciidoc
@@ -89,10 +89,9 @@ The SPARQL-Gremlin compiler supports the following prefixes to traverse the grap
[cols=",",options="header",]
|====================================
|Prefix |Purpose
-|`v:<label>` |label-access traversal
+|`v:<id|label|<name>>` |access to vertex id, label or property value
|`e:<label>` |out-edge traversal
|`p:<name>` |property traversal
-|`v:<name>` |property-value traversal
|====================================
Note that element IDs and labels are treated like normal properties, hence they can be accessed using the same pattern: