Relational Models and Queries