question: Who is Agnes Of Denmark's paternal grandfather?
context: [["Prithvipati Shah", ["Prithvipati Shah( ?\u20131716) was the king of the Gorkha Kingdom in the Indian subcontinent, present- day Nepal.", "He was the grandfather of Nara Bhupal Shah."]], ["Abd al-Muttalib", ["Abd al- Muttalib Shaybah ibn Hashim( c. 497 \u2013 578) was the grandfather of Islamic prophet Muhammad."]], ["Lyon Cohen", ["Lyon Cohen( 1868\u20131937) was a Polish- born Canadian businessman and a philanthropist.", "He was the grandfather of singer/ poet Leonard Cohen."]], ["Agnes of Waiblingen", ["Agnes of Waiblingen( 1072/ 73 \u2013 24 September 1143), also known as Agnes of Germany, Agnes of Poitou and Agnes of Saarbr\u00fccken, was a member of the Salian imperial family.", "Through her first marriage, she was Duchess of Swabia; through her second marriage, she was Margravine of Austria."]], ["Agnes of Brandenburg", ["\" Not to be confused with Agnes of Babenberg\" Agnes of Brandenburg( c. 1257 \u2013 29 September 1304) was a Danish Queen consort by marriage to King Eric V of Denmark.", "As a widow, she served as the regent of Denmark for her son, King Eric VI, during his minority from 1286 until 1293."]], ["Princess Caroline-Mathilde of Denmark", ["Princess Caroline- Mathilde of Denmark( 27 April 1912 \u2013 12 December 1995) was a daughter of Prince Harald of Denmark and granddaughter of King Frederick VIII of Denmark.", "As the wife of Knud, Hereditary Prince of Denmark, she became Hereditary Princess of Denmark."]], ["Eric IV of Denmark", ["Eric IV, also known as Eric Ploughpenny or Eric Plowpenny , (\u2013 10 August 1250) was king of Denmark from 1241 until his death in 1250.", "He was the son of Valdemar II of Denmark by his wife, Berengaria of Portugal, and brother of King Abel of Denmark and King Christopher I of Denmark"]], ["Kaya Alp", ["Kaya Alp was, according to Ottoman tradition, the son of K\u0131z\u0131l Bu\u011fa and the father of Suleyman Shah, who was, in turn, the grandfather of Ertu\u011frul, and the great grandfather of the Ottoman Empire founder, Osman I."]], ["Agnes of Denmark", ["Agnes of Denmark (1249 \u2013 after 1290) was the youngest daughter of Eric IV of Denmark and his wife Jutta of Saxony.", "She was the official founder of the St. Agnes' Priory, Roskilde, becoming prioress there."]], ["John Westley", ["Rev. John Westley( 1636 \u2013 78) was an English nonconformist minister.", "He was the grandfather of John Wesley( founder of Methodism)."]]]
supporting_facts: [["Agnes of Denmark", 0], ["Eric IV of Denmark", 1]]
evidences: [["Agnes of Denmark", "father", "Eric IV of Denmark"], ["Eric IV of Denmark", "father", "Valdemar II of Denmark"]]
answer: Valdemar II of Denmark