Complex sentence: The Scottish National Portrait Gallery is an art museum on Queen Street, Edinburgh, Scotland, which holds the national collections of portraits, all of which are of, but not necessarily by, Scots.
Split into simpler sentences: The Scottish National Portrait Gallery is an art museum on Queen Street, Edinburgh, Scotland. It holds the national collections of portraits, all of which are of, but not necessarily by, Scots.