How does GraphQL converts the queries to use APOC function in runtime