Question: who wrote if i were a boy reba or beyonce
[{'answer': 'BC Jean', 'provenance': [{'wikipedia_id': '19217023', 'title': 'If I Were a Boy', 'start_paragraph_id': 1, 'start_character': 158, 'end_paragraph_id': 1, 'end_character': 165, 'bleu_score': 1.0, 'section': 'Section::::Abstract.'}]}, {'answer': 'Toby Gad', 'provenance': [{'wikipedia_id': '19217023', 'title': 'If I Were a Boy', 'start_paragraph_id': 1, 'start_character': 170, 'end_paragraph_id': 1, 'end_character': 178, 'bleu_score': 1.0, 'section': 'Section::::Abstract.'}]}, {'provenance': [{'wikipedia_id': '19217023', 'title': 'If I Were a Boy', 'start_paragraph_id': 1, 'start_character': 16, 'end_paragraph_id': 1, 'end_character': 923, 'bleu_score': 0.890623117837791, 'meta': {'yes_no_answer': 'NONE', 'annotation_id': 15827283288171551532}, 'section': 'Section::::Abstract.'}]}, {'provenance': [{'wikipedia_id': '19217023', 'title': 'If I Were a Boy', 'start_paragraph_id': 0, 'start_character': 0, 'end_paragraph_id': 0, 'end_character': 0, 'bleu_score': 1.0, 'meta': {'yes_no_answer': 'NONE', 'annotation_id': 15827283288171551532}, 'section': 'Section::::Abstract.'}]}, {'provenance': [{'wikipedia_id': '19217023', 'title': 'If I Were a Boy', 'section': 'Section::::Writing and production.\n', 'start_paragraph_id': 6, 'end_paragraph_id': 6, 'meta': {'evidence_span': ['Gad and Jean had co-written 12 songs, including "If I Were a Boy', '15 minutes. She then recorded the song in less than half an hour, with Gad on the guitar. After completing her version of "If I Were a Boy", Jean presented it to her record company, which rejected the song. Gad and Jean had co-written 12 songs, including "If I Were a Boy", for the singer\'s debut album. As the deal with Jean\'s record company fell apart, Gad marketed the songs to established artists. Beyoncé liked "If I Were a Boy" and recorded her own version of it for her album "I Am... Sasha Fierce". Gad and Beyoncé produced the track in 2008 at Roc the Mic Studios and Strawberry Productions in New York City and at GAD Studios in Ibiza. Gad did the musical arrangements, assisted in recording the music, and played the instruments alongside his brother Jens Gad and Reggie Syience Perry. Jim Caruana recorded Beyoncé\'s vocals at Roc the Mic Studios. Mark "Spike" Stent mixed the track with assistance from Matt Green at The Record Plant in Los Angeles. "If I Were a Boy" was placed on the "I Am..." disc of "I Am... Sasha Fierce", as it is a ballad that shows Beyoncé\'s insecurities about love and the person she is "underneath all the makeup, underneath the lights and underneath all the exciting star drama".']}}]}, {'provenance': [{'wikipedia_id': '19217023', 'title': 'If I Were a Boy', 'section': 'Section::::Abstract.', 'start_paragraph_id': 1, 'end_paragraph_id': 1, 'meta': {'evidence_span': ['If I Were a Boy" was written by BC Jean and Toby Gad', 'BC Jean and Toby Gad', '"If I Were a Boy" is a song performed by American singer Beyoncé, from her third studio album "I Am... Sasha Fierce" (2008). "If I Were a Boy" was written by BC Jean and Toby Gad, who also handled its production alongside Beyoncé. Inspired by the difficult break-up of a romantic relationship, the song was initially recorded by Jean, whose record company rejected it. Beyoncé then recorded her own version. Jean was upset when she learned that Beyoncé was releasing it as a single, but eventually, they reached an agreement. Columbia Records released "If I Were a Boy" to US radio on October 8, 2008, as a double A-side single album\'s alongside "Single Ladies (Put a Ring on It)" as the lead singles. The two songs showcased the contrast between Beyoncé\'s personality and her aggressive onstage persona, Sasha Fierce. A Spanish version of the song, titled "Si Yo Fuera un Chico", was digitally released in Mexico and Spain.']}}]}]