Chemical differentiation between star-forming regions : the Orion Hot Core and Compact Ridge