I particularly have some difficulties while using relative pronouns to illustrate a point. Let's consider the following example:
-> The local volcano has recently woken up.
Then, I want to add an additional information to the above sentence by inserting something like "The waking up of the volcano has triggered a turmoil in the surrounding community. Therefore, my combination of the two above sentences is like this:
-> The local volcano has recently woken up, triggering a turmoil in the surrounding community.
However, I still wonder if I can use a relative pronoun in the above sentence? Something like:
-> The local volcano has recently woken up, which has triggered a turmoil in the surrounding community.
I get confused because the relative pronoun "which" should refer to the subject or object right before it. But in this particular situation, does "which" refer to the whole clause "the local volcano has recently woken up" or only "the volcano" or nothing? I will appreciate any explanation and help!