Question: Who is the paternal grandfather of Nia Segamain?

Context paragraphs:
title: Abd al-Muttalib
paragraph_text: Abd al- Muttalib Shaybah ibn Hashim( c. 497 – 578) was the grandfather of Islamic prophet Muhammad.
title: John Westley
paragraph_text: Rev. John Westley( 1636 – 78) was an English nonconformist minister. He was the grandfather of John Wesley( founder of Methodism).
title: Lyon Cohen
paragraph_text: Lyon Cohen( 1868–1937) was a Polish- born Canadian businessman and a philanthropist. He was the grandfather of singer/ poet Leonard Cohen.
title: Fujiwara no Nagara
paragraph_text: , also known as Fujiwara no Nagayoshi, was a Japanese statesman, courtier and politician of the early Heian period. He was the grandfather of Emperor Yōzei.
title: Nia Segamain
paragraph_text: Nia Segamain, son of Adamair, was, according to medieval Irish legend and historical tradition, a High King of Ireland. He took power after killing his predecessor, Conall Collamrach. Geoffrey Keating says his mother was the presumed woodland goddess Flidais of the Tuatha Dé Danann, whose magic made wild does give milk as freely as domesticated cattle during his reign. He ruled for seven years, until he was killed by Énna Aignech. The "Lebor Gabála" synchronises his reign with that of Ptolemy VIII Physcon in Egypt (145–116 BC). The chronology of Keating's "Foras Feasa ar Éirinn" dates his reign to 226–219 BC, that of the "Annals of the Four Masters" to 320–313 BC. His name means "sister's son or champion of Segamon", and is perhaps related to Segomo, an ancient Gaulish deity equated in Roman times with Mars and Hercules. A slightly more historical Nia Segamain occurs in early Eóganachta pedigrees, and this is sometimes interpreted as evidence for the Gaulish origins of the dynasties.
title: Kaya Alp
paragraph_text: Kaya Alp was, according to Ottoman tradition, the son of Kızıl Buğa and the father of Suleyman Shah, who was, in turn, the grandfather of Ertuğrul, and the great grandfather of the Ottoman Empire founder, Osman I.
title: Guillaume Wittouck
paragraph_text: Guillaume Wittouck( 1749- 1829) was a Belgian lawyer and High Magistrate. He was the Grandfather of industrialist Paul Wittouck.
title: Rudraige mac Sithrigi
paragraph_text: Rudraige mac Sithrigi, was, according to medieval Irish legend and historical tradition, a High King of Ireland. The son of Sitric, he took power after killing his predecessor, Crimthann Coscrach, and ruled for thirty or seventy years, after which he died of plague in Airgetglenn. He was succeeded by Finnat Már, son of Nia Segamain. He is the ancestor of Clanna Rudraige.
title: Prithvipati Shah
paragraph_text: Prithvipati Shah( ?–1716) was the king of the Gorkha Kingdom in the Indian subcontinent, present- day Nepal. He was the grandfather of Nara Bhupal Shah.
title: Adamair
paragraph_text: Adamair (Adammair, Adhamair, Amadir), son of Fer Corb, was, according to medieval Irish legends and historical traditions, a High King of Ireland. He came from Munster, killed the previous incumbent, Ailill Caisfhiaclach, and reigned for five years, until he was killed by Eochaid Ailtleathan. The "Lebor Gabála Érenn" synchronises his reign with that of Ptolemy V Epiphanes in Egypt (204–181 BC). The chronology of the "Annals of the Four Masters" dates his reign to 418–414 BC, the chronology of Geoffrey Keating's "Foras Feasa ar Éirinn" to 290–285 BC. He was the husband of the presumed goddess Flidais of the Tuatha Dé Danann.

Reasoning steps:
Nia Segamain father Adamair
Adamair father Fer Corb

Answer: spans: Fer Corb