sentence1: Upper Austria is a municipality in the Wernstein am Inn district in the Austrian province of Schärding .
sentence2: Upper Austria is a municipality in the district of Wernstein am Inn in the Austrian state of Schärding .