qnli question: Until what century was Catalan used as the official language in Sardinia? sentence: During this period, the language was what Costa Carreras terms "one of the 'great languages' of medieval Europe".