Question:
Apple customer support is constantly voted better than Microsoft support, because they do not really offer a competitive support plan.

Who is they referring to in this sentence?
---
Answer:
Microsoft support

Question:
The US president had a meeting with the Chinese president, where he told him to release political prisoners.

Who is he referring to in this sentence?
---
Answer:
The US president

Question:
The dumpsters arrived each day to retrieve the garbage of the population, but they can be called to arrive if requested.

Who is they referring to in this sentence?
---
Answer:
The dumpsters

Question:
Pirates are always compared to ninjas, but they prefer to fight at sea.

Who is they referring to in this sentence?
---
Answer:
Pirates