Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- EXPLAIN MATCH (prot:Protein) - [:is_a] -> (enz:Enzyme)
- WITH prot, COLLECT ( enz ) AS enzs
- UNWIND enzs AS enz
- MATCH (enz) - [:ac_by|:in_by] - (comp:Comp)
- WITH prot, enzs, COLLECT (comp) AS comps
- UNWIND enzs AS enz1
- MATCH (enz1) -[]- (tns:Transport) -[]- (comp1:Comp)
- WITH prot, comps + COLLECT (comp1) AS comps2
- UNWIND comps2 AS comp2
- RETURN prot, comp2 LIMIT 25
Add Comment
Please, Sign In to add comment