queries defined properties (task #2 complete)