docs: private AttributeAtom rewriteWithRelationVariable(Atom parentAtom){
          if (parentAtom.isResource() && ((AttributeAtom) parentAtom).getRelationVariable().isReturned()) return rewriteWithRelationVariable();
          return this;
      }