Question: John Balliol became the King of Scotland after the princess from what country passed away?
Context: Montrose Castle was a 12th-century castle built in Montrose, Angus, Scotland.  Montrose was created a royal burgh by King David I of Scotland in the 12th century.  The castle, once a royal castle, was built as a motte and bailey castle.  King Edward I of England accepted John Balliol's surrender of Scotland at the castle on the 10 July 1296.  The castle was destroyed by William Wallace in 1297.  The castle was noted to be in ruins in 1488.  Nothing now remains above ground. John Balliol (also known as John of Scotland or John I of Scotland was King of Scots from 1292 to 1296. Château de Hélicourt was a castle near Tilloy-Floriville, Picardy, France.  The former King of Scotland, Sir John Balliol, retired to the castle after being released by Pope Boniface VIII and ended his days at the castle. The Battle of Dunbar was the only significant field action in the campaign of 1296.  King Edward I of England had invaded Scotland in 1296 to punish King John Balliol for his refusal to support English military action in France. The battlefield is currently under research to be inventoried and protected by Historic Scotland under the Scottish Historical Environment Policy of 2009. Andrew Moray (Norman French: "Andreu de Moray"; Latin: "Andreas de Moravia" ), also known as Andrew de Moray, Andrew of Moray, or Andrew Murray, an esquire, was prominent in the Scottish Wars of Independence.  He led the rising in north Scotland in the summer of 1297 against the occupation by King Edward I of England, successfully regaining control of the area for King John Balliol.  He subsequently merged his forces with those led by William Wallace and jointly led the combined army to victory at the Battle of Stirling Bridge.  Moray was mortally wounded in the fighting, dying at an unknown date and place later that year. John Balliol (  1249 – late 1314), known derisively as "Toom Tabard" (meaning "empty coat") was King of Scots from 1292 to 1296.  Little is known of his early life.  After the death of Margaret, Maid of Norway, Scotland entered an interregnum during which several competitors for the Crown of Scotland put forward claims.  Balliol was chosen from among them as the new King of Scotland by a group of selected noblemen headed by King Edward I of England.  Edward used his influence over the process to subjugate Scotland and undermined Balliol's personal reign by treating Scotland as a vassal of England.  Edward's influence in Scottish affairs tainted Balliol's reign and the Scottish nobility deposed him and appointed a council of twelve to rule instead.  This council signed a treaty with France known as the Auld Alliance. In natural language processing, open information extraction (OIE) is the task of generating a structured, machine-readable representation of the information in text, usually in the form of triples or n-ary propositions.  A proposition can be understood as truth-bearer, a textual expression of a potential fact (e.g., "Dante wrote the Divine Comedy"), represented in an amenable structure for computers [e.g., ("Dante", "wrote", "Divine Comedy")].  An OIE extraction normally consists of a relation and a set of arguments.  For instance, ("Dante", "passed away in" "Ravenna") is a proposition formed by the relation "passed away in" and the arguments "Dante" and "Ravenna".  The first argument is usually referred as the subject while the second is considered to be the object. John Balliol, An Historical Drama In Five Acts (1825) by William Tennant.  John Balliol is depicted as "a weak leader", influenced by his mother Dervorguilla of Galloway, while his rival Robert de Brus, 5th Lord of Annandale is depicted as a "noble hero".  But John is the one whose crowning is honoured by "ten thousand nobles".  The play has several supernatural elements, such as a seer, omens and even references to ghosts.  Valentina Bold points out that there are many similarities to "The Royal Jubilee" (1822) by James Hogg. Eustace de Balliol (or Eustace de Helicourt) (died c. 1209) was the cousin and successor of Bernard II de Balliol, lord of Balliol and Barnard Castle.  He was the lord of Hélicourt in Picardy, an estate near the chief seat of the main Balliol line at Bailleul-en-Vimeu; after his cousin died childless, in 1190 Eustace de Helicourt took over those estates and remarried.  In 1189–95 he quitclaimed the manor of Long Newton, Durham to Hugh du Puiset, Bishop of Durham, as well as all the land that Bernard de Balliol held in the vill of Newhouse.  In 1199–1200, as heir of Bernard de Balliol, he rendered account of 60 marks for his scutage, of which he had paid 10 marks; he also owed £120 for the second and third scutages of King Richard I, which was remitted by brief of King John.  Sometime in the period, 1199–1205, he confirmed to St. Mary’s, York the advowsons of the churches of Gainford and Stainton, Durham and Stokesley, Yorkshire and their tithes which Guy de Balliol previously granted them.  In 1200 he and his son, Hugh, quitclaimed by fine to Robert, Abbot of York the advowsons of the church of Gainford, Durham, and the chapels of Barnard Castle, Middleton, Denton, Houghton-le-Side, and Snow Hall (in Gainford), Durham. Margaret, Maid of Norway (9 April 1283 – 26 September 1290) was a Norwegian princess who was recognised as Queen of Scots following the death of her grandfather, King Alexander III, in March 1286.  Her death in Orkney while travelling to Scotland sparked off the disputed succession which led to the Wars of Scottish Independence.
Answer: Norwegian