You will be given a definition of a task first, then some input of the task.
In this task, you are given a context, a subject, a relation, and many options. Based on the context, from the options select the object entity that has the given relation with the subject. Answer with text (not indexes).

Context: John II ( Catalan : Joan II ) , called the Great ( el Gran ) or the Faithless ( el Sense Fe ) ( 29 June 1398 -- 20 January 1479 ) , was the King of Navarre through his wife ( jure uxoris ) from 1425 and the King of Aragon in his own right from 1458 until his death . He was the son of Ferdinand I and his wife Eleanor of Alburquerque ., Eleanor, 3rd Countess of Alburquerque (1374  16 December 1435) became Queen consort of Aragon by her marriage to Ferdinand I of Aragon. In Spanish, she is known as "Leonor Urraca de Castilla, condesa de Alburquerque"., A queen consort is the wife of a reigning king (or an empress consort in the case of an emperor). In Brunei, the wife of the Sultan is known as a "Raja Isteri" with prefix "Pengiran Anak", equivalent with queen consort in English, as were the consorts of tsars when Bulgaria was still a monarchy. A queen consort usually shares her husband's social rank and status. She holds the feminine equivalent of the king's monarchical titles, but historically, she does not share the king's political and military powers. A queen regnant is a queen in her own right with all the powers of a monarch, who (usually) has become queen by inheriting the throne upon the death of the previous monarch., Subject: john ii of aragon and navarre, Relation: father, Options: (A) ferdinand i of aragon (B) the sultan
Output:
ferdinand i of aragon