I am trying to pick up OrientDb and am trying out a few test queries to get a feel for the syntax and power of using graph databases. In particular I am having difficulty in find a common vertex satisfying two independent relationships to two other vertices that are unrelated.
For example,
Assuming I have a person vertex having attribute name, a car vertex having a model and a location vertex with attribute zip with the following edge dependencies
Person --- owns --> Car
Person --- lives --> Location
I am trying to find all the Person vertices that own a particular model of car and live at a particular zip.
I am not sure exactly what I am missing in my efforts, but any help would be greatly appreciated. Thanks