title: How can this function return me some values?
body: <p>I am trying to build a python function that takes the user input and gives back some information stored inside neo4j database using cypher queries.</p>
  
  <p>I have already tried out the below code but it is not working. Everytime someone types in VPS, I want to show him the recommendation of VPN which I have it as a service in my Neo4j database.</p>
  
  <pre class="lang-py prettyprint-override"><code>def vps_vpn(result):
      if result == "VPS":
          # print (inside)
          query = '''
                        MATCH (prc:Price)&lt;-[:COSTS]-(s:Service)-[:IS_PROVIDED]-&gt;(p:Provider)-[:OFFERS_PRODUCT]-&gt; (pr:Product)
                        WITH rand() AS Random, s.service_name AS Service_Name, p.provider_name AS Provider_Name, pr.product_name AS Product_Name, prc.monthly AS Monthly, prc.currency AS Currency
                        WHERE Service_Name = "VPN" 
                        RETURN Service_Name, Provider_Name, Product_Name, Monthly, Currency
                        ORDER BY Random
                        LIMIT 5
                         '''
          return graph.run(query).data()
  vps_vpn(result)
  </code></pre>
  
  <p>I am not getting any error but I am also not getting any recommendation for VPN when I type VPS. How can this be solved?</p>