Complex sentence: The standard is flown over Áras an Uachtaráin, the presidential palace in Dublin and Dublin Castle when the President is in residence or in vehicles used by the President.
Split into simpler sentences: The standard is flown over Áras an Uachtaráin, the presidential palace in Dublin. It is also flown at Dublin Castle when the President is in residence and on vehicles used by the President.