Finally. The correct usage of PathQuery.