graph query results temporarily deduped in code