select ?x1 ?x2 ?x3 where { ?x1 . ?x1 ?x2. ?x1 ?x5. ?x2 ?x3. ?x3 ?x4. }