Alquezar is a municipality and Spanish town in the Somontano de Barbastro region, in the province of Huesca, autonomous community of Aragon. Spain