How to select optional graph structures with Gremlin?
问题 I am using Gremlin to query a graph stored in TitanDB. The graph contains user vertices with properties, e.g., "description", and edges denoting relationships between users. I want to use Gremlin to obtain 1) users by properties and 2) possible relationships to other users. I can use, for example, the following query to obtain all users whose description contains the word 'developer' and the edges with label 'relationship' originating from or targeting these users: g.V('description',CONTAINS,