Adapting the Relational Model for the Web