Update Data.php

Wrapped Data->query return value to QueryResule objects which operates on results.