Complex sentence: The National Gallery of Scotland is an art gallery and museum in Edinburgh, Scotland that was designed by William Henry Playfair and was first opened to the public in 1859.
Split into simpler sentences: The National Gallery of Scotland is an art gallery and museum in Edinburgh, Scotland. The building, which was designed by William Henry Playfair, first opened to the public in 1859.