The implementation:
https://github.com/memgraph/memgraph/blob/master/src/query/frontend/stripped.cpp