In a large bowl, mix the flour, egg yolk, melted butter, cold water, and salt. Knead dough until solid, cover it with plastic wrap, and let it cool for 20 min. in the fridge.
In a separate bowl, whisk the egg white until foamy. Add the blue cheese and cottage cheese, and season with salt and pepper. Let it cool in the fridge for 10 min.
Preheat a pan, slice the pears, and let them cook with the sugar, water, and brandy (optional) for 10 min. or until golden.
Preheat oven to 200°C/390°F. Roll out the tart dough and put it in your pie plate. Spread the cheese mixture. Arrange the pears and sprinkle with fresh rosemary. Bake for about 20 min. or until golden.