When users access data-oriented applications, they aim to obtain useful information. Sometimes, however, the user needs to reformulate the submitted queries several times and go through many answers until a satisfactory set of answers is achieved. In this scenario, the user may be in different contexts, and these contexts may change frequently. For instance, the place where the user submits a given query may be taken into account and thereby may change the query itself and its results. In this work, we address the issue of personalizing query answers in data-oriented applications considering the context acquired at query submission time. To this end, we propose a query rewriting approach, which makes use of context-based rules to produce new related expanded or relaxed queries. In this paper, we present our approach and some experimental results we have accomplished. These results show that, by considering the acquired user context, it really enhances the precision and recall of the obtained answers.