Overview
A questioned path makes a segment of a path pattern optional. It matches either zero or one occurrence of the parenthesized pattern. This is useful when you want to look for optional connections in a path without filtering out results that don't have them.
A questioned path is written by appending a question mark ? to a parenthesized path pattern expression.
-- Syntax
( path_pattern_expression )?
When the path exists, it is evaluated and bound to variables; when it doesn't, the match still succeeds, and the variables inside the optional path evaluate to null.