I have product vertex and is_duplicate_with edge established between two product vertices. So the data model is like: product(id=1) -> is_duplicate_with(created_by=abc) -> product(id=2)
How to write a Gremlin query to get product id from the source product, created_by value from the is_duplicate_with edge and product id from the target product? In this sample, I want to get id=1, created_by=abc, id=2.