/usr/bin/rpmquery is in rpm 4.12.0.2+dfsg1-2.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/bin/rpm
/usr/bin/rpm