Which queen of Spain was married to Ferdinand V and was later succeeded by Joanna?
{'directed': True, 'multigraph': False, 'graph': {}, 'nodes': [{'type': 'INTERNAL', 'name_': 'Q602358', 'id': 0, 'label': 'Brockhaus and Efron Encyclopedic Dictionary'}, {'type': 'QUESTIONS_ENTITY', 'name_': 'Q29', 'id': 1, 'label': 'Spain'}, {'type': 'INTERNAL', 'name_': 'Q1321', 'id': 2, 'label': 'Spanish'}, {'type': 'INTERNAL', 'name_': 'Q959597', 'id': 3, 'label': 'Joanna Jędryka'}, {'type': 'INTERNAL', 'name_': 'Q22808320', 'id': 4, 'label': 'Wikimedia human name disambiguation page'}, {'type': 'INTERNAL', 'name_': 'Q8826', 'id': 5, 'label': 'Palma de Mallorca'}, {'type': 'ANSWER_CANDIDATE_ENTITY', 'name_': 'Q107356467', 'id': 6, 'label': 'Balearic Islands'}, {'type': 'INTERNAL', 'name_': 'Q872', 'id': 7, 'label': 'radio communications'}, {'type': 'QUESTIONS_ENTITY', 'name_': 'Q4248351', 'id': 8, 'label': 'Joanna'}, {'type': 'INTERNAL', 'name_': 'Q1643088', 'id': 9, 'label': 'Ramos'}, {'type': 'INTERNAL', 'name_': 'Q1179139', 'id': 10, 'label': 'Mentuhotep'}, {'type': 'INTERNAL', 'name_': 'Q2891907', 'id': 11, 'label': None}, {'type': 'INTERNAL', 'name_': 'Q97755401', 'id': 12, 'label': 'Joanna Vega Saladie'}, {'type': 'INTERNAL', 'name_': 'Q5731482', 'id': 13, 'label': 'Boletín Oficial de las Islas Baleares'}, {'type': 'QUESTIONS_ENTITY', 'name_': 'Q406540', 'id': 14, 'label': 'Ferdinand V'}], 'links': [{'name_': 'P1343', 'source': 2, 'target': 0, 'label': 'described by source'}, {'name_': 'P17', 'source': 2, 'target': 1, 'label': 'country'}, {'name_': 'P136', 'source': 3, 'target': 7, 'label': 'genre'}, {'name_': 'P735', 'source': 3, 'target': 8, 'label': 'given name'}, {'name_': 'P1343', 'source': 5, 'target': 0, 'label': 'described by source'}, {'name_': 'P17', 'source': 5, 'target': 1, 'label': 'country'}, {'name_': 'P1376', 'source': 5, 'target': 6, 'label': 'capital of'}, {'name_': 'P407', 'source': 9, 'target': 2, 'label': 'language of work or name'}, {'name_': 'P31', 'source': 9, 'target': 4, 'label': 'instance of'}, {'name_': 'P1343', 'source': 10, 'target': 0, 'label': 'described by source'}, {'name_': 'P31', 'source': 10, 'target': 4, 'label': 'instance of'}, {'name_': 'P17', 'source': 11, 'target': 1, 'label': 'country'}, {'name_': 'P131', 'source': 11, 'target': 5, 'label': 'located in the administrative territorial entity'}, {'name_': 'P2541', 'source': 11, 'target': 6, 'label': 'operating area'}, {'name_': 'P452', 'source': 11, 'target': 7, 'label': 'industry'}, {'name_': 'P27', 'source': 12, 'target': 1, 'label': 'country of citizenship'}, {'name_': 'P1412', 'source': 12, 'target': 2, 'label': 'languages spoken, written or signed'}, {'name_': 'P735', 'source': 12, 'target': 8, 'label': 'given name'}, {'name_': 'P495', 'source': 13, 'target': 1, 'label': 'country of origin'}, {'name_': 'P407', 'source': 13, 'target': 2, 'label': 'language of work or name'}, {'name_': 'P291', 'source': 13, 'target': 5, 'label': 'place of publication'}, {'name_': 'P131', 'source': 13, 'target': 6, 'label': 'located in the administrative territorial entity'}, {'name_': 'P31', 'source': 14, 'target': 4, 'label': 'instance of'}]}