add D-Query

Signed-off-by: Umair Khan <omerjerk@gmail.com>