Relative clauses with prepositions (em que, de que, sobre o qual / a qual, pelo qual / pela qual, o que...)

In English, a preposition often sits at the end of a relative clause (the theory that we read about) or drops out altogether (the century they built it). In careful Brazilian Portuguese, and in all standard writing, the preposition goes directly before the relative pronoun (sobre a qual lemos, em que construíram).

In casual conversation, Brazilians often drop the preposition and use que alone (a coleção que gostamos). In formal speech, academic writing, and museum or historical descriptions, though, keeping the preposition is the rule.

Em que for time and place

After short, one-syllable prepositions like em (in, on, at), de (of, from), com (with), and a (to), the usual relative pronoun is the invariable que. O qual is also possible here (no qual, do qual), but it sounds more formal. Notice that em does not contract with que.

Em que means "in which," "on which," or "at which." It is especially common with time periods like o século (the century) and with locations, such as the room where a museum keeps o objeto (the object) from a coleção (the collection). For physical places, onde (where) is also natural, while em que works for both places and time:

What was the century in which they built this historic monument?
Qual foi o século em que construíram este monumento histórico?
The century in which the artist lived changed the history of art.
O século em que o artista viveu mudou a história da arte.
The room in which they keep the objects from the collection is closed today.
A sala em que guardam os objetos da coleção está fechada hoje.

De que with verbs that take de

When the verb inside the relative clause requires de, move de in front of que to form de que:

  • gostar de (to like) → de que gostamos (that we like)
  • lembrar-se de (to remember) → de que se lembra (that he/she remembers)
  • precisar de (to need) → de que precisava (that I/you/he/she needed)
This is the rare collection that we liked the most at the museum.
Esta é a coleção rara de que nós mais gostamos no museu.
That is the rare object that my grandfather still remembers.
Aquele é o objeto raro de que meu avô ainda se lembra.
Did you find the information that you needed to explain the discovery?
Você encontrou a informação de que precisava para explicar a descoberta?

Sobre o qual / a qual

After prepositions of two or more syllables, such as sobre (about, on), entre (between, among), or contra (against), standard Portuguese normally uses o qual (which, whom) instead of que. Because it contains the definite article, it agrees in gender and number with the noun it refers back to:

  • Masculine: o qual (singular), os quais (plural)
  • Feminine: a qual (singular), as quais (plural)

So a masculine noun like o documento takes sobre o qual, and feminine nouns like a teoria (the theory) or a invenção (the invention) take sobre a qual:

The theory that we read about yesterday changed with that discovery.
A teoria sobre a qual lemos ontem mudou com essa descoberta.
The document that the scientist spoke about is on his desk.
O documento sobre o qual o cientista falou está na mesa dele.
The invention that the scientist wrote about changed her career.
A invenção sobre a qual a cientista escreveu mudou a carreira dela.

Pelo qual / pela qual

With por (for, by, through), the usual choice is also o qual / a qual. Por que exists as a relative too (o motivo por que), but it is mostly formal writing and easy to confuse with por que (why). Here por contracts with the article:

  • por + o qual → pelo qual (plural: pelos quais)
  • por + a qual → pela qual (plural: pelas quais)

This translates "for/by/through which" and appears in the common expression o motivo pelo qual (the reason why), for example the reason a city decided to preservar (preserve) an old landmark:

Nobody knows the reason why that invention disappeared so fast.
Ninguém sabe o motivo pelo qual aquela invenção desapareceu tão rápido.
This is the theory for which she won an international prize.
Esta é a teoria pela qual ela ganhou um prêmio internacional.
What was the reason why they decided to preserve that old factory?
Qual foi o motivo pelo qual decidiram preservar aquela fábrica antiga?

Commenting on a whole clause with o que

When "which" refers back not to a single noun but to the entire fact or statement before it, use o que after a comma. Here o is a neuter pronoun standing for the whole preceding clause, so o que never changes for gender or number:

The climate there is very dry, which helped to preserve the sculptures.
O clima lá é muito seco, o que ajudou a preservar as esculturas.
He published the research yesterday, which surprised the other scientists.
Ele publicou a pesquisa ontem, o que surpreendeu os outros cientistas.
Helena organized the historical documents, which helped a lot with our research.
Helena organizou os documentos históricos, o que ajudou muito na nossa pesquisa.

Summary

StructureAgreementWhen to use itExample
em que, de queInvariableUsual after one-syllable prepositions (em, de, com, a)o século em que, a coleção de que
sobre o qual / a qualo qual, a qual, os quais, as quaisAfter prepositions of two or more syllables (sobre, entre, contra)o documento sobre o qual, a teoria sobre a qual
pelo qual / pela qualpelo qual, pela qual, pelos quais, pelas quaisWith por (por + o qual), including o motivo pelo qualo motivo pelo qual, a teoria pela qual
, o queInvariableAfter a comma, referring back to a whole clause..., o que ajudou muito