Learning relationships from theory to design