Create object from a simple relation.