Update compilers.asciidoc Updating documentation: - fixed optional clause - updated optional clause limitation while in nesting with union & order-by - went through other examples and limitations
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/fb5df622 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/fb5df622 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/fb5df622 Branch: refs/heads/TINKERPOP-1342 Commit: fb5df6229ae5020c098ad551b394acff62e956c9 Parents: 2da9233 Author: Harsh Thakkar <[email protected]> Authored: Wed Aug 1 11:27:59 2018 +0200 Committer: Stephen Mallette <[email protected]> Committed: Mon Aug 13 14:39:24 2018 -0400 ---------------------------------------------------------------------- docs/src/reference/compilers.asciidoc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/fb5df622/docs/src/reference/compilers.asciidoc ---------------------------------------------------------------------- diff --git a/docs/src/reference/compilers.asciidoc b/docs/src/reference/compilers.asciidoc index e015cc8..5b6ab2e 100644 --- a/docs/src/reference/compilers.asciidoc +++ b/docs/src/reference/compilers.asciidoc @@ -206,9 +206,8 @@ WHERE { ?person v:label "person" . ?person v:age ?age . ?person v:name ?name . } The the variable encountered first will be the ordering decider, i.e. since we have `?person` being encountered first, the result set will be ordered according to the `?person` variable (which are vertex id). * OPTIONAL -.... -currently fixing this... -.... +In the current implementation, `OPTIONAL` clause doesn't work under nesting with `UNION` clause (i.e. multiple optional clauses with in a union clause) and `ORDER-By` clause (i.e. declaring ordering over triple patterns within optional clauses). Everything else with SPARQL `OPTIONAL` works just fine. + [[examples]] === Examples
