title: Need help in converting Cypher Query into ArangoDB AQL
body: <p>I am comparing cypher with AgangoDB for my DB to go with. Need help to convert this cypher query into aql ArangoDB.</p>
  <pre><code>MATCH (g1:GENE_OR_GENE_PRODUCT)-[a1:DOES]-&gt;(r:RELATIONS)-[a2:TO]-&gt;(g2:NEUROMODULATOR)
  WHERE 1=1
  AND g1.name = 'PYY'
  AND g2.cui IN ['NM108', 'NM112']
  AND r.name IN ['ACTIVATION','ACTIVATION_ACTIVATION']
  WITH g1,r,g2,a1,a2
  MATCH (g1)-[g1s:ENTITY_MENTIONED_IN]-&gt;(s:SENTENCES)&lt;-[g2s:ENTITY_MENTIONED_IN]-(g2),  
  (r)-[rs:RELATION_MENTIONED_IN]-&gt;(s)
  WHERE 1=1 
  AND g1s.el_score &gt;= 0.90
  AND g2s.el_score &gt;= 0.90 
  AND rs.rel_score &gt;= 0.7 
  WITH g1, g2, count(distinct s.cui) as sentence_count, max(rs.rel_score) AS max_rel_score,avg(rs.rel_score) AS avg_rel_score
  WHERE sentence_count&gt;=2
  RETURN g1.name, g2.name, r.rel_type, sentence_count, avg_rel_score, max_rel_score
  </code></pre>