Which musician recorded with both The Beatles and Wings?
{'directed': True, 'multigraph': False, 'graph': {}, 'nodes': [{'type': 'INTERNAL', 'name_': 'Q145', 'id': 0, 'label': 'United Kingdom'}, {'type': 'QUESTIONS_ENTITY', 'name_': 'Q1299', 'id': 1, 'label': 'The Beatles'}, {'type': 'QUESTIONS_ENTITY', 'name_': 'Q622988', 'id': 2, 'label': 'Wings'}, {'type': 'INTERNAL', 'name_': 'Q913311', 'id': 3, 'label': "A Hard Day's Night"}, {'type': 'ANSWER_CANDIDATE_ENTITY', 'name_': 'Q7716137', 'id': 4, 'label': 'The Beatles filmography'}], 'links': [{'name_': 'P17', 'source': 0, 'target': 0, 'label': 'country'}, {'name_': 'P495', 'source': 2, 'target': 0, 'label': 'country of origin'}, {'name_': 'P495', 'source': 3, 'target': 0, 'label': 'country of origin'}, {'name_': 'P161', 'source': 3, 'target': 1, 'label': 'cast member'}, {'name_': 'P361', 'source': 3, 'target': 4, 'label': 'part of'}]}