XML and relational data: towards a common model and algebra