Made the demo resource accept an area and a query