Why does the definite article "o" sometimes come before the "que"?

你是一位语文老师吗?

Flag fr Flag es Flag en Flag it Flag de Flag pt Flag he עִברִית