{"input": "What is Gabriel Gonsum Ganaka's occupation?", "answer": "[\"priest\", \"reverend\", \"priestess\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to find numbers within a given range where every number is divisible by every digit it contains.", "answer": "def divisible_by_digits(startnum, endnum):\r\n return [n for n in range(startnum, endnum+1) \\\r\n if not any(map(lambda x: int(x) == 0 or n%int(x) != 0, str(n)))]", "source": "mbpp", "task_id": "745", "test_cases": "assert divisible_by_digits(1,22)==[1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 15, 22]\nassert divisible_by_digits(1,15)==[1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 15]\nassert divisible_by_digits(20,25)==[22, 24]", "difficulty": "code"} {"input": "who played raoul in the phantom of the opera", "answer": "Patrick Wilson", "source": "nq", "difficulty": "simple"} {"input": "Are both Letterbreckaun and Mont Aiguille located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Zimbabwe's Guwe Secondary School has a sister school in what New York cunty?", "answer": "Nassau County", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where was the director of film It Happened On 5Th Avenue born?", "answer": "Delaware", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to group the 1st elements on the basis of 2nd elements in the given tuple list.", "answer": "from itertools import groupby \r\ndef group_element(test_list):\r\n res = dict()\r\n for key, val in groupby(sorted(test_list, key = lambda ele: ele[1]), key = lambda ele: ele[1]):\r\n res[key] = [ele[0] for ele in val] \r\n return (res)", "source": "mbpp", "task_id": "691", "test_cases": "assert group_element([(6, 5), (2, 7), (2, 5), (8, 7), (9, 8), (3, 7)]) == {5: [6, 2], 7: [2, 8, 3], 8: [9]}\nassert group_element([(7, 6), (3, 8), (3, 6), (9, 8), (10, 9), (4, 8)]) == {6: [7, 3], 8: [3, 9, 4], 9: [10]}\nassert group_element([(8, 7), (4, 9), (4, 7), (10, 9), (11, 10), (5, 9)]) == {7: [8, 4], 9: [4, 10, 5], 10: [11]}", "difficulty": "code"} {"input": "Which film was released earlier, The Pervert'S Guide To Ideology or La Vida Alrededor?", "answer": "La Vida Alrededor", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Heinrich August Jäschke born?", "answer": "[\"Herrnhut\"]", "source": "popqa", "difficulty": "simple"} {"input": "Does Mario Beaulieu (Senator) have the same nationality as Ebenezer Porter?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who plays john wick on the big screen", "answer": "Keanu Charles Reeves", "source": "nq", "difficulty": "simple"} {"input": "who has won most man of the match awards in odi", "answer": "Sachin Tendulkar", "source": "nq", "difficulty": "simple"} {"input": "Who played a character based on Bob Fosse in a 1979 Oscar winning film?", "answer": ["Roy Scheider", "Roy R. Scheider"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which country did Thor Heyerdahl's Kon-Tiki set sail from on its journey to Eastern Polynesia?", "answer": ["Lower Peru", "Name of Peru", "Republic of Peru", "Etymology of Peru", "ISO 3166-1:PE", "Piruw", "Peruano", "República del Perú", "El Perú", "Republic of Perú", "Peruvian Republic", "Peru", "Peruvian", "Péru", "Piruw Ripuwlika", "El Peru", "Perú", "Perù", "Piruw Suyu", "Pérou", "Peruvia"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Francesco Vettori's occupation?", "answer": "[\"diplomat\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to access the initial and last data of the given tuple record.", "answer": "def front_and_rear(test_tup):\r\n res = (test_tup[0], test_tup[-1])\r\n return (res)", "source": "mbpp", "task_id": "710", "test_cases": "assert front_and_rear((10, 4, 5, 6, 7)) == (10, 7)\nassert front_and_rear((1, 2, 3, 4, 5)) == (1, 5)\nassert front_and_rear((6, 7, 8, 9, 10)) == (6, 10)", "difficulty": "code"} {"input": "What is Bruce Cockburn's occupation?", "answer": "[\"composer\", \"singer-songwriter\", \"singer songwriter\", \"singer/songwriter\", \"singersongwriter\", \"singer-songwriter\", \"songwriter\", \"song writer\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Franz Seitz Sr.'s occupation?", "answer": "[\"film director\", \"movie director\", \"director\", \"motion picture director\", \"screenwriter\", \"scenarist\", \"writer\", \"screen writer\", \"script writer\", \"scriptwriter\", \"film producer\", \"movie producer\", \"producer\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which is the largest of the Japanese Volcano Islands?", "answer": ["Mount Surabachi", "Iō-tō", "Iwō Tō", "Iwo-Jima", "Io-jima", "Ivo jima", "Io To", "Iōtō", "Iwo To", "Iwo Jima Island", "Iwo Jima", "Ioto", "Iwoto", "Iwo jima", "Iwojima", "Io Jima", "Iō Tō", "Iwōtō"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Thomas Gifford's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "The Boren-McCurdy proposals were partially brought about by which Oklahoma politician in 1992?", "answer": "David Lyle Boren", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the date of death of Veronique Peck's husband?", "answer": "June 12, 2003", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What was the first spin-off from The Beverly Hillbillies called?", "answer": ["Shady Rest Hotel", "Kate Bradley", "Homer Bedlow", "J. Homer Bedloe", "Petticoat Junction", "Homer Bedloe", "J. Homer Bedlow"], "source": "triviaqa", "difficulty": "simple"} {"input": "when was the neutrality act of 1937 passed", "answer": "in May", "source": "nq", "difficulty": "simple"} {"input": "In what city was Refet Bele born?", "answer": "[\"Istanbul\", \"İstanbul\"]", "source": "popqa", "difficulty": "simple"} {"input": "who sang it's a wonderful world first", "answer": "Louis Armstrong", "source": "nq", "difficulty": "simple"} {"input": "In what city was Dominique, comte de Cassini born?", "answer": "[\"Paris\", \"City of Light\", \"Paris, France\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did the composer of film Zimbo (Film) die?", "answer": "14 January 1991", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Do both films Amba Ambika Ambalika and Ernest Goes To Camp have the directors from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are the directors of both films Kathiruntha Kangal and Under The Tonto Rim (1928 Film) from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "what does barium do in a ct scan", "answer": "improve visualization", "source": "nq", "difficulty": "simple"} {"input": "\"I Saw Her Again\" was co-written by what Canadian singer born in 1940?", "answer": "Dennis Gerrard Stephen Doherty", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function to count unique keys for each value present in the tuple.", "answer": "from collections import defaultdict \r\ndef get_unique(test_list):\r\n res = defaultdict(list)\r\n for sub in test_list:\r\n res[sub[1]].append(sub[0])\r\n res = dict(res)\r\n res_dict = dict()\r\n for key in res:\r\n res_dict[key] = len(list(set(res[key])))\r\n return (str(res_dict))", "source": "mbpp", "task_id": "709", "test_cases": "assert get_unique([(3, 4), (1, 2), (2, 4), (8, 2), (7, 2), (8, 1), (9, 1), (8, 4), (10, 4)] ) == '{4: 4, 2: 3, 1: 2}'\nassert get_unique([(4, 5), (2, 3), (3, 5), (9, 3), (8, 3), (9, 2), (10, 2), (9, 5), (11, 5)] ) == '{5: 4, 3: 3, 2: 2}'\nassert get_unique([(6, 5), (3, 4), (2, 6), (11, 1), (8, 22), (8, 11), (4, 3), (14, 3), (11, 6)] ) == '{5: 1, 4: 1, 6: 2, 1: 1, 22: 1, 11: 1, 3: 2}'", "difficulty": "code"} {"input": "Which television show premiered in 2008 and featured a contestant who previously starred in \"Hannah Montana\"?", "answer": "Dancing with the Stars", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who is older, Thomas Kennedy (Raf Officer) or Raoul Nordling?", "answer": "Raoul Nordling", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Kamya Panjabi's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Joan Collin's middle name?", "answer": ["Henrietta", "Henrietta (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "What part of Utah contains the birthplace for Dustin Latimer?", "answer": "Salt Lake City metropolitan area", "source": "musique", "difficulty": "multi_hop"} {"input": "What was the maiden name of Blondie Bumstead, the comic-strip wife of hapless Dagwood Bumstead?", "answer": "Boopadoop", "source": "triviaqa", "difficulty": "simple"} {"input": "who won season 8 of rupaul's drag race", "answer": "Bob the Drag Queen", "source": "nq", "difficulty": "simple"} {"input": "Who had a big 90s No 1 with This Is How We Do It?", "answer": ["Supa Star", "Montel Jordan", "Montell Jordan"], "source": "triviaqa", "difficulty": "simple"} {"input": "What show created by Michael G. Moye and Ron Leavitt aired on May 2, 2006 in Chile?", "answer": "Married... with Children", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which famous actress was born on exactly the same day as gymnast Olga Korbut?", "answer": ["Mary Debra Winger", "Debra Winger", "Deborah Winger"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Josh Mankiewicz's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\"]", "source": "popqa", "difficulty": "simple"} {"input": "Does Kristens Krīgers have the same nationality as Marlene Catterall?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "what is the first light in the night sky", "answer": "Venus", "source": "nq", "difficulty": "simple"} {"input": "\"Who designed Posh \"\"Spice Victoria Adam's wedding dress?\"", "answer": ["Wáng Wēiwei", "Vera Wang", "王薇薇", "Wang Weiwei"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the cause of death of director of film A Friendly Husband?", "answer": "heart attack", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Charlie Davis born?", "answer": "[\"New York City\", \"NYC\", \"New York\", \"the five boroughs\", \"Big Apple\", \"City of New York\", \"NY City\", \"New York, New York\", \"New York City, New York\", \"New York, NY\", \"New York City (NYC)\"]", "source": "popqa", "difficulty": "simple"} {"input": "Emprise Bank has branches in a city situated along what river?", "answer": "Neosho River", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when did the 4th harry potter book come out", "answer": "8 July 2000", "source": "nq", "difficulty": "simple"} {"input": "han dynasty favored this religion and based civil service exams on it", "answer": "Neo-Confucian", "source": "nq", "difficulty": "simple"} {"input": "Who won the election that ran concurrently with the North Dakota gubernatorial election, 2016?", "answer": "Donald Trump", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Will Smith's occupation?", "answer": "[\"record producer\", \"music producer\", \"film director\", \"movie director\", \"director\", \"motion picture director\", \"film producer\", \"movie producer\", \"producer\", \"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Charles Runnington was born in a country in southern what?", "answer": "England", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which musician, Edwyn Collins or Jimmie Ross, played the bass guitar?", "answer": "Jimmie Ross", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are both directors of films Kalamegam and We Are Brothers from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Richard Lui's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Raymond S. Burton's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which telescope was launched into space on board a space shuttle in 1990?", "answer": ["Hubble Space telescope", "Hubble Space Telescope", "Hubble", "Hubblecast", "Hubble Space Telescope Servicing Mission 2", "Hubble telescope", "1990-037B", "The hubble", "Space Telescope Operations Control Center", "Hubble Space Telscope", "Telescópio Espacial Hubble", "Hubble Telescope", "Hubble space telescope", "Hubble Space Telescope (HST)", "Hubble (spacecraft)", "Starry-Eyed Hubble", "HST(telescope)", "Telescopio Espacial Hubble", "Hubble Space Telescope Servicing Mission 1", "Hubbel Space Telescope", "The Hubble Telescope"], "source": "triviaqa", "difficulty": "simple"} {"input": "Are Schnitt Acht and Falconer (Band) from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Mick Jagger's middle name?", "answer": ["Phillip (disambiguation)", "Filipp", "Phillip", "Phélyp", "Phil", "Philip (disambiguation)", "Philip (European rulers)", "Philip", "King Philippe", "Phelyp"], "source": "triviaqa", "difficulty": "simple"} {"input": "This American actor who starred in \"Veep\" was also in an action comedy film directed by Seth Rogen and Evan Goldberg heavily inspired by what?", "answer": "a Vice documentary", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which actress, model, and singer born in 1926 does the film Golden Hoofs star?", "answer": "Jane Withers", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who rode Affirmed for each race when he won the Triple Crown?", "answer": ["Cauthen, Steve", "Steve Cauthen"], "source": "triviaqa", "difficulty": "simple"} {"input": "When did trolleys stop running in Nigel Stock's birthplace?", "answer": "2 October 1966", "source": "musique", "difficulty": "multi_hop"} {"input": "Which William wrote the novel Lord Of The Flies?", "answer": ["Golding", "Golding (surname)", "Golding (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which court case concerned the president of the Foundation of Moral Law and a stone monument of the Ten Commandments?", "answer": "Glassroth v. Moore", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which country mainly makes up the Horn of Africa?", "answer": ["Somali National Salvation Committee", "Somolia", "Soomaaliya", "Somaila", "Republic of Somalia", "Somalia, Africa", "The Independent Somali State", "ISO 3166-1:SO", "الصومال", "Coast of Somalia", "Somalia", "Somaliya", "Federal Republic of Somalia", "As-Sumal"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Maria Wetterstrand born?", "answer": "[\"Eskilstuna\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are both Chapan-E Olya and Cwrt Y Gollen located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Henry Feilden's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who was born first, Susan Sarandon or Glenn Close?", "answer": ["Susan Abigail Sarandon", "Susan Abigail Tomalin", "Susan Sarandon"], "source": "triviaqa", "difficulty": "simple"} {"input": "What was Wham!'s first No 1?", "answer": ["Wake Me Up Before You Go-Go", "Wake Me Up Before You Go Go"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what county is Arthur A. Goren's birthplace?", "answer": "Suffolk County", "source": "musique", "difficulty": "multi_hop"} {"input": "Ted Sutton plays Sergeant Cunningham in a2002 film that stars Mel Gibson as what character?", "answer": "Graham Hess", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What percentage was the country Tereke-yurén-tepui is located in?", "answer": "5.1", "source": "musique", "difficulty": "multi_hop"} {"input": "The Southern Railway runs from Vienna to Graz and the border with Slovenia at Spielfeld via the first mountain railway built in Europe to use what kind of track?", "answer": "standard gauge track", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which English actor of stage, film and television from the 1978 BBC drama \"Pennies From Heaven\" appeared in the 2006 BBC Four television play \"Kenneth Williams: Fantabulosa!?\"", "answer": "Cheryl Campbell", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "\"What famous book begins: \"\"Chug, chug, chug. Puff, puff, puff\"\"?\"", "answer": ["The Little Engine that Could", "The Little Engine That Could", "The little engine that could", "Watty Piper", "The Pony Engine", "Little Engine that Could", "Little train that could", "I think I can", "I Think I Can"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to return true if the given number is even else return false.", "answer": "def even_num(x):\r\n if x%2==0:\r\n return True\r\n else:\r\n return False", "source": "mbpp", "task_id": "904", "test_cases": "assert even_num(13.5)==False\nassert even_num(0)==True\nassert even_num(-9)==False", "difficulty": "code"} {"input": "who sang at the super bowl 2017 half time show", "answer": "Lady Gaga", "source": "nq", "difficulty": "simple"} {"input": "How many Puerto Rican Hispanics live in the capital city of the state with the university Georges Doriot was educated at?", "answer": "175,000+", "source": "musique", "difficulty": "multi_hop"} {"input": "what are saturn's rings mostly made of", "answer": ["rocky material", "water ice"], "source": "nq", "difficulty": "simple"} {"input": "Write a function to convert the given tuple to a key-value dictionary using adjacent elements.", "answer": "def tuple_to_dict(test_tup):\r\n res = dict(test_tup[idx : idx + 2] for idx in range(0, len(test_tup), 2))\r\n return (res)", "source": "mbpp", "task_id": "740", "test_cases": "assert tuple_to_dict((1, 5, 7, 10, 13, 5)) == {1: 5, 7: 10, 13: 5}\nassert tuple_to_dict((1, 2, 3, 4, 5, 6)) == {1: 2, 3: 4, 5: 6}\nassert tuple_to_dict((7, 8, 9, 10, 11, 12)) == {7: 8, 9: 10, 11: 12}", "difficulty": "code"} {"input": "Mathilde Ludendorff was the wife of the German General who was victorious at which two battles?", "answer": "Battle of Liège and the Battle of Tannenberg", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Lance Hooper born?", "answer": "[\"Palmdale\", \"Palmdale, California\"]", "source": "popqa", "difficulty": "simple"} {"input": "What college did the cast member from Condemned to Live attend?", "answer": "Columbia University", "source": "musique", "difficulty": "multi_hop"} {"input": "when did the suite life of zack and cody first air", "answer": "March 18, 2005", "source": "nq", "difficulty": "simple"} {"input": "Was Ali Akbar Salehi or Stefano Dall'Acqua born first?", "answer": "Ali Akbar Salehi", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who released the album with a single which originally reached number 60 on the UK Singles Chart in 1997?", "answer": "Wiiija", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "How is musician William Lee Conley better known?", "answer": ["Bill Broonzy", "Big Bill Broonzey", "William Lee Conley Broonzy", "Big Bill Broonzy", "William Broonzy"], "source": "triviaqa", "difficulty": "simple"} {"input": "who runs the fastest 40-yard dash in the nfl", "answer": "John Ross", "source": "nq", "difficulty": "simple"} {"input": "Write a function to count coin change.", "answer": "def coin_change(S, m, n): \r\n table = [[0 for x in range(m)] for x in range(n+1)] \r\n for i in range(m): \r\n table[0][i] = 1\r\n for i in range(1, n+1): \r\n for j in range(m): \r\n x = table[i - S[j]][j] if i-S[j] >= 0 else 0\r\n y = table[i][j-1] if j >= 1 else 0 \r\n table[i][j] = x + y \r\n return table[n][m-1]", "source": "mbpp", "task_id": "918", "test_cases": "assert coin_change([1, 2, 3],3,4)==4\nassert coin_change([4,5,6,7,8,9],6,9)==2\nassert coin_change([4,5,6,7,8,9],6,4)==1", "difficulty": "code"} {"input": "who played the first alice in the honeymooners", "answer": "Pert Kelton", "source": "nq", "difficulty": "simple"} {"input": "What is Chris Jericho's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Joan Jett & the Blackhearts covered a song by the first westerner to achieve pop start status in Japan. When was that song first recorded?", "answer": "1975", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who was the first commander in chief of the participant in Tangail Airdrop after independence?", "answer": "Rob Lockhart", "source": "musique", "difficulty": "multi_hop"} {"input": "Did Mohammad Fariduddin and Dick Wearmouth have the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When was the director of film Battles Of Chief Pontiac born?", "answer": "February 28, 1910", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where was the place of death of the director of film Goodbye Youth (1927 Film)?", "answer": "Rome", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What type of film are \"Transparent\" and \"Werner Herzog Eats His Shoe\"?", "answer": "documentary", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which role as 'the other woman' won Glenn Close her first Oscar nomination?", "answer": ["Bunny boiler", "Bunny boiling", "I Won't Be Ignored, Dan", "Fatal Attraction", "Bunny Boiler"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which film was released more recently, Idyla Ze Staré Prahy or The Chronicles Of Narnia: The Voyage Of The Dawn Treader?", "answer": "The Chronicles Of Narnia: The Voyage Of The Dawn Treader", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when did us dollar not backed by gold", "answer": "1971", "source": "nq", "difficulty": "simple"} {"input": "What is Amin Amidu Sulemana's occupation?", "answer": "[\"diplomat\", \"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What was the date of death for Saint Catherine of the Italian region where Matteo Poggi later died?", "answer": "15 September 1510", "source": "musique", "difficulty": "multi_hop"} {"input": "What nationality is the performer of song Wild In The Country (Elvis Presley Song)?", "answer": "American", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What did Fort Dearborn, Indian Territory change its name to?", "answer": ["Chi-Beria", "Sayre language academy", "Chicago", "Chicago, Illinois", "Hog Butcher for the World", "Land of smelly onions", "Ariel Community Academy", "The weather in Chicago", "Chicago, Illinois, U.S.A.", "Chicago, Illionis", "Near North Montessori", "Religion in Chicago", "Chicago Finance Committee", "The Paris of America", "The city of Chicago", "City of Chicago", "List of sister cities of Chicago", "UN/LOCODE:USCHI", "Chicago theatre scene", "Chicago, WI", "The City of Broad Shoulders", "City of Broad Shoulders", "Sister Cities of Chicago", "Chicago il", "Chicago, Illinois, USA", "Performing arts in Chicago", "Chicago Transportation Committee", "Chicago, Wisconsin", "City of chicago", "Chicago theater scene", "Chicago, Il", "Chicago, IL.", "Chicago, Ill.", "City of Chicago, Illinois", "Chi town", "Chicago, United States", "Chicago (Ill.)", "Transport in Chicago", "Chicago, Illinois, United States", "Chicago (IL)", "USCHI", "Chichago", "Chcago", "Chicago, Illinois, U.S.", "Sister Cities Chicago", "Chicago, USA", "Chi City", "Chicago, IL", "Chi-Town", "Chicago theatre", "Paris of America", "Chicago, Illinois, US", "Chicago Illinois", "The city of Chicago, Illinois", "Sister cities of Chicago"], "source": "triviaqa", "difficulty": "simple"} {"input": "When was the company which repaired Grand Trunk Road from Calcutta to Delhi established?", "answer": "31 December 1600", "source": "musique", "difficulty": "multi_hop"} {"input": "Who is the present food minister of the state where the village of Bendebembli is found?", "answer": "Zameer Ahmed Khan", "source": "musique", "difficulty": "multi_hop"} {"input": "What was the day job that Boris Yeltsin started out with?", "answer": ["Builder", "Builders", "Builder (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who were the parents of King Solomon?", "answer": ["2 Samuel 11", "Basheva", "Bathsheba at her Bath", "Bath-shua", "Bath-sheba", "Bethsheba", "Bathsheba at Bath", "Bathsheba", "Bathsheba at her bath", "Bat Sheva", "Besheba", "Bathsheba at Her Bath", "David and bathsheba", "Batsheba at her bath", "Bathsheba with King David's Letter", "David and Bathsheba", "Bathsheeba"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which film has the director who was born first, Meiseken or The Vulture (1982 Film)?", "answer": "Meiseken", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Samuel Wells Williams's occupation?", "answer": "[\"missionary\", \"Christian missionary\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the date of death of the director of film Hoodman Blind?", "answer": "August 31, 1973", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When did the country that has the Kurubaru RIver become a member of Caricom?", "answer": "1 August 1973", "source": "musique", "difficulty": "multi_hop"} {"input": "What municipality shares a border with the birthplace of the guy in the primitive technology videos?", "answer": "West Haven", "source": "musique", "difficulty": "multi_hop"} {"input": "The Grand Lodge of the Republic of Liberia is based on a branch of North American Freemasonry founded on what date?", "answer": "September 29, 1784", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "what is the age of the oldest living person on earth", "answer": "115 years, 301 days", "source": "nq", "difficulty": "simple"} {"input": "What military branch did the president who signed the treaty to purchase the state season 3 of Detour was filmed from Russia serve in?", "answer": "Union Army", "source": "musique", "difficulty": "multi_hop"} {"input": "Irma Pamela Hall, an American actress who has appeared in numerous films and television shows since the 1970s, and is best known for playing matriarchal figures including in which 2004 American black comedy thriller film directed by Joel and Ethan Coen?", "answer": "The Ladykillers", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In which decade did Joe Montana retire from football?", "answer": ["Early 90's", "The Nineties", "The '90s", "90's", "1990’s", "1990s", "Nineteen nineties", "1990–1999", "The nineties", "1990's", "1990-1999", "The 90s", "1990s (decade)", "Nineteen-nineties", "'90s", "1990s literature", "Early 1990s", "Nineties", "'90's", "The ninties", "1990s in automobiles", "1990s in economics"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Belarmino Mario Chipongue born?", "answer": "[\"Lubango\"]", "source": "popqa", "difficulty": "simple"} {"input": "Was there any debate about the voting process in the state where the Seven Ranges Terminus is located?", "answer": "a motion was made contesting Ohio's electoral votes", "source": "musique", "difficulty": "multi_hop"} {"input": "what was the third battle of the american revolution", "answer": "Battles of Lexington and Concord", "source": "nq", "difficulty": "simple"} {"input": "Who became commanding general of the First Armored Corps in 1941?", "answer": ["George S. Patton Jr", "Patton", "George S. Patton", "George Smith Patton, Jr", "George Smith Patton Jr", "George Patton", "George S. Patton III", "General patton", "General S. Patton", "George Smith Patton, Jr.", "Old Blood and Guts", "General George Patton", "General George S. Patton", "George S Patton", "General Patton", "George S.Patton", "General George S Patton", "Patton, George S.", "General S Patton", "Paul G. Bennet", "General George Smith Patton Jr", "George S. Patton Jr.", "George S. Patton, Jr."], "source": "triviaqa", "difficulty": "simple"} {"input": "When did the director of film The Young Land die?", "answer": "7 January 1995", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In which branch of the arts does Allegra Kent work?", "answer": ["Ballet", "Ballet competitions", "Ballet schools", "Balet, India", "Balletti", "Ballet dancing", "1938 ballet premieres", "Balletto", "Balletomane", "2011 ballet premieres", "1940 ballet premieres", "Balletomanes", "1939 ballet premieres", "Ballet characters", "Ballet teachers", "Ballet dance", "Classical Dance", "Ballets", "Ballet lessons", "1915 ballet premieres", "1914 ballet premieres", "Classical dance", "UN/LOCODE:INBLT", "1916 ballet premieres", "Balet", "Ballett"], "source": "triviaqa", "difficulty": "simple"} {"input": "world of winx season 3 episode 1 release date", "answer": "September 2018", "source": "nq", "difficulty": "simple"} {"input": "how far is summerville south carolina from charleston", "answer": "24 miles", "source": "nq", "difficulty": "simple"} {"input": "Write a function to replace all occurrences of spaces, commas, or dots with a colon.", "answer": "import re\r\ndef replace_specialchar(text):\r\n return (re.sub(\"[ ,.]\", \":\", text))", "source": "mbpp", "task_id": "732", "test_cases": "assert replace_specialchar('Python language, Programming language.')==('Python:language::Programming:language:')\nassert replace_specialchar('a b c,d e f')==('a:b:c:d:e:f')\nassert replace_specialchar('ram reshma,ram rahim')==('ram:reshma:ram:rahim')", "difficulty": "code"} {"input": "highest run scorer of under 19 world cup 2018", "answer": "Alick Athanaze", "source": "nq", "difficulty": "simple"} {"input": "What is Tatiana Doronina's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "when was the last amendment made to the us constitution", "answer": "May 5, 1992", "source": "nq", "difficulty": "simple"} {"input": "In what city was Antoine Richard born?", "answer": "[\"Fontainebleau\", \"Fontaine-la-Montagne\", \"Fontaine-le-Vallon\"]", "source": "popqa", "difficulty": "simple"} {"input": "What was the Statue of Liberty originally called?", "answer": ["Liberty, Statue of", "Statue of liberty", "Fort Wood National Monument", "Staute of Liberty", "Statue of Liberty", "Azadliq Statue", "Freiheitsstatue", "Liberty Enlightening the World", "Statue of Liberty, USA", "Statue Of Liberty", "Liberty enlightening the world", "Statue Liberty", "Mother of Exiles", "The Statue of Liberty", "Frederick R. Law", "🗽", "The Liberty Statue", "Free woman"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who is the father of the artist of Bust of Francesco I d'Este?", "answer": "Pietro Bernini", "source": "musique", "difficulty": "multi_hop"} {"input": "who wrote the book of obadiah in the bible", "answer": "Obadiah", "source": "nq", "difficulty": "simple"} {"input": "who died in the plane crash in greys anatomy", "answer": "Dr. Lexie Grey", "source": "nq", "difficulty": "simple"} {"input": "What is John Blake, Jr.'s occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Matt Moralee born?", "answer": "[\"Newcastle upon Tyne\", \"Newcastle\", \"Newcastle-on-Tyne\", \"Newcastle upon Tyne (parish)\", \"Newcastle-upon-Tyne\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which genus of moth in the world's seventh-largest country contains only one species?", "answer": "Crambidae", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who is the uncle of Manuel Komnenos (Kouropalates)?", "answer": "Isaac I Komnenos", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the place of birth of the director of film The Crisis (1916 Film)?", "answer": "Scottish", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "At which university did Joseph Goebbels become a doctor of philosophy?", "answer": ["Heidelberg romantics", "UN/LOCODE:DEHEI", "Heidelberg, West Germany", "Wieblingen", "Heidelberg", "Heidelberg, Germany"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Robert Kraft born?", "answer": "[\"Brookline\", \"Brookline, Massachusetts\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Gary Freear born?", "answer": "[\"King's Lynn\", \"Lynn\", \"Bishop's Lynn\"]", "source": "popqa", "difficulty": "simple"} {"input": "When was the city founded that is the headquarters for the International Radio Corporation?", "answer": "1824", "source": "musique", "difficulty": "multi_hop"} {"input": "What is John Campbell, 3rd Earl of Breadalbane and Holland's occupation?", "answer": "[\"diplomat\", \"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is P. J. Moloney's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "1 kunta is equal to how many square feet", "answer": "1,089 sq ft", "source": "nq", "difficulty": "simple"} {"input": "When was Jordan Mintz whictleblowing publicized?", "answer": "October 2001", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "With which university did Magic Johnson win the 1979 NCAA title?", "answer": ["Michigan State", "DUGBA", "Tower Guard", "ASMSU", "Michigan State University", "Michigan State University of Agriculture and Applied Science", "MSU-Dubai", "Associated students of michigan state university", "Michigan State University (MSU)", "Michigan State College", "Associated Students of Michigan State University", "Michigan State College of Agriculture", "McDonel Hall", "Dugba", "Michigan state", "Asian Studies Center, Michigan State University", "Michigan State University Police Department", "Michigan Agricultural College"], "source": "triviaqa", "difficulty": "simple"} {"input": "What's the distance to Wrigley Field from the lake that the city where Lalah Hathaway was born gets its drinking water from?", "answer": "less than a mile to the east", "source": "musique", "difficulty": "multi_hop"} {"input": "Which country the director of film A Mighty Heart (Film) is from?", "answer": "British", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which member of the band Bad Seeds was older, Anita Lane or Nick Cave?", "answer": "Nick Cave", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Gregorio Selser born?", "answer": "[\"Buenos Aires\", \"Buenos Ayres\", \"Autonomous City of Buenos Aires\", \"CABA\", \"Ciudad Autónoma de Buenos Aires\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who represents the district that Gawthorpe is in?", "answer": "Julie Cooper", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who is Henry Clifford, 2Nd Earl Of Cumberland's mother-in-law?", "answer": "Mary Tudor", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When did free primary education start in the country where Abel Kirui is from?", "answer": "1963", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Scott Z. Burns's occupation?", "answer": "[\"screenwriter\", \"scenarist\", \"writer\", \"screen writer\", \"script writer\", \"scriptwriter\"]", "source": "popqa", "difficulty": "simple"} {"input": "What did the Inspector have on his car sticker in Sledge Hammer?", "answer": "I Love Violence", "source": "triviaqa", "difficulty": "simple"} {"input": "Balice international airport is in which country?", "answer": ["Etymology of Poland", "Polish state", "Poleand", "Rzeczpospolita Polska", "Polland", "ISO 3166-1:PL", "Polskor", "Republic of Poland", "POLAND", "Fourth Poland", "Country- Poland", "Poleland", "Polska", "Poland", "Poland.", "Pols Land", "Polnd", "Po land", "Lenkija", "Bastarnia", "Pologne", "PolanD", "Polija", "Pole land", "Architecture of Poland", "Ploand"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to check if the given tuples contain the k or not.", "answer": "def check_K(test_tup, K):\r\n res = False\r\n for ele in test_tup:\r\n if ele == K:\r\n res = True\r\n break\r\n return (res)", "source": "mbpp", "task_id": "808", "test_cases": "assert check_K((10, 4, 5, 6, 8), 6) == True\nassert check_K((1, 2, 3, 4, 5, 6), 7) == False\nassert check_K((7, 8, 9, 44, 11, 12), 11) == True", "difficulty": "code"} {"input": "Were Joel Paris and Karim Bey Mehmandarov from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to find the n - cheap price items from a given dataset using heap queue algorithm.", "answer": "import heapq\r\ndef cheap_items(items,n):\r\n cheap_items = heapq.nsmallest(n, items, key=lambda s: s['price'])\r\n return cheap_items", "source": "mbpp", "task_id": "795", "test_cases": "assert cheap_items([{'name': 'Item-1', 'price': 101.1},{'name': 'Item-2', 'price': 555.22}],1)==[{'name': 'Item-1', 'price': 101.1}]\nassert cheap_items([{'name': 'Item-1', 'price': 101.1},{'name': 'Item-2', 'price': 555.22}],2)==[{'name': 'Item-1', 'price': 101.1},{'name': 'Item-2', 'price': 555.22}]\nassert cheap_items([{'name': 'Item-1', 'price': 101.1},{'name': 'Item-2', 'price': 555.22}, {'name': 'Item-3', 'price': 45.09},{'name': 'Item-4', 'price': 22.75}],1)==[{'name': 'Item-4', 'price': 22.75}]", "difficulty": "code"} {"input": "What is the place of birth of the director of film Kedi (2010 Film)?", "answer": "Mumbai", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Do Wilfred Limonious and Hans Natonek share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which one was established first, Klöckner Pentaplast or Xylem Inc.?", "answer": "Klöckner Pentaplast", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Do director of film Boss Of Bullion City and director of film Renigunta (Film) share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What was the name of Bob Fosse's character in All That Jazz?", "answer": "Joe Gideon", "source": "triviaqa", "difficulty": "simple"} {"input": "How many people whose name was used to call new students by others live in the country Delem was in?", "answer": "196,000-600,000", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the date of birth of the director of film Sword Stained With Royal Blood (1981 Film)?", "answer": "10 February 1923", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to find maximum of three numbers.", "answer": "def max_of_three(num1,num2,num3): \r\n if (num1 >= num2) and (num1 >= num3):\r\n lnum = num1\r\n elif (num2 >= num1) and (num2 >= num3):\r\n lnum = num2\r\n else:\r\n lnum = num3\r\n return lnum", "source": "mbpp", "task_id": "672", "test_cases": "assert max_of_three(10,20,30)==30\nassert max_of_three(55,47,39)==55\nassert max_of_three(10,49,30)==49", "difficulty": "code"} {"input": "The 32nd TCA Awards were hosted by a Mexican actor best known for his roles as Fernando Mendiola in what?", "answer": "La Fea Mas Bella", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are Jane and First for Women both women's magazines?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Maksim Andreyevich Fyodorov born?", "answer": "[\"Rasskazovo\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the name of the Tindersticks' soundtrack for which the film, written by Denis and Jean-Pol Fargeau, is also named?", "answer": "Trouble Every Day", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Steve Jones and Blag Dahlia, have which occupation in common?", "answer": "singer", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "How many years after men's field hockey became an Olympic sport did the women's game become an Olympic event?", "answer": ["seventy-two", "72"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which film has the director who is older, Mod (Film) or La Compagna Di Banco?", "answer": "La Compagna Di Banco", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Mohamed Bazoum's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which Cuban legend was born in 1925 in the city where Rene Portocarrero died?", "answer": "Celia Cruz", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Dave Marsh born?", "answer": "[\"Detroit\", \"Motor City\", \"Detroit, Michigan\", \"Detroiit\", \"Detroit, MI\", \"The D\"]", "source": "popqa", "difficulty": "simple"} {"input": "How many Americans live in the country Kasongo Lunda is located?", "answer": "Around 300", "source": "musique", "difficulty": "multi_hop"} {"input": "After the Rain performer is associated with which subgenre of the blues", "answer": "Chicago blues", "source": "musique", "difficulty": "multi_hop"} {"input": "In what year was the first performance of Copland's ballet Rodeo?", "answer": ["1942", "one thousand, nine hundred and forty-two"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to find the lateral surface area of a cone.", "answer": "import math\r\ndef lateralsurface_cone(r,h):\r\n l = math.sqrt(r * r + h * h)\r\n LSA = math.pi * r * l\r\n return LSA", "source": "mbpp", "task_id": "731", "test_cases": "assert lateralsurface_cone(5,12)==204.20352248333654\nassert lateralsurface_cone(10,15)==566.3586699569488\nassert lateralsurface_cone(19,17)==1521.8090132193388", "difficulty": "code"} {"input": "Are General Vanier Intermediate School and Ormeau Woods State High School both located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to find the longest chain which can be formed from the given set of pairs.", "answer": "class Pair(object): \r\n\tdef __init__(self, a, b): \r\n\t\tself.a = a \r\n\t\tself.b = b \r\ndef max_chain_length(arr, n): \r\n\tmax = 0\r\n\tmcl = [1 for i in range(n)] \r\n\tfor i in range(1, n): \r\n\t\tfor j in range(0, i): \r\n\t\t\tif (arr[i].a > arr[j].b and\r\n\t\t\t\tmcl[i] < mcl[j] + 1): \r\n\t\t\t\tmcl[i] = mcl[j] + 1\r\n\tfor i in range(n): \r\n\t\tif (max < mcl[i]): \r\n\t\t\tmax = mcl[i] \r\n\treturn max", "source": "mbpp", "task_id": "601", "test_cases": "assert max_chain_length([Pair(5, 24), Pair(15, 25),Pair(27, 40), Pair(50, 60)], 4) == 3\nassert max_chain_length([Pair(1, 2), Pair(3, 4),Pair(5, 6), Pair(7, 8)], 4) == 4\nassert max_chain_length([Pair(19, 10), Pair(11, 12),Pair(13, 14), Pair(15, 16), Pair(31, 54)], 5) == 5", "difficulty": "code"} {"input": "Which member of the Maverick clan was played by a future 007?", "answer": "Beau (Roger Moore)", "source": "triviaqa", "difficulty": "simple"} {"input": "Are both Lateh Choqa Sayyadan and Cheshmeh-Ye Mirza Hoseyn located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the area code for the state where the Aloha Festivals are held?", "answer": "808", "source": "musique", "difficulty": "multi_hop"} {"input": "During the series Roseanne changed her name to Arnold from what?", "answer": ["Barr", "Barr (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who sponsored the expedition that discovered the country encompassing Bofareira?", "answer": "Prince Henry the Navigator", "source": "musique", "difficulty": "multi_hop"} {"input": "Who had a 70s No 1 hit with The Night The Lights Went Out In Georgia?", "answer": ["Vicky lawrence", "Vicki Lawrence Schultz", "Vicki Lawrence"], "source": "triviaqa", "difficulty": "simple"} {"input": "The Office of the Federal Register is an office of the United States government within which independent agency of the United States government charged with preserving and documenting government and historical records?", "answer": "National Archives and Records Administration", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Prince Radu of Romania's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Louis O'Dea's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Do both directors of films Jatt & Juliet and Sciopèn share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Bob Scucci was the former Assistant Race and Sports Book Manager at what casino resort located on 63 acres along the Las Vegas Strip?", "answer": "Stardust Resort and Casino", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Do both films Shore Leave (film) and The Cradle of Courage have the directors that share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who played scarlet o'hara in gone with the wind", "answer": "Vivien Leigh", "source": "nq", "difficulty": "simple"} {"input": "What nationality is the director of film Wedding Night In Paradise (1950 Film)?", "answer": "Hungarian", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Gino Coppedè's occupation?", "answer": "[\"architect\"]", "source": "popqa", "difficulty": "simple"} {"input": "who played freddy krueger in the 2010 nightmare on elm street", "answer": "Jackie Earle Haley", "source": "nq", "difficulty": "simple"} {"input": "Which institute is this American football coach currently serving as head coach, who led 2013 Boise State Broncos football team?", "answer": "University of Washington", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who said stand on the shoulders of giants", "answer": "Bernard of Chartres", "source": "nq", "difficulty": "simple"} {"input": "Write a python function to check whether the two given strings are isomorphic to each other or not.", "answer": "def is_Isomorphic(str1,str2): \r\n dict_str1 = {}\r\n dict_str2 = {}\r\n for i, value in enumerate(str1):\r\n dict_str1[value] = dict_str1.get(value,[]) + [i] \r\n for j, value in enumerate(str2):\r\n dict_str2[value] = dict_str2.get(value,[]) + [j]\r\n if sorted(dict_str1.values()) == sorted(dict_str2.values()):\r\n return True\r\n else:\r\n return False", "source": "mbpp", "task_id": "885", "test_cases": "assert is_Isomorphic(\"paper\",\"title\") == True\nassert is_Isomorphic(\"ab\",\"ba\") == True\nassert is_Isomorphic(\"ab\",\"aa\") == False", "difficulty": "code"} {"input": "In what city was John of Garland born?", "answer": "[\"England\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who invented the world's first photocopier?", "answer": ["Carlson, Chester F", "Chester Carlson", "Chester Floyd Carlson", "Chester F Carlson", "Chester F. Carlson"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Fernanda Vasconcellos's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are Onew and Judith Durham both singers?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which board game was created by Reiner Knizia, Junta or Medici?", "answer": "Medici", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "How many episodes were dedicated to the Menendez brothers in the series that also had an episode called Mother's Day?", "answer": "eight", "source": "musique", "difficulty": "multi_hop"} {"input": "Who won super bowl X?", "answer": ["Smoky City", "Pittsburgh (Pa.)", "Pittsburgh, Pennsylvania.", "Frick International Studies Academy Middle School", "Pitsburgh", "The Burgh", "Pittsbrugh", "Pittsburgh, Pa", "Pittsburgh, USA", "Glenwood, Pennsylvania", "Pittsburgh (PA)", "The Pittsburgh Style of Literature", "Pittsburgh, Pennsylvania, U.S.", "Pittsburgh, United States of America", "Pittsburgh Pennsyvania", "UN/LOCODE:USPIT", "Da burgh", "Pittsburgh (pgh)", "Climate of Pittsburgh, Pennsylvania", "Pittsburgh", "City of Bridges", "Pittsburgh Frick 6–8 Middle School", "Pittsburgh, PA", "St. Justin's High School", "East End (Pittsburgh)", "Pittsburgh, Pennsylvania, USA", "Pittsburgh, Allegheny County, Pennsylvania", "The City of Bridges", "Pittsburgh, Pennsylvania, US", "Fort du Quesne", "Pittsburgh Frick 6-8 Middle School", "City of Pittsburgh", "The Steel City", "Pittsburgh, PA.", "Pittsburgh Style", "Pittsburgh, Pa.", "Education in pittsburgh", "Pittsburg, PA", "Pittsburgh, Pennsylvania, U.S.A.", "Education in Pittsburgh", "Pittsburg, Pennsylvania", "Pittsburgh, Pennsylvania"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a python function to find the average of even numbers till a given even number.", "answer": "def average_Even(n) : \r\n if (n% 2!= 0) : \r\n return (\"Invalid Input\") \r\n return -1 \r\n sm = 0\r\n count = 0\r\n while (n>= 2) : \r\n count = count+1\r\n sm = sm+n \r\n n = n-2\r\n return sm // count", "source": "mbpp", "task_id": "664", "test_cases": "assert average_Even(2) == 2\nassert average_Even(4) == 3\nassert average_Even(100) == 51", "difficulty": "code"} {"input": "Which country the composer of song A Foggy Day is from?", "answer": "American", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When the battle at the place where Paul Booth died end?", "answer": "30 December 1460", "source": "musique", "difficulty": "multi_hop"} {"input": "who carries the nuclear football for the president", "answer": "aide-de-camp", "source": "nq", "difficulty": "simple"} {"input": "In which country was Angelica Huston born?", "answer": ["Irlanda", "Island ireland", "Ireland (region)", "Irlandia", "Erin's Isle", "Airlan", "Ireland", "West Coast of Ireland", "The island of Ireland", "Island Ireland", "Ireland (island)", "Irland", "HÉireann", "Ireland Ulster", "Population of Ireland", "Irelander", "Ireland and Ulster", "Ireland (Island)", "IRELAND", "Symbol of Ireland", "Scotia major", "Island of Ireland", "Airlann", "Mikra Britannia", "Irelanders", "Auld Sod", "Ierne (placename)"], "source": "triviaqa", "difficulty": "simple"} {"input": "ct is produced by which cells of the thyroid gland", "answer": "Parafollicular cells", "source": "nq", "difficulty": "simple"} {"input": "Are director of film The Monster Squad and director of film The Cup (2011 film) from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "BLIZZARD! The Storm That Changed America was about the storm also referred to as what?", "answer": "Great White Hurricane", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Sebaki Devi Das Tatma's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a python function to find the kth element in an array containing odd elements first and then even elements.", "answer": "def get_Number(n, k): \r\n arr = [0] * n; \r\n i = 0; \r\n odd = 1; \r\n while (odd <= n): \r\n arr[i] = odd; \r\n i += 1; \r\n odd += 2;\r\n even = 2; \r\n while (even <= n): \r\n arr[i] = even; \r\n i += 1;\r\n even += 2; \r\n return arr[k - 1];", "source": "mbpp", "task_id": "844", "test_cases": "assert get_Number(8,5) == 2\nassert get_Number(7,2) == 3\nassert get_Number(5,2) == 3", "difficulty": "code"} {"input": "Where was the place of death of the director of film The Mysteries Of Paris (1962 Film)?", "answer": "Nice", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who tries to save the world from virtual reality in The Matrix?", "answer": ["Keanu Reaves", "Ava Archer Syme-Reeves", "Keanu", "Keanu reeves", "Filmography of Keanu Reeves", "Keanu Reeves", "Keanau Reeves", "Sad Keanu", "Sad keanu", "Keanu Reeves/Filmography", "Keanu Reevs", "Kenau Reeves", "Keanu Reeves filmography", "Kenu reeves", "Cool breeze over the mountains"], "source": "triviaqa", "difficulty": "simple"} {"input": "how many seasons of svu law and order are there", "answer": "20", "source": "nq", "difficulty": "simple"} {"input": "when did they sign the declaration of independence", "answer": "August 2, 1776", "source": "nq", "difficulty": "simple"} {"input": "In what city was Willem van Nieulandt II born?", "answer": "[\"Antwerp\", \"Antwerpen\", \"City of Antwerp\", \"Anvers\"]", "source": "popqa", "difficulty": "simple"} {"input": "the united states today uses which kind of currency", "answer": "the dollar", "source": "nq", "difficulty": "simple"} {"input": "Were Eatza Pizza and Your Pie founded in the same state?", "answer": "no", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "How many feet tall is the place where Lobsang Tshering died?", "answer": "29,029", "source": "musique", "difficulty": "multi_hop"} {"input": "who establishes the rules about naturalization of citizens", "answer": "Congress", "source": "nq", "difficulty": "simple"} {"input": "Write a function that matches a string that has an a followed by zero or more b's.", "answer": "import re\r\ndef text_match(text):\r\n patterns = 'ab*?'\r\n if re.search(patterns, text):\r\n return 'Found a match!'\r\n else:\r\n return('Not matched!')", "source": "mbpp", "task_id": "719", "test_cases": "assert text_match(\"ac\")==('Found a match!')\nassert text_match(\"dc\")==('Not matched!')\nassert text_match(\"abba\")==('Found a match!')", "difficulty": "code"} {"input": "The Acolytes Protection Agency consisted of what wrestler born November 29, 1966", "answer": "John Layfield", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Boutheina Jabnoun's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\"]", "source": "popqa", "difficulty": "simple"} {"input": "who are the two leaders of the opposition in the province Elton is located?", "answer": "Wab Kinew", "source": "musique", "difficulty": "multi_hop"} {"input": "The 2016 Liberty Bowl was sponsored by a company based in what city?", "answer": "Memphis", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What was the name of the hurricane that hit the island that was the destination for immigrants after the Royal Decree of Grace?", "answer": "Hurricane Maria", "source": "musique", "difficulty": "multi_hop"} {"input": "Stapleton international airport is in which US state?", "answer": ["Colorado (State)", "Colorful Colorado", "Special districts of Colorado", "Insignia of the State of Colorado", "List of military facilities in Colorado", "Coloradan", "Cuisines of Colorado", "Colorado (U.S. state)", "List of professional sports teams in Colorado", "Religion in Colorado", "Professional sport teams of Colorado", "Rocky Mountain Empire", "Thirty-eighth State", "38th State", "Coloradans", "Colorado, United States", "The Centennial State", "Colo.", "List of professional sports teams of Colorado", "Protected areas of Colorado", "Education in Colorado", "State of Colorado", "Columbine State", "Thirty-Eighth State", "Colorado (state)", "List of former professional sports teams of Colorado", "US-CO", "Colorado protected areas", "Mother of Rivers", "List of Colorado state insignia", "Fine arts in Colorado", "Climate of Colorado", "Professional sports in Colorado", "Colorado state nickname", "Emblems of the State of Colorado", "Colorado", "Colorado military facilities", "Demographics of Colorado", "Colorada", "Kolorado", "Culture of Colorado", "Colarado", "Centennial State", "CO (state)", "Buffalo Plains State", "Military facilities in Colorado"], "source": "triviaqa", "difficulty": "simple"} {"input": "Where were the first World Athletics Championships held?", "answer": ["Helsingfors", "Helsinki,Finland", "Helstinky", "Helsinki", "Helsinki, finland", "UN/LOCODE:FIHEL", "Helsinki, Finland", "Stadi", "Helsinky", "Demographics of Helsinki", "Gelsingfors", "Helinski", "Capital of Finland", "Helsinkiem", "Helsset", "City of Helsinki"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to extract values between quotation marks of the given string by using regex.", "answer": "import re\r\ndef extract_quotation(text1):\r\n return (re.findall(r'\"(.*?)\"', text1))", "source": "mbpp", "task_id": "725", "test_cases": "assert extract_quotation('Cortex \"A53\" Based \"multi\" tasking \"Processor\"') == ['A53', 'multi', 'Processor']\nassert extract_quotation('Cast your \"favorite\" entertainment \"apps\"') == ['favorite', 'apps']\nassert extract_quotation('Watch content \"4k Ultra HD\" resolution with \"HDR 10\" Support') == ['4k Ultra HD', 'HDR 10']", "difficulty": "code"} {"input": "who played barry gordy on the temptations movie", "answer": "Obba Babatundé", "source": "nq", "difficulty": "simple"} {"input": "Which actress played the part of fictitious character Kimberly Ann Hart, in the franchise built around a live action superhero television series taking much of its footage from the Japanese tokusatsu 'Super Sentai'?", "answer": "Amy Jo Johnson", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "From which Metallica album does the song, used by Niels de Ruiter as walk-on music, come?", "answer": "Metallica", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Ivan Mládek's occupation?", "answer": "[\"composer\", \"songwriter\", \"song writer\"]", "source": "popqa", "difficulty": "simple"} {"input": "What retailer is the second-largest in the United States and has a commercial featuring the American artist who was 1st runner-up in the 2005 USA Weekend Magazine's songwriting competition?", "answer": "Target Corporation", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which label was responsible for John Lennon's final album made in his lifetime?", "answer": ["Geffen (disambiguation)", "Geffen"], "source": "triviaqa", "difficulty": "simple"} {"input": "who qualified in group h 2018 world cup", "answer": "Belgium", "source": "nq", "difficulty": "simple"} {"input": "When was Greece accepted into the jurisdiction to which the European Trade Union Confederation applies?", "answer": "19 June 2000", "source": "musique", "difficulty": "multi_hop"} {"input": "When did Britain withdraw from the country where Gufool is located?", "answer": "1971", "source": "musique", "difficulty": "multi_hop"} {"input": "who are the chefs on america's test kitchen", "answer": ["Rebecca \"Becky\" Hays", "Sandra Wu", "Julia Collin Davison", "Bridget Lancaster", "Dan Souza", "Bryan Roof", "Yvonne Ruperti", "J. Kenji Lopez-Alt", "Erika Bruce", "Kay Rentschler"], "source": "nq", "difficulty": "simple"} {"input": "Write a function to sort a given list of strings of numbers numerically.", "answer": "def sort_numeric_strings(nums_str):\r\n result = [int(x) for x in nums_str]\r\n result.sort()\r\n return result", "source": "mbpp", "task_id": "749", "test_cases": "assert sort_numeric_strings( ['4','12','45','7','0','100','200','-12','-500'])==[-500, -12, 0, 4, 7, 12, 45, 100, 200]\nassert sort_numeric_strings(['2','3','8','4','7','9','8','2','6','5','1','6','1','2','3','4','6','9','1','2'])==[1, 1, 1, 2, 2, 2, 2, 3, 3, 4, 4, 5, 6, 6, 6, 7, 8, 8, 9, 9]\nassert sort_numeric_strings(['1','3','5','7','1', '3','13', '15', '17','5', '7 ','9','1', '11'])==[1, 1, 1, 3, 3, 5, 5, 7, 7, 9, 11, 13, 15, 17]", "difficulty": "code"} {"input": "What is E. David Redwine's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Mariángel Carolina Ruiz Diaz's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\", \"model\", \"fashion model\", \"sitter\", \"poser\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Mike Gregory born?", "answer": "[\"Bath\", \"Bath, Somerset\", \"City of Bath\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Bruce McDaniel's occupation?", "answer": "[\"composer\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which jury member for Deutschland sucht den Superstar was an American model and choreographer born in 1957?", "answer": "Bruce Darnell", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which sporting world championship has been held at the Kuusinski and Kitka Rivers in Finland?", "answer": ["Wolley bugger", "Fly fishing", "Flyfishing", "Fly fishermen", "Fly-fishing", "Saltwater fly fishing", "Fly line", "Dry fly fishing", "Fly Fishing", "Fly fisherman", "Saltwater Fly Fishing"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to find the nth nonagonal number.", "answer": "def is_nonagonal(n): \r\n\treturn int(n * (7 * n - 5) / 2)", "source": "mbpp", "task_id": "641", "test_cases": "assert is_nonagonal(10) == 325\nassert is_nonagonal(15) == 750\nassert is_nonagonal(18) == 1089", "difficulty": "code"} {"input": "What is Zoran Rankić's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Gunnar Uldall's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Arthur Thomson born?", "answer": "[\"Edinburgh\", \"Edinburg\", \"Edinburgh, Scotland\", \"City of Edinburgh\", \"Edina\", \"Modern Athens\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to remove the nested record from the given tuple.", "answer": "def remove_nested(test_tup):\r\n res = tuple()\r\n for count, ele in enumerate(test_tup):\r\n if not isinstance(ele, tuple):\r\n res = res + (ele, )\r\n return (res)", "source": "mbpp", "task_id": "791", "test_cases": "assert remove_nested((1, 5, 7, (4, 6), 10)) == (1, 5, 7, 10)\nassert remove_nested((2, 6, 8, (5, 7), 11)) == (2, 6, 8, 11)\nassert remove_nested((3, 7, 9, (6, 8), 12)) == (3, 7, 9, 12)", "difficulty": "code"} {"input": "Do both directors of films Paper Bullets and Karakolda Ayna Var share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Marco Ameglio's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Jerry Best born?", "answer": "[\"Queens\", \"Queens, New York City\", \"Queens, New York\"]", "source": "popqa", "difficulty": "simple"} {"input": "How many people whose names were called by others on new students live in the country having won the most world cups in soccer?", "answer": "196,000-600,000", "source": "musique", "difficulty": "multi_hop"} {"input": "What was the name of the she-ape that rescued the infant Tarzan and raised him to be Lord of the Apes?", "answer": ["Kāla", "Kala", "Kala (disambiguation)", "Kala, Mazandaran", "KALA"], "source": "triviaqa", "difficulty": "simple"} {"input": "when does spiderman homcoming come out on dvd", "answer": "October 17, 2017", "source": "nq", "difficulty": "simple"} {"input": "Write a function to check whether the given month number contains 30 days or not.", "answer": "def check_monthnumber_number(monthnum3):\r\n if(monthnum3==4 or monthnum3==6 or monthnum3==9 or monthnum3==11):\r\n return True\r\n else:\r\n return False", "source": "mbpp", "task_id": "762", "test_cases": "assert check_monthnumber_number(6)==True\nassert check_monthnumber_number(2)==False\nassert check_monthnumber_number(12)==False", "difficulty": "code"} {"input": "who wrote the lyrics to all you need is love", "answer": "John Lennon", "source": "nq", "difficulty": "simple"} {"input": "What music magazine ran from 1942 to 2008 and had a compilation album \"The Wild Bunch\" in 1984?", "answer": "Hit Parader", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who is the only person to play for Liverpool, Manchester United, Everton and the team Demi Stokes was on?", "answer": "Peter Andrew Beardsley MBE", "source": "musique", "difficulty": "multi_hop"} {"input": "Which space probe sent pictures from Mars in 1965?", "answer": ["Mariner4", "Mariner 4", "Mariner IV", "1964-077A"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Matthijs Dulken born?", "answer": "[\"Roermond\", \"Remunj\"]", "source": "popqa", "difficulty": "simple"} {"input": "What major nationalist movement has the largest economy in Africa had?", "answer": "Oodua Peoples Congress", "source": "musique", "difficulty": "multi_hop"} {"input": "arabian sea is the part of which ocean", "answer": "Indian Ocean", "source": "nq", "difficulty": "simple"} {"input": "who saying you're a mean one mr. grinch in the iconic 1966 animated tv short", "answer": "Thurl Ravenscroft", "source": "nq", "difficulty": "simple"} {"input": "What was Green Acres called on radio?", "answer": "Granby's Green Acres", "source": "triviaqa", "difficulty": "simple"} {"input": "Are director of film Cosmonaut (Film) and director of film The Scientific Cardplayer from the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which philosopher wrote Eros and Civilization and One Dimensional Man?", "answer": ["Marcusian", "Marcusean", "Works by Herbert Marcuse", "Hebert Marcuse", "Herbert Marcuse"], "source": "triviaqa", "difficulty": "simple"} {"input": "When did the Oakland Raiders move to the city where the performer of Bad Girl works?", "answer": "1982", "source": "musique", "difficulty": "multi_hop"} {"input": "What year was John Shepherd's employer founded?", "answer": "1862", "source": "musique", "difficulty": "multi_hop"} {"input": "When did the neighbor of the country with the best internet in the world conduct its first nuclear test?", "answer": "October 9, 2006", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Ed Parker Jr. born?", "answer": "[\"Glendale\", \"Glendale, CA\", \"Glendale, California\", \"Glendale, California, USA\"]", "source": "popqa", "difficulty": "simple"} {"input": "When was the director of film The Vampire'S Ghost born?", "answer": "May 26, 1900", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What hamlet and census designated place was the location of the only pay-per-view Bunkhouse Stampede?", "answer": "Uniondale, New York", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "The Thoen Stone is on display at a museum in what county?", "answer": "Lawrence County", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is a semi-professional football club in Hyde, Greater Manchester, England?", "answer": "Hyde United Football Club", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When is the dry season in Yohan M'Vila's country?", "answer": "June to August", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to add all the numbers in a list and divide it with the length of the list.", "answer": "def sum_num(numbers):\r\n total = 0\r\n for x in numbers:\r\n total += x\r\n return total/len(numbers)", "source": "mbpp", "task_id": "886", "test_cases": "assert sum_num((8, 2, 3, 0, 7))==4.0\nassert sum_num((-10,-20,-30))==-20.0\nassert sum_num((19,15,18))==17.333333333333332", "difficulty": "code"} {"input": "Which American company pioneered electric ignition in motor cars?", "answer": ["Cadillick", "Cadillac Automobile Company", "Cadillac Motor Company", "Cadallac", "Cadilac", "Cadillac", "Cadillacs", "Cadillac (automobile)", "Cadillac automobile"], "source": "triviaqa", "difficulty": "simple"} {"input": "What record label does the composer of After Hours belong to?", "answer": "Warner Bros.", "source": "musique", "difficulty": "multi_hop"} {"input": "who is jake's mom in the dark tower", "answer": "Katheryn Winnick as Laurie Chambers", "source": "nq", "difficulty": "simple"} {"input": "What is Val McLane's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Door into the Dark is a poetry collection by a man that received the Nobel Prize in Literature in what year?", "answer": "1995", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "How many theater companies are in residence in the city where the owner of the Internet Movie database is headquartered?", "answer": "around 100", "source": "musique", "difficulty": "multi_hop"} {"input": "who plays the voice of morgana in trollhunters", "answer": "Lena Headey", "source": "nq", "difficulty": "simple"} {"input": "What other band was featured on the cover page of the Alternative Press magazine for the \"100 Bands You Need to Know in 2010\" alongside The Cab discography and Never Shout Never?", "answer": "Hey Monday", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What was the name of the high school in Porky's?", "answer": "Angel Beach", "source": "triviaqa", "difficulty": "simple"} {"input": "Axle Whitehead was a part of an American comedy-drama television series that is a remake of the British series with the same name set in what city?", "answer": "Chicago", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where was the director of film Ninì Tirabusciò: La Donna Che Inventò La Mossa born?", "answer": "Rome", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "in the otolith organs the otoliths are calcium carbonate particles that ____", "answer": "to perceive linear acceleration", "source": "nq", "difficulty": "simple"} {"input": "What is Kiko Mizuhara's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which country the director of film Srivari Muchatlu is from?", "answer": "India", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who won golf's US Amateur Championship for the first time i n1994?", "answer": ["Eldrick Tont Woods", "TigerWoods.com", "Tiger woods", "Al Ruwaya", "Cablinasian", "Tiger Woods Mistress", "Cheetah Woods", "Eldrick T. %22Tiger%22 Woods", "Jamie Jungers", "Tigerwoods.com", "Tiger Woods", "Mindy Lawton", "Eldrick Woods", "How I Play Golf", "Tigre Woods", "T woods", "Eldrick", "Woods, Tiger", "Eldrick Tont %22Tiger%22 Woods", "Jaimee Grubbs", "Eldrick %22Tiger%22 Woods", "Cablin Asian", "Tont", "Tiger Wood"], "source": "triviaqa", "difficulty": "simple"} {"input": "Der Mond was composed by the man who was best known for what cantata?", "answer": "Carmina Burana", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What organization does the agency which pioneered DNA testing share jurisdiction with?", "answer": "DEA", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the name of the administrative territorial entity that includes the birthplace of Bobby Hicks?", "answer": "Catawba County", "source": "musique", "difficulty": "multi_hop"} {"input": "who says the opening of law and order svu", "answer": "Steven M. Zirnkilton", "source": "nq", "difficulty": "simple"} {"input": "In what city was Dee born?", "answer": "[\"Montreal\", \"Montréal\", \"City of Montreal\", \"Montreal, Quebec\", \"Ville de Montréal\", \"Ville de Montreal\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are both Fletcher'S Meadow Secondary School and Richards Career Academy located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which documentary is about Finnish rock groups, Adam Clayton Powell or The Saimaa Gesture?", "answer": "The Saimaa Gesture", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What are the international registration letters of a vehicle from Turkey?", "answer": ["T.R.", "T.r.", "Tr.", "TR (disambiguation)", "TR", "Tr", "T. R.", "T R"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Ankita Sharma's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "What culture's arrival in the country where the person who paid for Chopin's funeral invited him is know as the \"Davidian Revolution?", "answer": "Norman", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to multiply consecutive numbers of a given list.", "answer": "def mul_consecutive_nums(nums):\r\n result = [b*a for a, b in zip(nums[:-1], nums[1:])]\r\n return result", "source": "mbpp", "task_id": "690", "test_cases": "assert mul_consecutive_nums([1, 1, 3, 4, 4, 5, 6, 7])==[1, 3, 12, 16, 20, 30, 42]\nassert mul_consecutive_nums([4, 5, 8, 9, 6, 10])==[20, 40, 72, 54, 60]\nassert mul_consecutive_nums([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])==[2, 6, 12, 20, 30, 42, 56, 72, 90]", "difficulty": "code"} {"input": "When were women allowed to vote in the country the I Love America performer belongs to?", "answer": "February 1971", "source": "musique", "difficulty": "multi_hop"} {"input": "Who was the father of the cast member of the live performance of The Wall set in the city where The Man Between is located?", "answer": "Eric Fletcher Waters", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Ricardo Sánchez born?", "answer": "[\"Guadalajara\", \"Guadalajara, Jalisco\", \"Guadalajara, Jalisco, Mexico\", \"Guadalajara, Mexico\", \"Guadalajara, México\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which toy company did Ruth and Elliot Handler found?", "answer": ["Mattel Toy Company", "Mattel Entertainment", "Harold Matson (businessman)", "Mattel Incorporated", "Mattel, Inc.", "Mattel Productions", "Mattel.com", "Mattel Entertainment Productions", "Mattel (Entertainment)", "Mattel", "Mattell", "Matell", "Mattel Electronics", "Mattel Toys", "Mattel Inc.", "Matt and Elliot", "Mattel Playground", "Mattel Inc", "Mattel Playground Productions", "Rhino Rampage", "Rob Hudnut"], "source": "triviaqa", "difficulty": "simple"} {"input": "who have most followers on twitter in world", "answer": "Katy Perry", "source": "nq", "difficulty": "simple"} {"input": "Carrasco international airport is in which country?", "answer": ["Cruzada Libertadora", "Uraguay", "Uruguayan", "Uruguay", "Health care in Uruguay", "Uruguayo", "Urú", "Republic East of the Uruguay", "Eastern Republic of the Uruguay", "República Oriental del Uruguay", "ISO 3166-1:UY", "Etymology of Uruguay", "Eastern Republic of Uruguay", "Uruguai", "Uruguayan (disambiguation)", "Uruguay (country)", "Oriental Republic of Uruguay", "Name of Uruguay", "Health in Uruguay", "Media of Uruguay"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who is younger, Marvin E. Miller Sr. or John Hawkins (Author)?", "answer": "Marvin E. Miller Sr.", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Brian Eno's occupation?", "answer": "[\"record producer\", \"music producer\", \"composer\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to find the most common elements and their counts of a specified text.", "answer": "from collections import Counter \r\ndef most_common_elem(s,a):\r\n most_common_elem=Counter(s).most_common(a)\r\n return most_common_elem", "source": "mbpp", "task_id": "946", "test_cases": "assert most_common_elem('lkseropewdssafsdfafkpwe',3)==[('s', 4), ('e', 3), ('f', 3)] \nassert most_common_elem('lkseropewdssafsdfafkpwe',2)==[('s', 4), ('e', 3)]\nassert most_common_elem('lkseropewdssafsdfafkpwe',7)==[('s', 4), ('e', 3), ('f', 3), ('k', 2), ('p', 2), ('w', 2), ('d', 2)]", "difficulty": "code"} {"input": "In Greek mythology, who was the queen of the underworld and wife of Hades?", "answer": ["Persephone (godess)", "Persephonie", "Perséphone", "Godess Persephone", "Persephone", "Perséphonê", "Kore (Greek religion)", "Persephoneia", "Phersipnei", "Persephone (goddess)", "Persephatta", "Persephony", "Persephassa", "Phersephassa", "Persephoney", "Persephone (mythology)", "Goddess Persephone", "Iron Queen"], "source": "triviaqa", "difficulty": "simple"} {"input": "when did the movie the greatest show man come out", "answer": "December 20, 2017", "source": "nq", "difficulty": "simple"} {"input": "the dot product of two vectors results in a", "answer": "a vector", "source": "nq", "difficulty": "simple"} {"input": "In what city was Josephus Nicolaus Laurenti born?", "answer": "[\"Vienna\", \"Wien\", \"Vienna, Austria\", \"W\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is one annual event that Oklahoma's largest urbanized area hosts?", "answer": "Big 12 Baseball Tournament", "source": "musique", "difficulty": "multi_hop"} {"input": "What musical genre was the song that, according to Annet Artani, inspired the Britney Spears song \"Everytime\"?", "answer": "R&B", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are 13 Fighting Men and The Donkey King from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Garth Jennings and Lee Cheol-ha shared what occupation?", "answer": "film director", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What concert venue in the Thrilling Cities author's birthpalce shares its first name with a famous football stadium?", "answer": "Wembley Arena", "source": "musique", "difficulty": "multi_hop"} {"input": "Do both films, The Gentleman (Film) and Dream Of Love, have the directors who are from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Mariano Chao born?", "answer": "[\"San Fernando\", \"San Fernando, Buenos Aires\"]", "source": "popqa", "difficulty": "simple"} {"input": "when is the last time scotland were in the world cup", "answer": "1998", "source": "nq", "difficulty": "simple"} {"input": "The Abbey of Saint-Étienne was founded by a descendant of who?", "answer": "Rollo", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which film was released more recently, Godzilla Vs. Megalon or Sweet Love, Bitter (Film)?", "answer": "Godzilla Vs. Megalon", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "boyles law relates the pressure of gas to its", "answer": "volume of the container decreases", "source": "nq", "difficulty": "simple"} {"input": "What is the place of birth of the director of film The Midnight Alarm?", "answer": "Faversham, Kent", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Valentin Avrorin born?", "answer": "[\"Tambov\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which of the following is best known for publicly championing a terminal patient's right to die via physician-assisted suicide: Christy Canyon or Jack Kevorkian?", "answer": "Jacob \"Jack\" Kevorkian", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are Louis Sanmarco and Helge Sandvik both from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Masaru Inada born?", "answer": "[\"Sapporo\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Ashlie Walker's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Where did the director of film The Untamed (1920 Film) die?", "answer": "Hollywood", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "corporate social responsibility (csr) is also known as", "answer": ["responsible business", "corporate sustainability", "corporate citizenship", "sustainable business", "corporate conscience"], "source": "nq", "difficulty": "simple"} {"input": "Write a function to remove similar rows from the given tuple matrix.", "answer": "def remove_similar_row(test_list):\r\n res = set(sorted([tuple(sorted(set(sub))) for sub in test_list]))\r\n return (res)", "source": "mbpp", "task_id": "642", "test_cases": "assert remove_similar_row([[(4, 5), (3, 2)], [(2, 2), (4, 6)], [(3, 2), (4, 5)]] ) == {((2, 2), (4, 6)), ((3, 2), (4, 5))}\nassert remove_similar_row([[(5, 6), (4, 3)], [(3, 3), (5, 7)], [(4, 3), (5, 6)]] ) == {((4, 3), (5, 6)), ((3, 3), (5, 7))}\nassert remove_similar_row([[(6, 7), (5, 4)], [(4, 4), (6, 8)], [(5, 4), (6, 7)]] ) =={((4, 4), (6, 8)), ((5, 4), (6, 7))}", "difficulty": "code"} {"input": "To which film category are both Call Me Kuchu and That's Dancing! belong?", "answer": "documentary film", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where did the director of film Crocodile Dundee In Los Angeles study?", "answer": "Cranbrook School", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Geeling Ng's occupation?", "answer": "[\"restaurateur\", \"gastronomist\", \"restauranteur\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Derek Ingram Hill's occupation?", "answer": "[\"priest\", \"reverend\", \"priestess\"]", "source": "popqa", "difficulty": "simple"} {"input": "what is the channel number for cartoon network on spectrum", "answer": ["768 (HD)", "68 (SD)"], "source": "nq", "difficulty": "simple"} {"input": "In what city was Cornelis Springer born?", "answer": "[\"Amsterdam\", \"Mokum\", \"Amsterdam, NL\", \"Amsterdam, Netherlands\", \"A'dam\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are Weeze Airport and Lae Nadzab Airport located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Lothrop Stoddard's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\"]", "source": "popqa", "difficulty": "simple"} {"input": "what do you call someone from czech republic", "answer": "Czechs", "source": "nq", "difficulty": "simple"} {"input": "Who was targeted for defrauding the electoral process in Atlee Pomerene's birthplace?", "answer": "the Republicans are willing to do things that are unethical to manipulate elections", "source": "musique", "difficulty": "multi_hop"} {"input": "where was tears dry on their own filmed", "answer": "Los Angeles", "source": "nq", "difficulty": "simple"} {"input": "What did Thuringian miners do to help the country where the man responsible for the actions of the KPA held citizenship?", "answer": "uranium mining was also important to cover the Soviet Union's need for this metal", "source": "musique", "difficulty": "multi_hop"} {"input": "What record label does the songwriter of Umbrella belong to?", "answer": "Roc-A-Fella Records", "source": "musique", "difficulty": "multi_hop"} {"input": "What baseball player hit the only home run of his 212-year major league career off his own brother?", "answer": "Joe Nickro in 1976. Nickro, a pitcher with the Houston Astros, hit a four-bagger off his brother Phil, who was pitching fro the Atlanta Braves. Houston won the game, 4-3", "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to count number of lists in a given list of lists and square the count.", "answer": "def count_list(input_list): \r\n return (len(input_list))**2", "source": "mbpp", "task_id": "858", "test_cases": "assert count_list([[0], [1, 3], [5, 7], [9, 11], [13, 15, 17]])==25\nassert count_list([[1, 3], [5, 7], [9, 11], [13, 15, 17]] )==16\nassert count_list([[2, 4], [[6,8], [4,5,8]], [10, 12, 14]])==9", "difficulty": "code"} {"input": "who plays woody guthrie in alice's restaurant", "answer": "Joseph Boley", "source": "nq", "difficulty": "simple"} {"input": "In what city was Joseph Moncure March born?", "answer": "[\"New York City\", \"NYC\", \"New York\", \"the five boroughs\", \"Big Apple\", \"City of New York\", \"NY City\", \"New York, New York\", \"New York City, New York\", \"New York, NY\", \"New York City (NYC)\"]", "source": "popqa", "difficulty": "simple"} {"input": "what does the zip in zip code stand for", "answer": "Zone Improvement Plan", "source": "nq", "difficulty": "simple"} {"input": "what is the name of ca s o4", "answer": "Calcium sulfate", "source": "nq", "difficulty": "simple"} {"input": "What forensic psychiatrist consulted on numbers cases including one for a contract killer associated with the DeCavalcante crime family?", "answer": "Park Dietz", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Was Cíntia Santos or Kimmo Savolainen born first?", "answer": "Kimmo Savolainen", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In which John Logie Baird invent television?", "answer": ["1920's", "1920s (decade)", "1920s", "1920-1929", "1920–1929", "Twenties", "The Twenties", "Nineteen twenties", "'20s", "1920s literature", "Social issues of the 1920s", "Nineteen-twenties"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Veselin Vujović born?", "answer": "[\"Cetinje\"]", "source": "popqa", "difficulty": "simple"} {"input": "when was the first cabbage patch kid made", "answer": "1982", "source": "nq", "difficulty": "simple"} {"input": "The Swedish-British entertainment studio executive and film executive producer, who was the Executive producer for a 2016 American action thriller film directed by Babak Najafi, currently serve?", "answer": "CEO of Lionsgate UK & Europe", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the date of death of Georges Charpentier's wife?", "answer": "November 30, 1904", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In which year was the University of Alaska Anchorage founded?", "answer": ["1954", "one thousand, nine hundred and fifty-four"], "source": "triviaqa", "difficulty": "simple"} {"input": "George Palmer Putnam, was an American publisher, author and explorer, known for his marriage to who, which American aviation pioneer and author, and was the first female aviator to fly solo across the Atlantic Ocean?", "answer": "Amelia Earhart", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are Sebeș (Cibin) and Putna (Siret) located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "where did the idea of a messiah come from", "answer": "Judaism", "source": "nq", "difficulty": "simple"} {"input": "What county shares border with a second county adjacent to the the third county having Goshen Township?", "answer": "Butler County", "source": "musique", "difficulty": "multi_hop"} {"input": "Who is the current leader of opposition in the country Kampala Mosque is located?", "answer": "Winnie Kiiza", "source": "musique", "difficulty": "multi_hop"} {"input": "Do both films, Marianela (1955 Film) and Arrowhead (1953 Film), have the directors who are from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the name of the Chief Justice of the country where Jirapa Municipal is located?", "answer": "Sophia Akuffo", "source": "musique", "difficulty": "multi_hop"} {"input": "What is C. E. Webber's occupation?", "answer": "[\"playwright\", \"dramatist\", \"playwrite\", \"scriptwriter\"]", "source": "popqa", "difficulty": "simple"} {"input": "What town does Bucklow and Trafford have in common?", "answer": "Partington", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who is the minister of the state encompassing Gopinatham in 2018?", "answer": "H.D. Kumaraswamy", "source": "musique", "difficulty": "multi_hop"} {"input": "Which gold mine is located in the Bridge River District, Bralorne or Dome Mine?", "answer": "Bralorne", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Edward Norton's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Dale Polley born?", "answer": "[\"Georgetown\", \"Georgetown, KY\", \"Georgetown, Kentucky\"]", "source": "popqa", "difficulty": "simple"} {"input": "An edited version of \"Just the Two of Us\" reached number two on the \"Billboard\" Hot 100 behind a song written and composed by Donna Weiss and Jackie DeShannon which spend how many weeks at No. 1 on the \"Billboard\" hot 100?", "answer": "nine", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who is the spouse of the director of Jump for Glory?", "answer": "Miriam Cooper", "source": "musique", "difficulty": "multi_hop"} {"input": "when was mission santa clara de asis rebuilt", "answer": "1929", "source": "nq", "difficulty": "simple"} {"input": "Do director of film The Somme (film) and director of film Tiger Thompson have the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What was Elvis Presley's first album which did not have his name in the title?", "answer": "King Creole", "source": "triviaqa", "difficulty": "simple"} {"input": "what is the origin of the name cynthia", "answer": "Greek", "source": "nq", "difficulty": "simple"} {"input": "where does hill country fare chicken come from", "answer": "H-E-B", "source": "nq", "difficulty": "simple"} {"input": "A 2001 Indian epic sports-drama film starred an actor who was also know for his role in what 1999 movie?", "answer": "Sarfarosh", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When was the Golden Nugget in the city WAJM serves built?", "answer": "1985", "source": "musique", "difficulty": "multi_hop"} {"input": "Who is the general treasurer of the state Mike Cerrone was born in?", "answer": "Seth Magaziner", "source": "musique", "difficulty": "multi_hop"} {"input": "where did little house on the prairie film", "answer": "Paramount studios in Los Angeles", "source": "nq", "difficulty": "simple"} {"input": "What is Anthony Sharp's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did the Oakland Raiders move to the city the performer of 17 worked?", "answer": "1982", "source": "musique", "difficulty": "multi_hop"} {"input": "who is the oldest basketball player currently playing", "answer": "Vince Carter", "source": "nq", "difficulty": "simple"} {"input": "Are both Kandry and Salash-E Disam located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Jayantabhai Ki Luv Story includes a lead role for the film actress and model who is a native of what city?", "answer": "Bihar", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who is the child of the director of film Smashing Through?", "answer": "Roy Kellino", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When a Man Falls in Love, is a 2013 South Korean television series, starring Song Seung-heon, Shin Se-kyung, Chae Jung-an, and which South Korean actor, born on ?", "answer": "July 5, 1984", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which major conflict did the author of The Long Week-End participate in?", "answer": "World War I", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Annie Beustes's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Hariharan Pillai Happy Aanu contains music by which arranger from Kerala?", "answer": "Stephen Devassy", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where did the director of film Guns And Guitars die?", "answer": "Santa Monica", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In which military branch did the Heart to Heart singer serve?", "answer": "British Army", "source": "musique", "difficulty": "multi_hop"} {"input": "Whose father organized the Concert for the People of Kampuchea?", "answer": "James McCartney", "source": "musique", "difficulty": "multi_hop"} {"input": "Who is a cast member on the show where Sophie Ramsay is a character?", "answer": "Tim Phillipps", "source": "musique", "difficulty": "multi_hop"} {"input": "What nationality is the performer of song A Holly Jolly Christmas?", "answer": "American", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "\"Which 60s song starts, \"\"You've got a lot of nerve?\"\"\"", "answer": ["Positively Fourth Street", "Positively 4th Street"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Giovanni Stefano Marucelli born?", "answer": "[\"Florence\", \"Firenze\", \"Florence, Italy\", \"Florence, Tuscany\", \"Florencia\", \"Florentia\", \"Florenz\", \"Firenca\", \"Florencie\", \"Fiuränza\", \"Florentzia\", \"Firense\", \"Firenz\", \"Firenzi\"]", "source": "popqa", "difficulty": "simple"} {"input": "when did the audi a3 have a facelift", "answer": "2016", "source": "nq", "difficulty": "simple"} {"input": "spanish city at the foot of the sierra nevada", "answer": "Granada", "source": "nq", "difficulty": "simple"} {"input": "Which actress plays both Iris Carr in The Lady Vanishes, and Riley Blue in Sense8?", "answer": "Tuppence Middleton", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Iggy Pop's real name?", "answer": ["James Osterberg", "Iggy Pop", "Iggy Stooge", "The Passenger (2007)", "The Passenger (2007 film)", "The Passenger (2008 film)", "James Newell Osterberg", "Iggy Pop Biography", "The Godfather of Punk", "Iggy pop"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which band has more members, Muse or The Raconteurs?", "answer": "The Raconteurs", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What region is the location of SMA Negeri 68 of the city where Afrizal Malna was born?", "answer": "Central Jakarta", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a python function to find the index of smallest triangular number with n digits.", "answer": "import math \r\ndef find_Index(n): \r\n x = math.sqrt(2 * math.pow(10,(n - 1))); \r\n return round(x);", "source": "mbpp", "task_id": "739", "test_cases": "assert find_Index(2) == 4\nassert find_Index(3) == 14\nassert find_Index(4) == 45", "difficulty": "code"} {"input": "What is Nenad Popović's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What did Franz Kafka do for a day job?", "answer": "Worked in insurance", "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Sugar Ray Norcia born?", "answer": "[\"Stonington\", \"Stonington, Connecticut\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which film has the director born earlier, A Man Apart or A Society Sensation?", "answer": "A Society Sensation", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the date of death of the director of film Ballade På Christianshavn?", "answer": "19 November 2005", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who is the American internet entrepreneur who founded the company featured on 24 Hours on Craigslist?", "answer": "Craig Newmark", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Charles Combe's occupation?", "answer": "[\"physician\", \"physicians\", \"medical doctor\", \"medical practitioner\", \"doctor\", \"medical doctors\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did Fatima Bint Mubarak Al Ketbi's husband die?", "answer": "2 November 2004", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to search a literals string in a string and also find the location within the original string where the pattern occurs by using regex.", "answer": "import re\r\npattern = 'fox'\r\ntext = 'The quick brown fox jumps over the lazy dog.'\r\ndef find_literals(text, pattern):\r\n match = re.search(pattern, text)\r\n s = match.start()\r\n e = match.end()\r\n return (match.re.pattern, s, e)", "source": "mbpp", "task_id": "607", "test_cases": "assert find_literals('The quick brown fox jumps over the lazy dog.', 'fox') == ('fox', 16, 19)\nassert find_literals('Its been a very crazy procedure right', 'crazy') == ('crazy', 16, 21)\nassert find_literals('Hardest choices required strongest will', 'will') == ('will', 35, 39)", "difficulty": "code"} {"input": "When do we vote for governor in the state where WJQM is located?", "answer": "November 6, 2018", "source": "musique", "difficulty": "multi_hop"} {"input": "In the Diamonds Are Forever author's birth city, what venue shares a first name with a stadium?", "answer": "Wembley Arena", "source": "musique", "difficulty": "multi_hop"} {"input": "Which film was released more recently, Gautam Govinda or Danur 2: Maddah?", "answer": "Danur 2: Maddah", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What metropolitan area is the birthplace of Richard Hindley a part of?", "answer": "South Hampshire", "source": "musique", "difficulty": "multi_hop"} {"input": "Which film has the director died later, Shootin' For Love or The Other Life Of Captain Contreras?", "answer": "The Other Life Of Captain Contreras", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who was the QB of the team that won the NFL Super Bowl in 2003?", "answer": "Brad Johnson", "source": "musique", "difficulty": "multi_hop"} {"input": "Which film has the director who is older, Stepping Lively or Convict Stage?", "answer": "Stepping Lively", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Aleksandar Madžar born?", "answer": "[\"Bar\", \"Tivar\", \"Tivari\", \"Antivari\", \"Antibari\", \"Stari Bar\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who was the child of the politician that annexed Alsace to the new German Empire in 1871?", "answer": "Herbert von Bismarck", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Pietro Marcenaro's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "where is the mekong river delta located in vietnam", "answer": "southwestern Vietnam", "source": "nq", "difficulty": "simple"} {"input": "Are Long Branch (Troublesome Creek) and Jenipapo River both located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are both Cornell, Wisconsin and Tashkalmashevo located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "The 2010–11 Tour de Ski was the 5th edition of the Tour de Ski and took place from 31 December 2010 to which date, Swiss cross-country skier, Dario Cologna won the Men's class?", "answer": "9 January 2011", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which film has the director who died first, Joe Palooka In The Counterpunch or Hollywood Story?", "answer": "Hollywood Story", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What was the nationality of the athletes killed at the 1972 Munich Olympics?", "answer": ["Israeli people", "Israeli", "Israel/People", "Israelis", "Israeli-Palestinian"], "source": "triviaqa", "difficulty": "simple"} {"input": "Donington School F.C. was an English football club, based in which large village and civil parish in the South Holland district of Lincolnshire, England?", "answer": "Donington, Lincolnshire", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are Concrete Romance and Tatyana'S Day both from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when does season 3 of wanted come out", "answer": "in 2018", "source": "nq", "difficulty": "simple"} {"input": "How many square miles is the city where The Oklahoma School of Science and Mathematics is located?", "answer": "620.34 square miles", "source": "musique", "difficulty": "multi_hop"} {"input": "who presides over the meeting of legislative council", "answer": "President of the Legislative Council", "source": "nq", "difficulty": "simple"} {"input": "Write a function to check if one tuple is a subset of another tuple.", "answer": "def check_subset(test_tup1, test_tup2):\r\n res = set(test_tup2).issubset(test_tup1)\r\n return (res)", "source": "mbpp", "task_id": "651", "test_cases": "assert check_subset((10, 4, 5, 6), (5, 10)) == True\nassert check_subset((1, 2, 3, 4), (5, 6)) == False\nassert check_subset((7, 8, 9, 10), (10, 8)) == True", "difficulty": "code"} {"input": "When did the performer of song Jeepers Creepers (Song) die?", "answer": "July 6, 1971", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "largest and deepest freshwater lake in the world", "answer": "Lake Baikal", "source": "nq", "difficulty": "simple"} {"input": "What nationality is the director of film School Master (2010 Film)?", "answer": "India", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Bob Warlick born?", "answer": "[\"Hickory\", \"Hickory, North Carolina\"]", "source": "popqa", "difficulty": "simple"} {"input": "what is the direction of the rotation of the earth", "answer": "eastward, in prograde motion", "source": "nq", "difficulty": "simple"} {"input": "Feodor Chin voices the character of Zenyatta from a game by a developer an publisher based in what city and state?", "answer": "Irvine, California", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which series was a spin off from the Golden Girls spin-off, Empty Nest?", "answer": ["Nurxing", "Nursing", "Staff nurse", "Nurses", "Flightnurse", "Nursing science", "Staff Nurse", "Nursing skills", "Nursing Officer", "Nursing unit", "Practice of nursing", "Nursing Student", "Nursing staff", "Nursing Science", "Nursing History", "Nursing practice", "Nursed", "Nurse", "Adult nursing", "Nursing care"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to reverse each list in a given list of lists.", "answer": "def reverse_list_lists(lists):\r\n for l in lists:\r\n l.sort(reverse = True)\r\n return lists", "source": "mbpp", "task_id": "889", "test_cases": "assert reverse_list_lists([[1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 11, 12], [13, 14, 15, 16]])==[[4, 3, 2, 1], [8, 7, 6, 5], [12, 11, 10, 9], [16, 15, 14, 13]]\nassert reverse_list_lists([[1,2],[2,3],[3,4]])==[[2,1],[3,2],[4,3]]\nassert reverse_list_lists([[10,20],[30,40]])==[[20,10],[40,30]]", "difficulty": "code"} {"input": "What is Marie Osmond's real first name?", "answer": ["Olives", "Olivey", "Green olives", "European Olive", "Olive trees", "Olive wood", "Olive groves", "Olive (fruit)", "Olive Tree", "Olivetrees", "Black olive", "Olea europea", "Olive-tree", "Olive tree", "Olive (tree)", "Olive grove", "Olive-wood", "Back olive", "Olivetree", "Olive", "Colossal olive", "Black olives", "Olive-trees", "Olive growing", "Olea europaea", "Green olive", "Kalamon (olive)", "The Olive Tree"], "source": "triviaqa", "difficulty": "simple"} {"input": "Are Agzu and Karat, Hormozgan both located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Both Richard and Karen Carpenter came fro which state?", "answer": ["Economy of Connecticut", "Regions In connecticut", "Connecticut locations by per capita income", "Connecticut, United States", "State of Connecticut", "Climate of Connecticut", "Nutmeg State", "Connecticutt", "Connecticuit", "Government of Connecticut", "Connectecut", "Connecticut", "Conecticut", "Geography of Connecticut", "Shorelands Neighborhood", "Connnecticut", "Connetecuit", "Conn.", "Connecticut (state)", "Fifth State", "Sports in Connecticut", "Demographics of Connecticut", "Connectecuit", "Religion in Connecticut", "Education in Connecticut", "Connecticuter", "Conetticut", "Law of Connecticut", "The Constitution State", "Inland Connecticut", "5th State", "Constitution State", "CT, USA", "Connetecut", "Richest Places in Connecticut", "Politics of Connecticut", "The Nutmeg State", "US-CT", "Conneticut", "Connecticut (U.S. state)", "Conneticuit"], "source": "triviaqa", "difficulty": "simple"} {"input": "who plays the vulcan on star trek enterprise", "answer": "Jolene Blalock", "source": "nq", "difficulty": "simple"} {"input": "In between Memphis International Airport and Southwest Georgia Regional Airport which one is in Tennessee?", "answer": "Memphis International Airport", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which band has featured Gregg Rolie, David Brown and Autlan de Bavarro?", "answer": ["Santana (disambiguation)", "Santanta", "Santana"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who was British Prime Minister when World War II broke out?", "answer": ["Neville Chaimberlain", "Arthur Neville Chamberlain", "Neville Chamberlaine", "Arthur neville chamberlain", "Neville Chamberlin", "Neville Chamberlain", "Chamberlain, Neville", "Neville chamberlain", "Nevil Chamberlain"], "source": "triviaqa", "difficulty": "simple"} {"input": "Are both Unfinished Business (2009 Film) and The Reasons Of The Heart from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to find common index elements from three lists.", "answer": "def extract_index_list(l1, l2, l3):\r\n result = []\r\n for m, n, o in zip(l1, l2, l3):\r\n if (m == n == o):\r\n result.append(m)\r\n return result", "source": "mbpp", "task_id": "754", "test_cases": "assert extract_index_list([1, 1, 3, 4, 5, 6, 7],[0, 1, 2, 3, 4, 5, 7],[0, 1, 2, 3, 4, 5, 7])==[1, 7]\nassert extract_index_list([1, 1, 3, 4, 5, 6, 7],[0, 1, 2, 3, 4, 6, 5],[0, 1, 2, 3, 4, 6, 7])==[1, 6]\nassert extract_index_list([1, 1, 3, 4, 6, 5, 6],[0, 1, 2, 3, 4, 5, 7],[0, 1, 2, 3, 4, 5, 7])==[1, 5]", "difficulty": "code"} {"input": "Jordan Fished played the role of John Laurens in which Broadway production?", "answer": "Hamilton", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Switch's occupation?", "answer": "[\"disc jockey\", \"DJ\", \"dee jay\", \"dj\", \"D.J.\", \"disk jockey\", \"dee-jay\", \"deejay\", \"disquaire\", \"discaire\"]", "source": "popqa", "difficulty": "simple"} {"input": "Tulapur is a village in which second largest city in Maharashtra?", "answer": "Pune", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "how and when was knowledge of paper making established in christian europe", "answer": "1282", "source": "nq", "difficulty": "simple"} {"input": "Who got her first big break in Grease 2?", "answer": ["Michelle Phifer", "Michelle Pfeiffer", "Michelle Pfeifer", "Michelle Pfeiffer filmography", "Michelle phiffer", "Michelle Pheiffer", "List of awards and nominations received by michelle pfeiffer", "Michelle Pfieffer"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which country does the airline Norontair come form?", "answer": ["Canada", "Canadá", "The Dominion of Canada", "Commonwealth of Canada", "Dominion of canada", "ISO 3166-1:CA", "Etymology of Canada", "CANADA", "Canadiophile", "Canada's", "ᑲᓇᑕ", "Canada/References", "America's top hat", "Canada.", "Cnada", "Čanada", "Canadian Federation", "Kenadian", "Canadialand", "Xanada", "Dominion of Canada", "Canadaa"], "source": "triviaqa", "difficulty": "simple"} {"input": "who plays andy's brother in the office", "answer": "Josh Groban", "source": "nq", "difficulty": "simple"} {"input": "In which 70s musical did Paul Michael Glaser star?", "answer": ["Fiddler on a Roof", "Fiddler on the roof", "Sprintze", "Fiddler On the Roof", "2 life", "Fiddler On The Roof", "The Fiddler on the Roof", "Fiddler on the Roof", "Fiddler on the reoof", "Anatevka"], "source": "triviaqa", "difficulty": "simple"} {"input": "who won the first season of the voice", "answer": "Javier Colon", "source": "nq", "difficulty": "simple"} {"input": "What is Kyaw Swe's occupation?", "answer": "[\"film director\", \"movie director\", \"director\", \"motion picture director\", \"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to find the occurrences of n most common words in a given text.", "answer": "from collections import Counter\r\nimport re\r\ndef n_common_words(text,n):\r\n words = re.findall('\\w+',text)\r\n n_common_words= Counter(words).most_common(n)\r\n return list(n_common_words)", "source": "mbpp", "task_id": "862", "test_cases": "assert n_common_words(\"python is a programming language\",1)==[('python', 1)]\nassert n_common_words(\"python is a programming language\",1)==[('python', 1)]\nassert n_common_words(\"python is a programming language\",5)==[('python', 1),('is', 1), ('a', 1), ('programming', 1), ('language', 1)]", "difficulty": "code"} {"input": "What state does Sang-Wook Cheong work as a materials scientist?", "answer": "New Jersey", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are Ima Robot and Of Montreal music bands ?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "On which television show does Katie Cassidy play the fictional character, Ruby?", "answer": "Supernatural", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when was the first death wish movie made", "answer": "1974", "source": "nq", "difficulty": "simple"} {"input": "When is the end of monsoon season in the state Charlotte Cortlandt Ellis is from?", "answer": "mid-September", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to combine two given sorted lists using heapq module.", "answer": "from heapq import merge\r\ndef combine_lists(num1,num2):\r\n combine_lists=list(merge(num1, num2))\r\n return combine_lists", "source": "mbpp", "task_id": "943", "test_cases": "assert combine_lists([1, 3, 5, 7, 9, 11],[0, 2, 4, 6, 8, 10])==[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]\nassert combine_lists([1, 3, 5, 6, 8, 9], [2, 5, 7, 11])==[1,2,3,5,5,6,7,8,9,11]\nassert combine_lists([1,3,7],[2,4,6])==[1,2,3,4,6,7]", "difficulty": "code"} {"input": "In what city was Léopold Robert born?", "answer": "[\"La Chaux-de-Fonds\", \"La Chaux-de-Fonds NE\", \"Chaux-de-Fonds\", \"La Chaux de Fonds\", \"La Chaux-de-Fonds (Switzerland)\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the date of death of the director of film For You I Have Sinned?", "answer": "22 October 1995", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Monster born?", "answer": "[\"Hsinchu\", \"Xinzhu\"]", "source": "popqa", "difficulty": "simple"} {"input": "Where is the band that wrote \"The Drug in Me Is You\" based in?", "answer": "Las Vegas, Nevada", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "\"\"\"Last night I dreamt I went to Manderley again,\"\" was the first line of what Daphne du Maurier novel?\"", "answer": ["Rifkah", "Rifko", "Rifka", "Rifkoh", "Ribhqah", "Rivqah", "Rebeccah", "Rebekah", "Rivqa", "Rivko", "Rivka", "Rebbecca", "Rebecca", "Rivkoh"], "source": "triviaqa", "difficulty": "simple"} {"input": "The 2006-07 New Orleans/Oklahoma City Hornets season was the team's 5th in the NBA, the Hornets split their games between the New Orleans Arena and the Ford Center, which multi-purpose indoor arena, located in the city's Central Business District, in New Orleans, Louisiana?", "answer": "Smoothie King Center", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Thomas Jefferson Kaye's occupation?", "answer": "[\"record producer\", \"music producer\", \"singer-songwriter\", \"singer songwriter\", \"singer/songwriter\", \"singersongwriter\", \"singer-songwriter\"]", "source": "popqa", "difficulty": "simple"} {"input": "The city where Lakes International Language Academy is located is in which county?", "answer": "Washington County", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a python function to count the total set bits from 1 to n.", "answer": "def count_Set_Bits(n) : \r\n n += 1; \r\n powerOf2 = 2; \r\n cnt = n // 2; \r\n while (powerOf2 <= n) : \r\n totalPairs = n // powerOf2; \r\n cnt += (totalPairs // 2) * powerOf2; \r\n if (totalPairs & 1) : \r\n cnt += (n % powerOf2) \r\n else : \r\n cnt += 0\r\n powerOf2 <<= 1; \r\n return cnt;", "source": "mbpp", "task_id": "707", "test_cases": "assert count_Set_Bits(16) == 33\nassert count_Set_Bits(2) == 2\nassert count_Set_Bits(14) == 28", "difficulty": "code"} {"input": "How many states are there in the country known as the 'Giant of Africa?'", "answer": "thirty-six", "source": "musique", "difficulty": "multi_hop"} {"input": "who writes the guinness book of world records", "answer": "Ripley Entertainment", "source": "nq", "difficulty": "simple"} {"input": "Are director of film Move (1970 Film) and director of film Méditerranée (1963 Film) from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who sings i can't go for that", "answer": "Hall & Oates", "source": "nq", "difficulty": "simple"} {"input": "Do the movies I Was Monty'S Double (Film) and Vlad Țepeș (Film), originate from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In which county is the home of the National Historic Site honoring the president during the purchase of the state bordered to the north by the Arctic Ocean?", "answer": "Greene County", "source": "musique", "difficulty": "multi_hop"} {"input": "Who released their second album with a band from Louisville, Kentucky?", "answer": "Andrew Bird", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Marina Baker's occupation?", "answer": "[\"Playboy Playmate\", \"Playmate\"]", "source": "popqa", "difficulty": "simple"} {"input": "When was the director of film Ninja Iii: The Domination born?", "answer": "March 13, 1950", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In which year did Tanganyika and Zanzibar merge to form Tanzania?", "answer": ["1964", "one thousand, nine hundred and sixty-four"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Todd Verow's occupation?", "answer": "[\"cinematographer\", \"director of photography\", \"DOP\", \"film director\", \"movie director\", \"director\", \"motion picture director\", \"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a python function to remove spaces from a given string.", "answer": "def remove_spaces(str1):\r\n str1 = str1.replace(' ','')\r\n return str1", "source": "mbpp", "task_id": "678", "test_cases": "assert remove_spaces(\"a b c\") == \"abc\"\nassert remove_spaces(\"1 2 3\") == \"123\"\nassert remove_spaces(\" b c\") == \"bc\"", "difficulty": "code"} {"input": "Which film has the director born later, After Earth or Banta ng Kahapon?", "answer": "After Earth", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which Robin was the first yachtsman to sail non-stop around the world?", "answer": "Knox-Johnson", "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Ray Strauss born?", "answer": "[\"Perth\", \"Perth, Western Australia\", \"Perth, Australia\", \"Perth, W.A.\"]", "source": "popqa", "difficulty": "simple"} {"input": "Of all the countries in the 2002 World Cup winner's continent, the one providing the most legal immigrants in 2013 had a 2017 presidential election won by whom?", "answer": "Lenín Moreno", "source": "musique", "difficulty": "multi_hop"} {"input": "A Head Full of Dreams Tour is the seventh tour by Coldplay, and which had it's first show at a stadium that is known as Estadio Unico and is owned by who?", "answer": "Province of Buenos Aires", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "At which laboratory was Carsten Olsen employed as an assistant to the Danish chemist who introduced the concept of pH?", "answer": "Carlsberg Laboratory", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What mosaic inside the main church of Florence is attributed to Gaddo Gaddi?", "answer": "Coronation of the Virgin", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are both directors of films My Dear Muthachan and The Mysterious X from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when's the last time the los angeles dodgers won the world series", "answer": "1988", "source": "nq", "difficulty": "simple"} {"input": "What profession does Am Rong and Alexandre Rockwell have in common?", "answer": "filmmaker", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which of these has its entrance in Piyer Loti Caddesi, Hagia Sophia or Theodosius Cistern?", "answer": "Theodosius Cistern", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "what is the blue liquid in barber shop", "answer": "Barbicide", "source": "nq", "difficulty": "simple"} {"input": "Do director of film Miss Lovely and director of film Good Will Hunting have the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where was the father of Benjamin Franklin Bache (Journalist) born?", "answer": "Settle", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who was the first person to win the Indianapolis 500 six times?", "answer": ["Al Unser Snr", "Al Unser", "Al Unser Senior", "Al Unser, Sr.", "Al Unser Sr.", "Al Unser Sr"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Bogdan Andone born?", "answer": "[\"Aiud\", \"Nagyenyed\", \"Straßburg am Mieresch\"]", "source": "popqa", "difficulty": "simple"} {"input": "In which Bond film did Britt Ekland appear?", "answer": ["The Man with the Golden Gun", "The man with the golden gun", "The Man with the Golden Gun (disambiguation)", "TMWTGG", "Man with the golden gun", "The Man With the Golden Gun", "The Man With The Golden Gun"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Diane Keaton's real name?", "answer": ["Diane Hall", "Diane Keaton filmography", "Dianne Keaton", "Diane Keaton", "List of awards and nominations received by Diane Keaton"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who discovered the country Tepuka is located in?", "answer": "Álvaro de Mendaña", "source": "musique", "difficulty": "multi_hop"} {"input": "What new residential powers did Eric O'Neill's employer now have?", "answer": "search a house while the residents are away", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the date of birth of Michael Cobb's wife?", "answer": "21 April 1946", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What southern California based band covered Blue Öyster Cult's Godzilla?", "answer": "Fu Manchu", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What kind of activity are the niche-themed products Bookchase and San Marco?", "answer": "board game", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who did the professional tennis player currently ranked World No. 1 in men's singles defeat in the 2017 Barcelona Open Banco Sabadell - Singles?", "answer": "Dominic Thiem", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Roger McCardell born?", "answer": "[\"Baltimore County\", \"County of Maryland\", \"Baltimore County, Maryland\"]", "source": "popqa", "difficulty": "simple"} {"input": "The era during which the use of the first ass instruments began started in what area of the continent where the mouth of the Tikhaya Sosna is located?", "answer": "seemingly in Italy", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Fritz Goos's occupation?", "answer": "[\"astronomer\", \"physicist\"]", "source": "popqa", "difficulty": "simple"} {"input": "When was the director of film Western Jamboree born?", "answer": "July 21, 1899", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the capital of the archipelago where Djoièzi is located?", "answer": "Moroni", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who won icc t 20 world cup 2016", "answer": "West Indies", "source": "nq", "difficulty": "simple"} {"input": "who plays the little girl in miracle on 34th street 1994", "answer": "Mara Wilson", "source": "nq", "difficulty": "simple"} {"input": "The Terror of the Monster was an early title for a best-selling novel which inspired one of the highest-grossing movies of the mid-70's. Under what name did it eventually terrify the reading and film going public?", "answer": ["Jaws (software)", "Jaws", "Jaws (disambiguation)", "JAWS"], "source": "triviaqa", "difficulty": "simple"} {"input": "What finally knocked One Sweet Day off the No 1 position in the charts in the 90s?", "answer": "Because You Loved Me", "source": "triviaqa", "difficulty": "simple"} {"input": "What is John Strange's occupation?", "answer": "[\"diplomat\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Jaswant Singh of Marwar born?", "answer": "[\"Jodhpur\"]", "source": "popqa", "difficulty": "simple"} {"input": "The mother of the vice chair of Hillary Clinton's 2016 campaign for President is the director of what institue?", "answer": "Institute of Muslim Minority Affairs", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "which phase of healing begins about 3 weeks after injury", "answer": "the maturation phase", "source": "nq", "difficulty": "simple"} {"input": "Where was the place of death of the director of film Beyond Justice?", "answer": "Rome", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Meg is an upcoming American film staring a former what?", "answer": "MTV VJ", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Jurgis Karnavičius born?", "answer": "[\"Vilnius\", \"Vilna\", \"Wilno\", \"Vilne\", \"Wilna\", \"Viļņa\", \"Vilnia\", \"Vilno\", \"Vilnyus\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Nigel Sheinwald's occupation?", "answer": "[\"diplomat\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to exchange the position of every n-th value with (n+1)th value and (n+1)th value with n-th value in a given list.", "answer": "from itertools import zip_longest, chain, tee\r\ndef exchange_elements(lst):\r\n lst1, lst2 = tee(iter(lst), 2)\r\n return list(chain.from_iterable(zip_longest(lst[1::2], lst[::2])))", "source": "mbpp", "task_id": "648", "test_cases": "assert exchange_elements([0,1,2,3,4,5])==[1, 0, 3, 2, 5, 4] \nassert exchange_elements([5,6,7,8,9,10])==[6,5,8,7,10,9] \nassert exchange_elements([25,35,45,55,75,95])==[35,25,55,45,95,75] ", "difficulty": "code"} {"input": "Write a function to find the nth delannoy number.", "answer": "def dealnnoy_num(n, m): \r\n\tif (m == 0 or n == 0) : \r\n\t\treturn 1\r\n\treturn dealnnoy_num(m - 1, n) + dealnnoy_num(m - 1, n - 1) + dealnnoy_num(m, n - 1)", "source": "mbpp", "task_id": "934", "test_cases": "assert dealnnoy_num(3, 4) == 129\nassert dealnnoy_num(3, 3) == 63\nassert dealnnoy_num(4, 5) == 681", "difficulty": "code"} {"input": "What is the place of birth of the composer of film Kazhukan?", "answer": "Kerala", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the date of death of the director of film Shocking Asia?", "answer": "3 April 1998", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who sang up where we belong with the singer singing the theme song to wonder years?", "answer": "Jennifer Warnes", "source": "musique", "difficulty": "multi_hop"} {"input": "How many children work year round in the continent where the river the Tekeze river turns into is located?", "answer": "estimated 25,000", "source": "musique", "difficulty": "multi_hop"} {"input": "Which Iowa-born artist painted American Gothic and Spring Turning?", "answer": ["Grant DeVolson Wood", "Grant Wood"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the place of birth of Edward Francis Fitzwilliam's father?", "answer": "Holborn", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the country whose capital and largest city is the birth place of this American musician and record producer Tomo Miličević?", "answer": "Bosnia and Herzegovina", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Kalevi Kull born?", "answer": "[\"Tartu\", \"Dorpat\", \"Dörpt\", \"Derpt\", \"Tarbatu\", \"Jurjev\", \"Tartto\", \"Tartus\"]", "source": "popqa", "difficulty": "simple"} {"input": "Where did Idi Amin rule from 1971-1979?", "answer": ["Ugandese", "Ugandans", "Republic of uganda", "Ouganda", "ISO 3166-1:UG", "Republic of Uganda", "People of Uganda", "Ugandan people", "Uganda", "Ugandan", "The Republic of Uganda"], "source": "triviaqa", "difficulty": "simple"} {"input": "Where was the director of film The Fascist born?", "answer": "Rome", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the place of birth of Nayla Moawad's husband?", "answer": "Zgharta", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which professional American football team based in Ohio did Ivan \"John\" Jurkovic play for?", "answer": "Cleveland Browns", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Arturo Marino Benitez international airport is in which country?", "answer": ["ISO 3166-1:CL", "Cxilio", "Cile", "Etymology of Chile", "Republic of Chile", "Chilean Republic", "State of Chile", "Chile", "Name of Chile", "República de Chile", "Chilé"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Donald Trump's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\", \"socialite\", \"prominent person\", \"real estate development\", \"property development\", \"Real estate development\", \"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\", \"business magnate\", \"businessperson\", \"tycoon\", \"magnate\"]", "source": "popqa", "difficulty": "simple"} {"input": "John and Mary Evans of Alaska grew the world's biggest what?", "answer": ["Brocolli", "Brocoli", "Italica Group", "Broccli", "Sprouting broccoli", "Purple sprouting broccoli", "Broccoli", "Broccholi"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Ken Irvin born?", "answer": "[\"Rome\", \"Rome, Georgia\"]", "source": "popqa", "difficulty": "simple"} {"input": "Where did the Dakota tribe live in the place where Christina Yang went in season 9?", "answer": "central Minnesota", "source": "musique", "difficulty": "multi_hop"} {"input": "Who is younger, Andrea Vaturi or Hamdan Bin Rashid Al Maktoum?", "answer": "Andrea Vaturi", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Erik Pedersen born?", "answer": "[\"Porsgrunn\"]", "source": "popqa", "difficulty": "simple"} {"input": "a touch of frost season 5 episode 4", "answer": "\"No Other Love\"", "source": "nq", "difficulty": "simple"} {"input": "In what city was Aarno Maliniemi born?", "answer": "[\"Oulu\", \"Uleåborg\", \"Uleaborg\"]", "source": "popqa", "difficulty": "simple"} {"input": "who was the second president to be impeached", "answer": "Clinton", "source": "nq", "difficulty": "simple"} {"input": "In what city was Hank Autry born?", "answer": "[\"Hattiesburg\", \"Hattiesburg, Mississippi\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city did Duane Swank get his PhD?", "answer": "Evanston, Illinois", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who wrote God Bless America?", "answer": ["Ellin Mackay", "Irving Berlin", "Marie (Irving Berlin song)", "I Love a Piano", "Israel Baline", "Israel Isadore Baline", "Israel Isidore Baline"], "source": "triviaqa", "difficulty": "simple"} {"input": "How did James F Fixx, promoter of jogging for good health, die in 1984?", "answer": "Heart attack while jogging", "source": "triviaqa", "difficulty": "simple"} {"input": "Which veteran actress Katharine was the first actress to win four Oscars?", "answer": ["Hepburn (disambiguation)", "Hepburn"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the current official currency in the country where Metropolitan University is found?", "answer": "United States dollar", "source": "musique", "difficulty": "multi_hop"} {"input": "where does raisin in the sun take place", "answer": "South Side, Chicago", "source": "nq", "difficulty": "simple"} {"input": "Write a python function to remove even numbers from a given list.", "answer": "def remove_even(l):\r\n for i in l:\r\n if i % 2 == 0:\r\n l.remove(i)\r\n return l", "source": "mbpp", "task_id": "824", "test_cases": "assert remove_even([1,3,5,2]) == [1,3,5]\nassert remove_even([5,6,7]) == [5,7]\nassert remove_even([1,2,3,4]) == [1,3]", "difficulty": "code"} {"input": "Are both movies, A Ménesgazda and Brooklyn (Film), from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "the made for television biopic Ishi: The Last of His Tribe based on Alfred L. Kroeber is about what tribe?", "answer": "the Yahi tribe", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Mary Sanders born?", "answer": "[\"Toronto\", \"City of Toronto\", \"The Six\", \"T-O\", \"The 416\", \"Hogtown\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the place of birth for the performer of Digital Works?", "answer": "Pittsburgh", "source": "musique", "difficulty": "multi_hop"} {"input": "Prince William, Duke of Gloucester and Prince George of Denmark, were eventually monarchs of which Kingdom?", "answer": "Great Britain", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who sings the marriage of figaro in shawshank redemption", "answer": ["Edith Mathis", "Gundula Janowitz"], "source": "nq", "difficulty": "simple"} {"input": "where is the main famine effected continent in the world", "answer": "Africa", "source": "nq", "difficulty": "simple"} {"input": "Who was born first out of France Adamič and Gary Gabelich?", "answer": "France Adamič", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which city is the American rock band, that released their album on March 19, 2012, from?", "answer": "Albuquerque, New Mexico", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where was the place of death of the director of film Kuberan (2000 Film)?", "answer": "Singapore", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who had a 50s No 1 with Stagger Lee?", "answer": "Lloyd Price", "source": "triviaqa", "difficulty": "simple"} {"input": "In which county and state is Mel Dinelli's place of birth?", "answer": "Bernalillo County, New Mexico", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Fernando García born?", "answer": "[\"Santiago\", \"Santiago de Chile\", \"Santiago, Chile\"]", "source": "popqa", "difficulty": "simple"} {"input": "\"Shakespeare wrote that \"\"brevity is the soul of wit.\"\" What did noted wit Dorothy Parker say it was?\"", "answer": "The soul of lingerie", "source": "triviaqa", "difficulty": "simple"} {"input": "Who had a big 60s No 1 with Tossin' and Turnin'?", "answer": "Bobby Lewis", "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to remove all characters except letters and numbers using regex", "answer": "import re \r\ndef remove_char(S):\r\n result = re.sub('[\\W_]+', '', S) \r\n return result", "source": "mbpp", "task_id": "727", "test_cases": "assert remove_char(\"123abcjw:, .@! eiw\") == '123abcjweiw'\nassert remove_char(\"Hello1234:, ! Howare33u\") == 'Hello1234Howare33u'\nassert remove_char(\"Cool543Triks@:, Make@987Trips\") == 'Cool543TriksMake987Trips' ", "difficulty": "code"} {"input": "Do both directors of films Over The Edge (Film) and Code Of The Saddle share the same nationality?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What percent of the sub-Saharan African nation that has the most trade with the U.S. has HIV as of 2012?", "answer": "3.1 percent", "source": "musique", "difficulty": "multi_hop"} {"input": "what is the legal age for drinking alcohol in australia", "answer": "18", "source": "nq", "difficulty": "simple"} {"input": "When was the owner of Punch Bowl together with Guy Ritchie born?", "answer": "August 16, 1958", "source": "musique", "difficulty": "multi_hop"} {"input": "When did Henry Reginald Courtenay (Mp)'s father die?", "answer": "6 October 1735", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where was the place of death of Toma Barbu Socolescu's father?", "answer": "Bucharest", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Did Terence Davies and Richard Wallace have the same nationality?", "answer": "no", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What was the last name of Judy in radio's A Date With Judy series?", "answer": ["Foster (disambiguation)", "Fostered", "Foster"], "source": "triviaqa", "difficulty": "simple"} {"input": "Into the Labyrinth was only was later shown in the United States as part of a program whose featurettes focused on characters with what?", "answer": "psychic abilities", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "what is the term for a leavened arabic flat bread", "answer": ["Khubz Burr", "Khubz al-nokhalah", "Khubz Asmr"], "source": "nq", "difficulty": "simple"} {"input": "Where was the developer of the theory of pangenesis educated?", "answer": "University of Edinburgh", "source": "musique", "difficulty": "multi_hop"} {"input": "when is it revealed that luke and leia are siblings", "answer": "In Return of the Jedi", "source": "nq", "difficulty": "simple"} {"input": "what is the legal age to get a tattoo in virginia", "answer": "18 years or older", "source": "nq", "difficulty": "simple"} {"input": "who wrote the lyrics to you've got a friend", "answer": "Carole King", "source": "nq", "difficulty": "simple"} {"input": "What is the name of the Darth Vader-to-be in the Star Wars Prequel, Episode 1?", "answer": ["The Hero With No Fear", "Dark Vador", "Immaculate Conception (Star Wars)", "Immaculate Conception (star wars)", "Dark Vader", "Anikin Skywalker", "Anakin star wars", "Dark Vator", "Dawth Vader", "Takeshi Martinez", "Ani (Star Wars)", "Lord Darth Vader", "Luke's father", "Dath vader", "Aniken", "Lord Vader", "Anakin skywalker", "Anakin Skywalker/Darth Vader", "Vader's", "Lord Fener", "Darth Wader", "Anakyn", "Darth Fener", "Darth Vader's helmet", "Ani Skywalker", "Hero With No Fear", "Anakin Skywalker", "Darth Vader", "Darth Vadar", "Anakin Skywalker and Darth Vader", "Darth vade", "Dart Fener", "Darth Vador", "The Son of the Suns", "Anakin Starkiller", "Darth Vadir", "Darth vader"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what year was the company that co-developed and distributed the BlackBerry DTEK60 founded?", "answer": "1984", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a python function to find even numbers from a mixed list.", "answer": "def Split(list): \r\n ev_li = [] \r\n for i in list: \r\n if (i % 2 == 0): \r\n ev_li.append(i) \r\n return ev_li", "source": "mbpp", "task_id": "629", "test_cases": "assert Split([1,2,3,4,5]) == [2,4]\nassert Split([4,5,6,7,8,0,1]) == [4,6,8,0]\nassert Split ([8,12,15,19]) == [8,12]", "difficulty": "code"} {"input": "In what year was the performer of Ao Vivo no Theatro Municipal born?", "answer": "1985", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Lloyd Ultan born?", "answer": "[\"New York City\", \"NYC\", \"New York\", \"the five boroughs\", \"Big Apple\", \"City of New York\", \"NY City\", \"New York, New York\", \"New York City, New York\", \"New York, NY\", \"New York City (NYC)\"]", "source": "popqa", "difficulty": "simple"} {"input": "Where are the San Juan mountains in the state where KRST is located?", "answer": "northwestern New Mexico", "source": "musique", "difficulty": "multi_hop"} {"input": "Which 2017 Indian crime action film includes the song Zaalima written by Amitabh Bhattacharya?", "answer": "Raees", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "where is the cadbury creme egg factory located in england", "answer": "Birmingham", "source": "nq", "difficulty": "simple"} {"input": "what is the primary type of mining that takes place under the bolivian mountain", "answer": "silver", "source": "nq", "difficulty": "simple"} {"input": "Man In The Mirror first featured on which Michel Jackson album?", "answer": ["Bad (disambiguation)", "Bad (song)", "Bad", "BAD", "BAD (disambiguation)", "Badness"], "source": "triviaqa", "difficulty": "simple"} {"input": "How much time did Jonah spend in the belly of the whale?", "answer": "Three days and three nights", "source": "triviaqa", "difficulty": "simple"} {"input": "Do both Something Always Happens and The Great Impersonation (1921 film) films have the directors from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "most points in la liga in a season", "answer": "100", "source": "nq", "difficulty": "simple"} {"input": "In England, who was Princess Diana referring to when she said her marriage was ' a bit crowded?'", "answer": ["Camilla Windsor", "The Duchess of Rothesay", "Duchess Camilla of Cornwall", "Camilla, Princess of Wales", "Camilla, The Princess of Wales", "Princess Camilla of Wales", "Camilla Parker-Bowles", "Camilla, Countess of Carrick", "Camillia bowles", "Camilla, the Duchess of Cornwall", "Camillagate", "Camilla, Princess Consort", "Princess Camilla", "Lady Camilla", "Camilla Shand", "HRH Princess Charles", "The Princess Charles", "Camilla Mountbatten-Windsor", "Camilla parker bowles", "HM The Duchess of Cornwall", "Camilla of Cornwall", "Camilla, Duchess of Rothesay", "Camilla Parker Bowles", "Camilla, The Duchess of Cornwall", "Parker Pole", "Camilla, The Duchess of Rothesay", "The Duchess of Cornwall", "Camilla, Duchess of Cornwall", "Camilla, Baroness Renfrew", "HRH The Princess Charles", "Cam The Ham", "Duchess of Cornwall Camilla", "HRH The Duchess of Rothesay", "Princess Charles", "Camilla Bowles", "Camilla Parker", "Camilla (Duchess of Cornwall)", "Camilla, duchess of cornwall", "Duchess Camilla", "Camilla, Countess of Chester", "Camilla Rosemary Shand", "Duchess Camilla of Rothesay", "HRH The Duchess of Cornwall", "Camilla-Parker Bowles"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which Confederate general failed to capture the Union fort in the city with Neyland Stadium?", "answer": "James Longstreet", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Karl Wilhelm Rosenmund born?", "answer": "[\"Berlin\", \"Berlin, Germany\", \"Berlin (Germany)\", \"DE-BE\"]", "source": "popqa", "difficulty": "simple"} {"input": "who starred in breakfast at tiffany's 1961", "answer": ["Buddy Ebsen", "Martin Balsam", "Mickey Rooney", "George Peppard", "Audrey Hepburn", "Patricia Neal"], "source": "nq", "difficulty": "simple"} {"input": "What was the first British-trained horse to run in the Kentucky Derby?", "answer": "Bold Arrangement", "source": "triviaqa", "difficulty": "simple"} {"input": "when did the dog from turner and hooch die", "answer": "1992", "source": "nq", "difficulty": "simple"} {"input": "what weight is conor mcgregor and mayweather fighting at", "answer": "light-middleweight", "source": "nq", "difficulty": "simple"} {"input": "Who is the father of the composer of film Naanum Rowdy Dhaan?", "answer": "Ravi Raghavendra", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In which year was this international arms smuggler who was the subject of the 2014 documentary film \"The Notorious Mr. Bout\" born?", "answer": "1967", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when did south korea have the summer olympics", "answer": "1988", "source": "nq", "difficulty": "simple"} {"input": "Do both directors of films The French Lieutenant'S Woman (Film) and The Arrest Of A Pickpocket have the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Lisa Miller born?", "answer": "[\"United States of America\", \"the United States of America\", \"America\", \"U.S.A.\", \"USA\", \"U.S.\", \"US\", \"the US\", \"the USA\", \"US of A\", \"the United States\", \"U. S. A.\", \"U. S.\", \"the States\", \"the U.S.\", \"'Merica\", \"U.S\", \"United States\", \"'Murica\"]", "source": "popqa", "difficulty": "simple"} {"input": "Ghostbusters is a song written and recorded by Ray Parker Jr. as the theme song for a movie starring a Canadian-American actor who was an original member of the Not Ready for Prime Time Players on what show?", "answer": "Saturday Night Live", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the debt-toGDP ratio of the country that contains Girei.", "answer": "11 percent", "source": "musique", "difficulty": "multi_hop"} {"input": "By what name is the brahmaputra known in Bangladesh and the traditional homeland of Monpa, Qiang and Lhoba peoples?", "answer": "Tsangpo - Brahmaputra", "source": "musique", "difficulty": "multi_hop"} {"input": "When did the director of film Her Own Free Will die?", "answer": "17 January 1954", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Barbara Jordan and Mark Knowles are both what?", "answer": "former tennis player", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who is the sibling of the performer of Decade?", "answer": "Astrid Young", "source": "musique", "difficulty": "multi_hop"} {"input": "Where in Australia was swashbuckling Errol Flynn born?", "answer": ["UN/LOCODE:AUHBA", "Capital of Tasmania", "Hobart", "Hobart, Australia", "Hobart, Tasmania", "Hobart, AU-TAS", "Hobart , Australia", "Hobart Function & Conference Centre", "Hobart Town", "Hobart Pubs and Bars", "Hobart Town, Tasmania"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who did Dick Van Dyke play in The Dick Van Dyke Show?", "answer": ["Sally Rogers (The Dick Van Dyke Show)", "Dick van dyke show", "Laura Petrie", "The Dick Van Dyke Show", "%22Buddy%22 Sorrell", "Dick Van Dyke Show", "Buddy Sorrell", "Sally Rogers (The Dick Van Dyke Show character)", "Head of the Family (TV pilot)", "Sally Rogers (character)", "Dick van Dyke Show", "Rob Petrie", "The Dick van Dyke Show", "The Dick Van Dyke Show Revisited"], "source": "triviaqa", "difficulty": "simple"} {"input": "when is the litany of the saints sung", "answer": "at the Easter Vigil", "source": "nq", "difficulty": "simple"} {"input": "US-born Adulyadej Bhumibol became king of which Asian country?", "answer": ["Muang Thai", "Taihland", "ISO 3166-1:TH", "Thai Empire", "Prathet Thai", "Muang-Thai", "Kingdom of Thailand", "Skateboarding in Thailand", "THAILAND", "Siam", "Sport in Thailand", "Etymology of Thailand", "Thayland", "Name of Thailand", "The Kingdom Of Thailand", "เมืองไทย", "Thailand", "ราชอาณาจักรไทย", "Sayam", "Thailande", "Siam (Thailand)", "ประเทศไทย", "Kingdom Of Thailand", "Tailand", "Thai Kingdom", "Ratcha Anachak Thai", "Kingdom of the Thai"], "source": "triviaqa", "difficulty": "simple"} {"input": "who scored the most goals in a single nhl game", "answer": "Joe Malone", "source": "nq", "difficulty": "simple"} {"input": "Who fought George Foreman in the Rumble In The Jungle?", "answer": ["Float like a butter fly sting like a bee", "Louisville lip", "Ali shuffle", "Float like a butterfly and sting like a bee", "Cassius Marcellus Clay Junior", "Muhummad Ali", "Maryum Ali", "Cassius X", "Cassius Marcellus Clay, Junior", "Louisville Lip", "Muhammad Ali", "Muhammud Ali", "Khalilah 'Belinda' Ali", "Cassius Clay Junior", "Float like a butterfly sting like a bee", "Muhammad Ali (boxer)", "Cassius Marcellus Clay, Jr.", "Sonji Roi", "Ale Muhammad", "Cassius Marcellus Clay, Jr", "Cassius Marcellus Clay Jr.", "Cassius Marcellus Clay (Muhammad Ali)", "Cassius Clay, Junior", "Mohammed Alì", "Cassius Marcellus Clay Jr", "Muhamad Ali", "Yolanda Williams", "I am the greatest!", "Ali, Muhammad", "Cassius Clay", "Muhammet ali", "Yolanda 'Lonnie' Ali", "I am the greatest", "Cassius Clay, Jr.", "Muhammed Ali", "Cassius Clay Jr", "Cassius clay", "Lonnie Ali", "Cassius Clay, Jr", "May May"], "source": "triviaqa", "difficulty": "simple"} {"input": "In which country are the towns of Gweru and Kwekwe?", "answer": ["Zimbobwe", "Health care in Zimbabwe", "Zimbabwean cultural practices", "People of Zimbabwe", "Republic of Zimbabwe", "Zimbabwean legends", "Zimbabwae", "Zimbabwian", "Republic Of Zimbabwe", "Cuisine of Zimbabwe", "Zimbabwean cuisine", "ZWE", "Zimbabwei", "Zimbabwe", "Etymology of Zimbabwe", "ISO 3166-1:ZW", "Republic Zimbabwe", "Zimbawean", "Zimbabwean", "Name of Zimbabwe", "Chimpabwe"], "source": "triviaqa", "difficulty": "simple"} {"input": "Thomas Marshal was Vice President to which US President?", "answer": ["Thomas W. Wilson", "President wilson", "Wilson, Woodrow", "Thomas Woodrow Wilson", "Woodrow wilson", "Presidency of Woodrow Wilson", "President Woodrow Wilson", "President Wilson's", "T Woodrow Wilson", "W. Wilson", "Woodrow Wilson's", "Woodrow Wilson", "Wildrow Woodson", "President Wilson", "28th President of the United States", "T. Woodrow Wilson"], "source": "triviaqa", "difficulty": "simple"} {"input": "what is the tallest building in new york called", "answer": "One World Trade Center", "source": "nq", "difficulty": "simple"} {"input": "where is the piano found in an orchestra", "answer": "A concerto", "source": "nq", "difficulty": "simple"} {"input": "Who is the current Chief Justice of the country where the Achwa river is found?", "answer": "Bart Magunda Katureebe", "source": "musique", "difficulty": "multi_hop"} {"input": "what war broke out after texas became the 28th state", "answer": "the Mexican–American War", "source": "nq", "difficulty": "simple"} {"input": "Who operates the Embassy of Northern Cyprus, in the city that the Turkish Angora cat is named after?", "answer": "Turkish Republic of Northern Cyprus", "source": "musique", "difficulty": "multi_hop"} {"input": "What is George Lewis's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to find area of a sector.", "answer": "def sector_area(r,a):\r\n pi=22/7\r\n if a >= 360:\r\n return None\r\n sectorarea = (pi*r**2) * (a/360)\r\n return sectorarea", "source": "mbpp", "task_id": "746", "test_cases": "assert sector_area(4,45)==6.285714285714286\nassert sector_area(9,45)==31.82142857142857\nassert sector_area(9,360)==None", "difficulty": "code"} {"input": "Are the directors of films Disturbia (film) and Nemesis (1992 film) both from the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Szymon Kataszek born?", "answer": "[\"Warsaw\", \"Warszawa\", \"Varshe\", \"Warschau\", \"Varshava\", \"Varšava\", \"Varsó\", \"Varsavia\", \"Varsovie\", \"Varsovia\", \"Varšuva\"]", "source": "popqa", "difficulty": "simple"} {"input": "Where were the 2004 Summer Olympic Games held?", "answer": ["Athina", "Athēnai", "Athens", "Athénes", "Атина", "Atina, Greece", "Municipality of Athens", "Athens (municipality)", "Athens, Modern Diocese of", "Athens (Greece)", "Capital of Greece", "Athina, Greece", "Athènes", "GRATH", "Athens, Greece", "Αθήνα", "Greece Athens", "Gulf of Athens", "Modern Athens", "Athenian", "Agrae", "Travel athens", "City of Athens", "Athens Municipality", "Athenes", "Athenai", "Ἀθῆναι", "UN/LOCODE:GRATH", "Athenians", "Athence", "Atenás", "Athína", "Athínai"], "source": "triviaqa", "difficulty": "simple"} {"input": "Are Whole Wheat Bread (band) and Dreamscape (band) both from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who won o'reilly auto parts 500 in 2017", "answer": "Jimmie Johnson", "source": "nq", "difficulty": "simple"} {"input": "Who is credited with inventing the Tarzan yodel?", "answer": ["Johnny Weismuller", "Weissmuller", "Johnny Weissmueller", "Johnny Weissmuller", "Johnny Weissmüller", "Johann Peter Weißmüller", "John Weissmuller"], "source": "triviaqa", "difficulty": "simple"} {"input": "\"What couple live next door to Dagwood and Blondie Bumstead in \"\"Blondie\"\"?\"", "answer": "Herb and Tootsie Woodley", "source": "triviaqa", "difficulty": "simple"} {"input": "Write a python function to find the last position of an element in a sorted array.", "answer": "def last(arr,x,n):\r\n low = 0\r\n high = n - 1\r\n res = -1 \r\n while (low <= high):\r\n mid = (low + high) // 2 \r\n if arr[mid] > x:\r\n high = mid - 1\r\n elif arr[mid] < x:\r\n low = mid + 1\r\n else:\r\n res = mid\r\n low = mid + 1\r\n return res", "source": "mbpp", "task_id": "793", "test_cases": "assert last([1,2,3],1,3) == 0\nassert last([1,1,1,2,3,4],1,6) == 2\nassert last([2,3,2,3,6,8,9],3,8) == 3", "difficulty": "code"} {"input": "Who is the artist of The Scarlet Letter and debdebuted on the music scene as Missy Elliott's protégée?", "answer": "Cynthia Karen Loving", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which British general was killed at Khartoum in 1885?", "answer": ["Gordon (disambiguation)", "Gordon", "Gordon (name)", "Gordons"], "source": "triviaqa", "difficulty": "simple"} {"input": "the first collaboration of richard rodgers and oscar hammerstein ii was", "answer": "Oklahoma!", "source": "nq", "difficulty": "simple"} {"input": "Which NASA space probe was launched to Venus in 1989?", "answer": ["Magellan", "Magellan (disambiguation)", "List of things named after Ferdinand Magellan", "List of things named for Ferdinand Magellan", "Magellen", "List of places named for Fedinand Magellan", "List of places named for Ferdinand Magellan"], "source": "triviaqa", "difficulty": "simple"} {"input": "where did ac/dc get their band name", "answer": "alternating current/direct current", "source": "nq", "difficulty": "simple"} {"input": "Write a function to find the maximum sum that can be formed which has no three consecutive elements present.", "answer": "def max_sum_of_three_consecutive(arr, n): \r\n\tsum = [0 for k in range(n)] \r\n\tif n >= 1: \r\n\t\tsum[0] = arr[0] \r\n\tif n >= 2: \r\n\t\tsum[1] = arr[0] + arr[1] \r\n\tif n > 2: \r\n\t\tsum[2] = max(sum[1], max(arr[1] + arr[2], arr[0] + arr[2])) \r\n\tfor i in range(3, n): \r\n\t\tsum[i] = max(max(sum[i-1], sum[i-2] + arr[i]), arr[i] + arr[i-1] + sum[i-3]) \r\n\treturn sum[n-1]", "source": "mbpp", "task_id": "661", "test_cases": "assert max_sum_of_three_consecutive([100, 1000, 100, 1000, 1], 5) == 2101\nassert max_sum_of_three_consecutive([3000, 2000, 1000, 3, 10], 5) == 5013\nassert max_sum_of_three_consecutive([1, 2, 3, 4, 5, 6, 7, 8], 8) == 27", "difficulty": "code"} {"input": "Which country Raymond Hackett's wife is from?", "answer": "American", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when do they stop measuring crown to rump", "answer": "later in pregnancy", "source": "nq", "difficulty": "simple"} {"input": "Which member of The A Team played Clubber Lang in Rocky III?", "answer": ["Tero, Lawrence", "Mr T", "Mr.t", "MR. T", "Mister T", "Mr. T", "Jibba jabba", "MR T", "Lawrence Tureaud", "Lawrence Tero", "Laurence Tureaud", "Mister Tee", "Mr.T", "Laurence Tero", "I pity the fool (catchphrase)", "Mr. T."], "source": "triviaqa", "difficulty": "simple"} {"input": "at present who is the speaker of lok sabha", "answer": "Sumitra Mahajan", "source": "nq", "difficulty": "simple"} {"input": "What year did the the German composer whose compositions are in The Individualism of Gil Evans die?", "answer": "1950", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who funds the bowling team that includes the school bus driver for Springfield Elementary School?", "answer": "Mr. Burns", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Calabar international airport is in which country?", "answer": ["Nigerian Independence", "Ìjọba-Àpapọ̀ Orílẹ̀-èdè Naìjírìà", "Nigérie", "Nigeeria", "Nigéria", "Nigerias agriculture", "Nigerië", "Chawaka", "Crime in Nigeria", "NGR", "Nigèria", "Nigeria", "Ethnic groups of Nigeria", "Nicheria", "Nigerie", "Nigeriya", "Nigerija", "Naija", "Kufai, Nigeria", "Nigerian sport", "Naìjírìà", "Ijoba-Apapo Orile-ede Naijiria", "Naigeria", "Sport in Nigeria", "Nijeriya", "Negeria", "Republic nde Naigeria", "Western Region, Nigeria", "Niiseriya", "Orílẹ̀-èdè Olómìnira Àpapọ̀ Nàìjíríà", "South-west Nigeria", "Republik Nijeriya", "Population in nigeria 2009", "ISO 3166-1:NG", "Jamhuriyar Taraiyar Nijeriya", "Naíjíríà", "Republik Federaal bu Niiseriya", "Agoi", "Naijiria", "Nixeria", "Conseil de Salut National", "Nàìjíríà", "Federal Republic of Nigeria"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Şeref Has born?", "answer": "[\"Istanbul\", \"İstanbul\"]", "source": "popqa", "difficulty": "simple"} {"input": "who does wolverine fight at the end of origins", "answer": "Weapon XI", "source": "nq", "difficulty": "simple"} {"input": "When did the manufacturer of the Koksan gun split from the country that produced the film The Face Reader?", "answer": "1953", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Amir Syamsuddin born?", "answer": "[\"Makassar\", \"Ujungpandang\", \"Kota Makassar\", \"Macassar\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Tadhg Dall Ó hUiginn's occupation?", "answer": "[\"poet\", \"poetess\", \"bard\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Isabelle Adriani's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\", \"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are A Tiger Walks and A Kid in King Arthur's Court both family films?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Throne of Glass is a young adult high fantasy novel series, by which bestselling American fantasy author?", "answer": "Sarah Janet Maas", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When did Henry Iv, Duke Of Brabant's mother die?", "answer": "23 October 1273", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who is older, Vincent Walker or David Usher?", "answer": "David Usher", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "For which movie did Meryl Streep win her first Oscar?", "answer": ["Kramer v kramer", "Kramer versus Kramer", "Ted Kramer", "Kramer v Kramer", "Joanna Kramer", "Kramer v. kramer", "Kramer vs. Kramer", "Kramer vs Kramer", "Kramer vs kramer", "Kramer Vs. Kramer", "Kramer v. Kramer", "Kramer vs. kramer"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Jean-Yves Daniel-Lesur's occupation?", "answer": "[\"composer\", \"organist\", \"organ player\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Billy Joel's occupation?", "answer": "[\"composer\", \"pianist\", \"singer-songwriter\", \"singer songwriter\", \"singer/songwriter\", \"singersongwriter\", \"singer-songwriter\"]", "source": "popqa", "difficulty": "simple"} {"input": "The San Diego Gulls are a professional ice hockey team in the American Hockey League (AHL) which began playing in the 2015–16 season, the Gulls play their home games at which indoor arena located at Sports Arena Blvd in Point Loma, San Diego?", "answer": "Valley View Casino Center", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "where does the tip of a picc line end", "answer": "the superior vena cava", "source": "nq", "difficulty": "simple"} {"input": "biggest lake in the us borders which states", "answer": ["Ontario", "Wisconsin", "Michigan", "Minnesota"], "source": "nq", "difficulty": "simple"} {"input": "Who founded the knighthood in which Gino Cassinis was part of?", "answer": "Luigi Einaudi", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "where do springs form with respect to the water table", "answer": "hillsides", "source": "nq", "difficulty": "simple"} {"input": "What is a staple food in the country where the Sino-Nepalese War occurred?", "answer": "yak meat", "source": "musique", "difficulty": "multi_hop"} {"input": "Which lawyer made Raymond Burr famous?", "answer": ["Perry Mason (film)", "Perry mason", "Perry Mason: The Case of the Defiant Daughter", "Perry Mason"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to count repeated items of a tuple.", "answer": "def count_tuplex(tuplex,value): \r\n count = tuplex.count(value)\r\n return count", "source": "mbpp", "task_id": "929", "test_cases": "assert count_tuplex((2, 4, 5, 6, 2, 3, 4, 4, 7),4)==3\nassert count_tuplex((2, 4, 5, 6, 2, 3, 4, 4, 7),2)==2\nassert count_tuplex((2, 4, 7, 7, 7, 3, 4, 4, 7),7)==4", "difficulty": "code"} {"input": "In what city was Johann Heinrich Roos born?", "answer": "[\"Otterberg\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Francis Howard, 5th Baron Howard of Effingham's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "The Nike Mercurial Vapor is a football shoe worn by which Colombian striker?", "answer": "Carlos Arturo Bacca Ahumada", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Bill Cosby had a professional trial in which sport?", "answer": ["FOOTBALL", "History of football", "Games called football", "FootBall", "Football games", "Modern codes of football", "Football", "Footbal", "Foot ball", "Foot Ball", "Foot-ball", "Football move", "Football's", "Football rules", "History of football games", "Football code", "Foot-Ball", "Football (Group of Sports)", "Football (elliptical)", "Football codes"], "source": "triviaqa", "difficulty": "simple"} {"input": "who gave foreword to mulk raj anands untouchable", "answer": "E. M. Forster", "source": "nq", "difficulty": "simple"} {"input": "What are the biggest terrorist attacks by the Islamic terrorist group Bush said began the war on terror against the country Castle Island is located in?", "answer": "the 9/11 attacks", "source": "musique", "difficulty": "multi_hop"} {"input": "how many times peyton been to super bowl", "answer": "four", "source": "nq", "difficulty": "simple"} {"input": "In what city was Billy Carlson born?", "answer": "[\"San Diego\", \"San Diego, California\", \"SD\", \"America's Finest City\", \"Sandi\", \"the birthplace of California\"]", "source": "popqa", "difficulty": "simple"} {"input": "when was the last time baltimore had a republican mayor", "answer": "1967", "source": "nq", "difficulty": "simple"} {"input": "who are the quad city river bandits affiliated with", "answer": "Houston Astros", "source": "nq", "difficulty": "simple"} {"input": "What is the date of death of the director of film Railroaded!?", "answer": "April 29, 1967", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who is the girl who sings like a g6", "answer": ["Dev", "Devin Star Tailes"], "source": "nq", "difficulty": "simple"} {"input": "Born on the Fourth of July is a 1989 American biographical war drama film based on the best-selling autobiography of the same name by which Vietnam War veteran, and an American anti-war activist, writer, and former United States Marine Corps sergeant, who was wounded and paralyzed?", "answer": "Ronald Lawrence \"Ron\" Kovic", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where is the blue mosque located in the country where Borcak is found?", "answer": "Istanbul", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the date of birth of the director of film The Venetian Woman?", "answer": "28 June 1922", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "the vedic period in india is marked by the development of", "answer": "large, urbanised states", "source": "nq", "difficulty": "simple"} {"input": "What is the date of death of the director of film Don'T Make Waves?", "answer": "December 22, 1993", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who was born first, Tanya Donelly or Trace Cyrus?", "answer": "Tanya Donelly", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Benazir Bhutto's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What was the name of the world's first nuclear-powered submarine?", "answer": ["Nautilus", "Nautilid", "Nautili", "Nautilidae", "Eutrephoceratidae", "Nautilus (zoology)"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the literacy rate in the main city near where Guerra was assassinated?", "answer": "98%", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to find the median of two sorted arrays of same size.", "answer": "def get_median(arr1, arr2, n):\r\n i = 0\r\n j = 0\r\n m1 = -1\r\n m2 = -1\r\n count = 0\r\n while count < n + 1:\r\n count += 1\r\n if i == n:\r\n m1 = m2\r\n m2 = arr2[0]\r\n break\r\n elif j == n:\r\n m1 = m2\r\n m2 = arr1[0]\r\n break\r\n if arr1[i] <= arr2[j]:\r\n m1 = m2\r\n m2 = arr1[i]\r\n i += 1\r\n else:\r\n m1 = m2\r\n m2 = arr2[j]\r\n j += 1\r\n return (m1 + m2)/2", "source": "mbpp", "task_id": "622", "test_cases": "assert get_median([1, 12, 15, 26, 38], [2, 13, 17, 30, 45], 5) == 16.0\nassert get_median([2, 4, 8, 9], [7, 13, 19, 28], 4) == 8.5\nassert get_median([3, 6, 14, 23, 36, 42], [2, 18, 27, 39, 49, 55], 6) == 25.0", "difficulty": "code"} {"input": "Why did the director of film An Angel From Texas die?", "answer": "heart attack", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who was born first, Makarios Djan or Janiel Simon?", "answer": "Makarios Djan", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Jomo Kenyatta was born into which tribe?", "answer": ["Gikuyu", "Kikuyu (disambiguation)", "Gĩkũyũ (disambiguation)", "Kikuyu", "Gikuyu (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Joachim Olsen born?", "answer": "[\"Aalborg\", \"Ålborg\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Pyotr Lavrov's occupation?", "answer": "[\"philosopher\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the distance by bullet train between Shanghai and the city that used to be called Khanbaliq?", "answer": "1,318 - kilometre", "source": "musique", "difficulty": "multi_hop"} {"input": "How many Jews live in the country where Canto de amor's screenwriter is a citizen?", "answer": "180,000-300,000", "source": "musique", "difficulty": "multi_hop"} {"input": "Are both Cheshmeh-Ye Sargdar and Zargar-E Barzand located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where was the first H bomb exploded in 1952?", "answer": ["Eniwetok Atoll", "Engebi Island", "Eniewetok Atoll", "Runit Dome", "Engebi", "Einwetok", "Eniwetok", "Cactus Dome", "Enewetok Atoll", "Eniwetak", "Enewetok", "Enewatak", "Parry Island (Pacific)", "Eniewetok", "Enewetak Atoll", "Eniwetok Proving Ground", "Enewetak atoll", "Enewetak", "Bogon Islet"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a python function to find the minimun number of subsets with distinct elements.", "answer": "def subset(ar, n): \r\n res = 0\r\n ar.sort() \r\n for i in range(0, n) : \r\n count = 1\r\n for i in range(n - 1): \r\n if ar[i] == ar[i + 1]: \r\n count+=1\r\n else: \r\n break \r\n res = max(res, count) \r\n return res", "source": "mbpp", "task_id": "953", "test_cases": "assert subset([1, 2, 3, 4],4) == 1\nassert subset([5, 6, 9, 3, 4, 3, 4],7) == 2\nassert subset([1, 2, 3 ],3) == 1", "difficulty": "code"} {"input": "Which brand shop in Beverly Center is based in Maranello ?", "answer": "Ferrari", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Mohd Sharkar Shamsudin's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Peter Murnoy's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "In the 1940s, the University of North Carolina was founded at Charlotte and where else?", "answer": ["Wilmington (disambiguation)", "Wilmington"], "source": "triviaqa", "difficulty": "simple"} {"input": "minnesota twins logo what does the c stand for", "answer": "Cities", "source": "nq", "difficulty": "simple"} {"input": "Which magazine is published in the United Kingdom, Bella or Al Jamila?", "answer": "Bella", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a python function to multiply all items in the list.", "answer": "def multiply_list(items):\r\n tot = 1\r\n for x in items:\r\n tot *= x\r\n return tot", "source": "mbpp", "task_id": "919", "test_cases": "assert multiply_list([1,-2,3]) == -6\nassert multiply_list([1,2,3,4]) == 24\nassert multiply_list([3,1,2,3]) == 18", "difficulty": "code"} {"input": "Which capital city was the scene of a major summit between Reagan and Gorbachev in 1986?", "answer": ["Nightlife in Reykjavik", "Reykjavic, Iceland", "Raykjavík", "Reykjavík, Iceland", "Reykjavik City", "ReykjavÌk", "Reykjavíkurborg", "Nightlife in Reykjavík", "Reykjavik/Nightlife", "Reykjavík/Nightlife", "Bay of Smokes", "Rvik", "Districts of Reykjavík", "Reyjkavik", "Nightlive in Reykjavik", "UN/LOCODE:ISREY", "Capital of Iceland", "Kjósarsýsla", "Visitreykjavik.is", "Reykjavík City", "Reykjavik.is", "Nightlive in Reykjavík", "Rekyavik", "Rejkyavik", "ReykjavIk", "Reykjav%5CxC3%5CxADk", "Reykjávik", "Rejkjavik", "Rejavik", "Reykjavik, Iceland", "Reykjavik", "Reykavik", "Rejykavik", "Reykyavik", "Reykjavic", "Atlantic/Reykjavik", "Reykjavík", "Rvík", "Raykjavik", "Revkjavik", "Rekjavik"], "source": "triviaqa", "difficulty": "simple"} {"input": "Are both lakes, Mary Lake (Ontario) and Lago Di Fimon, located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Emmanuel Biron born?", "answer": "[\"Lyon\", \"Lyons\", \"Commune-Affranchie\"]", "source": "popqa", "difficulty": "simple"} {"input": "The Bass Rock Lighthouse was next to what Castle?", "answer": "Tantallon Castle", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "James Mulgrew is the star of which comedy sketch show?", "answer": "And There's More", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where did Lamprocles's father die?", "answer": "Athenian", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Anne Brusletto born?", "answer": "[\"Geilo\"]", "source": "popqa", "difficulty": "simple"} {"input": "Were Mick Wallace and Justin Van Tergouw from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Zijah Sokolović born?", "answer": "[\"Sarajevo\", \"City of Sarajevo\"]", "source": "popqa", "difficulty": "simple"} {"input": "where do ruby throated hummingbirds go in winter", "answer": "Central America", "source": "nq", "difficulty": "simple"} {"input": "What happened upon the removal from power of the WWI ruler of the country that Ulyanovsk Oblast is a subject of?", "answer": "the Russian Provisional Government was established.", "source": "musique", "difficulty": "multi_hop"} {"input": "Which publishing company has published Bizarre and a sister publication devoted to the anomalous phenomena popularised by Charles Fort?", "answer": "Dennis Publishing", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Jonas Salk developed the Salk vaccine against which disease?", "answer": ["Acute poliomyelitis", "Abortive poliomyelitis", "Polio", "Heine-Medin's disease", "Poliomyelitis, bulbar", "Debility of the lower extremities", "Poliomyletis", "Acute anterior poliomyelitis", "Heine-Medin disease", "Bulbar poliomyelitis", "Infantile Paralysis", "Paralytic polio", "Poliomyelitiss", "Paralytic poliomyelitis", "Poliomyelitis", "Poliomyelitis, paralytic", "Bulbar polio", "Poliomylitis", "Infantile paralysis"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which film has the director born later, A Flame In My Heart or Butcher, Baker, Nightmare Maker?", "answer": "A Flame In My Heart", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which film has the director died later, The Virtuous Scoundrel or Barbary Coast Gent?", "answer": "Barbary Coast Gent", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Hawthorne James's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Sudarshan Faakir's occupation?", "answer": "[\"lyricist\", \"singer-lyricist\"]", "source": "popqa", "difficulty": "simple"} {"input": "where is the gathering of the juggalos being held this year", "answer": "Oklahoma City, Oklahoma", "source": "nq", "difficulty": "simple"} {"input": "who does patrick stewart play in star trek", "answer": "Captain Jean-Luc Picard", "source": "nq", "difficulty": "simple"} {"input": "Write a function to remove sublists from a given list of lists, which are outside a given range.", "answer": "def remove_list_range(list1, leftrange, rigthrange):\r\n result = [i for i in list1 if (min(i)>=leftrange and max(i)<=rigthrange)]\r\n return result", "source": "mbpp", "task_id": "869", "test_cases": "assert remove_list_range([[2], [0], [1, 2, 3], [0, 1, 2, 3, 6, 7], [9, 11], [13, 14, 15, 17]],13,17)==[[13, 14, 15, 17]]\nassert remove_list_range([[2], [0], [1, 2, 3], [0, 1, 2, 3, 6, 7], [9, 11], [13, 14, 15, 17]],1,3)==[[2], [1, 2, 3]]\nassert remove_list_range([[2], [0], [1, 2, 3], [0, 1, 2, 3, 6, 7], [9, 11], [13, 14, 15, 17]],0,7)==[[2], [0], [1, 2, 3], [0, 1, 2, 3, 6, 7]]", "difficulty": "code"} {"input": "What was the fourth Alien film called?", "answer": ["Alien iv", "Alien - Resurrection", "USM Auriga", "Alien 4", "Alien Resurrection", "Alien: Resurrection", "Alien Ressurrection", "Alien Ressurection", "Annalee Call", "Ellen Ripley Clone", "Alien:Resurection"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who had an 80s No 1 with Don't You Want Me?", "answer": ["The Human League", "The League Unlimited Orchestra", "The Dead Daughters", "The Future (band)", "League unlimited orchestra", "Human League"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the date of birth of the performer of song Iconic (Song)?", "answer": "August 16, 1958", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "The 1895/96 Football League season was the eighth in Football League history with Everton, their Goodison Park home, is a football stadium located in Walton, Liverpool, in which country?", "answer": "England", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which tennis player won more Grand Slam titles, Henri Leconte or Jonathan Stark?", "answer": "Jonathan Stark", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "what is the cast of big bang theory paid", "answer": "$1 million", "source": "nq", "difficulty": "simple"} {"input": "When did the country concerned with Russia capturing Constantinople take control of the country where the most australopithecus fossils have been found?", "answer": "1909", "source": "musique", "difficulty": "multi_hop"} {"input": "When was the season of Grey's Anatomy where Shepherd dies filmed?", "answer": "filming for the eleventh season would begin on July 25, 2014", "source": "musique", "difficulty": "multi_hop"} {"input": "What subject was studied in the city where the House of Wisdom was held?", "answer": "Islamic mathematics", "source": "musique", "difficulty": "multi_hop"} {"input": "who starred in the movie deep water horizon", "answer": ["Kurt Russell", "Dylan O'Brien", "John Malkovich", "Kate Hudson", "Gina Rodriguez", "Mark Wahlberg"], "source": "nq", "difficulty": "simple"} {"input": "Tura Beach, New South Wales is a suburb of a town that had what population at the 2016 census?", "answer": "3,544", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who is koba in dawn of the planet of the apes", "answer": "Toby Kebbell", "source": "nq", "difficulty": "simple"} {"input": "Write a function to multiply the adjacent elements of the given tuple.", "answer": "def multiply_elements(test_tup):\r\n res = tuple(i * j for i, j in zip(test_tup, test_tup[1:]))\r\n return (res)", "source": "mbpp", "task_id": "726", "test_cases": "assert multiply_elements((1, 5, 7, 8, 10)) == (5, 35, 56, 80)\nassert multiply_elements((2, 4, 5, 6, 7)) == (8, 20, 30, 42)\nassert multiply_elements((12, 13, 14, 9, 15)) == (156, 182, 126, 135)", "difficulty": "code"} {"input": "On which film was Three Men and a Baby based?", "answer": ["Trois Hommes et un Couffin", "3 Hommes et un couffin", "3 hommes et un couffin", "Three Men and a Cradle", "Trois hommes et un couffin", "3 Hommes et un Couffin", "Trois Hommes et un couffin"], "source": "triviaqa", "difficulty": "simple"} {"input": "at present in which state is the nathulla pass", "answer": "the Indian state of Sikkim", "source": "nq", "difficulty": "simple"} {"input": "When did the director of film The First Mass die?", "answer": "23 November 1982", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "what was the another name for masuli patnam", "answer": "Machilipatnam", "source": "nq", "difficulty": "simple"} {"input": "Write a function to find the occurrence and position of the substrings within a string.", "answer": "import re\r\ndef occurance_substring(text,pattern):\r\n for match in re.finditer(pattern, text):\r\n s = match.start()\r\n e = match.end()\r\n return (text[s:e], s, e)", "source": "mbpp", "task_id": "773", "test_cases": "assert occurance_substring('python programming, python language','python')==('python', 0, 6)\nassert occurance_substring('python programming,programming language','programming')==('programming', 7, 18)\nassert occurance_substring('python programming,programming language','language')==('language', 31, 39)", "difficulty": "code"} {"input": "Who played Charlie Chaplin in Richard Attenborough's 1992 film?", "answer": ["Yucatan (film)", "Yucatán (film)", "Downey jr", "Robert Downey Jr.", "The Accidental Genius", "Robert Downey, Jr", "The Entire History of You (film)", "Robert Downey Jr", "Robert downey junior", "Robert Downey Junior", "The Accidental Genius (film)", "Emergency! (film)", "Robert Downey, Jr."], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Alan Huckle's occupation?", "answer": "[\"diplomat\"]", "source": "popqa", "difficulty": "simple"} {"input": "Ron Bower and John Williams set a speed record for going round the world in a what?", "answer": ["🚁", "Helicopters", "Civilian helicopter", "Pescara (helicopter)", "Cargo helicopter", "Copter", "Helecopter", "List of deadliest helicopter crashes", "Helichopper", "Helocopter", "Cargo Helicopter", "Helicopter", "Helicoptor", "Anatomy of a helicopter"], "source": "triviaqa", "difficulty": "simple"} {"input": "what is the top speed of a yamaha blaster", "answer": "50-60 mph", "source": "nq", "difficulty": "simple"} {"input": "Which country does the airline Air Pacific come from?", "answer": ["Fiji Islands", "Pacific/Fiji", "Fidji", "Matanitu Ko Viti", "Fijis", "Fijian Islands", "Feejee", "Ripablik ăph Phījī", "Cannibal Isles", "Sovereign Democratic Republic of Fiji", "ISO 3166-1:FJ", "Name of Fiji", "Etymology of Fiji", "Fiji Islander", "Holidays in fiji", "Fiji's", "Republic of the Fiji Islands", "Matanitu Tugalala o Viti", "Fiji Archipelago", "Fiji Island", "Fidji Islands", "Chikoba", "Holidays in Fiji", "Tourism in Fiji", "Fiji", "Republic of Fiji"], "source": "triviaqa", "difficulty": "simple"} {"input": "In which month is horse racing's Melbourne Cup held?", "answer": ["The month of November", "Novemeber", "Noviembre", "November 31", "㋊", "9ber", "31 November", "Coyovembyote", "November", "Nobember"], "source": "triviaqa", "difficulty": "simple"} {"input": "Are both movies, Polly Pocket: Lunar Eclipse and Mafia (2002 Film), from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the nationality of the actor who starred as Rene Russo's husband in the 1997 movie \"Buddy\"?", "answer": "Scottish", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who played jimmy in high school musical 3", "answer": "Matthew Prokop", "source": "nq", "difficulty": "simple"} {"input": "What is Lewis J. Rachmil's occupation?", "answer": "[\"film producer\", \"movie producer\", \"producer\"]", "source": "popqa", "difficulty": "simple"} {"input": "when is tornado season in the united states", "answer": "March through June", "source": "nq", "difficulty": "simple"} {"input": "When is the director of film The Virginian (1923 Film) 's birthday?", "answer": "February 22, 1893", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "where does the surname janse van rensburg come from", "answer": "South African", "source": "nq", "difficulty": "simple"} {"input": "Where was the composer of film Marikkunnilla Njan born?", "answer": "Kulathupuzha", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In which town or city was General Motors founded?", "answer": ["Flint michigan", "Flint, mi", "Flint Michigan", "Flint, Michigan", "Flint, MI", "Downtown Flint", "Downtown Flint, Michigan", "Flint, Mich.", "Flint mi"], "source": "triviaqa", "difficulty": "simple"} {"input": "Logan Lerman starred in which 2017 drama directed by Shawn Christensen?", "answer": "Sidney Hall", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who was the former wife of the American musician who led the band Kings of Rhythm?", "answer": "Tina Turner", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the population ranking of the city where the courthouse named after the place of birth of James Glisson can be found, in the country where Snowden Ashford is a citizen?", "answer": "12th", "source": "musique", "difficulty": "multi_hop"} {"input": "What nationality is the performer of song Orange Sky (Song)?", "answer": "British", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the date of death of Theuderic I's father?", "answer": "27 November 511", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who has been appointed as the new chancellor of nalanda university", "answer": "Dr. Vijay Pandurang Bhatkar", "source": "nq", "difficulty": "simple"} {"input": "Write a function to sort a list of dictionaries using lambda function.", "answer": "def sorted_models(models):\r\n sorted_models = sorted(models, key = lambda x: x['color'])\r\n return sorted_models", "source": "mbpp", "task_id": "939", "test_cases": "assert sorted_models([{'make':'Nokia', 'model':216, 'color':'Black'}, {'make':'Mi Max', 'model':2, 'color':'Gold'}, {'make':'Samsung', 'model': 7, 'color':'Blue'}])==[{'make': 'Nokia', 'model': 216, 'color': 'Black'}, {'make': 'Samsung', 'model': 7, 'color': 'Blue'}, {'make': 'Mi Max', 'model': 2, 'color': 'Gold'}]\nassert sorted_models([{'make':'Vivo', 'model':20,'color':'Blue'},{'make': 'oppo','model':17,'color':'Gold'},{'make':'Apple','model':11,'color':'red'}])==([{'make':'Vivo', 'model':20,'color':'Blue'},{'make': 'oppo','model':17,'color':'Gold'},{'make':'Apple','model':11,'color':'red'}])\nassert sorted_models([{'make':'micromax','model':40,'color':'grey'},{'make':'poco','model':60,'color':'blue'}])==([{'make':'poco','model':60,'color':'blue'},{'make':'micromax','model':40,'color':'grey'}])", "difficulty": "code"} {"input": "Who choreographed the first performance of Copland's Rodeo?", "answer": ["Agnes Demille", "Ballets by Agnes de Mille", "Agnes De Mille", "Agnes deMille", "Agnes George de Mille", "Agnes de Mille", "Agnes DeMille", "Agnes de mille"], "source": "triviaqa", "difficulty": "simple"} {"input": "In which decade did motor car pioneer Henry Ford die?", "answer": ["The Forties", "1940–1949", "%6040s", "1940s", "Nineteen-forties", "1940s literature", "'40s", "1940-1949", "1940's", "1940s (decade)"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is William Watson's occupation?", "answer": "[\"physician\", \"physicians\", \"medical doctor\", \"medical practitioner\", \"doctor\", \"medical doctors\"]", "source": "popqa", "difficulty": "simple"} {"input": "what is the difference between a 1931 and a 1932 ford", "answer": "V8 engine", "source": "nq", "difficulty": "simple"} {"input": "Who became the founder of public relations after dropping out of the college that employed the man who declared the American frontier \"closed\" in 1893?", "answer": "Basil Clarke", "source": "musique", "difficulty": "multi_hop"} {"input": "when was the north american free trade agreement signed", "answer": "December 17, 1992", "source": "nq", "difficulty": "simple"} {"input": "feast day of our lady of perpetual succour", "answer": "June 27", "source": "nq", "difficulty": "simple"} {"input": "Who recorded a live performance at the broadcasting corporation that employs Will Hanrahan?", "answer": "Fleetwood Mac", "source": "musique", "difficulty": "multi_hop"} {"input": "Are Carfury and Albu Shahbaz located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are director of film Vai Pandal and director of film Under Electric Clouds from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Statistician Walter Francis Willcox received three degrees from a local college in Massachusetts. Which college?", "answer": "Amherst College", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In which theatre of New York City did a play, described as Marxism but using the figure from a Christmas pantomime in the United Kingdom, perform?", "answer": "Adelphi Theatre", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When was full statehood status achieved in the area where Joniawas is located?", "answer": "1 November 1966", "source": "musique", "difficulty": "multi_hop"} {"input": "According to the series when was the Cheers bar founded?", "answer": ["1895", "one thousand, eight hundred and ninety-five"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Martyn Liadov born?", "answer": "[\"Moscow\", \"Moskva\", \"Moscow, Russia\", \"Moskva Federal City, Russia\", \"Moscow, USSR\", \"Moskva, Russia\", \"City of Moscow\", \"Moscow, Russian Federation\", \"Moscow, Soviet Union\", \"Moscow, Russian SFSR\", \"Muscovite\", \"Moscovite\"]", "source": "popqa", "difficulty": "simple"} {"input": "After retiring as a player, with what team did baseball great Babe Ruth spend one year as a coach?", "answer": "The Brooklyn Dodgers in 1938", "source": "triviaqa", "difficulty": "simple"} {"input": "Peter Nichol became the first Brit in 25 years to win the British open in which sport?", "answer": ["Squash (disambiguation)", "Squash", "Squashes"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the best known song of the artist who originally recorded the song \"A Thousand Times a Day\"?", "answer": "He Stopped Loving Her Today", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who skippered Stars & Stripes in the America's Cup in 1987 and 1988?", "answer": "Dennis Conner", "source": "triviaqa", "difficulty": "simple"} {"input": "What is the cause of death of director of film Tai-Pan (Film)?", "answer": "pulmonary fibrosis", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What American composer who died in 1978 was associated with an American Opera Company located in Jackson, Mississippi?", "answer": "William Grant Still", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which season of American Idol featured the Ur So Gay composer as a guest judge?", "answer": "season nine", "source": "musique", "difficulty": "multi_hop"} {"input": "Who worked for both the Security Service and the Secret Intelligence Service, and began writing novels under his pen name, Audre Lorde or John le Carré?", "answer": "David John Moore Cornwell", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Irving Amen born?", "answer": "[\"New York City\", \"NYC\", \"New York\", \"the five boroughs\", \"Big Apple\", \"City of New York\", \"NY City\", \"New York, New York\", \"New York City, New York\", \"New York, NY\", \"New York City (NYC)\"]", "source": "popqa", "difficulty": "simple"} {"input": "who composed the music for jana gana mana", "answer": "Rabindra Nath Tagore", "source": "nq", "difficulty": "simple"} {"input": "What was the hometown of Sgt. Snorkel in Beetle Bailey?", "answer": "Pork Corners, Kansas", "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Izaskun Zubizarreta Gerendiain born?", "answer": "[\"Oiartzun\"]", "source": "popqa", "difficulty": "simple"} {"input": "The actor who played Jack Geller in Friends was married once to which superstar?", "answer": "Elliott Gould married Barbra Streisand", "source": "triviaqa", "difficulty": "simple"} {"input": "Are Burning Daylight: The Adventures of 'Burning Daylight' in Alaska and Jericho (1937 film) from the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What percent of the world's uranium oxide is produced by the country that claims the place Horse Block is located, other than Britain?", "answer": "2.1%", "source": "musique", "difficulty": "multi_hop"} {"input": "Which British actor's autobiography was called What's It All About?", "answer": ["Micheal Caine", "Maurice Joseph Micklewhite", "Sir Maurice Joseph Micklewhite, Jr.", "Micheal caine", "Caine, Michael", "Sir Maurice Joseph Micklewhite", "Mike Caine", "Maurice Micklewhite", "Sir Michael Caine", "Michael cane", "Michael Maurice Micklewhite", "Michael caine", "Maurice J. Micklewhite", "Cained", "Michael Cane", "Maurice Joseph Micklewhite, Jr.", "Michael Caine", "Sir Michael Caine, CBE"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which film came out first, Dc Super Hero Girls: Hero Of The Year or Americas In Transition?", "answer": "Americas In Transition", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Vehicles from which country use the international registration letter S?", "answer": ["Swedish sin", "Swea Region", "Sverige", "Swedish origin", "Schweden", "Kingdom of Sweden", "SWEDEN", "Etymology of Sweden", "Mainland Sweden", "Konungariket Sverige", "Ulf Bergman", "Swedish climate", "Sweden", "Climate of Sweden", "ISO 3166-1:SE", "Sveden", "Suecia", "Swedish realm", "Zweden"], "source": "triviaqa", "difficulty": "simple"} {"input": "What nationality is the director of film The Sin Of Harold Diddlebock?", "answer": "American", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "where did the congregation of holy cross begin", "answer": "Le Mans, France", "source": "nq", "difficulty": "simple"} {"input": "Which national park, famous for aboriginal rock paintings, is near Darwin?", "answer": ["Kakadu National Park (Stage 2)", "Kakadu National Park", "Kakadu National Park (Stage 1)", "Kakadu national park"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Pete Larson born?", "answer": "[\"Wilmington\", \"Wilmington, Delaware\", \"Wilmington, DE\"]", "source": "popqa", "difficulty": "simple"} {"input": "When was the director of film Private Hell 36 born?", "answer": "October 26, 1912", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who played the lone ranger in the 1950s", "answer": "Clayton Moore", "source": "nq", "difficulty": "simple"} {"input": "who won the oscar for best actor in 2006", "answer": "Philip Seymour Hoffman", "source": "nq", "difficulty": "simple"} {"input": "who has won the 2017 men's single australian open tennis tournament", "answer": "Roger Federer", "source": "nq", "difficulty": "simple"} {"input": "Which 1968 sci fi classic was based on The Sentinel by Arthur C Clarke?", "answer": ["2001 A Space Odyssey", "2001: A space odessey", "2001:A Space Odyssey", "2001asa", "2001 - A Space Odyssey", "2001: A Space Odyssey", "2001 Space Oddessey", "2001 A Space Odessey", "2001 A space odyssey", "2001 a space odyssey", "2001: A Space Odeyssy", "A Space odyssey", "A space odessey", "2001:A Space Odessey", "2001 Space Odyssey", "2001 space odessey", "2001 a space odessey", "2001: A Space Odessey", "A Space Odyssey", "2001 a space oddessy", "A Space Odessey", "2001 a Space Odyssey", "2001: a space odessey", "A space odyssey", "2001:A space Odyssey", "A space Odyssey", "2001: Space Odyssey", "A Space odessey", "A space Odessey"], "source": "triviaqa", "difficulty": "simple"} {"input": "when do real housewives of orange county start", "answer": "July 10, 2017", "source": "nq", "difficulty": "simple"} {"input": "\"What one word was intentionally left out of the movie version of Mario Puzo's novel, \"\"The Godfather\"\". even though this word was the working title of the book?\"", "answer": ["Mob (crime)", "M O F I A", "M.O.F.I.A.", "M. O. F. I. A.", "The M. A. F. I. A.", "Mafias", "MAFFIA", "Internet mafia", "The Mafia", "M A F F I A", "Mafia Game", "The Mofia", "The M.A.F.F.I.A.", "The M.A.F.I.A.", "The M.O.F.I.A.", "MAFIA", "The M O F I A", "The M. O. F. I. A.", "M A F I A", "M. A. F. I. A.", "Moffia", "The Maffia", "M.A.F.I.A.", "The M. A. F. F. I. A.", "Mofia", "The M. O. F. F. I. A.", "M O F F I A", "Mafia", "Maffias", "The M O F F I A", "The M A F F I A", "M. O. F. F. I. A.", "M.O.F.F.I.A.", "Moffias", "The M.O.F.F.I.A.", "The Moffia", "Mofias", "The M A F I A"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Clarrie Millar born?", "answer": "[\"Adelaide\", \"Greater Adelaide\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which company was responsible for the oil spill in New York harbor in 1990?", "answer": ["Standard Oil New Jersey", "Exxon Company", "Exxon", "Jersey Standard", "EXXon", "Exxon Research and Engineering Company", "Esso Petroleum", "Standard Oil Company of New Jersey", "Exxon Company USA"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a python function to find minimum adjacent swaps required to sort binary array.", "answer": "def find_Min_Swaps(arr,n) : \r\n noOfZeroes = [0] * n \r\n count = 0 \r\n noOfZeroes[n - 1] = 1 - arr[n - 1] \r\n for i in range(n-2,-1,-1) : \r\n noOfZeroes[i] = noOfZeroes[i + 1] \r\n if (arr[i] == 0) : \r\n noOfZeroes[i] = noOfZeroes[i] + 1\r\n for i in range(0,n) : \r\n if (arr[i] == 1) : \r\n count = count + noOfZeroes[i] \r\n return count", "source": "mbpp", "task_id": "856", "test_cases": "assert find_Min_Swaps([1,0,1,0],4) == 3\nassert find_Min_Swaps([0,1,0],3) == 1\nassert find_Min_Swaps([0,0,1,1,0],5) == 2", "difficulty": "code"} {"input": "When was the Convention on the Rights of the Child created by the organization that US and the country US beat in Miracle on Ice are both members of?", "answer": "20 November 1989", "source": "musique", "difficulty": "multi_hop"} {"input": "Which film has the director who died later, Not Without Gisela or You Have To Run Fast?", "answer": "Not Without Gisela", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Khosrowabad, in the city where Maryam Akhondy was born, is located in what county?", "answer": "Pardis County", "source": "musique", "difficulty": "multi_hop"} {"input": "Do director of film Prison Ship and director of film Aan Baan (1972 Film) have the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who was the first Emperor of the city where The Last Judgment creator died?", "answer": "Octavian", "source": "musique", "difficulty": "multi_hop"} {"input": "Are Manhattan West and Singer Building both projects in New York?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Was Moya Dyring or Hartman H. Lomawaima born first?", "answer": "Moya Dyring", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who was the winner of the women's singles at wimbledon", "answer": "Garbiñe Muguruza", "source": "nq", "difficulty": "simple"} {"input": "How many museums are located in the place where the Communist government was overthrown first?", "answer": "60", "source": "musique", "difficulty": "multi_hop"} {"input": "who first described the idea of natural rights", "answer": "ancient Greek philosophy", "source": "nq", "difficulty": "simple"} {"input": "who discovered systemic blood circulation system in human body", "answer": "William Harvey", "source": "nq", "difficulty": "simple"} {"input": "Are Ardeshiri-Ye Bala and Takht Arreh Yek located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Andros in the country where After Sunset was filmed an example of?", "answer": "archipelago", "source": "musique", "difficulty": "multi_hop"} {"input": "\"Who said, \"\"It is better to die on your feet than live on your knees?\"\"\"", "answer": ["Señor Zapata", "Emiliano Zapata Salazar", "Senor Zapata", "Emilio Zapata", "Zapatism", "Emiliano Zápata", "Emeliano Zapata", "Emiliano Salazar", "Emiliano Zapata"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Guillem Ramon de Gironella's occupation?", "answer": "[\"troubadour\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who is the child of the director of film The Singer Of Naples?", "answer": "David Bretherton", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when is a new episode of this is us coming out", "answer": "September 26, 2017", "source": "nq", "difficulty": "simple"} {"input": "Of the film directors Kenji Mizoguchi and Andrzej Żuławski, which one often went against mainstream commercialism in his films?", "answer": "Andrzej Żuławski", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when did we start paying federal income tax", "answer": "1913", "source": "nq", "difficulty": "simple"} {"input": "When did the Alanders wish to rejoin the country where Bengt Lagerberg's band formed?", "answer": "December 1917", "source": "musique", "difficulty": "multi_hop"} {"input": "What other country was the queen who launched Dannebrog, also a queen for between 1918 and 1944?", "answer": "Iceland", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function to split a string at uppercase letters.", "answer": "import re\r\ndef split_upperstring(text):\r\n return (re.findall('[A-Z][^A-Z]*', text))", "source": "mbpp", "task_id": "647", "test_cases": "assert split_upperstring(\"PythonProgramLanguage\")==['Python','Program','Language']\nassert split_upperstring(\"PythonProgram\")==['Python','Program']\nassert split_upperstring(\"ProgrammingLanguage\")==['Programming','Language']", "difficulty": "code"} {"input": "Where did the director of film Canyon Of The Fools die?", "answer": "Hollywood", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who won the ncaa basketball championship in 1989", "answer": "Michigan", "source": "nq", "difficulty": "simple"} {"input": "In what city was Clemente Isnard born?", "answer": "[\"Rio de Janeiro\", \"Rio\", \"Rio de Janeiro city\", \"Río\", \"Río de Janeiro\"]", "source": "popqa", "difficulty": "simple"} {"input": "when did libya give up its nuclear weapons", "answer": "December 2003", "source": "nq", "difficulty": "simple"} {"input": "whose diary describes the great plague of london", "answer": "Samuel Pepys", "source": "nq", "difficulty": "simple"} {"input": "Which musical featured the song Flash Bang, Wallop?", "answer": ["One-half", ".5", "0.5", "One half", "Halves", "Half", "Halfe", "½", "0.5 (number)"], "source": "triviaqa", "difficulty": "simple"} {"input": "who plays jill on the young and the restless", "answer": "Jess Walton", "source": "nq", "difficulty": "simple"} {"input": "Emma Rose Kenney's roll in a Blue Sky Studios produced film earned how much money?", "answer": "$268 million", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the highest court in the group with whom the agreement forms an alliance?", "answer": "The European Court of Justice", "source": "musique", "difficulty": "multi_hop"} {"input": "Spear of the Nation was an armed wing of which group?", "answer": ["Tripartite alliance", "African national Congress", "African National", "African National Congress", "South African Native National Congress", "ANC", "Flag of the African National Congress", "ANC flag", "South African National Native Congress", "African National Congress of South Africa", "National Democratic Revolution"], "source": "triviaqa", "difficulty": "simple"} {"input": "when did the last episode of naruto shippuden air", "answer": "March 23, 2017", "source": "nq", "difficulty": "simple"} {"input": "What is the place of birth of the director of film Tess Of The Storm Country (1960 Film)?", "answer": "Jersey City", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What was the university related with Ike Awgu called at first?", "answer": "Carleton College", "source": "musique", "difficulty": "multi_hop"} {"input": "When was the city where Andy Michner was born founded?", "answer": "1824", "source": "musique", "difficulty": "multi_hop"} {"input": "In 1952 who was the then oldest boxer to become world champoion?", "answer": ["Arnold Raymond Cream", "Jersey Joe Walcott", "Arnold Cream"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to convert an integer into a roman numeral.", "answer": "def int_to_roman( num):\r\n val = [1000, 900, 500, 400,100, 90, 50, 40,10, 9, 5, 4,1]\r\n syb = [\"M\", \"CM\", \"D\", \"CD\",\"C\", \"XC\", \"L\", \"XL\",\"X\", \"IX\", \"V\", \"IV\",\"I\"]\r\n roman_num = ''\r\n i = 0\r\n while num > 0:\r\n for _ in range(num // val[i]):\r\n roman_num += syb[i]\r\n num -= val[i]\r\n i += 1\r\n return roman_num", "source": "mbpp", "task_id": "958", "test_cases": "assert int_to_roman(1)==(\"I\")\nassert int_to_roman(50)==(\"L\")\nassert int_to_roman(4)==(\"IV\")", "difficulty": "code"} {"input": "What is the name of Dr. Seuss's egg-hatching elephant?", "answer": ["Horton (disambiguation)", "Horton"], "source": "triviaqa", "difficulty": "simple"} {"input": "What nationality is the actress who played the role of Sam Sloan's wife Trudy in the sitcom The Single Guy ?", "answer": "American", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who was first governor of the state in which the games of the 1904 Summer Olympics was held?", "answer": "Alexander McNair", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to get dictionary keys as a list.", "answer": "def get_key(dict): \r\n list = [] \r\n for key in dict.keys(): \r\n list.append(key) \r\n return list", "source": "mbpp", "task_id": "833", "test_cases": "assert get_key({1:'python',2:'java'})==[1,2]\nassert get_key({10:'red',20:'blue',30:'black'})==[10,20,30]\nassert get_key({27:'language',39:'java',44:'little'})==[27,39,44]", "difficulty": "code"} {"input": "Which country does the airline Sansa come from?", "answer": ["Countries: Costa Rica", "Costarrica", "Republic of Costa Rica", "Sport in Costa Rica", "Costarica", "The Republic of Costa Rica", "Costa rica", "Rich Coast", "Costa-Rica", "Climate of Costa Rica", "Costa Rica", "Costa Rican", "República de Costa Rica", "Climate of costa rica", "Cosat Rica", "Tiquicia", "Coasta rica", "List of Costa Ricans", "ISO 3166-1:CR", "America/Costa Rica", "Coast Rice"], "source": "triviaqa", "difficulty": "simple"} {"input": "who is the actress that plays dabby on disjointed", "answer": "Betsy Sodaro", "source": "nq", "difficulty": "simple"} {"input": "What city is located in Gauteng, South Africa with a suburb called Kew?", "answer": "Johannesburg", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function to calculate the height of the given binary tree.", "answer": "class Node: \r\n\tdef __init__(self, data): \r\n\t\tself.data = data \r\n\t\tself.left = None\r\n\t\tself.right = None\r\ndef max_height(node): \r\n\tif node is None: \r\n\t\treturn 0 ; \r\n\telse : \r\n\t\tleft_height = max_height(node.left) \r\n\t\tright_height = max_height(node.right) \r\n\t\tif (left_height > right_height): \r\n\t\t\treturn left_height+1\r\n\t\telse: \r\n\t\t\treturn right_height+1", "source": "mbpp", "task_id": "927", "test_cases": "assert (max_height(root)) == 3\nassert (max_height(root1)) == 5 \nassert (max_height(root2)) == 4", "difficulty": "code"} {"input": "Who is the prime minister of the country where Pochidia is located?", "answer": "Mihai Tudose", "source": "musique", "difficulty": "multi_hop"} {"input": "The 2016 Miami Dolphins season was the franchise's 47th season in the National Football League, the 51st overall and the first under head coach Adam Gase, with their Week 15 win over the New York Jets, the Dolphins clinched a winning record for the first time since 2008, and clinched a playoff berth the following week after which franchise's 47th season in the National Football League, the 57th overall and the fourth under head coach Andy Reid and the fourth and final season under general manager John Dorsey who was fired June 22, 2017?", "answer": "2016 Kansas City Chiefs season", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Do the movies Sunshine State (Film) and Massive Retaliation (Film), originate from the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was JB Magsaysay born?", "answer": "[\"San Juan\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Gabriella Di Laccio born?", "answer": "[\"Porto Alegre\"]", "source": "popqa", "difficulty": "simple"} {"input": "What event at the Asian Junior Athletics Championships has men and women competing at the same time?", "answer": "3000 metres steeplechase", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who is older Glenn Hughes or Ross Lynch?", "answer": "Glenn Hughes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When is Joan Of Dampierre's mother's birthday?", "answer": "2 June 1202", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a python function to find sum of all prime divisors of a given number.", "answer": "def Sum(N): \r\n SumOfPrimeDivisors = [0]*(N + 1) \r\n for i in range(2,N + 1) : \r\n if (SumOfPrimeDivisors[i] == 0) : \r\n for j in range(i,N + 1,i) : \r\n SumOfPrimeDivisors[j] += i \r\n return SumOfPrimeDivisors[N]", "source": "mbpp", "task_id": "849", "test_cases": "assert Sum(60) == 10\nassert Sum(39) == 16\nassert Sum(40) == 7", "difficulty": "code"} {"input": "What is Michael Costa's occupation?", "answer": "[\"composer\"]", "source": "popqa", "difficulty": "simple"} {"input": "who does bob's voice from bob's burgers", "answer": "H. Jon Benjamin", "source": "nq", "difficulty": "simple"} {"input": "How many miles long is the canal which links the Pacific and Atlantic Oceans?", "answer": "50 miles", "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Jadranka Šešelj born?", "answer": "[\"Podujevo\", \"Podujeva\", \"Podjeva\", \"Besiana\", \"Podujevë\", \"Podjevë\", \"Besianë\"]", "source": "popqa", "difficulty": "simple"} {"input": "Bath School of Art and Design is an art college in Bath, England, it forms part of the Bath Spa University, a public university in Bath, England, with its main campus based at Newton Park on which location?", "answer": "Duchy of Cornwall land", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "\"What was the name of the \"\"girl with kaleidoscope eyes\"\" in a Beatles song?\"", "answer": ["Lucy Lucia", "Lucy", "LUCY"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to find the perimeter of a rombus.", "answer": "def rombus_perimeter(a):\r\n perimeter=4*a\r\n return perimeter", "source": "mbpp", "task_id": "716", "test_cases": "assert rombus_perimeter(10)==40\nassert rombus_perimeter(5)==20\nassert rombus_perimeter(4)==16", "difficulty": "code"} {"input": "What was Paul Newman's first movie?", "answer": "The Silver Chalice", "source": "triviaqa", "difficulty": "simple"} {"input": "In which decade of the 20th century was James Caan born?", "answer": ["1930’s", "Thirties", "1930s literature", "Nineteen-thirties", "1930–1939", "1930-1939", "'30s", "1930s", "1930's", "%6030s", "1930s (decade)", "The Thirties"], "source": "triviaqa", "difficulty": "simple"} {"input": "Abraham Bankier was one of the owners of the Rekord factory that was taken over by a German Industrialist, spy, and member of the Nazi Party who is credited with saving how many Jews during the Holocaust?", "answer": "1,200", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who sings with shaggy on it wasn me", "answer": "English-Jamaican singer Rikrok", "source": "nq", "difficulty": "simple"} {"input": "Where is a place that has both Lano Estacado and Buda Limestone geological formations?", "answer": "High Plains", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Nigel Short was the youngest champion in which game in 1984?", "answer": ["Chess match", "Šachmatai", "Sjakk", "Ajedrez", "Ahedres", "Ficheall", "Rank and file (chess)", "Chess Revers", "Chess", "Xadrez", "Chess publications", "Satranç", "Western chess", "Šachy", "Шахи", "Chess game", "European chess", "Chess psychology", "ChesS", "Ŝako", "ਸ਼ਤਰੰਜ", "Chess games", "शतरंज", "Play chess", "Skaak", "Western Chess", "Orthochess", "Chesss", "Game of chess", "Šach", "Echedoù", "Échecs", "שחמט", "Chesse", "Scacci", "Шахмат", "Escacs", "Cög", "Şah", "Cờ vua", "International Chess", "Chess board game", "Chess Board Game", "Шахматы", "Game of Chess", "Skak", "شطرنج", "Шатар", "Chess career", "Σκάκι", "Šahs", "Cheess", "Chess srategy and tactics", "Chess (game)", "Skák", "International chess"], "source": "triviaqa", "difficulty": "simple"} {"input": "As of 2012, how much of the richest country in Africa has HIV?", "answer": "3.1 percent", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the nickname of record-breaking sprinter Maurice Greene?", "answer": ["Maurice green (athlete)", "Kansas Cannonball", "Maurice Greene (athlete)", "Mo greene"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Claudio Naranjo's occupation?", "answer": "[\"psychiatrist\", \"alienist\", \"head-shrinker\", \"shrinker\"]", "source": "popqa", "difficulty": "simple"} {"input": "In which country are Tangier and Casablanca?", "answer": ["ISO 3166-1:MA", "Al-Mamlakah al-Maġribiyya", "Maroc", "Royaume du Maroc", "Norocco", "Moraco", "Sultanate of Fez", "Etymology of Morocco", "المغرب", "Al-Mamlaka al-Maġribiyya", "Maroc (disambiguation)", "Morroco", "Al-Maġrib", "Lmaġrib", "Sherifian Empire", "Maroco", "Name of Morocco", "Morrocco", "Moroccan Kingdom", "Morocco", "Morrocan", "Al-Mamlakah al-Maġribiyah", "Moroco", "Marokko", "المملكة المغربية", "Marocko", "Sultanate of Morocco", "Al-Mamlaka al-Maghrebia", "Kingdom of Morocco"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Derek Wheatley's occupation?", "answer": "[\"novelist\", \"barrister\", \"barrister-at-law\", \"Bar-at-law\"]", "source": "popqa", "difficulty": "simple"} {"input": "What film company produced The Littlest Outlaw and The Jungle Book?", "answer": "Walt Disney", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who sings i get by with a little help", "answer": "Ringo Starr", "source": "nq", "difficulty": "simple"} {"input": "What is Michael Jackson's occupation?", "answer": "[\"record producer\", \"music producer\", \"beatboxing\", \"Human beat box\", \"film director\", \"movie director\", \"director\", \"motion picture director\", \"screenwriter\", \"scenarist\", \"writer\", \"screen writer\", \"script writer\", \"scriptwriter\", \"actor\", \"actress\", \"actors\", \"actresses\", \"composer\", \"businessperson\", \"business person\", \"dealer\", \"businesswoman\", \"business man\", \"business woman\", \"businessman\", \"singer-songwriter\", \"singer songwriter\", \"singer/songwriter\", \"singersongwriter\", \"singer-songwriter\", \"poet\", \"poetess\", \"bard\", \"musician\", \"musical artist\", \"songwriter\", \"song writer\"]", "source": "popqa", "difficulty": "simple"} {"input": "where did the song santa claus is coming to town come from", "answer": "Eddie Cantor's radio show", "source": "nq", "difficulty": "simple"} {"input": "What is James M. Geraghty's occupation?", "answer": "[\"lawyer\", \"attorney\", \"solicitor\", \"barrister\", \"lawyers\", \"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did the civil war start in the country where the Edificio Avante is located?", "answer": "October 15, 1979", "source": "musique", "difficulty": "multi_hop"} {"input": "In which country is Logan, a city in the county sharing a border with Pleasant Ridge Township's county in the state where German is the largest ancestry group?", "answer": "U.S.", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Diotima of Mantinea born?", "answer": "[\"Mantineia\", \"Mantinia\", \"Ancient Mantineia\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a python function to count number of vowels in the string.", "answer": "def Check_Vow(string, vowels): \r\n final = [each for each in string if each in vowels] \r\n return(len(final))", "source": "mbpp", "task_id": "667", "test_cases": "assert Check_Vow('corner','AaEeIiOoUu') == 2\nassert Check_Vow('valid','AaEeIiOoUu') == 2\nassert Check_Vow('true','AaEeIiOoUu') ==2", "difficulty": "code"} {"input": "Write a function to find ln, m lobb number.", "answer": "def binomial_coeff(n, k): \r\n\tC = [[0 for j in range(k + 1)] \r\n\t\t\tfor i in range(n + 1)] \r\n\tfor i in range(0, n + 1): \r\n\t\tfor j in range(0, min(i, k) + 1): \r\n\t\t\tif (j == 0 or j == i): \r\n\t\t\t\tC[i][j] = 1\r\n\t\t\telse: \r\n\t\t\t\tC[i][j] = (C[i - 1][j - 1] \r\n\t\t\t\t\t\t\t+ C[i - 1][j]) \r\n\treturn C[n][k] \r\ndef lobb_num(n, m): \r\n\treturn (((2 * m + 1) *\r\n\t\tbinomial_coeff(2 * n, m + n)) \r\n\t\t\t\t\t/ (m + n + 1))", "source": "mbpp", "task_id": "912", "test_cases": "assert int(lobb_num(5, 3)) == 35\nassert int(lobb_num(3, 2)) == 5\nassert int(lobb_num(4, 2)) == 20", "difficulty": "code"} {"input": "Do both films: Black Thunder (Film) and Farz (1967 Film) have the directors from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when did france start driving on the right", "answer": "1792", "source": "nq", "difficulty": "simple"} {"input": "what is the population of toronto ontario canada", "answer": "2,731,571", "source": "nq", "difficulty": "simple"} {"input": "Are both villages, Donja Brvenica and Hajj Hoseyn Nikabady, located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which film has the director died earlier, Lure Of The Gold or Nocturne Of Love (1919 Film)?", "answer": "Lure Of The Gold", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Richard Franck's occupation?", "answer": "[\"composer\", \"pianist\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who won baseball's first World Series of the 50s?", "answer": ["The N. Y. Yankees", "New York Highlanders", "NYY", "New York Baseball", "NY Yankees", "New York Yankees Roster", "Lonn A. Trost", "Nyy", "N. Y. Yankees", "N.Y.Y.", "Yankees Roster", "New York Yankee's", "Yankees Suck", "N Y Yankees", "Baltimore Orioles (1901–1902)", "New York baseball team", "New York Yankees roster", "New York Yankee", "The N Y Yankees", "NEW YORK YANKEES", "Baltimore Orioles (1901–02)", "The NY Yankees", "The N.Y. Yankees", "N Y Y", "Bronx Bombers", "Ny yankees", "New York Baseball team", "N. Y. Y.", "Baltimore Orioles (1901-02)", "Yankees baseball", "New york yankees", "New York Yankees (sports)", "Yankees", "N.Y. Yankees", "New York Yankees", "The Bronx Bombers", "The Yankees", "The New York Yankees", "Baltimore Orioles (1901-1902)"], "source": "triviaqa", "difficulty": "simple"} {"input": "who is the author of the man booker prize winning book life of pi", "answer": "Yann Martel", "source": "nq", "difficulty": "simple"} {"input": "Which Amendment to the Constitution brought in prohibition in 1920?", "answer": ["18", "18th", "eighteen"], "source": "triviaqa", "difficulty": "simple"} {"input": "In 2017, who was appointed Prime Minister of the country that contains the commune of Orodel?", "answer": "Mihai Tudose", "source": "musique", "difficulty": "multi_hop"} {"input": "Which star in The Pokrovsky Gate was also a director and occasional singer?", "answer": "Oleg Menshikov", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what part of the oldest city in South Carolina does Interstate 26 start?", "answer": "downtown Charleston", "source": "musique", "difficulty": "multi_hop"} {"input": "Who scored the most goals in the 2018 edition of the event which was the first HDTV broadcast in Europe?", "answer": "Harry Kane", "source": "musique", "difficulty": "multi_hop"} {"input": "Who first funded Sesame Street?", "answer": ["Children’s Television Workshop", "The Children's Television Workshop", "Sesame Workshop", "Sesame Street Merchandise", "Sesame Workshop funding sources", "Children's Television Workshop", "Children's Computer Workshop"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to put spaces between words starting with capital letters in a given string by using regex.", "answer": "import re\r\ndef capital_words_spaces(str1):\r\n return re.sub(r\"(\\w)([A-Z])\", r\"\\1 \\2\", str1)", "source": "mbpp", "task_id": "748", "test_cases": "assert capital_words_spaces(\"Python\") == 'Python'\nassert capital_words_spaces(\"PythonProgrammingExamples\") == 'Python Programming Examples'\nassert capital_words_spaces(\"GetReadyToBeCodingFreak\") == 'Get Ready To Be Coding Freak'", "difficulty": "code"} {"input": "What is Vishwanath Rao Ringe's occupation?", "answer": "[\"composer\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Geert Brusselers born?", "answer": "[\"Eindhoven\", \"Eindhoven, North Brabant\"]", "source": "popqa", "difficulty": "simple"} {"input": "Do director of film Sex Positive and director of film Guru Paarvai share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In which city were Rotary Clubs set up in 1905?", "answer": ["Chi-Beria", "Sayre language academy", "Chicago", "Chicago, Illinois", "Hog Butcher for the World", "Land of smelly onions", "Ariel Community Academy", "The weather in Chicago", "Chicago, Illinois, U.S.A.", "Chicago, Illionis", "Near North Montessori", "Religion in Chicago", "Chicago Finance Committee", "The Paris of America", "The city of Chicago", "City of Chicago", "List of sister cities of Chicago", "UN/LOCODE:USCHI", "Chicago theatre scene", "Chicago, WI", "The City of Broad Shoulders", "City of Broad Shoulders", "Sister Cities of Chicago", "Chicago il", "Chicago, Illinois, USA", "Performing arts in Chicago", "Chicago Transportation Committee", "Chicago, Wisconsin", "City of chicago", "Chicago theater scene", "Chicago, Il", "Chicago, IL.", "Chicago, Ill.", "City of Chicago, Illinois", "Chi town", "Chicago, United States", "Chicago (Ill.)", "Transport in Chicago", "Chicago, Illinois, United States", "Chicago (IL)", "USCHI", "Chichago", "Chcago", "Chicago, Illinois, U.S.", "Sister Cities Chicago", "Chicago, USA", "Chi City", "Chicago, IL", "Chi-Town", "Chicago theatre", "Paris of America", "Chicago, Illinois, US", "Chicago Illinois", "The city of Chicago, Illinois", "Sister cities of Chicago"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what year was the creator of the current arrangement of the \"Simpson's Theme\" born?", "answer": "March 28, 1941", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What are the international registration letters of a vehicle from Sri Lanka?", "answer": ["C.L.", "Cl.", "CL", "C L", "CL (disambiguation)", "C.l."], "source": "triviaqa", "difficulty": "simple"} {"input": "when do we celebrate world environment day and why", "answer": "5 June", "source": "nq", "difficulty": "simple"} {"input": "Who shared world amateur baseball championship with USA in1973?", "answer": ["Republic of Cuba", "Second Republic of Cuba", "People's Republic of Cuba", "Cuba", "Subdivisions of Cuba", "Red Cuba", "CUBA", "Administrative divisions of Cuba", "Cuban News Agency", "Etymology of Cuba", "The Republic of Cuba", "Isla Juana", "República de Cuba", "ISO 3166-1:CU", "Name of Cuba", "Republica de Cuba", "Prehistory of Cuba", "Communist Cuba", "Cuba (island)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Still Da Baddest is the fourth studio album by American rapper Trina, following the poor chart performance, \"I Got a Thang for You\" featuring which American singer/songwriter, record producer, business woman, and television personality, and was born in Oakland, California?", "answer": "Keyshia Cole", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Lunar 10's Lunar Excursion Module was named after which famous character?", "answer": ["Snoopie", "Snoopy dog", "Daisy Hill Puppy Farm", "Snoopy"], "source": "triviaqa", "difficulty": "simple"} {"input": "What did the largest employer in the birthplace of Sonny Berman do about the Title IX complaint?", "answer": "formed a Title IX steering committee to address complaints of sexual misconduct", "source": "musique", "difficulty": "multi_hop"} {"input": "Who is the current head coach of the basketball team for which Michael Beasley played for one year before declaring for the NBA draft in 2008?", "answer": "Bruce Weber", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "The title of what poetic drama by Robert Browning was used to name a Kentucky town?", "answer": ["Pipa Passes", "Song from Pippa Passes", "Pippa Passes"], "source": "triviaqa", "difficulty": "simple"} {"input": "a memorial commemorating the landing of the 1820 settlers", "answer": "the 1820 Settlers National Monument", "source": "nq", "difficulty": "simple"} {"input": "Are Manettia and Fragaria both edible?", "answer": "no", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What year was the foundation of the school where Thomas Farrell was educated?", "answer": "1824", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Đurđa Ivezić's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "The performer of Just Go was a guest judge on which season of American Idol?", "answer": "season two", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Eleanor Yule's occupation?", "answer": "[\"film director\", \"movie director\", \"director\", \"motion picture director\"]", "source": "popqa", "difficulty": "simple"} {"input": "How many people were killed by a van bomb by the man Inga Bejer Engh prosecuted in a high profile 2012 trial?", "answer": "eight", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When did the state encompassing Ahirwal receive the status of full statehood?", "answer": "1 November 1966", "source": "musique", "difficulty": "multi_hop"} {"input": "Where does the Merrimack River start in the state Washington University in the city Don Ebert was born is located?", "answer": "near Salem", "source": "musique", "difficulty": "multi_hop"} {"input": "annual salary for the president of the united states", "answer": "$400,000", "source": "nq", "difficulty": "simple"} {"input": "who has scored the most goals in a premier league debut season", "answer": "Kevin Phillips", "source": "nq", "difficulty": "simple"} {"input": "Which English-born US citizen hosted Masterpiece theater?", "answer": ["Alastair Cooke", "Alistar Cooke", "Alistar Cook", "Cooke, Alistair", "Alfred Alistair Cooke", "Alistair Cooke"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who is the spouse of the Russian composer that created the music for the ballet the firebird?", "answer": "Vera de Bosset", "source": "musique", "difficulty": "multi_hop"} {"input": "who sang the original version of without you", "answer": ["Pete Ham", "Tom Evans"], "source": "nq", "difficulty": "simple"} {"input": "Are both Nasdaq, Inc. and Citrix Systems catering to the same customer bases?", "answer": "no", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which hotel sitcom was based on the British series Fawlty Towers?", "answer": "Amanda's", "source": "triviaqa", "difficulty": "simple"} {"input": "where is the final four 2018 being held", "answer": "San Antonio", "source": "nq", "difficulty": "simple"} {"input": "What position did the former American first lady who employed Ann M. O'Leary during her husband's presidency hold in the Obama administration?", "answer": "United States Secretary of State", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are director of film Ek Misaal and director of film A Soldier'S Oath both from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who is the father of the performer of song Breaking News (Song)?", "answer": "Joseph Jackson", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "where did the term trick or treat come from", "answer": "Blackie, Alberta", "source": "nq", "difficulty": "simple"} {"input": "Dorothy, Rose, Sophia and who else formed the Golden Girls?", "answer": ["Blanch", "Blenches", "Blanched", "Blanching", "Blanch (disambiguation)", "Blenched", "Blenching", "Blanches"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Mildred Okwo's occupation?", "answer": "[\"film director\", \"movie director\", \"director\", \"motion picture director\"]", "source": "popqa", "difficulty": "simple"} {"input": "Gelatine was an airship piloted on September 19, 1905 by a pioneer American aviator and what?", "answer": "barnstormer", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who was Louise Lasser's husband when she stared with him in What's Up Tiger Lily?", "answer": ["Allen Stewart Konigsberg", "Sunyi Previn", "Allen S. Konigsberg", "Allen, Woody", "Heywood Allen", "%22Woody%22 Allen", "Woody Allen", "Soon-yi Previn", "Sun-Yi Previn", "Allan Stewart Konigsberg", "Sun Yi Previn", "Soon-Yi Farrow Previn", "Soon Yi Previn", "Soon-Yi Previn", "Allen S Konigsberg", "Soon-Yi", "Soon Yi-Previn", "Untitled Woody Allen project", "Woddy Allen", "Soon-Yi Farrow", "Woody Allan", "Soon-Yi Allen", "Allan Konigsberg", "Allen Konigsberg", "Woody allen", "Soon Yi", "Woodie Allen"], "source": "triviaqa", "difficulty": "simple"} {"input": "where is the winter olympics going to be", "answer": "Pyeongchang County, South Korea", "source": "nq", "difficulty": "simple"} {"input": "When was the island Luis Villafañe is from declared a U.S. territory?", "answer": "1898", "source": "musique", "difficulty": "multi_hop"} {"input": "In which decade of the 20th century was Alec Baldwin born?", "answer": ["The Fifties", "1950s", "1950-1959", "50's", "1950’s", "1950–1959", "Nineteen-fifties", "1950s (decade)", "1950ies", "1950's", "'50s", "195%3F", "Fifties"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which of London's four airports is the only one to be connected to the city Underground system?", "answer": ["Heathrow Airlines", "London Heathrow", "London Heathrow Crashes", "Heathrow, London", "Heathrow International Airport", "London-Heathrow", "London Heathrow airport", "H'row", "London–Heathrow", "Heathrow, London, England", "London-Heathrow Airport", "Great Western Aerodrome", "London Heathrow Airport", "Philip Sherwood", "BAA Heathrow", "Harmondsworth Aerodrome", "LHR", "LHR Airport", "Myrtle Avenue (UK)", "Heathrow Airport", "Heathrow London", "London Heathrow International Airport", "London Heathrow Airport Terminal 4", "List of airlines using London Heathrow Airport", "Airlines at heathrow", "EGLL", "London Heathw", "Egll", "London-Heathw", "Myrtle avenue (UK)", "Heathrow", "Heathrow airport"], "source": "triviaqa", "difficulty": "simple"} {"input": "What organization did the performer of Born This Way: The Compilation found?", "answer": "Lady Gaga Fame", "source": "musique", "difficulty": "multi_hop"} {"input": "What are the islands in the middle of the sea having an atoll consisting of Motuloa?", "answer": "Caroline Islands", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Luís Marques Guedes's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "From which UK airport did Virgin Atlantic flights first depart for New York-Newark?", "answer": ["London Gatwick North", "Gatwick International Airport", "Gatwick airport shuttle", "Gat- wick", "London Gatwick Airport", "London–Gatwick", "Airport Gatwick", "London Gatwick", "RAF Gatwick", "London-Gatwick", "Gatwick Airport", "London/Gatwick", "London-Gatwick Airport", "Gatwick, England", "EGKK", "Gatwick", "Gatwick Airport monorail", "London gatwick airport", "Gatwick airport transit", "Egkk", "Gat-wick", "London gatwick Airport", "LGW Airport", "London Gatwick International Airport", "Gatwick airport", "London Gatwick airport", "Gatwick Airport transit", "LGW"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Isaac born?", "answer": "[\"Canaan\"]", "source": "popqa", "difficulty": "simple"} {"input": "Peter Faulk received his first Emmy for a performance on which show?", "answer": ["Dick Powell Show", "The Dick Powell Show"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Baton Haxhiu's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are Valiabad, Chalus and Mazraeh-Ye Ali Shafi both located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Do both films: Betty Of Greystone and Kaadhal Kavithai have the directors from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "WERT is a radio station that is broadcast from it studios on what transcontinental highway?", "answer": "Lincoln Highway", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What was the total population of the world at the time of Christ?", "answer": "About 200 million", "source": "triviaqa", "difficulty": "simple"} {"input": "Who discovered the country Luasamotu is located?", "answer": "Álvaro de Mendaña", "source": "musique", "difficulty": "multi_hop"} {"input": "What instrument is associated with Illinois-born John Lewis?", "answer": ["Pianos", "Classical piano", "Piano Music", "Pianino", "Black key", "Grand piano", "Pianoforte", "Piano-forte", "Piano construction", "Vertical pianoforte", "Pianie", "Keyboard hammer", "Piano", "Piano hammers", "Piano Keys", "Piano keys", "Piano hammer", "Pianofortes", "Acoustic piano", "Baby grand piano", "Hammer (piano)", "Grand pianoforte", "Piano technique", "Parts of a piano", "Piano music", "Keyboard hammers", "Piano performance", "Upright pianoforte", "Concert grand", "Upright piano", "Vertical piano", "Piano forte", "Grand Piano"], "source": "triviaqa", "difficulty": "simple"} {"input": "At which age Audrey Kathryn Lindvall's super model sister was discover by IMG scout?", "answer": "14 years old", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When did the performer of Not a Moment Too Soon release his first album?", "answer": "1993", "source": "musique", "difficulty": "multi_hop"} {"input": "To the nearest million, what was the population of the USA in 1910?", "answer": ["92", "ninety-two"], "source": "triviaqa", "difficulty": "simple"} {"input": "when did they stop making tin type photos", "answer": "early 20th century", "source": "nq", "difficulty": "simple"} {"input": "Who was chairman of the Watergate hearings?", "answer": ["Samuel James Ervin Jr", "Samuel James Ervin Jr.", "Samuel Ervin", "Samuel J. Ervin Jr.", "Sam Ervin, Jr.", "Samuel James Ervin, Jr.", "Sam J. Ervin Jr.", "Sam J. Ervin", "Sam Ervin", "Sam J. Ervin, Jr.", "Samuel J. Ervin, Jr.", "Samuel J. Ervin", "Samuel James Ervin", "Samuel Ervin, Jr.", "Sam Ervin Jr."], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the place of birth of the director of film Bear (2010 Film)?", "answer": "Dutch", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who played Aunt Bea on the show named after the star of the film Angel in My Pocket?", "answer": "Frances Elizabeth Bavier", "source": "musique", "difficulty": "multi_hop"} {"input": "What city is the place of death of Nicholas I, Lord of the birthplace of Albert, King of the country where Skärbäck is located?", "answer": "Wittendörp", "source": "musique", "difficulty": "multi_hop"} {"input": "Do both films, Spencer'S Mountain and Karpoora Mullai, have the directors who are from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "How many 'victories' did The Red Baron claim in aerial dogfights?", "answer": ["80", "eighty"], "source": "triviaqa", "difficulty": "simple"} {"input": "Where was the place of death of the composer of film Mahapurush?", "answer": "Calcutta", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Tim Alexander born?", "answer": "[\"Chertsey\", \"Chertsey, Surrey\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did the body of water crossed by Mike O'Callaghan–Pat Tillman Memorial Bridge start to form the grand canyon?", "answer": "about 5 to 6 million years ago", "source": "musique", "difficulty": "multi_hop"} {"input": "How many hours of sunshine does the city where the actor who played Captain Miller in Saving Private Ryan, is from in The Terminal, receive every year?", "answer": "2,535", "source": "musique", "difficulty": "multi_hop"} {"input": "who has 2 tapes in 13 reasons why", "answer": "Justin Foley", "source": "nq", "difficulty": "simple"} {"input": "In what city was Doc Parker born?", "answer": "[\"Theresa\", \"Theresa, New York\"]", "source": "popqa", "difficulty": "simple"} {"input": "when is the world population expected to reach 8 billion", "answer": "2024", "source": "nq", "difficulty": "simple"} {"input": "What is the date of death of Mirza Jahangir's father?", "answer": "28 September 1837", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "The Pantanal is a mid-size pickup truck made by the Brazilian off-road vehicle manufacturer Troller Veículos Especiais S/A, a manufacturer of off-road vehicles in which country, from 2006 to 2008?", "answer": "Brazil", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is John Jay's occupation?", "answer": "[\"diplomat\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which country the director of film Peaceful Warrior is from?", "answer": "American", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Tony Clark born?", "answer": "[\"Newton\", \"Newton, Kansas\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is William Molyneux's occupation?", "answer": "[\"astronomer\", \"philosopher\", \"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was John XIX born?", "answer": "[\"Rome\", \"The Eternal City\", \"Roma\", \"Rome Italy\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Melinda Mullins's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what country is both Faxe and Heineken brewed in?", "answer": "Denmark", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what Australian city did the United States ship supplies in 1943 as part of the Lend-lease policy during WWII", "answer": "Sydney", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Petros Efthymiou's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who sang the title song for the Bond film A View To A Kill?", "answer": ["Duran duran", "Sphere Studios", "Careless Memory", "Duran Duran", "Duranduran", "DUran Duran"], "source": "triviaqa", "difficulty": "simple"} {"input": "What was the event that Afghanistan competed in for the first time in 2017 officially known as?", "answer": "the 23rd Summer Deaflympics", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What occupation was shared by both John Frankenheimer and Tiffanie DeBartolo?", "answer": "director", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who played young jane in jane the virgin", "answer": "Jenna Ortega", "source": "nq", "difficulty": "simple"} {"input": "what genre is blood sweat and tears bts", "answer": ["Moombahton", "trap"], "source": "nq", "difficulty": "simple"} {"input": "What was Steve Martin's first film?", "answer": ["Navin Johnson", "Steven stein rosen", "The Jerk, Too", "The Jerk (film)", "The Jerk", "Cat Juggling", "Joe gonzalves"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who had and 80s NO 1 with The Tide is High?", "answer": ["Blondie", "Blondie (movie)", "Blondie (TV series)", "Blondie (disambiguation)", "Blondie (film)"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Jean Arp born?", "answer": "[\"Strasbourg\", \"Straßburg\", \"Strassburg\", \"Schdroosburi\", \"Strossburi\", \"Strossburig\", \"Strosburi\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is T Power's occupation?", "answer": "[\"record producer\", \"music producer\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did the sports team that employed Glyn Pardoe get promoted to the Premier League?", "answer": "1992", "source": "musique", "difficulty": "multi_hop"} {"input": "When did England last go to war with the country having the museum attended by Léon Diguet?", "answer": "June 1815", "source": "musique", "difficulty": "multi_hop"} {"input": "what is the contribution of nek chand in the world of art", "answer": "Rock Garden of Chandigarh", "source": "nq", "difficulty": "simple"} {"input": "In what city was Tsugumi Higasayama born?", "answer": "[\"Saitama Prefecture\", \"Saitama-ken\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did Chopin's family move to the city where Chopin was born and raised?", "answer": "October 1810", "source": "musique", "difficulty": "multi_hop"} {"input": "who sings you're a mean one mr grinch song", "answer": "Thurl Ravenscroft", "source": "nq", "difficulty": "simple"} {"input": "who wrote all i ever need is you", "answer": "Jimmy Holiday and Eddie Reeves", "source": "nq", "difficulty": "simple"} {"input": "What was the first year a men's basketball team played at Rolfe D. Mandel's employer?", "answer": "1898", "source": "musique", "difficulty": "multi_hop"} {"input": "The Pineground Bridge formerly carried Depot Road over the Suncook River into a town with a population of what?", "answer": "2,523", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Agneta Bolme Börjefors's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\", \"television presenter\", \"host\", \"hostess\", \"TV host\", \"television host\", \"TV presenter\", \"TV anchor\", \"television anchor\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which film was released more recently, Die schöne Lurette or Sabhash?", "answer": "Sabhash", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who is Ethelreda, Daughter Of Gospatric's mother-in-law?", "answer": "Ingibiorg Finnsdottir", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when does new season of first 48 start", "answer": "October 19, 2017", "source": "nq", "difficulty": "simple"} {"input": "Write a python function to check whether every odd index contains odd numbers of a given list.", "answer": "def odd_position(nums):\r\n\treturn all(nums[i]%2==i%2 for i in range(len(nums)))", "source": "mbpp", "task_id": "775", "test_cases": "assert odd_position([2,1,4,3,6,7,6,3]) == True\nassert odd_position([4,1,2]) == True\nassert odd_position([1,2,3]) == False", "difficulty": "code"} {"input": "Walter O'Brien was played by which English actor?", "answer": "Elyes Gabel", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What year did the writer of Crazy Little Thing Called Love die?", "answer": "1991", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to check for a number at the end of a string.", "answer": "import re\r\ndef end_num(string):\r\n text = re.compile(r\".*[0-9]$\")\r\n if text.match(string):\r\n return True\r\n else:\r\n return False", "source": "mbpp", "task_id": "913", "test_cases": "assert end_num('abcdef')==False\nassert end_num('abcdef7')==True\nassert end_num('abc')==False", "difficulty": "code"} {"input": "How many German scientists, engineers, and technicians, were recruited in post-Nazi Germany as a result of the clandestine operation where Arthur Rudolph became one of the main developers of the U.S. ?space program", "answer": "more than 1,600", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the date of death of Martha Bullock's husband?", "answer": "September 23, 1919", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which American was the first ever person to retain an Olympic springboard diving title?", "answer": ["Louganis", "Greg Louganis", "Greg E. Louganis", "Gregory Louganis", "Greg Luganis", "Gregory Efthimios Louganis", "Louganis, Gregory Efthimios", "Louganis, Greg"], "source": "triviaqa", "difficulty": "simple"} {"input": "War for the Planet of the Apes is a 2017 American science fiction film directed by Matt Reeves, a sequel to which 2014 American science fiction film directed by Matt Reeves and written by Mark Bomback, Rick Jaffa and Amanda Silver?", "answer": "Dawn of the Planet of the Apes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "How many floors are in the Palmer House in the birthplace of the performer of What Cha' Gonna Do for Me?", "answer": "25 - story hotel", "source": "musique", "difficulty": "multi_hop"} {"input": "who sang you can get it if you really want", "answer": "Jimmy Cliff", "source": "nq", "difficulty": "simple"} {"input": "what is the size of the angles of an equilateral triangle", "answer": "60°", "source": "nq", "difficulty": "simple"} {"input": "Of what family was Joachim II Hector, Elector of the birthplace of Kay Bluhm?", "answer": "House of Hohenzollern", "source": "musique", "difficulty": "multi_hop"} {"input": "Who from the state with the Routzahn-Miller Farmstead signed the declaration of independence?", "answer": "Charles Carroll", "source": "musique", "difficulty": "multi_hop"} {"input": "How did Kanye draw inspiration from U2, Led Zeppelin and the performer of Winter?", "answer": "melody and chord progression", "source": "musique", "difficulty": "multi_hop"} {"input": "Who founded General Motors in 1908?", "answer": ["William C Durant", "William Crapo Durant", "William C. Durant", "Billy Durant", "W.C. Durant"], "source": "triviaqa", "difficulty": "simple"} {"input": "when did the orioles win the world series", "answer": ["1966", "1970", "1983"], "source": "nq", "difficulty": "simple"} {"input": "Do both films The Hawk (1935 Film) and M. Kumaran Son Of Mahalakshmi have the directors that share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "The First Silesian war was fought against the King of Prussia who died in what year?", "answer": "1786", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Do both films, The Trail Of The Lonesome Pine (1923 Film) and La Torre De Suso, have the directors who are from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What was the original name of the orphan created in 1924 by cartoonist Harold Gray in the comic strip we know as Little Orphan Annie?", "answer": ["Otto", "Oddo"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who completed more books in their lifetime, Anne Frank or John Kennedy Toole?", "answer": "John Kennedy Toole", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where was the composer of film Avidathe Pole Ivideyum born?", "answer": "Kerala", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a python function to find the sum of fourth power of first n odd natural numbers.", "answer": "def odd_Num_Sum(n) : \r\n j = 0\r\n sm = 0\r\n for i in range(1,n + 1) : \r\n j = (2*i-1) \r\n sm = sm + (j*j*j*j) \r\n return sm", "source": "mbpp", "task_id": "770", "test_cases": "assert odd_Num_Sum(2) == 82\nassert odd_Num_Sum(3) == 707\nassert odd_Num_Sum(4) == 3108", "difficulty": "code"} {"input": "What is the only major mountain range between the Appalachian Mountains and the mountains higher than the mountains found in the state the Museum of Appalachia is located?", "answer": "Interior Highlands", "source": "musique", "difficulty": "multi_hop"} {"input": "Who designed the place where the Portrait of Bia de' Medici can be found?", "answer": "Giorgio Vasari", "source": "musique", "difficulty": "multi_hop"} {"input": "where was things i know to be true set", "answer": "Adelaide, Australia", "source": "nq", "difficulty": "simple"} {"input": "What is Antonio Álvarez Alonso's occupation?", "answer": "[\"composer\", \"pianist\"]", "source": "popqa", "difficulty": "simple"} {"input": "Eric Jacobson performed the Muppet character who was part of what fictional band?", "answer": "Dr. Teeth and The Electric Mayhem", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "To the nearest million, what is the population of London, England?", "answer": ["seven million", "7million", "7 million"], "source": "triviaqa", "difficulty": "simple"} {"input": "Rags Ragland died how many years after starring in Meet the People?", "answer": "II", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which country Imperial Noble Consort Gongsu's husband is from?", "answer": "Qing dynasty", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a python function to check whether the given number is a perfect square or not.", "answer": "def is_Perfect_Square(n) :\r\n i = 1\r\n while (i * i<= n):\r\n if ((n % i == 0) and (n / i == i)):\r\n return True \r\n i = i + 1\r\n return False", "source": "mbpp", "task_id": "803", "test_cases": "assert is_Perfect_Square(10) == False\nassert is_Perfect_Square(36) == True\nassert is_Perfect_Square(14) == False", "difficulty": "code"} {"input": "Are the directors of both films Secret Window and An Ancient Tale: When The Sun Was A God from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who produced the movie that \"Puss in Boots: The Three Diablos\" is the sequel of?", "answer": "DreamWorks Animation", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When did the director of film Scandal At Scourie die?", "answer": "18 July 1993", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when was the immigration reform and control act passed", "answer": "November 6, 1986", "source": "nq", "difficulty": "simple"} {"input": "What is the date of death of the director of film Once Before I Die?", "answer": "May 22, 1998", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What was Michael Jackson's last UK No 1 of the 80s?", "answer": ["Todo Mi Amor Eres Tu", "I Just Can't Stop Loving You", "Je Ne Veux Pas La Fin De Nous"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which band has more members, Saint Motel or Curve?", "answer": "Saint Motel", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "How was Eleanor Gough McKay better known?", "answer": ["Billie halliday", "Billie Holiday", "Billy Holiday", "Lady Day (singer)", "Eleanora Fagan", "Frank DeViese", "Billy Holliday", "Billie Holliday", "Billy holliday", "Eleanora Fagan Gough", "Holiday, Billie"], "source": "triviaqa", "difficulty": "simple"} {"input": "when was the last time the death penalty was used in the state with capital where was season 11 of property brothers was filmed?", "answer": "2 December 2009", "source": "musique", "difficulty": "multi_hop"} {"input": "In which county of the state where the Hello Love performer lived when he died is Dill located?", "answer": "Bledsoe County", "source": "musique", "difficulty": "multi_hop"} {"input": "In which mountains are Camp David?", "answer": ["Appalachian", "Appalachian (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Petar Stambolić born?", "answer": "[\"Ivanjica\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Sardar Muhammad Yousaf Zaman's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the given name of the creator of the Album released on July 7, 2017 by Slaughter Gang and Epic Records?", "answer": "Shayaa Bin Abraham-Joseph", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who plays helen of troy fall of a city", "answer": "Bella Dayne", "source": "nq", "difficulty": "simple"} {"input": "What is the date of death of the director of film Paappi Devataa?", "answer": "22 November 2005", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which film has the director who was born later, Don't Shoot the Composer or Sökarna?", "answer": "Sökarna", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who died later, Clyde Dickey or Turid Karlsen Seim?", "answer": "Turid Karlsen Seim", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are Hesar-E Shineh and Chah-E Tanureh located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who did Debbie play in The Debbie Reynolds Show?", "answer": "Debbie Thompson", "source": "triviaqa", "difficulty": "simple"} {"input": "when was the aria built in las vegas", "answer": "December 16, 2009", "source": "nq", "difficulty": "simple"} {"input": "What is the date of death of the director of film Song Of The Phoenix?", "answer": "March 4, 2014", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Christopher Beazley's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "who played larry in man about the house", "answer": "Douglas Fisher", "source": "nq", "difficulty": "simple"} {"input": "Iqaluit Airport and Canadian North are based out of what country?", "answer": "Canada", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What dancer who died August 9, 2003 appeared in White Nights?", "answer": "Gregory Hines", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Giuseppe Castelli born?", "answer": "[\"Milan\", \"Milano\", \"Milan, Italy\", \"Milano, Italy\", \"Milano, Italia\", \"Mailand\", \"Milan Records\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Narcisse-Fortunat Belleau born?", "answer": "[\"Quebec City\", \"Quebec\", \"Ville de Québec\", \"Québec\", \"City of Québec\", \"City of Quebec\", \"Ville de Quebec\", \"3rd Summit of the Americas\"]", "source": "popqa", "difficulty": "simple"} {"input": "What American luxury jewelry and specialty retailer did Jean Michel Schlumberger work at?", "answer": "Tiffany & Company", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What region is the birthplace of Jan Mohammad the capital of?", "answer": "West Pakistan", "source": "musique", "difficulty": "multi_hop"} {"input": "When is the director of film Into The White 's birthday?", "answer": "14 March 1960", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When does it get cold in the US state having Wilton?", "answer": "winter months", "source": "musique", "difficulty": "multi_hop"} {"input": "Richard Yates published a work by the name of \"Eleven Kinds of Loneliness\", one of Italo Calvino's best known works was of the same genre and named what?", "answer": "\"Cosmicomics\"", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Shiva Nageswara Rao's occupation?", "answer": "[\"film director\", \"movie director\", \"director\", \"motion picture director\"]", "source": "popqa", "difficulty": "simple"} {"input": "who wrote the national anthem of south africa", "answer": ["Enoch Sontonga", "C. J. Langenhoven"], "source": "nq", "difficulty": "simple"} {"input": "In which sport was Richard Upton found positive in a drugs test in 1998?", "answer": ["Swam", "Swimming (disambiguation)", "To-suijutsu", "Swimming"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Tracy Coogan's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who directed the film with the same name as the country where Brummana is located?", "answer": "Samuel Maoz", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Cristina Laslo born?", "answer": "[\"Cluj-Napoca\", \"Kolozsvár\", \"Klausenburg\", \"Cluj\", \"Claudiopolis\", \"Kolozsvar\", \"Kluyzenburg\", \"Napoca\", \"Kluž\", \"Kluzh\", \"Kolozhvar\", \"Kolozvar\"]", "source": "popqa", "difficulty": "simple"} {"input": "Maurice Hines and his brother were famous for what?", "answer": "dancer Gregory Hines", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function to sum the length of the names of a given list of names after removing the names that start with a lowercase letter.", "answer": "def sample_nam(sample_names):\r\n sample_names=list(filter(lambda el:el[0].isupper() and el[1:].islower(),sample_names))\r\n return len(''.join(sample_names))", "source": "mbpp", "task_id": "639", "test_cases": "assert sample_nam(['sally', 'Dylan', 'rebecca', 'Diana', 'Joanne', 'keith'])==16\nassert sample_nam([\"php\", \"res\", \"Python\", \"abcd\", \"Java\", \"aaa\"])==10\nassert sample_nam([\"abcd\", \"Python\", \"abba\", \"aba\"])==6", "difficulty": "code"} {"input": "Who wrote the novel The Godfather?", "answer": ["Mario Cleri", "Puzo, Mario", "Puzo", "Mario Puzo"], "source": "triviaqa", "difficulty": "simple"} {"input": "When was the country having Aguadulce colonized by the country containing All Saints Church in the city having terrorist bombing supposedly involving Gaddafi's Libya?", "answer": "1698", "source": "musique", "difficulty": "multi_hop"} {"input": "Who picks the prime minister in the country where Virgin Galactic's main company originated?", "answer": "Monarch of the United Kingdom", "source": "musique", "difficulty": "multi_hop"} {"input": "when was the food and drug administration established", "answer": "1927", "source": "nq", "difficulty": "simple"} {"input": "When did Louis Ii Of Italy's father die?", "answer": "29 September 855", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when do football teams wear their third kit", "answer": ["for identifying with causes", "too similar to play easily", "to generate revenue"], "source": "nq", "difficulty": "simple"} {"input": "What king to whom Rev James MacGregor was made chaplain died in 1936?", "answer": "George V", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Valdemar III of Denmark born?", "answer": "[\"Denmark\", \"DK\", \"Danmark\", \"DNK\", \"DEK\", \"dk\", \"Denmark proper\", \"metropolitan Denmark\", \"🇩🇰\", \"DEN\", \"TAN\", \"Realm of Denmark\", \"Kingdom of Denmark\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Susan Kent's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who was the two time Walter Camp Coach of the Year winner who led the 2000 Oklahoma Sooners to an Orange Bowl victory?", "answer": "Bob Stoops", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function to check if a triangle of positive area is possible with the given angles.", "answer": "def is_triangleexists(a,b,c): \r\n if(a != 0 and b != 0 and c != 0 and (a + b + c)== 180): \r\n if((a + b)>= c or (b + c)>= a or (a + c)>= b): \r\n return True \r\n else:\r\n return False\r\n else:\r\n return False", "source": "mbpp", "task_id": "850", "test_cases": "assert is_triangleexists(50,60,70)==True\nassert is_triangleexists(90,45,45)==True\nassert is_triangleexists(150,30,70)==False", "difficulty": "code"} {"input": "Write a python function to find the smallest missing number from the given array.", "answer": "def find_First_Missing(array,start,end): \r\n if (start > end): \r\n return end + 1\r\n if (start != array[start]): \r\n return start; \r\n mid = int((start + end) / 2) \r\n if (array[mid] == mid): \r\n return find_First_Missing(array,mid+1,end) \r\n return find_First_Missing(array,start,mid)", "source": "mbpp", "task_id": "627", "test_cases": "assert find_First_Missing([0,1,2,3],0,3) == 4\nassert find_First_Missing([0,1,2,6,9],0,4) == 3\nassert find_First_Missing([2,3,5,8,9],0,4) == 0", "difficulty": "code"} {"input": "Who was born first, David Hanson (Politician) or Jane Wagner?", "answer": "Jane Wagner", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who was born in 1976 and co-wrote the teleplay for the first episode of \"Black Mirror?\"", "answer": "Rashida Jones", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "what's the name of the white sox park", "answer": "Guaranteed Rate Field", "source": "nq", "difficulty": "simple"} {"input": "who is broadcasting the super bowl on sunday", "answer": "NBC", "source": "nq", "difficulty": "simple"} {"input": "Did Bruno Teles and Hadley Caliman share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In Hockey, who did Maurice Rocket Richard play for?", "answer": ["Le Club de hockey Canadien", "Montreal canadiens", "Canadiens Third Jersey", "Montreal Canadians", "Montreal Canadiens captains", "Montreal Canadiens Captains", "Canadiens de Montreal", "Club Athlétique Canadien", "List of Montreal Canadiens captains", "Le Club de Hockey Canadien", "Montréal Canadiens Captains", "Canadiens de Montréal", "Canadiens-de-Montréal", "Les Canadiens de Montreal", "Canadians Third Jersey", "Les Canadiens de Montréal", "Le club de hockey Canadien", "Montreal Canadiens", "Montreal Canadiens Centennial", "Montreal canadien", "Les Habs", "Montreal canadian", "Montréal Canadiens"], "source": "triviaqa", "difficulty": "simple"} {"input": "who's the lead singer of the doobie brothers", "answer": "Tom Johnston", "source": "nq", "difficulty": "simple"} {"input": "what are the two main political parties in france", "answer": ["The Republicans", "the Socialist Party"], "source": "nq", "difficulty": "simple"} {"input": "The Science Museum, in the birthplace of Amalia Molina, is a part of what research institution?", "answer": "Spanish National Research Council", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a python function to count numeric values in a given string.", "answer": "def number_ctr(str):\r\n number_ctr= 0\r\n for i in range(len(str)):\r\n if str[i] >= '0' and str[i] <= '9': number_ctr += 1 \r\n return number_ctr", "source": "mbpp", "task_id": "764", "test_cases": "assert number_ctr('program2bedone') == 1\nassert number_ctr('3wonders') ==1\nassert number_ctr('123') == 3", "difficulty": "code"} {"input": "In what city was Camillo Benso di Cavour born?", "answer": "[\"Turin\", \"Torino\", \"Turin, Italy\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Fairfax M. Cone's occupation?", "answer": "[\"businessperson\", \"business person\", \"dealer\", \"businesswoman\", \"business man\", \"business woman\", \"businessman\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Shozaburo Nakamura's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Jake David Shapiro was best know for being the screenwriter of a film directed by who?", "answer": "Roger Christian", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when did saint elmo's fire come out", "answer": "1985", "source": "nq", "difficulty": "simple"} {"input": "What is Rusty Willoughby's occupation?", "answer": "[\"songwriter\", \"song writer\"]", "source": "popqa", "difficulty": "simple"} {"input": "19969 was the Chinese year of which creature?", "answer": ["🐀", "Species of rat", "Ratus (genus)", "Rats", "Rattus rattus domesticus", "True rat", "Rat subspecies", "Rat IQ", "Rat", "Subspecies of rat", "Rattus", "Rat feces", "Stenomys", "Ringie", "List of rat species", "Rat species"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the highest point in the state where Timken High School is located?", "answer": "Campbell Hill", "source": "musique", "difficulty": "multi_hop"} {"input": "What other real life boxer did Mike Williams act with in Rocky V?", "answer": "Tommy Morrison", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Did the the agency David Rossi works for keep files on Elvis Presley?", "answer": "including celebrities such as Elvis Presley", "source": "musique", "difficulty": "multi_hop"} {"input": "Which film has the director born first, Meet Miss Bobby Socks or Bad Eggs?", "answer": "Meet Miss Bobby Socks", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What municipality is Kinsac, in the province Kemptville is located in, part of?", "answer": "Halifax Regional Municipality", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Joseph born?", "answer": "[\"Ustyuzhna\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a python function to find sum of odd factors of a number.", "answer": "import math\r\ndef sum_of_odd_Factors(n): \r\n res = 1\r\n while n % 2 == 0: \r\n n = n // 2 \r\n for i in range(3,int(math.sqrt(n) + 1)): \r\n count = 0\r\n curr_sum = 1\r\n curr_term = 1\r\n while n % i == 0: \r\n count+=1 \r\n n = n // i \r\n curr_term *= i \r\n curr_sum += curr_term \r\n res *= curr_sum \r\n if n >= 2: \r\n res *= (1 + n) \r\n return res", "source": "mbpp", "task_id": "853", "test_cases": "assert sum_of_odd_Factors(30) == 24\nassert sum_of_odd_Factors(18) == 13\nassert sum_of_odd_Factors(2) == 1", "difficulty": "code"} {"input": "Why did the director of film Paper Bullets die?", "answer": "heart attack", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when did the life of pablo come out", "answer": "February 14, 2016", "source": "nq", "difficulty": "simple"} {"input": "when did the fashion capital of India first host the Asian Games?", "answer": "1951", "source": "musique", "difficulty": "multi_hop"} {"input": "what is reagan's job in new girl", "answer": "pharmaceutical sales rep", "source": "nq", "difficulty": "simple"} {"input": "Who was Benazir Bhutto's Father who was executed in 1988?", "answer": ["Bhutto, Zulfiqar Ali", "Dalai camp", "Zulfiqar Ali Bhutto", "Ali Bhutto", "Zulfikar Bhutto", "Quaid-e-Awam", "Zalfikar Ali Bhutto", "Zulfiqar 'Ali Bhutto", "Zulfi Bhutto", "Dalai Camp", "Zulfiqqar Ali Bhuttoo", "ذوالفقار علي ڀُٽو", "Zulfqar Bhutto", "Bhutto, Zulfikar Ali", "Zulfiqar Bhutto", "Zulfikar Ali Bhutto", "Zulifikar Bhutto", "ذوالفقار علی بھٹو", "Zulifiqar Ali Bhutto", "ZA Bhutto", "Z. A. Bhutto"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which musical featured the song Thank Heaven for Little Girls?", "answer": ["Gigi", "GiGi"], "source": "triviaqa", "difficulty": "simple"} {"input": "When was Queen Noguk's husband born?", "answer": "23 May 1330", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who lived longer, Pannalal Barupal or Thomas Winterflood?", "answer": "Pannalal Barupal", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "The republic with the smallest population of all the members of the Council of Europe is one of few places in Europe where a species of beetle cannot be found, that wew originally described in 1809 by whom?", "answer": "Panzer", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Do You Know Where You're Going To? was the theme from which film?", "answer": ["Mahoganies", "Mahoganier", "Mahogony", "Mahagany", "Mahogany", "Mahoganish", "Mogany", "Mahoganyish"], "source": "triviaqa", "difficulty": "simple"} {"input": "The Developing Communities Project's first executive director was which former President?", "answer": "Barack Hussein Obama II", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Leonard Shure born?", "answer": "[\"Los Angeles\", \"Los Angeles, California\", \"Pink City\", \"The town of Our Lady the Queen of the Angels of the Little Portion\", \"La La Land\", \"Tinsel Town\", \"City of Angels\", \"City of Los Angeles\", \"LA, California\", \"L.A.\", \"LA\", \"Double Dubuque\", \"Los Ángeles\", \"Los Angeles, CA\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what county is the town where Peter M. Neal died?", "answer": "Essex County", "source": "musique", "difficulty": "multi_hop"} {"input": "The 2017 Supercheap Auto Bathurst 1000 will be held at the racing track with what two official names?", "answer": "Mount Panorama and Wahluu", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the GDP of the place where Spectre filming moved to after it was done in the place where the Centre was located?", "answer": "$390 billion", "source": "musique", "difficulty": "multi_hop"} {"input": "Which film has the director who is older, The Bedford Incident or The Kiss Of The Vampire?", "answer": "The Kiss Of The Vampire", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the meaning of the name of the administrative territorial entity that contains Sivand?", "answer": "Old Persian as Pars", "source": "musique", "difficulty": "multi_hop"} {"input": "Which band was founded first, Hole, the rock band that Courtney Love was a frontwoman of, or The Wolfhounds?", "answer": "The Wolfhounds", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Richard Martin's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "By which century had the birth city of the director of The Tale of Sweeney Todd started becoming a prominent capital city?", "answer": "the 11th century", "source": "musique", "difficulty": "multi_hop"} {"input": "Alain Fossoul played this position whose primary role is to prevent the opposing team from what", "answer": "scoring goals", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Lucy Elizabeth Fry played the lead in a television series that follows Eve who is a 19-year-old what?", "answer": "American tourist", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who sang had the time of my life", "answer": ["Bill Medley", "Jennifer Warnes"], "source": "nq", "difficulty": "simple"} {"input": "In what county is the city where the acoustic duo Poema formed?", "answer": "Bernalillo County, New Mexico", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Burna Boy's occupation?", "answer": "[\"songwriter\", \"song writer\"]", "source": "popqa", "difficulty": "simple"} {"input": "Where was the director of film The Crooked Trail born?", "answer": "New York", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Christos Mitsis born?", "answer": "[\"Marousi\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the date of death of the performer of song A Guy Is A Guy?", "answer": "May 13, 2019", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Ajay Kumar Parida's occupation?", "answer": "[\"biologist\", \"biologists\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the most common street name in the UK?", "answer": ["Main business road of a city", "Shopping thoroughfare", "Historic High Street", "High-street", "Highstreet", "High street", "The High Street", "High Street (British term)", "Retail street", "High Street", "Main commercial street of a city"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the ranking of the continent where Hagey Ridge is located by size?", "answer": "fifth-largest", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Keiko Aizawa's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\", \"seiyū\", \"Japanese voice actress\", \"seiyuu\", \"seiyu\", \"Japanese voice actor\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did the director of film Albert Schweitzer (Film) die?", "answer": "November 21, 1972", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who is the spouse of the director of film Angels In The Infield?", "answer": "Michelle King", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the date of death of Ludwig Of Hanau-Lichtenberg's mother?", "answer": "27 July 1522", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Thomas D. Schall born?", "answer": "[\"Reed City\", \"Reed City, Michigan\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which breed of dog is now extinct: Chinese Crested Dog or the Chien-gris?", "answer": "Chien-gris", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the family of Joachim II Hector, once elector of the town where the Villa Ingenheim is found?", "answer": "House of Hohenzollern", "source": "musique", "difficulty": "multi_hop"} {"input": "When is William Marshall (1796–1872)'s father's birthday?", "answer": "27 July 1765", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What was the 2018 population in the country of the 1920 Summer Olympics involving the nation with the Japanese School in the city where Christina went in Grey's Anatomy?", "answer": "11,420,163", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Markus Ragger born?", "answer": "[\"Klagenfurt\", \"Celovec\", \"Klagenfurt am Wörthersee\"]", "source": "popqa", "difficulty": "simple"} {"input": "\"\"\"The corn is as high as an elephant's eye is in which musical?\"", "answer": ["Okla.", "Oklahoma", "Oklahoma, United States", "Sooner State", "Forty-Sixth State", "Religion in Oklahoma", "Culture of Oklahoma", "46th State", "Oklahoma (U.S. state)", "Oklahoma, USA", "State of Oklahoma", "List of Oklahoma State Symbols", "Oaklahoma", "Oklaholma", "Transportation in Oklahoma", "US-OK", "Sports in Oklahoma", "Okla", "Oklahoman", "Oclahoma", "Education in Oklahoma", "Energy in Oklahoma", "Transport in Oklahoma", "Forty-sixth State", "Oklahoma (state)", "The Sooner State"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who had the noels Spy Hook and Spy Line published in the 80s?", "answer": ["Leonard Cyril Deighton", "Len Deighton", "Len Deighton's London Dossier"], "source": "triviaqa", "difficulty": "simple"} {"input": "What consortium of schools is the college that Stanley King went to a member of?", "answer": "Five Colleges", "source": "musique", "difficulty": "multi_hop"} {"input": "how much is a shot of espresso in ml", "answer": "30 ml", "source": "nq", "difficulty": "simple"} {"input": "What is Bedřich Feigl's occupation?", "answer": "[\"graphic designer\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Jason Bourque born?", "answer": "[\"Vancouver\", \"City of Vancouver\", \"Vancouver, BC\", \"Vancouver, British Columbia\"]", "source": "popqa", "difficulty": "simple"} {"input": "who plays claire underwood's mom on house of cards", "answer": "Ellen Burstyn", "source": "nq", "difficulty": "simple"} {"input": "how many korean athletes in winter olympics 2018", "answer": "122", "source": "nq", "difficulty": "simple"} {"input": "who holds the record for the most rebounds in the nba", "answer": "Wilt Chamberlain", "source": "nq", "difficulty": "simple"} {"input": "What is Joyce Tang's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "What record label does the songwriter of The sound of Silence belong to?", "answer": "Warner Bros.", "source": "musique", "difficulty": "multi_hop"} {"input": "Who brought to an end Jahangir Khan's long unbeaten run of success in squash in the 80s?", "answer": "Ross Norman", "source": "triviaqa", "difficulty": "simple"} {"input": "Are director of film The Actors and director of film Liar Liar from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are The Blue Veil (1951 film) and Negatives (1968 film) from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was August Brand born?", "answer": "[\"Berlin\", \"Berlin, Germany\", \"Berlin (Germany)\", \"DE-BE\"]", "source": "popqa", "difficulty": "simple"} {"input": "What river flows through the city KRMP broadcasts?", "answer": "North Canadian River", "source": "musique", "difficulty": "multi_hop"} {"input": "Which element is named after Pierre and Marie Curie?", "answer": ["Curium", "Element 96"], "source": "triviaqa", "difficulty": "simple"} {"input": "who is the number 1 most subscribed person on youtube", "answer": "PewDiePie", "source": "nq", "difficulty": "simple"} {"input": "Where was the performer in The Awakening born?", "answer": "Pittsburgh", "source": "musique", "difficulty": "multi_hop"} {"input": "Do both films Neither Rich nor Poor and Burning Palms (film) have the directors that share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "The author of \"Evolution: A Theory in Crisis\" is a Senior Fellow at what institute?", "answer": "Discovery Institute's Center for Science and Culture", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who's the screenwriter of the movie whose name is the country where Khirbet El-Knese is located?", "answer": "Samuel Maoz", "source": "musique", "difficulty": "multi_hop"} {"input": "who plays damon wayans wife on lethal weapon", "answer": "Keesha Sharp", "source": "nq", "difficulty": "simple"} {"input": "a mountain named for a king in canada", "answer": "King Edward Peak", "source": "nq", "difficulty": "simple"} {"input": "who are the voices on the phone walking dead", "answer": "those that have died", "source": "nq", "difficulty": "simple"} {"input": "Write a python function to find the minimum number of swaps required to convert one binary string to another.", "answer": "def min_Swaps(str1,str2) : \r\n count = 0\r\n for i in range(len(str1)) : \r\n if str1[i] != str2[i] : \r\n count += 1\r\n if count % 2 == 0 : \r\n return (count // 2) \r\n else : \r\n return (\"Not Possible\")", "source": "mbpp", "task_id": "699", "test_cases": "assert min_Swaps(\"1101\",\"1110\") == 1\nassert min_Swaps(\"1111\",\"0100\") == \"Not Possible\"\nassert min_Swaps(\"1110000\",\"0001101\") == 3", "difficulty": "code"} {"input": "Are both villages, Falizan and Eyvanabad, located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "where did adam lambert go to high school", "answer": "Mount Carmel High School", "source": "nq", "difficulty": "simple"} {"input": "What was the 2011 population of the unitary authority area that includes the village Eastoft?", "answer": "167,446", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where does the child of the director of The Mackintosh Man hold citizenship?", "answer": "America", "source": "musique", "difficulty": "multi_hop"} {"input": "who plays gisele in fast and furious 6", "answer": "Gal Gadot", "source": "nq", "difficulty": "simple"} {"input": "What is G. Karunakara Reddy's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Dennis Rodman's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Alexander Rinnooy Kan's occupation?", "answer": "[\"mathematician\", \"economist\", \"economists\"]", "source": "popqa", "difficulty": "simple"} {"input": "South Korean actor Kim Yool-ho starred in what 2016 movie directed by Yeon Sang-ho Yeon Sang-ho and starring actors Gong Yoo, Jung Yu-mi, and Ma Dong-seok?", "answer": "Train to Busan", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "thing that connects tongue to bottom of mouth", "answer": "frenulum of tongue", "source": "nq", "difficulty": "simple"} {"input": "In which musical do the sweeps sing Chim Chim Cheree?", "answer": ["Mrs. George Banks", "Winifred banks", "17 Cherry Tree Lane", "Bert (Mary Poppins)", "Mr. George Banks", "Mr George Banks", "Mary popins", "Mrs George Banks", "Marry Poppins", "Mrs Winifred Banks", "Mary Poppins", "Mrs. Winifred Banks", "Mary poppins", "Winifred Banks"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to combine two dictionaries by adding values for common keys.", "answer": "from collections import Counter\r\ndef add_dict(d1,d2):\r\n add_dict = Counter(d1) + Counter(d2)\r\n return add_dict", "source": "mbpp", "task_id": "902", "test_cases": "assert add_dict({'a': 100, 'b': 200, 'c':300},{'a': 300, 'b': 200, 'd':400})==({'b': 400, 'd': 400, 'a': 400, 'c': 300}) \nassert add_dict({'a': 500, 'b': 700, 'c':900},{'a': 500, 'b': 600, 'd':900})==({'b': 1300, 'd': 900, 'a': 1000, 'c': 900}) \nassert add_dict({'a':900,'b':900,'d':900},{'a':900,'b':900,'d':900})==({'b': 1800, 'd': 1800, 'a': 1800})", "difficulty": "code"} {"input": "The first female board member for the Liberal Party, she was born in which county in Norway?", "answer": "Vestfold", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was David Ogrin born?", "answer": "[\"Waukegan\", \"Waukegan, Illinois\"]", "source": "popqa", "difficulty": "simple"} {"input": "What piece was composed in 1937 for the American Bandmasters Association and has a melody similar to Green Bushes?", "answer": "Lincolnshire Posy", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who had a No 1 hit single with Together Forever?", "answer": ["Rickard Astley", "Rick ashley", "Playlist: The Best of Rick Astley", "Rick astley", "Rick ASTLEY", "Dick Spatsley", "Playlist: The Very Best of Rick Astley", "Rick Astley", "D. Spatsley", "Richard Paul Astley", "Rick Asley"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who is the spouse of the director of film Lord Of The Manor (Film)?", "answer": "Chrissie White", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which documentary, Crumb or Cancer, was produced first?", "answer": "Crumb", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are both George Rickards (Politician) and Maija Kovaļevska from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are Lyons Township High School and Lisbon High School (Maine) both located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "The actress that plays Amber in the sitcom \"The Old Guys\" received a BAFTA TV Award in 2014 for her role in what tv show?", "answer": "\"The IT Crowd\"", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Tuolumne in the county bordering Glencoe's county, in the state where Some Like It Hot was filmed, is in which country?", "answer": "United States", "source": "musique", "difficulty": "multi_hop"} {"input": "Which country the director of film Over To Delhi is from?", "answer": "India", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Paul Brill born?", "answer": "[\"Antwerp\", \"Antwerpen\", \"City of Antwerp\", \"Anvers\"]", "source": "popqa", "difficulty": "simple"} {"input": "what was the inaugural year of the ncaa tournament", "answer": "1939", "source": "nq", "difficulty": "simple"} {"input": "What was the first sitcom where Mickey Rooney was not called Mickey?", "answer": ["One of the Boys", "One of the boys", "One Of The Boys", "One of the Boys (album)", "One of the Boys (song)", "One of The Boys", "One of the Boys (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the date of death of the director of film Navy Blues (1937 Film)?", "answer": "October 22, 1969", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who became CEO of the record label Amie's performer belongs to?", "answer": "Peter Edge", "source": "musique", "difficulty": "multi_hop"} {"input": "how many records has the band behind Rude Awakening sold worldwide?", "answer": "38 million", "source": "musique", "difficulty": "multi_hop"} {"input": "In football, what position is WR?", "answer": ["Flanker (American football)", "Wide Receiver (American football)", "Wide out", "Wide Receivers", "Receiver (football)", "Wideout", "Wide reciever", "Wide Reciever", "Wide receivers", "Wide reciever plays", "Wide receiver (American football)", "Wide receiver", "Slot receiver", "Wide receivers coach", "Wide recievers", "Split end", "Wide Receiver"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the length of the River which has Wild Horse Creek as a tributary ?", "answer": "375 mi long", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Jim Brown's occupation?", "answer": "[\"radio personality\", \"radio presenter\", \"radio hostess\", \"host\", \"hostess\", \"radio host\", \"radio jockey\", \"radio program boss\", \"RJ\"]", "source": "popqa", "difficulty": "simple"} {"input": "where is lackland air force base located in texas", "answer": "Bexar County", "source": "nq", "difficulty": "simple"} {"input": "Did Frederick Joseph Loftus-Tottenham and Arban Severin have the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who played Mr. Carlson on WKRP in the city Killing of a Sacred Deer was filmed?", "answer": "Gordon Jump", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Ramón Luis Valcárcel Siso born?", "answer": "[\"Murcia\"]", "source": "popqa", "difficulty": "simple"} {"input": "when did the temporary foreign worker program start", "answer": "1973", "source": "nq", "difficulty": "simple"} {"input": "How much is the company that Jessica Alba is associated with worth as of 2015?", "answer": "$1.7 billion", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "A Fistfull of Dollars was filmed on location in which country?", "answer": ["Environment of Italy", "Italiën", "Subdivisions of Italy", "Republic of Italy", "ItalY", "ISO 3166-1:IT", "Etymology of Italy", "Itali", "Pollution in Italy", "Administrative divisions of Italy", "Austrian Empire (Italy)", "Italija", "Italie", "Italia", "Italian Republic", "Second Italian Republic", "Italy", "Italio", "Repubblica Italiana", "Itàlia", "The Italian republic"], "source": "triviaqa", "difficulty": "simple"} {"input": "What nationality are Ralph Tresvant and Chad Smith?", "answer": "American", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when did the jaguar e pace come out", "answer": "13 July 2017", "source": "nq", "difficulty": "simple"} {"input": "when did la paz become the capital of bolivia", "answer": "1898", "source": "nq", "difficulty": "simple"} {"input": "Which African country is sandwiched between Ghana and Benin?", "answer": ["Republic of Togo", "BQG", "ISO 3166-1:TG", "Health care in Togo", "Health in Togo", "République Togolaise", "Togo", "Republique Togolaise", "Togolese", "Sport in Togo", "Religion in Togo", "Togolese Republic", "Administrative divisions of Togo"], "source": "triviaqa", "difficulty": "simple"} {"input": "When did the black death occur in the continent where the first leg of Queen's mid 2000 tour with Now and Live's performer took place?", "answer": "from 1346 to 1353", "source": "musique", "difficulty": "multi_hop"} {"input": "What was the first name of the original food manufacturer Mr. Heinz?", "answer": ["Henry (disambiguation)", "Henry (crater)", "Henry (European rulers)", "Henry (crater) (disambiguation)", "Henry"], "source": "triviaqa", "difficulty": "simple"} {"input": "Does Terry Stembridge have the same nationality as Grace English?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Bruce Collie born?", "answer": "[\"Nuremberg\", \"Nürnberg\", \"Kreisfreie Stadt Nürnberg\", \"Nüremberg\"]", "source": "popqa", "difficulty": "simple"} {"input": "In which country was Anjelica Huston born?", "answer": ["Irlanda", "Island ireland", "Ireland (region)", "Irlandia", "Erin's Isle", "Airlan", "Ireland", "West Coast of Ireland", "The island of Ireland", "Island Ireland", "Ireland (island)", "Irland", "HÉireann", "Ireland Ulster", "Population of Ireland", "Irelander", "Ireland and Ulster", "Ireland (Island)", "IRELAND", "Symbol of Ireland", "Scotia major", "Island of Ireland", "Airlann", "Mikra Britannia", "Irelanders", "Auld Sod", "Ierne (placename)"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Paul's occupation?", "answer": "[\"missionary\", \"Christian missionary\"]", "source": "popqa", "difficulty": "simple"} {"input": "What high school did NFL quarterback, Heisman winner, and OU football player graduate from?", "answer": "Putnam City North High School", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the capital of the county where Timber Trails is located?", "answer": "San Andreas", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to replace whitespaces with an underscore and vice versa in a given string by using regex.", "answer": "import re\r\ntext = 'Python Exercises'\r\ndef replace_spaces(text):\r\n text =text.replace (\" \", \"_\")\r\n return (text)\r\n text =text.replace (\"_\", \" \")\r\n return (text)", "source": "mbpp", "task_id": "631", "test_cases": "assert replace_spaces('Jumanji The Jungle') == 'Jumanji_The_Jungle'\nassert replace_spaces('The Avengers') == 'The_Avengers'\nassert replace_spaces('Fast and Furious') == 'Fast_and_Furious'", "difficulty": "code"} {"input": "I Could Go on Singing was the last film of which screen legend?", "answer": ["Joey Luft", "Virgina gumm", "Frances Gumm", "Judy Garland-James Mason", "Judy Garland", "Frances Ethel Gumm", "Judy garland"], "source": "triviaqa", "difficulty": "simple"} {"input": "Are both director of film The Golden Cage (1933 Film) and director of film Raggedy Man from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Paul Humphries born?", "answer": "[\"Bromsgrove\"]", "source": "popqa", "difficulty": "simple"} {"input": "How many congressional districts are there in the state where most wheat is grown in the US?", "answer": "4", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Abraham Raimbach born?", "answer": "[\"London\", \"London, UK\", \"London, United Kingdom\", \"London, England\", \"Modern Babylon\"]", "source": "popqa", "difficulty": "simple"} {"input": "when did world war 2 in europe end", "answer": "May 8, 1945", "source": "nq", "difficulty": "simple"} {"input": "Who is Rhescuporis I (Odrysian)'s paternal grandfather?", "answer": "Raizdos", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "How many Jews live in the location that is claimed by Britain and the country where Elephant Jason is?", "answer": "180,000-300,000", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Margaret, Countess of Pembroke born?", "answer": "[\"Windsor Castle\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to check whether the given amount has no profit and no loss", "answer": "def noprofit_noloss(actual_cost,sale_amount): \r\n if(sale_amount == actual_cost):\r\n return True\r\n else:\r\n return False", "source": "mbpp", "task_id": "637", "test_cases": "assert noprofit_noloss(1500,1200)==False\nassert noprofit_noloss(100,100)==True\nassert noprofit_noloss(2000,5000)==False", "difficulty": "code"} {"input": "What is Sachiko Kokubu's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\", \"model\", \"fashion model\", \"sitter\", \"poser\"]", "source": "popqa", "difficulty": "simple"} {"input": "In which decade of the 20th century was Dan Aykroyd born?", "answer": ["The Fifties", "1950s", "1950-1959", "50's", "1950’s", "50s", "1950–1959", "Nineteen-fifties", "1950s (decade)", "1950ies", "1950's", "'50s", "195%3F", "Fifties"], "source": "triviaqa", "difficulty": "simple"} {"input": "In addition to A Bayou Legend, how many other works did William Grant Still compose?", "answer": "more than 150 works, including five symphonies and eight operas.", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Yinka Ayenuwa born?", "answer": "[\"Warri\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Vladimir Yakovlev born?", "answer": "[\"Moscow\", \"Moskva\", \"Moscow, Russia\", \"Moskva Federal City, Russia\", \"Moscow, USSR\", \"Moskva, Russia\", \"City of Moscow\", \"Moscow, Russian Federation\", \"Moscow, Soviet Union\", \"Moscow, Russian SFSR\", \"Muscovite\", \"Moscovite\"]", "source": "popqa", "difficulty": "simple"} {"input": "Since when has the automobile driven by Garrett Smithley for MBM Motorsports been sold?", "answer": "1982", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who wrote the novel Watership Down?", "answer": ["Richard Adams", "Richard George Adams", "Adams, Richard", "Adams, Richard George", "Richard Adams (author)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to clear the values of the given tuples.", "answer": "def clear_tuple(test_tup):\r\n temp = list(test_tup)\r\n temp.clear()\r\n test_tup = tuple(temp)\r\n return (test_tup)", "source": "mbpp", "task_id": "816", "test_cases": "assert clear_tuple((1, 5, 3, 6, 8)) == ()\nassert clear_tuple((2, 1, 4 ,5 ,6)) == ()\nassert clear_tuple((3, 2, 5, 6, 8)) == ()", "difficulty": "code"} {"input": "Who was president when the state where Wartburg College is located became a state?", "answer": "President James K. Polk", "source": "musique", "difficulty": "multi_hop"} {"input": "Who was born earlier, Joseph Peter Kinneary or Nando (Footballer, Born May 1967)?", "answer": "Joseph Peter Kinneary", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "\"Who created the line, \"\"Happiness is a warm puppy?\"", "answer": ["Sparky Schulz", "Charles Shulz", "Charles M. Shultz", "Charles M. Schulz", "Charles M Schulz", "Schulz, Charles Monroe", "Charles Shultz", "Schulz, Charles M", "Charles M. Schultz", "Charles Monroe Schulz", "Schulz, Charles M.", "Charles Schulz", "Charles Shulz Tribute", "Charlie Brown, Snoopy and Me"], "source": "triviaqa", "difficulty": "simple"} {"input": "when does the season of gold rush start 2017", "answer": "October 13, 2017", "source": "nq", "difficulty": "simple"} {"input": "Are Riku, Savadkuh and Sheli both located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Linden Ashby's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "In which city is the educational institution associated with George E. Rody located?", "answer": "Lawrence", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Petros Tabouris born?", "answer": "[\"Athens\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Pete Stewart born?", "answer": "[\"Statesville\", \"Statesville, North Carolina\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which guest who appeared in the album \"Animal Ambition\" was born with the name Albert Johnson?", "answer": "Prodigy", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are the directors of both films Hands Across the Border and Career Girls from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Gillian Raine's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Did the movies Find the Woman and Two Is a Family, originate from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What Carnegie library building located in the most populous city in Kansas was built in 1915, and listed on the National Register of Historic Places in 1987?", "answer": "Wichita City Carnegie Library Building", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Ezzard Charles was a world champion in which sport?", "answer": ["Prize fight", "Prize fighting", "Fistfighting", "Corner men", "Corner persons", "Prize-fighter", "Noble art", "Boxing", "Sports boxing", "Western boxing", "English boxing", "Boxing match", "Fistfight", "Cornermen", "Prizefighter", "Low guard", "Boxing (sport)", "Boxing moves", "Corner-man", "Cornerpersons", "Pugilism", "Corner-person", "Fist fight", "Boxing punches", "Round (boxing)", "Pugilist", "Boxer", "Fist-fighting", "Gentleman's sport", "Fist-fight", "拳闘", "Cornerperson", "Prizefights", "History of professional boxing", "Corner-persons", "Fist fighting", "Prize fighter", "Boxers", "Parrying (boxing)", "History of boxing", "Fist Fighting", "Prize Fighter", "Pugilistic", "Corner-men", "Corner person", "Ring second", "Hit and Away", "Boxing Styles and Techniques"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who is Prince Christian Oscar Of Hanover's maternal grandmother?", "answer": "Augusta Victoria", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Carolyn Eisele's occupation?", "answer": "[\"mathematician\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Jean-Baptiste de Lamarck's occupation?", "answer": "[\"biologist\", \"biologists\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which country the director of film One Night In Yoshiwara is from?", "answer": "Austrian", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "what type of rock is present at grand canyon national park", "answer": "sedimentary rock", "source": "nq", "difficulty": "simple"} {"input": "Out of 11 series of prime time seasons how many times did Happy days make the Nielsen Top Twenty?", "answer": ["8", "eight", "Eight"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the date of death of the director of film You And Me (1975 Film)?", "answer": "June 3, 2009", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which was available first the No Card or the Octopus card?", "answer": "Octopus card", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What was the official occupation of Sir Anthony Blunt who was unmasked as a Soviet spy in 1979?", "answer": ["Art historians", "Art-history", "Historical development of art history", "History of Art", "Art Historian", "History of the visual arts", "Arthistorians", "Art-historically", "Art-historians", "History of art", "Origin of Art", "History of the arts", "Social history of art", "Art-histories", "Art historical", "Art historically", "Arthistory", "Art-historian", "Art History", "Art histories", "Arthistorically", "Art-historical", "Arthistories", "Art historian", "Historian of art", "Arthistorian", "Arthistorical"], "source": "triviaqa", "difficulty": "simple"} {"input": "when does supernatural scooby doo episodes come out", "answer": "March 29, 2018", "source": "nq", "difficulty": "simple"} {"input": "Do both films Sri Rama Pattabhishekam and Our Man In Havana (Film) have the directors from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "the first credit cards were for use in what type of establishments?", "answer": ["Eateries", "Cookshop", "Restuarant", "Restarant", "Resteraunt", "Piqueteadero", "Restaurant", "Restaraunt", "Restaurants", "Resturants", "Resturant", "Public food facility", "Eatery", "Theatre restaurant", "Resturaunt", "Restuarent", "Restauraunt", "Chef's table", "Resterant"], "source": "triviaqa", "difficulty": "simple"} {"input": "The 1932 German football championship Final was played at a stadium that opened in what year?", "answer": "1928", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Kevin \"Jack\" Haugrud was the acting United States Secretary of the Interior, serving since the end of the Obama administration on January 20, 2017 until the swearing in of Ryan Zinke, an American politician and businessman, on which date?", "answer": "March 1, 2017", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who wrote life is just a bowl of cherries", "answer": ["music by Ray Henderson", "lyrics by Lew Brown"], "source": "nq", "difficulty": "simple"} {"input": "What is the country of citizenship of the artist singing on the song stay with the performer of For Everyman?", "answer": "America", "source": "musique", "difficulty": "multi_hop"} {"input": "what is the theme of midnight in paris", "answer": ["modernism", "nostalgia"], "source": "nq", "difficulty": "simple"} {"input": "Are Puka Q'Asa (Huancavelica) and Horsetooth Mountain both located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a python function to find the first digit in factorial of a given number.", "answer": "import math \r\ndef first_Digit(n) : \r\n fact = 1\r\n for i in range(2,n + 1) : \r\n fact = fact * i \r\n while (fact % 10 == 0) : \r\n fact = int(fact / 10) \r\n while (fact >= 10) : \r\n fact = int(fact / 10) \r\n return math.floor(fact)", "source": "mbpp", "task_id": "657", "test_cases": "assert first_Digit(5) == 1\nassert first_Digit(10) == 3\nassert first_Digit(7) == 5", "difficulty": "code"} {"input": "The signing of what began the basis of the organization that St. Barts became part of in 2012?", "answer": "the Treaty on the Functioning of the European Union", "source": "musique", "difficulty": "multi_hop"} {"input": "Were Pavel Urysohn and Leonid Levin known for the same type of work?", "answer": "no", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the date of death of the director of film Syncopating Sue?", "answer": "November 3, 1951", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "what car does reynolds woodcock drive in phantom thread", "answer": "a maroon Bristol 405", "source": "nq", "difficulty": "simple"} {"input": "When did Nazperver Kadın's husband die?", "answer": "3 July 1918", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are Calochone and Adlumia both plants?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Offer Nissim born?", "answer": "[\"Tel Aviv\", \"Tel Aviv-Yafo\", \"Tel-Aviv\", \"Tel Aviv City\", \"Tel Aviv-Jaffa\", \"Tel-aviv\", \"Tel aviv\", \"Tel-Aviv Jaffa\", \"Tel Aviv Jaffa\", \"Tel Aviv-Jafo\", \"Tel Aviv, Israel\", \"TLV\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a python function to get the position of rightmost set bit.", "answer": "import math\r\ndef get_First_Set_Bit_Pos(n):\r\n return math.log2(n&-n)+1", "source": "mbpp", "task_id": "957", "test_cases": "assert get_First_Set_Bit_Pos(12) == 3\nassert get_First_Set_Bit_Pos(18) == 2\nassert get_First_Set_Bit_Pos(16) == 5", "difficulty": "code"} {"input": "Where did the form of music played by Die Rhöner Säuwäntzt originate?", "answer": "United States", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who directed the 2013 slasher film that Alexandra Daddario starred in?", "answer": "John Luessenhop", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What was the alma mater of Richard Labonté originally called?", "answer": "Carleton College", "source": "musique", "difficulty": "multi_hop"} {"input": "When was free education introduced in the country where the resort town of Kalkudah is located?", "answer": "1 October 1945", "source": "musique", "difficulty": "multi_hop"} {"input": "who was heading indian army during bangladesh libration war 1971", "answer": "Sam Manekshaw", "source": "nq", "difficulty": "simple"} {"input": "Which country the director of film Convicts 4 is from?", "answer": "American", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which was released second, Charley and the Angel or Planes?", "answer": "Planes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Before finishing her feature film, Something's Got to Give, when did American actress, model and one of the most popular sex symbols of the 1950s, Marilyn Monroe die?", "answer": "August 5, 1962", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who died later, Sophia Bledsoe Herrick or Wilhelm Fliess?", "answer": "Wilhelm Fliess", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which element along with polonium did the Curies discover?", "answer": ["Radium", "Radium (Ra)", "Ra-226", "Element 88"], "source": "triviaqa", "difficulty": "simple"} {"input": "When did the writer of the song You Are My Home play at Shea Stadium?", "answer": "July 16 and 18 of 2008", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Wang Yaping born?", "answer": "[\"Yantai\", \"Chefoo\", \"Zhifu\", \"Chi-Fu\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is a resort and National Historic Landmark in Palm Beach, Florida, built from 1924 to 1927 by cereal-company heiress and socialite Marjorie Merriweather Post, that has Magazines available for free to members of the resort?", "answer": "Mar-a-Lago", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are Randal Kleiser and Kyle Schickner of the same nationality?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What agreement has the country where Fakanau originates committed to?", "answer": "Majuro Declaration", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Arcangelo Ghisleri's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Olatubosun Oladapo born?", "answer": "[\"Ibadan\"]", "source": "popqa", "difficulty": "simple"} {"input": "Albert Giacometti found fame as what?", "answer": ["Sculptress", "Anaglyphice", "Representational sculpture", "Prehistoric sculpture", "Sculpting", "Sculpture in-the-round", "Sculptor (artist)", "Stacked Art", "Sculpter", "Sculptures", "Sculpt", "Sculptor", "Outdoor sculpture", "Sculptor (occupation)", "Three dimensional art", "Renaissance sculpture", "Sculpturer", "History of Western sculpture", "History of sculpting", "Sculptural", "Sculptors", "History of sculpture", "Sculpture", "Sculpted", "Stonecarving", "Sculptor (profession)", "American sculptor", "Sculpts"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who is the Russian figure skater who danced with a Russian pair skater and in 1988 and 1994.", "answer": "Ekaterina Gordeeva", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When did pubs open all day in the country to which the king having the regnal name of the Duke of York came back?", "answer": "The Licensing Act 1988", "source": "musique", "difficulty": "multi_hop"} {"input": "What day did the publisher of Picopict unveil the new systems?", "answer": "October 18, 1985", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the date of death of the director of film 813 (Film)?", "answer": "October 1, 1955", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Country A is the origin of most foreign inhabitants of the country where the performers of \"Best Of\" are from. Who ruled Country A before it was conquered by the followers of Muhammad?", "answer": "Byzantine Empire", "source": "musique", "difficulty": "multi_hop"} {"input": "Who was buried in Milan under the name of Maria Maggi to discourage grave robbers?", "answer": ["Maria Maggi", "Ava Peron", "Saint Evita", "Eva Duarte de Perón", "Evita Peron", "Eva Duarte de Peron", "Eva Perón", "Eva %22Evita%22 Perón", "Eva Duarte", "Maria Eva Duarte de Perón", "Maria Eva Duarte de Peron", "Evita Perón", "Eva Peron", "Eva %22Evita%22 Peron", "María Eva Duarte de Perón"], "source": "triviaqa", "difficulty": "simple"} {"input": "What year was the unification of the country where the town of Tamparuli is found?", "answer": "1963", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Robert Zawada born?", "answer": "[\"Jedlnia-Letnisko\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the undergraduate enrollment at the school the director of Funny Ha Ha went to?", "answer": "7,200", "source": "musique", "difficulty": "multi_hop"} {"input": "What all female high school is located in a town in Sunyani West District in the Brong-Ahafo Region of Ghana?", "answer": "Notre Dame High School", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which author is known for her \"Anne of Green Gables\" books: Lucy Maud Montgomery or Jan Karon?", "answer": "Lucy Maud Montgomery", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "For how long did the network that was discussed alternate different broadcasting systems?", "answer": "six months", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a python function to check for odd parity of a given number.", "answer": "def check_Odd_Parity(x): \r\n parity = 0\r\n while (x != 0): \r\n x = x & (x - 1) \r\n parity += 1\r\n if (parity % 2 == 1): \r\n return True\r\n else: \r\n return False", "source": "mbpp", "task_id": "768", "test_cases": "assert check_Odd_Parity(13) == True\nassert check_Odd_Parity(21) == True\nassert check_Odd_Parity(18) == False", "difficulty": "code"} {"input": "When was the astronomical clock in Jan Klapáč's birth city built?", "answer": "1410", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Robert Viharo's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who is the screenwriter of the documentary named after the country where Brummana is found?", "answer": "Samuel Maoz", "source": "musique", "difficulty": "multi_hop"} {"input": "when did 3 point shot start in college basketball", "answer": "1980–81", "source": "nq", "difficulty": "simple"} {"input": "Boukhalef International airport is in which country?", "answer": ["ISO 3166-1:MA", "Al-Mamlakah al-Maġribiyya", "Maroc", "Royaume du Maroc", "Norocco", "Moraco", "Sultanate of Fez", "Etymology of Morocco", "المغرب", "Al-Mamlaka al-Maġribiyya", "Maroc (disambiguation)", "Morroco", "Al-Maġrib", "Lmaġrib", "Sherifian Empire", "Maroco", "Name of Morocco", "Morrocco", "Moroccan Kingdom", "Morocco", "Morrocan", "Al-Mamlakah al-Maġribiyah", "Moroco", "Marokko", "المملكة المغربية", "Marocko", "Sultanate of Morocco", "Al-Mamlaka al-Maghrebia", "Kingdom of Morocco"], "source": "triviaqa", "difficulty": "simple"} {"input": "What nationality is the director of film The Snowdrop Festival?", "answer": "Czech", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What city are George Washington University Hospital and MedStar Washington Hospital Center located in?", "answer": "Washington, D.C.", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when does real time with bill maher come back", "answer": "November 9, 2018", "source": "nq", "difficulty": "simple"} {"input": "What weekly publication in the city where James Dwight Dana died is issued by the university that Kerry attended?", "answer": "Yale Herald", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Neophyte of Bulgaria born?", "answer": "[\"Sofia\", \"Serdica\", \"Sredez\", \"Sofija\", \"Sredets\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did the sports team that employed Glyn Pardoe get promoted to the Premier League?", "answer": "1992", "source": "musique", "difficulty": "multi_hop"} {"input": "On which river was the Kariba Dam built?", "answer": ["Zambesi", "Zambezi river", "Zambezi basin", "Zambezi Valley", "Zambesi river", "Zambeze River", "Zambesi River", "Zambezian coastal flooded savanna", "Kabra Bassa rapids", "River Zambezi", "Sambesi", "Great Zambezi River", "Zambezi River", "Zambezi", "Zambezi valley", "Zambeze"], "source": "triviaqa", "difficulty": "simple"} {"input": "What county is the city that owns Principal Park located in?", "answer": "Warren County", "source": "musique", "difficulty": "multi_hop"} {"input": "who sang baby it's cold outside in a movie", "answer": ["Esther Williams", "Ricardo Montalban"], "source": "nq", "difficulty": "simple"} {"input": "The Siege of the capital before Ali changed it was part of what war?", "answer": "World War I", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Şefik Birkiye's occupation?", "answer": "[\"architect\"]", "source": "popqa", "difficulty": "simple"} {"input": "who has the final authority under the federal system", "answer": "the Supreme Court", "source": "nq", "difficulty": "simple"} {"input": "What type of band did a cover of a single that sold two million copies from 1969 to 1970?", "answer": "English glam rock band", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who sings mack the knife with the performer of Sinatra: London?", "answer": "Quincy Jones", "source": "musique", "difficulty": "multi_hop"} {"input": "movie with will smith and tommy lee jones", "answer": "Men in Black", "source": "nq", "difficulty": "simple"} {"input": "In which decade was Arnold Schwarzenegger born?", "answer": ["The Fifties", "1950s", "1950-1959", "50's", "1950’s", "1950–1959", "Nineteen-fifties", "1950s (decade)", "1950ies", "1950's", "'50s", "195%3F", "Fifties"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Trae tha Truth born?", "answer": "[\"Houston\", \"Houston, Texas\", \"Space City\", \"H-Town\", \"City of Houston\", \"USHOU\", \"Houston, TX\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to find n-th rencontres number.", "answer": "def binomial_coeffi(n, k): \r\n\tif (k == 0 or k == n): \r\n\t\treturn 1\r\n\treturn (binomial_coeffi(n - 1, k - 1) \r\n\t\t+ binomial_coeffi(n - 1, k)) \r\ndef rencontres_number(n, m): \r\n\tif (n == 0 and m == 0): \r\n\t\treturn 1\r\n\tif (n == 1 and m == 0): \r\n\t\treturn 0\r\n\tif (m == 0): \r\n\t\treturn ((n - 1) * (rencontres_number(n - 1, 0)+ rencontres_number(n - 2, 0))) \r\n\treturn (binomial_coeffi(n, m) * rencontres_number(n - m, 0))", "source": "mbpp", "task_id": "926", "test_cases": "assert rencontres_number(7, 2) == 924\nassert rencontres_number(3, 0) == 2\nassert rencontres_number(3, 1) == 3", "difficulty": "code"} {"input": "What is the seat of the county in which Walnut Grove, a city in the state where Christina Yang goes in season 9, is located?", "answer": "Redwood Falls", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Din Joe Crowley born?", "answer": "[\"Rathmore, County Kerry\"]", "source": "popqa", "difficulty": "simple"} {"input": "Where was the father of Margaret Of Hungary (Saint) born?", "answer": "Transylvania", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Edwin van der Sar spoke to the crowd after the fireworks incident on April 20, 2014 during the KNVB Cup final match. Which team won that game?", "answer": "Zwolle", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who did the person whose speech was ruined by Kanye West at the 2009 MTV Awards play in The Lorax?", "answer": "Audrey", "source": "musique", "difficulty": "multi_hop"} {"input": "In what year was the performer of Ilhas born?", "answer": "1985", "source": "musique", "difficulty": "multi_hop"} {"input": "When did Margaret Flamsteed's husband die?", "answer": "31 December 1719", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is William Murray, 1st Earl of Mansfield's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which K283BV artist is from Columbus, Ohio?", "answer": "Twenty One Pilots", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Were both Ted Tetzlaff and David Siegel film actors?", "answer": "no", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who is the mother of the director of film Blind Spot (1932 Film)?", "answer": "Carrie Daumery", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when was the golden nugget in the city where WPGG was liscensed in built?", "answer": "1985", "source": "musique", "difficulty": "multi_hop"} {"input": "When is the director of film Eclipse Of Reason 's birthday?", "answer": "July 31, 1926", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When did the event Rue d'Alésia is named for take place?", "answer": "September, 52 BC", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are Alsino And The Condor and 1922 (2017 Film) both from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who is Domangart Réti's paternal grandfather?", "answer": "Erc of Dalriada", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the name of the major railroad related museum located in the Indian city that also has the National Physical Laboratory?", "answer": "National Rail Museum", "source": "musique", "difficulty": "multi_hop"} {"input": "approximately what percentage of earth’s surface is covered with water", "answer": "71%", "source": "nq", "difficulty": "simple"} {"input": "Write a function to convert degrees to radians.", "answer": "import math\r\ndef radian_degree(degree):\r\n radian = degree*(math.pi/180)\r\n return radian", "source": "mbpp", "task_id": "606", "test_cases": "assert radian_degree(90)==1.5707963267948966\nassert radian_degree(60)==1.0471975511965976\nassert radian_degree(120)==2.0943951023931953", "difficulty": "code"} {"input": "Q: What venue, also called the \"Convent Garden,\" did Adrian Boult conduct for?", "answer": "The Royal Opera House", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where did the director of film Outwitted (1925 Film) die?", "answer": "Hollywood", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When is the cast in The Guardians born that is a South Korean singer, actor, fashion designer and television presenter?", "answer": "September 23, 1991", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function to caluclate perimeter of a parallelogram.", "answer": "def parallelogram_perimeter(b,h):\r\n perimeter=2*(b*h)\r\n return perimeter", "source": "mbpp", "task_id": "882", "test_cases": "assert parallelogram_perimeter(10,20)==400\nassert parallelogram_perimeter(15,20)==600\nassert parallelogram_perimeter(8,9)==144", "difficulty": "code"} {"input": "\"In which film was chorus girl Peggy Sawyer told to \"\"come back a star?\"\"\"", "answer": ["42nd Street (New York City Subway)", "42nd Street (disambiguation)", "42nd Street", "42nd street", "42nd Street (New York City Subway station)", "42nd Street (NYCS)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Are Takamatsu Airport and Freehold Airport located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are the directors of both films Night Terrors (Film) and Anhonee (1973 Film) from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who's the father of the director of From the Sky Down?", "answer": "Charles Guggenheim", "source": "musique", "difficulty": "multi_hop"} {"input": "In which decade did the Super Bowl begin?", "answer": ["Sixties Revolution", "Turbulent Sixties", "1960s (decade)", "The '60's", "60's", "1960s in sports", "1960's", "Nineteen sixties", "The 60s", "1960s", "The '60s", "Sixties", "The 60's", "Nineteen-sixties", "1960ies", "1960–1969", "%6060s", "'60s", "1960-1969", "1960’s", "The Sixties"], "source": "triviaqa", "difficulty": "simple"} {"input": "What nationality is Pamela Chopra's husband?", "answer": "India", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When did the director of film An International Marriage die?", "answer": "10 August 1960", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who wrote the sanford and son theme song", "answer": "Quincy Jones", "source": "nq", "difficulty": "simple"} {"input": "Who was in charge of the country where Lug is located?", "answer": "Aleksandar Vučić", "source": "musique", "difficulty": "multi_hop"} {"input": "What was a single released in 1959 and peaked at number 4 on the \"Billboard\" Hot 100, performed by an American country-influenced rock and roll duo, known for steel-string acoustic guitar playing and close harmony singing?", "answer": "'Till) I Kissed You", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "The person defeating the last song emperor of the country having the most wind turbines in the world held what position?", "answer": "Khagan", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to remove all whitespaces from a string.", "answer": "import re\r\ndef remove_all_spaces(text):\r\n return (re.sub(r'\\s+', '',text))", "source": "mbpp", "task_id": "800", "test_cases": "assert remove_all_spaces('python program')==('pythonprogram')\nassert remove_all_spaces('python programming language')==('pythonprogramminglanguage')\nassert remove_all_spaces('python program')==('pythonprogram')", "difficulty": "code"} {"input": "when did the movie inside out come out", "answer": "2015", "source": "nq", "difficulty": "simple"} {"input": "What is the highest point at which it can be found in the country where Pakwach is located?", "answer": "1,400 metres", "source": "musique", "difficulty": "multi_hop"} {"input": "who is the chairman of coal india limited", "answer": "Anil Kumar Jha", "source": "nq", "difficulty": "simple"} {"input": "What is the historical name of the acid that dissolves phenazine?", "answer": "oil of vitriol", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "where is the gum wall in seattle washington", "answer": "Post Alley", "source": "nq", "difficulty": "simple"} {"input": "In what city was Ferdinand Elle born?", "answer": "[\"Mechelen\", \"Mechlin\", \"Malines\"]", "source": "popqa", "difficulty": "simple"} {"input": "When was the English disc jockey who hosted \"The Voice UK\" born?", "answer": "18 March 1985", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when does shokugeki no soma season 3 return", "answer": "April 9, 2018", "source": "nq", "difficulty": "simple"} {"input": "Which singer married director Blake Edwards?", "answer": ["Julia Elizabeth Wells", "Julie Elizabeth Andrews, DBE", "Julie Andrews Edwards", "Julie Wells", "Julie Elizabeth Wells", "Julie Elizabeth Andrews", "Dame Julie Andrews", "Julie Elizabeth Andrews DBE", "Julie andrews", "Julie Andrews"], "source": "triviaqa", "difficulty": "simple"} {"input": "In the Spanish Wikipedia what percentage of edits came from the country containing Bruzual?", "answer": "5.1", "source": "musique", "difficulty": "multi_hop"} {"input": "Where does Lance Stephenson of the Indiana Pacers basketball team play his home games?", "answer": "Bankers Life Fieldhouse", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Pierre Abraham's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are both villages, Peniki and Goleh Dun, located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What was the first civic chartered company in the state of a county sharing a border with Alabaster Township's county?", "answer": "Ann Arbor Civic Ballet", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Scott Fraser born?", "answer": "[\"Edinburgh\", \"Edinburg\", \"Edinburgh, Scotland\", \"City of Edinburgh\", \"Edina\", \"Modern Athens\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did the country that Sanath Nandasiri is from leave the British Empire?", "answer": "February 4, 1948", "source": "musique", "difficulty": "multi_hop"} {"input": "How was Nguyen that Tan better known?", "answer": ["Ho chi mihn", "Ho Ci Minh", "Hi chi minh", "Ho chi min", "Ho Chih-minh", "Nguyen O-Pháp", "Hò Chí Minh", "Nguyen Ta't-Thanh", "Minh Hồ", "阮生恭", "Maison pour Tous", "Ái Quốc Nguyễn", "Hu Zhiming", "Nguyen Tat Thành", "Nguyen Sinh Cung", "Nguyen Tat Thanh", "Hú Zhìmíng", "Nguyen O-Phap", "Ho Chí Minh", "Sinh Cung Nguyễn", "Nguyen Ai-Quoc", "Hồ, Chí Minh", "Minh Chí Hồ", "Ho chi ming", "Ho Chi Minh", "Nguyễn Sinh Cung", "Nguyen Ai Quoc", "Ho Chi Min", "Hồ Chí Minh", "Chi Minh Ho", "Uncle Ho", "Hô Chí Minh", "Húzhìmíng", "Ho, Chi Minh", "Nguyen the Patriot", "That Thanh Nguyen", "Ho Chih Minh", "Nguyên Sinh Cung", "Bac Ho", "Hochiminh", "Chí Minh Hồ", "胡志明", "Nguyễn Ái Quốc", "Ho chi minh", "Ho Che Min", "Hô Chi Minh", "阮必成", "Bác Hô", "Hochi Min", "阮愛國", "Tất Thành Nguyễn", "Bác Hò", "Ho-Chi Minh"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Cecil Aldin's occupation?", "answer": "[\"illustrator\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Baptiste Lecaplain born?", "answer": "[\"Mortain\"]", "source": "popqa", "difficulty": "simple"} {"input": "What nationality is the director of film Mistress (1992 Film)?", "answer": "American", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What profession does Nicholas Ray and Elia Kazan have in common?", "answer": "director", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "How is the human rights record of the country containing Tselinograd District compared to the rest of the world?", "answer": "one of the poorest", "source": "musique", "difficulty": "multi_hop"} {"input": "Jack Brennan served in a military organisation founded by who?", "answer": "Samuel Nicholas", "source": "musique", "difficulty": "multi_hop"} {"input": "Which film with Ralph Fiennes won Anthony Minghella an Oscar?", "answer": ["The English Patient", "The English Patient (novel)", "English Patient"], "source": "triviaqa", "difficulty": "simple"} {"input": "Name the mother of Edward Stafford, 4th Baron Stafford, who was the daughter of the English nobleman and politician Edward Stanley, 3rd Earl of Derby?", "answer": "Mary Stanley", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Do Gordon Lowe and Eddie Murphy (Baseball) have the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "The company that manufactured PDQ Chocolate is a registered trademark of what company?", "answer": "Associated British Foods", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Tina Sloan's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Renato Bartilotti born?", "answer": "[\"Villahermosa\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which country the composer of film Diamond Skulls is from?", "answer": "German", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Harry W. Kvebæk born?", "answer": "[\"Fetsund\"]", "source": "popqa", "difficulty": "simple"} {"input": "which metal is used as a thin film on sweets", "answer": ["silver", "gold"], "source": "nq", "difficulty": "simple"} {"input": "What is the place of birth of the director of film Allie & Me?", "answer": "Melbourne", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are both Sopwith Camel (Band) and Filipinki from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are Sharifabad, Andika and Qaleh Now-Ye Fariman located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are both buildings, Santa María De Santa Cruz De La Serós and Newcastle Cruise Terminal, located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Julia Jones born?", "answer": "[\"Droitwich Spa\", \"Droitwich Spa, Worcestershire\", \"Droitwich\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which bridge is the subject of Hart Crane's The bridge?", "answer": ["I have a bridge to sell you", "I've a bridge to sell you", "Brooklyn bridge", "Brooklyn Bridge", "The Brooklyn Bridge", "East River Bridge", "I've got a bridge to sell you", "Buy the brooklyn bridge", "Brooklin bridge", "I got a bridge to sell you", "Bridge buying", "Selling the Brooklyn Bridge"], "source": "triviaqa", "difficulty": "simple"} {"input": "In which decade was the Benjamin Franklin suspension bridge opened?", "answer": ["1920's", "1920s (decade)", "1920s", "1920-1929", "1920–1929", "Twenties", "The Twenties", "Nineteen twenties", "'20s", "1920s literature", "Social issues of the 1920s", "Nineteen-twenties"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is George Washington Owen's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who is the former professional tennis player from Italy, Chris Evert or Mara Santangelo?", "answer": "Mara Santangelo", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who directed 2001: A Space Odyssey?", "answer": ["Stanley Q-Brick", "Stanley kubrick", "Stan Kubrick", "Stanley Kubrik", "Kubricks", "List of Stanley Kubrick films", "Stanley Kubrick", "Uncompleted Kubrick films", "Toba metz", "Stanley kubrik", "Kubrick", "Kubrik", "Kubrickian"], "source": "triviaqa", "difficulty": "simple"} {"input": "who played in how to marry a millionaire", "answer": ["Betty Grable", "Lauren Bacall", "Alex D'Arcy", "Marilyn Monroe", "Fred Clark", "Cameron Mitchell", "Rory Calhoun", "David Wayne", "William Powell"], "source": "nq", "difficulty": "simple"} {"input": "What is Richard Howland Hunt's occupation?", "answer": "[\"architect\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are both directors of films El Mar De Lucas and How Sweet It Is (2013 Film) from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who composed the famous song 'sare jahan se acha'", "answer": "Muhammad Iqbal", "source": "nq", "difficulty": "simple"} {"input": "Where did the performer of song After The Dance (Song) die?", "answer": "Los Angeles", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What county was PayPal formed in?", "answer": "Nueces County", "source": "musique", "difficulty": "multi_hop"} {"input": "Who is credited with the discovery of galaxies outside of our own?", "answer": ["Edwin Hubble", "E. Hubble", "Hubble, Edwin Powell", "Edwin P. Hubble", "Edwin Powell Hubble"], "source": "triviaqa", "difficulty": "simple"} {"input": "when did apple computer change to apple inc", "answer": "January 9, 2007", "source": "nq", "difficulty": "simple"} {"input": "Which ship was sunk by a German submarine in 1915 with a loss of 1400 lives including 128 Americans?", "answer": ["Roman Lusitania", "Luso-", "Lusitânia", "Lusitania", "Hispania Lusitania", "Lusitania (ancient region)", "Roman province Lusitania", "Lusitania (Roman province)"], "source": "triviaqa", "difficulty": "simple"} {"input": "What American country music singer-songwriter, born in May of 1942, sang a duet with her ex-husband the same year that he released the song \"The Battle?\"", "answer": "Tammy Wynette", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "where did the austro prussian war take place", "answer": ["Italy", "Adriatic Sea", "Germany", "Bohemia"], "source": "nq", "difficulty": "simple"} {"input": "What is Andrew Trischitta's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "what is the connection between Peter O'Meara and Norman Dike?", "answer": "Band of Brothers", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who wrote the song when will i see you again", "answer": "Kenny Gamble and Leon Huff", "source": "nq", "difficulty": "simple"} {"input": "Are the movies Shadows of the West and The Matchmaker (1934 film), from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When did the director of film A Wedding In The Dream die?", "answer": "January 31, 1951", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where did Mok Kwai-lan's spouse die?", "answer": "Canton", "source": "musique", "difficulty": "multi_hop"} {"input": "Do both films Zebrahead (film) and Comedians (1925 film) have the directors from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When was the director of film Mr. Moto Takes A Chance born?", "answer": "December 13, 1903", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What comic book published the female superhero created by J. H. Williams III?", "answer": "DC Comics", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when was the castle in versailles ky built", "answer": "1969", "source": "nq", "difficulty": "simple"} {"input": "When did the director of film Should A Mother Tell? die?", "answer": "December 31, 1925", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are Belcher Channel and Glunze located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "where are the houses from full house located", "answer": "Alamo Square Park", "source": "nq", "difficulty": "simple"} {"input": "when did the tv show full house start", "answer": "September 22, 1987", "source": "nq", "difficulty": "simple"} {"input": "number of starbucks stores in the united states", "answer": "13,327", "source": "nq", "difficulty": "simple"} {"input": "Who was the winner of the last Open at Carnoustie before Paul Lawrie?", "answer": ["Tommy Watson", "Tom Watson (politician)", "Tom Watson MP", "Tommy Watson (footballer)", "Thomas Watson", "Thomas Watson (disambiguation)", "Thomas Watson (MP)", "Tom Watson", "Watson, Thomas"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what year did the submarine that sank the Tsushima Maru open to public tours?", "answer": "1981", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when were subs first used in english football", "answer": "as early as the 1850s", "source": "nq", "difficulty": "simple"} {"input": "When does the monsoon season end in the state where Charlotte Cortlandt Ellis resides?", "answer": "mid-September", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to locate the right insertion point for a specified value in sorted order.", "answer": "import bisect\r\ndef right_insertion(a, x):\r\n i = bisect.bisect_right(a, x)\r\n return i", "source": "mbpp", "task_id": "786", "test_cases": "assert right_insertion([1,2,4,5],6)==4\nassert right_insertion([1,2,4,5],3)==2\nassert right_insertion([1,2,4,5],7)==4", "difficulty": "code"} {"input": "Which pioneering aviator had a plane called Percival Gull?", "answer": ["Jean Gardner Batten", "Jean Batten", "Jean Gardner Batten CBE"], "source": "triviaqa", "difficulty": "simple"} {"input": "What was Tootsie's name before he turned into Tootsie?", "answer": ["Michael Dorsey", "Michael K. Dorsey"], "source": "triviaqa", "difficulty": "simple"} {"input": "The Royal Commission into Drug Trafficking (1977–1979) or Woodward Royal Commission was a royal commission initiated by the New South Wales Government to investigate drug trafficking in New South Wales, Australia, especially links between the New South Wales Police and Mafia, The Honoured Society, is a Calabrian 'Ndrangheta criminal confederation, started in Melbourne and currently active in all of which country?", "answer": "Australia", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who is younger, Hugo Heermann or Reuben Ewing?", "answer": "Reuben Ewing", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Ann Friedman's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was K. M. Beenamol born?", "answer": "[\"Kerala\", \"Keralam\", \"IN-KL\", \"God's Own Country\", \"Land of coconuts\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are the bands The Blakes and Big Supreme, from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Gérard Fromanger born?", "answer": "[\"Jouars-Pontchartrain\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the date of death of Beatrice, Countess Of Alburquerque's mother?", "answer": "7 January 1355", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When did the currencies of the country where the Changane River is located first come into circulation?", "answer": "16 June 1980", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Felicia Chateloin's occupation?", "answer": "[\"architect\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who is the model on the music video by the performer of \"Watch Dem Roll\"?", "answer": "Lisa Jackson", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Edwin E. Ellis's occupation?", "answer": "[\"photographer\", \"photog\", \"photographers\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Grace Frankland's occupation?", "answer": "[\"microbiologist\"]", "source": "popqa", "difficulty": "simple"} {"input": "what canadian network is a million little things on", "answer": "Citytv", "source": "nq", "difficulty": "simple"} {"input": "In which state is Camp David?", "answer": ["Education in Maryland", "The Old Line State", "Murder Land", "Geography of Maryland", "Mary Land", "Maryland", "Economy of Maryland", "Transport in Maryland", "Old Line State", "Maryland, USA", "Maryland, United States", "Maryland gross state product", "MarylanD", "Maryland (state)", "Mariland", "Seventh State", "MD, USA", "Murda Land", "Maryland (U.S. state)", "Climate of Maryland", "US-MD", "Demographics of Maryland", "Transportation in Maryland", "Religion in Maryland", "Maralind", "7th State", "State of Maryland"], "source": "triviaqa", "difficulty": "simple"} {"input": "When was the Taj Mahal built in the city where WNJN-FM is located?", "answer": "1983", "source": "musique", "difficulty": "multi_hop"} {"input": "what is the name of the mineral in black panther", "answer": "vibranium", "source": "nq", "difficulty": "simple"} {"input": "What is Modou Dia's occupation?", "answer": "[\"diplomat\", \"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "who was alf married to in home and away", "answer": "Ailsa Stewart", "source": "nq", "difficulty": "simple"} {"input": "What is Dima Grigoriev's occupation?", "answer": "[\"mathematician\"]", "source": "popqa", "difficulty": "simple"} {"input": "When is the modern period dated in the country of citizenship of the author of Doctrine and Discipline of Divorce?", "answer": "Battle of Bosworth in 1485", "source": "musique", "difficulty": "multi_hop"} {"input": "Are director of film The Squeeze (1987 Film) and director of film Web Of The Spider both from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which country the composer of song Every Day I Have To Cry (Song) is from?", "answer": "American", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Terry Hunte born?", "answer": "[\"Saint Philip\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the birthdate of this former NASA astronaut and a retired captain in the United States Navy, who published the book Lost Moon: The Perilous Voyage of Apollo 13?", "answer": "March 25, 1928", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where is the multinational Nestle based?", "answer": ["ISO 3166-1:CH", "Svissland", "Etymology of Switzerland", "Confederation Helvetia", "Swizerland", "Confederatio Helvetica", "Environmental Integrity Group", "Confoederatio Helvetica", "Svizra", "SWITZERLAND", "Confédération suisse", "SwissEnergy", "Schweitz", "Švýcarsko", "Die Schweiz", "Schwitzerland", "Confederation suisse", "Der Schweiz", "Swiss Confederated States", "Suiza", "Switz", "Switzeland", "Schweiz", "Confederation Helvetica", "Switserland", "Suisse", "Schweizerische Eidgenossenschaft", "Switzerland information", "Confederaziun Svizra", "Switzer land", "Switzerland", "Land of the Switzers", "Swiss confederation", "Confœderatio Helvetica", "Swiss", "Confederation Suisse", "Confederation of Helvatia", "Land of the Swiss", "Confederaziun svizra", "Svizzera", "Swissland", "Swizterland", "Confédération Suisse", "Confederazione Svizzera", "Swiss Confederation"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a python function to count equal element pairs from the given array.", "answer": "def count_Pairs(arr,n): \r\n cnt = 0; \r\n for i in range(n): \r\n for j in range(i + 1,n): \r\n if (arr[i] == arr[j]): \r\n cnt += 1; \r\n return cnt;", "source": "mbpp", "task_id": "831", "test_cases": "assert count_Pairs([1,1,1,1],4) == 6\nassert count_Pairs([1,5,1],3) == 1\nassert count_Pairs([3,2,1,7,8,9],6) == 0", "difficulty": "code"} {"input": "Where was the director of film Paris (1937 Film) born?", "answer": "Geneva", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which pop artist died in New York in1987?", "answer": ["Andy Warhaul", "Warhol", "Warholian Pop", "Andy Warhola", "Andrew warhola", "Andy Warhol Foundation for the Visual Arts", "Warholite", "Andy warhol", "Drella", "Andrew Warhol", "Andy Wahrol", "Andy worhol", "Andrew Warhola", "Andy Warhol Foundation", "Warholesque", "Warholian", "Warhol Foundation", "Andy Warhol", "Paul Warhola"], "source": "triviaqa", "difficulty": "simple"} {"input": "When did the state where Decampitated is set become part of the United States?", "answer": "August 1, 1876", "source": "musique", "difficulty": "multi_hop"} {"input": "From which country did Angola achieve independence in 1975?", "answer": ["Portogało", "Republic of Portugal", "PORTUGAL", "Portekiz", "Portugallu", "O Papagaio", "ISO 3166-1:PT", "Portunga", "Phu-to-ga", "Potigal", "Portûnga", "Portugul", "An Phortaingéil", "Portugāle", "Portugale", "Portingale", "Potiti", "Portugali", "Portugall", "Portekîz", "Bo Dao Nha", "Portuguese Republic", "Portogallo", "Portugaul", "Portogalo", "Portyngal", "Yn Phortiugal", "Portugalio", "Portugál", "Portugual", "Portuga", "Portgual", "Portugalsko", "Portugaleje", "Phû-tô-gâ", "Portugalujo", "Portugalija", "Pertual", "Pòtigal", "Portugal", "Bồ Đào Nha", "Portugalska", "República Portuguesa", "Portiwgal", "Portugalėjė", "Portúgal", "Portegal", "An Phortaingeil", "Republica Portuguesa"], "source": "triviaqa", "difficulty": "simple"} {"input": "Extras, is a British sitcom about extras working in television, film, and theatre, the series was co-produced by the BBC and HBO and was created, written, and directed by Ricky Dene Gervais, an English comedian, actor, writer, producer, director, singer, and musician, born on which date?", "answer": "25 June 1961", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when was the american flag flown for the first time", "answer": "June 1777", "source": "nq", "difficulty": "simple"} {"input": "who was in series 1 of safe house", "answer": ["Christopher Eccleston as Robert Carmichael", "Marsha Thomason as Katy Carmichael"], "source": "nq", "difficulty": "simple"} {"input": "How many husbands did the Wife of Bath have, as reported in Chaucer's Canterbury Tales?", "answer": ["five", "5", "Five"], "source": "triviaqa", "difficulty": "simple"} {"input": "In WWII, when did America declare war on the country where Princess Sophie Antoinette of Brunswick-Wolfenbüttel died?", "answer": "11 December 1941", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a python function to find nth bell number.", "answer": "def bell_Number(n): \r\n bell = [[0 for i in range(n+1)] for j in range(n+1)] \r\n bell[0][0] = 1\r\n for i in range(1, n+1):\r\n bell[i][0] = bell[i-1][i-1]\r\n for j in range(1, i+1): \r\n bell[i][j] = bell[i-1][j-1] + bell[i][j-1] \r\n return bell[n][0]", "source": "mbpp", "task_id": "608", "test_cases": "assert bell_Number(2) == 2\nassert bell_Number(3) == 5\nassert bell_Number(4) == 15", "difficulty": "code"} {"input": "Are Gin and tonic and Paloma both cocktails based on tequila?", "answer": "no", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Hermann Ahlwardt's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who was born later, Joseph Haboush or Alexander Argüelles?", "answer": "Joseph Haboush", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which country the director of film Kiss The Bride Goodbye is from?", "answer": "Austrian", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "the two sides of the standard of ur depict", "answer": "war and peace", "source": "nq", "difficulty": "simple"} {"input": "Who founded the employer of Eric Fenby?", "answer": "Edward Fisher", "source": "musique", "difficulty": "multi_hop"} {"input": "Do director of film Zila Ghaziabad and director of film Teree Sang share the same nationality?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where is the German campaign in the country where Cutato was located?", "answer": "Portuguese Angola", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Giuseppe Bezzuoli born?", "answer": "[\"Florence\", \"Firenze\", \"Florence, Italy\", \"Florence, Tuscany\", \"Florencia\", \"Florentia\", \"Florenz\", \"Firenca\", \"Florencie\", \"Fiuränza\", \"Florentzia\", \"Firense\", \"Firenz\", \"Firenzi\"]", "source": "popqa", "difficulty": "simple"} {"input": "What date is Father's Day?", "answer": "3rd Sunday in June", "source": "triviaqa", "difficulty": "simple"} {"input": "when did mcdonald's get the golden arches", "answer": "1962", "source": "nq", "difficulty": "simple"} {"input": "In what city was Andrew Carnie born?", "answer": "[\"Calgary\", \"City of Calgary\", \"Calgary, Alberta\", \"Calgary, AB\", \"Calgary, Canada\"]", "source": "popqa", "difficulty": "simple"} {"input": "The Golden Globe Award winner for best actor from \"Roseanne\" starred along what actress in Gigantic?", "answer": "Zooey Deschanel", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who is the first Indian climber of the mount where Francys Arsentiev died?", "answer": "Bachendri Pal", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to check if the given tuple contains all valid values or not.", "answer": "def check_valid(test_tup):\r\n res = not any(map(lambda ele: not ele, test_tup))\r\n return (res)", "source": "mbpp", "task_id": "713", "test_cases": "assert check_valid((True, True, True, True) ) == True\nassert check_valid((True, False, True, True) ) == False\nassert check_valid((True, True, True, True) ) == True", "difficulty": "code"} {"input": "Are both businesses, Vakıfbank and Infopro Sdn Bhd, located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What was Mr. Magoo's first name?", "answer": ["Quincy (disambiguation)", "Quincy"], "source": "triviaqa", "difficulty": "simple"} {"input": "When was the country from which The Chinese Feast originated taken by the British?", "answer": "1842", "source": "musique", "difficulty": "multi_hop"} {"input": "In what county is the community of Lyons found, in the state where the series My Talk Show is set?", "answer": "Walworth County", "source": "musique", "difficulty": "multi_hop"} {"input": "what is the capital of new zealands north island", "answer": "Wellington", "source": "nq", "difficulty": "simple"} {"input": "What is Alfredo Narciso's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did the European state that seized the country containing Al-Berka, from the empire against which the Gallipoli Campaign was fought, become an Ally in WWII?", "answer": "July 1943", "source": "musique", "difficulty": "multi_hop"} {"input": "when did fred hollows get australian of the year", "answer": "1990", "source": "nq", "difficulty": "simple"} {"input": "who did chris long play football for last year", "answer": "Eagles", "source": "nq", "difficulty": "simple"} {"input": "Write a function to find the smallest multiple of the first n numbers.", "answer": "def smallest_multiple(n):\r\n if (n<=2):\r\n return n\r\n i = n * 2\r\n factors = [number for number in range(n, 1, -1) if number * 2 > n]\r\n while True:\r\n for a in factors:\r\n if i % a != 0:\r\n i += n\r\n break\r\n if (a == factors[-1] and i % a == 0):\r\n return i", "source": "mbpp", "task_id": "901", "test_cases": "assert smallest_multiple(13)==360360\nassert smallest_multiple(2)==2\nassert smallest_multiple(1)==1", "difficulty": "code"} {"input": "When did women get the right to vote in the nation that is followed by the country where government phonology is popular?", "answer": "1928", "source": "musique", "difficulty": "multi_hop"} {"input": "In which film did David Niven play James Bond?", "answer": ["Casino royale", "Casino Royal", "Royal Casino", "Casino Royale", "Casino Royale (film)", "Casino Royale (disambiguation)", "Casino Roy"], "source": "triviaqa", "difficulty": "simple"} {"input": "Where was the director of film La Morte Risale A Ieri Sera born?", "answer": "Genoa", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who sings in there's something about mary", "answer": "Jonathan Richman", "source": "nq", "difficulty": "simple"} {"input": "who killed dennis rickman in eastenders in 2005", "answer": "Danny Moon", "source": "nq", "difficulty": "simple"} {"input": "In what city was Shagari Mohammed born?", "answer": "[\"Kano\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a python function to find the sum of squares of binomial co-efficients.", "answer": "def factorial(start,end): \r\n res = 1 \r\n for i in range(start,end + 1): \r\n res *= i \r\n return res \r\ndef sum_of_square(n): \r\n return int(factorial(n + 1, 2 * n) /factorial(1, n))", "source": "mbpp", "task_id": "905", "test_cases": "assert sum_of_square(4) == 70\nassert sum_of_square(5) == 252\nassert sum_of_square(2) == 6", "difficulty": "code"} {"input": "In baseball, when a team is pitching how many players do they have on the field?", "answer": ["9", "nine", "Nine"], "source": "triviaqa", "difficulty": "simple"} {"input": "What does Volkswagen actually mean?", "answer": ["People's car", "Tata nano", "Tata 1 Lakh car", "E-Nano", "Tata Nano EV", "Tata jeh", "Nano Europa", "Nano car", "Tata Nano", "Nano (car)", "The People's Car", "One lakh car", "Tata Jeh", "People's Car (Tata)", "Nano (Tata's car)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to find the largest subset where each pair is divisible.", "answer": "def largest_subset(a, n):\r\n\tdp = [0 for i in range(n)]\r\n\tdp[n - 1] = 1; \r\n\tfor i in range(n - 2, -1, -1):\r\n\t\tmxm = 0;\r\n\t\tfor j in range(i + 1, n):\r\n\t\t\tif a[j] % a[i] == 0 or a[i] % a[j] == 0:\r\n\t\t\t\tmxm = max(mxm, dp[j])\r\n\t\tdp[i] = 1 + mxm\r\n\treturn max(dp)", "source": "mbpp", "task_id": "620", "test_cases": "assert largest_subset([ 1, 3, 6, 13, 17, 18 ], 6) == 4\nassert largest_subset([10, 5, 3, 15, 20], 5) == 3\nassert largest_subset([18, 1, 3, 6, 13, 17], 6) == 4", "difficulty": "code"} {"input": "where is once upon a time in hollywood being filmed", "answer": "Los Angeles, California", "source": "nq", "difficulty": "simple"} {"input": "Are both The New Pornographers and Kings of Leon American rock bands?", "answer": "no", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who was the pioneer that helped build the wilderness road", "answer": "Daniel Boone", "source": "nq", "difficulty": "simple"} {"input": "Which film has the director who died first, Durango Valley Raiders or Black Feathers?", "answer": "Durango Valley Raiders", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Juan Luis Guerra born?", "answer": "[\"Santo Domingo\", \"Santo Domingo, Dominican Republic\", \"Santo Domingo de Guzman\", \"Santo Domingo de Guzmán\"]", "source": "popqa", "difficulty": "simple"} {"input": "when were verses and chapters added to the bible", "answer": "the early 13th century", "source": "nq", "difficulty": "simple"} {"input": "Established in 1919, which is the world's oldest surviving airline?", "answer": ["Koninklijke Luchtvaart Maatschappi", "Flying Blue", "KLM Group", "Klm Ryl Dtch Airlines", "KLM asia", "K.L.M. Airlines", "Koninklijke Luchtvaart Maatschappij", "KLM Royal Dutch Airlines", "KLM Airlines", "KLM Meet&Seat", "Klm asia", "Koninklijke luchtvaart mij.", "KLM", "Royal Dutch Airlines", "Klm.com", "Klm", "Royal Netherlands Airlines", "KLM Cargo", "Klm.nl", "K.L.M.", "KLM Asia", "KLM AirCares", "Klm Asia", "KLM Airlines Cargo", "Koninklijke Luchtvaart Mij.", "Koninklijke Luchtvaart Maatschappij N.V."], "source": "triviaqa", "difficulty": "simple"} {"input": "Who invented the world's first data-processing machine?", "answer": ["Herman Hollerith", "Hollerith, Herman", "Hollerith", "Hermann Hollerith", "Hollerith machine"], "source": "triviaqa", "difficulty": "simple"} {"input": "In the Little Orphan Annie comic strip, what was the name of Daddy Warbucks's Giant bodyguard who wore a turban?", "answer": ["The land of five rivers", "Punjab area", "Punjab (region)", "Greater Punjab", "Punjab", "Greater Panjab", "پنجاب", "Punjab recion", "Punjab (Province)", "Punjab Region", "Punjáb", "Punjabi land", "पंजाब", "The Panjab", "Five rivers of the Punjab", "Panjāb", "Punjab region", "Punjabistan", "The Punjab", "Land of Five Rivers", "Panjab region", "Five rivers of Punjab", "Panjab", "Pentapotamia", "Punjaub"], "source": "triviaqa", "difficulty": "simple"} {"input": "who plays the toilet in bob's burgers", "answer": "Jon Hamm", "source": "nq", "difficulty": "simple"} {"input": "How many people who started the great migration of Slavs live in the colonial holding governed by Portugal in the continent where the Sipaliwini District is located?", "answer": "5 million", "source": "musique", "difficulty": "multi_hop"} {"input": "when does episode 11 of station 19 air", "answer": "October 4, 2018", "source": "nq", "difficulty": "simple"} {"input": "Write a python function to get the difference between two lists.", "answer": "def Diff(li1,li2):\r\n return (list(list(set(li1)-set(li2)) + list(set(li2)-set(li1))))", "source": "mbpp", "task_id": "769", "test_cases": "assert (Diff([10, 15, 20, 25, 30, 35, 40], [25, 40, 35])) == [10, 20, 30, 15]\nassert (Diff([1,2,3,4,5], [6,7,1])) == [2,3,4,5,6,7]\nassert (Diff([1,2,3], [6,7,1])) == [2,3,6,7]", "difficulty": "code"} {"input": "In terms of wind energy production, where does the birth state for Harry Stella rank?", "answer": "seventh in the country", "source": "musique", "difficulty": "multi_hop"} {"input": "The diet of what mythical monster periodically included seven youths and seven maidens?", "answer": ["The Minotaur's", "The Minotaur", "Minotauros", "Minotaurus", "Minotaurs", "Minos bull", "Minataur", "Minotuar", "Minitaur", "Minotaur (Greek myth)", "Minotaur", "Μῑνώταυρος", "Minotours"], "source": "triviaqa", "difficulty": "simple"} {"input": "who is the first person to classified galaxies into groups according to their structure", "answer": "Edwin Hubble", "source": "nq", "difficulty": "simple"} {"input": "In what city was Petru Stoianov born?", "answer": "[\"Vinga\"]", "source": "popqa", "difficulty": "simple"} {"input": "Do musicians Robert Fleischman and Jimmy Barnes have the same nationality?", "answer": "no", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which tennis player has received a higher World singles ranking, Xavier Malisse or Virginia Wade?", "answer": "Virginia Wade", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when did in god we trust go on money", "answer": "1864", "source": "nq", "difficulty": "simple"} {"input": "What connection does the private liberal arts college known for its distinctive curriculum centered on reading and discussing the Great Books of Western Civilization have to] EnVISIONing Annapolis?", "answer": "Important contributors and co-sponsors", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who has been appointed new prime minister of the country where Cornetu is located?", "answer": "Mihai Tudose", "source": "musique", "difficulty": "multi_hop"} {"input": "Were Serguei Kouchnerov and Arvid E. Gillstrom both in the same industry?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what region of the country is the state where Henry Stites Barker was born?", "answer": "Midwestern United States", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Helene Liebmann born?", "answer": "[\"Berlin\", \"Berlin, Germany\", \"Berlin (Germany)\", \"DE-BE\"]", "source": "popqa", "difficulty": "simple"} {"input": "Steve Peterson appeared as which character in a Shakespeare comedy written for the close of the Christmas season?", "answer": "Aguecheek", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Were Froilan Calayag and Perico Sambeat from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Erasmo Carlos born?", "answer": "[\"Rio de Janeiro\", \"Rio\", \"Rio de Janeiro city\", \"Río\", \"Río de Janeiro\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which year witnessed the formation of the performer of Black Tattoo?", "answer": "1995", "source": "musique", "difficulty": "multi_hop"} {"input": "who plays angie in that 70's show", "answer": "Megalyn Echikunwoke", "source": "nq", "difficulty": "simple"} {"input": "Do director of film The Haunting of Morella and director of film The Young Girl share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What was the population in 1900 of the state with walnut grove?", "answer": "1.7 million", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to check whether the given month name contains 31 days or not.", "answer": "def check_monthnumb(monthname2):\r\n if(monthname2==\"January\" or monthname2==\"March\"or monthname2==\"May\" or monthname2==\"July\" or monthname2==\"Augest\" or monthname2==\"October\" or monthname2==\"December\"):\r\n return True\r\n else:\r\n return False", "source": "mbpp", "task_id": "866", "test_cases": "assert check_monthnumb(\"February\")==False\nassert check_monthnumb(\"January\")==True\nassert check_monthnumb(\"March\")==True", "difficulty": "code"} {"input": "The Wrekin is a hill that can be seen even as far as a landmark 47-storey mixed use skyscraper that is how tall?", "answer": "554 ft", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "where does easy jet fly from in uk", "answer": "London Luton Airport", "source": "nq", "difficulty": "simple"} {"input": "In what city was Izumi Iimura born?", "answer": "[\"Japan\", \"State of Japan\", \"Land of the Rising Sun\", \"Nihon\", \"Nippon\", \"JP\", \"Nippon-koku\", \"Nihon-koku\", \"JA\", \"JPN\", \"jp\", \"JAP\", \"Ja\", \"Jap\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to move all the numbers in it to the given string.", "answer": "def move_num(test_str):\r\n res = ''\r\n dig = ''\r\n for ele in test_str:\r\n if ele.isdigit():\r\n dig += ele\r\n else:\r\n res += ele\r\n res += dig\r\n return (res)", "source": "mbpp", "task_id": "619", "test_cases": "assert move_num('I1love143you55three3000thousand') == 'Iloveyouthreethousand1143553000'\nassert move_num('Avengers124Assemble') == 'AvengersAssemble124'\nassert move_num('Its11our12path13to14see15things16do17things') == 'Itsourpathtoseethingsdothings11121314151617'", "difficulty": "code"} {"input": "How was Oflag IVC prison camp better known?", "answer": "Colditz", "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Rahi Masoom Raza born?", "answer": "[\"Ghazipur\", \"Ghazeepore\", \"Gauspur\", \"Ghazipour\", \"Gadjipur\", \"Ghazipoor\", \"Gazipoor\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who released an album of the same name as the country where Bruzual is located?", "answer": "Aldemaro Romero", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Moses the Black born?", "answer": "[\"Egypt\", \"Republic of Egypt\", \"eg\", \"EGY\", \"🇪🇬\", \"Arab Republic of Egypt\", \"Arab Rep. Egypt\", \"Rep. Egypt\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Kirk O'Bee born?", "answer": "[\"Ada Township\", \"Ada\"]", "source": "popqa", "difficulty": "simple"} {"input": "Do Frank Pepe Pizzeria Napoletana and Sarpino's Pizzeria both sell pizza?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "where is the nhl all-star game in 2018", "answer": "Amalie Arena in Tampa", "source": "nq", "difficulty": "simple"} {"input": "how many bones are in your little toe", "answer": "three", "source": "nq", "difficulty": "simple"} {"input": "James Clark McReynolds (February 3, 1862 – August 24, 1946) was an American lawyer and judge who served as United States Attorney General under President Woodrow Wilson and as an Associate Justice of the United States Supreme Court, he served on the Court, during the presidency of which 30th President of the United States (1923–29)?", "answer": "John Calvin Coolidge Jr.", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function to find length of the string.", "answer": "def string_length(str1):\r\n count = 0\r\n for char in str1:\r\n count += 1\r\n return count", "source": "mbpp", "task_id": "813", "test_cases": "assert string_length('python')==6\nassert string_length('program')==7\nassert string_length('language')==8", "difficulty": "code"} {"input": "Johanna Veenstra (1894–1933) was the first missionary of the Christian Reformed Church (CRC) to go to Nigeria, was an ocean liner designed by Leonard Peskett and built by Swan, Hunter & Wigham Richardson for the British Cunard Line, on October 2, 1919, she left New York City on the RMS Mauretania, was an ocean liner designed by Leonard Peskett, and built by Swan, Hunter & Wigham Richardson, for which organization?", "answer": "British Cunard Line", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what year did the unification of the country where Stadthuys is located happen?", "answer": "1963", "source": "musique", "difficulty": "multi_hop"} {"input": "How many vice presidents did Franklin D Roosevelt have?", "answer": ["3", "Three", "three"], "source": "triviaqa", "difficulty": "simple"} {"input": "In which country is Logan, a city in the county sharing a border with Hickory Corners' county in the state where the largest ancestry group is German?", "answer": "U.S.", "source": "musique", "difficulty": "multi_hop"} {"input": "Are Kaj Kolah, Zanjan and Nurabad, Shazand both located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Spencer Williams's occupation?", "answer": "[\"composer\", \"pianist\"]", "source": "popqa", "difficulty": "simple"} {"input": "What kind of agency is the group that hired Dale Coope?", "answer": "FBI is primarily a domestic agency", "source": "musique", "difficulty": "multi_hop"} {"input": "The mosaic in the church, in the city where Panagiotis Pikilidis was born, is known as what?", "answer": "Christ in majesty (or Ezekiel's Vision)", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Žarko Petan's occupation?", "answer": "[\"film director\", \"movie director\", \"director\", \"motion picture director\", \"screenwriter\", \"scenarist\", \"writer\", \"screen writer\", \"script writer\", \"scriptwriter\"]", "source": "popqa", "difficulty": "simple"} {"input": "The 337th Flight Test Squadron (337 FLTS) was most recently part of the 46th Test Wing and based at McClellan Air Force Base, a former United States Air Force base located in the North Highlands area of Sacramento County, in which US state?", "answer": "California", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Robert Mueller Municipal Airport is in which US state?", "answer": ["Texas (U.S. State)", "US-TX", "Texos", "Texas", "Lone Star State", "Texas, USA", "Religion in Texas", "Texas (state)", "Lake Ozark, Texas", "Christianity in Texas", "The State of Texas", "Twenty-eighth State", "Texas-sized", "Texas (State)", "28th State", "The Lone Star State", "Twenty-Eighth State", "Texas, United States", "Texas (U.S. state)", "Texass", "State of Texas", "Everything is bigger in Texas", "28th state"], "source": "triviaqa", "difficulty": "simple"} {"input": "Are Malian, Hamadan and Chahar Taq, Markazi located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when does the new dragonball super come out", "answer": "TBA", "source": "nq", "difficulty": "simple"} {"input": "In The Banana Splits what sort of animal was Snorky?", "answer": ["Elephantinely", "Elephant tusks", "Rogue Elephant", "Elephant", "🐘", "Elephant hunting", "Elephantineness", "Elephant hunter", "Rogue elephant", "Baby elephants", "Brown elephants", "ELEPHANT", "Elephan", "פיל", "Elephant population", "Elephant evolution", "Elefonts", "Evolution of elephants", "Elephants", "Mating elephants", "Elaphant", "Elephant rage", "Gestation period for elephants", "Elephant tusk", "Sexual behavior of elephants"], "source": "triviaqa", "difficulty": "simple"} {"input": "What nationality is the male lead of the film Fishtales?", "answer": "American", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "how many episodes of mr robot are there", "answer": "32", "source": "nq", "difficulty": "simple"} {"input": "who played the other twin in parent trap", "answer": "Hayley Mills", "source": "nq", "difficulty": "simple"} {"input": "Write a function to extract the maximum numeric value from a string by using regex.", "answer": "import re \r\ndef extract_max(input): \r\n\tnumbers = re.findall('\\d+',input) \r\n\tnumbers = map(int,numbers) \r\n\treturn max(numbers)", "source": "mbpp", "task_id": "832", "test_cases": "assert extract_max('100klh564abc365bg') == 564\nassert extract_max('hello300how546mer231') == 546\nassert extract_max('its233beenalong343journey234') == 343", "difficulty": "code"} {"input": "Who is the mayor of the city to which KRMP is licensed?", "answer": "Mick Cornett", "source": "musique", "difficulty": "multi_hop"} {"input": "Emilio Botin was a banker that ran an institution that merged with what group?", "answer": "Santander Group", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Rani Silautia is an Indian politician from a party having links with which Hindu nationalist organization ?", "answer": "the Hindu nationalist Rashtriya Swayamsevak Sangh", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Jim Baker born?", "answer": "[\"Ilkeston\"]", "source": "popqa", "difficulty": "simple"} {"input": "What genre of music is the solo artist that contributed to Real Damage a variant of?", "answer": "synth-pop", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Muhammad Ali Luqman's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\"]", "source": "popqa", "difficulty": "simple"} {"input": "What magazine an American monthly food and lifestyle magazine founded in 1987, Cooking Light or Hot Rod?", "answer": "Cooking Light", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "once upon a time season 7episode 11 release date", "answer": "March 9, 2018", "source": "nq", "difficulty": "simple"} {"input": "where was the movie beauty and the beast filmed", "answer": "Surrey, England", "source": "nq", "difficulty": "simple"} {"input": "What host of The Voice UK was in \"Doctor Who\"?", "answer": "Reggie Yates", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who is the spouse of the singer of Blue Bayou?", "answer": "Barbara Orbison", "source": "musique", "difficulty": "multi_hop"} {"input": "Portrait of Wally is a 1912 oil painting by a protégé of Gustav Klimt whose work is noted for its intensity and what?", "answer": "raw sexuality", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What was the name of the 2017 hurricane that hit the island where Bernardo de Balbuena died?", "answer": "Hurricane Maria", "source": "musique", "difficulty": "multi_hop"} {"input": "When did Swedish become the official language of the country where the Embassy of France is located in the city where Riccardo Campogiani died?", "answer": "20th century", "source": "musique", "difficulty": "multi_hop"} {"input": "Hate to Feel is the tenth track on what Alice in Chains' album that peaked as number six on the Billboard 200?", "answer": "Dirt", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "The national flag of Ghana designed by Theodosia Okoh was adopted in which year?", "answer": "1957", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Ludwig Lichtschein's occupation?", "answer": "[\"rabbi\", \"Rav\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are the directors of films Fire Down Below (1957 film) and Playing the Game both from the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to perfom the modulo of tuple elements in the given two tuples.", "answer": "def tuple_modulo(test_tup1, test_tup2):\r\n res = tuple(ele1 % ele2 for ele1, ele2 in zip(test_tup1, test_tup2)) \r\n return (res)", "source": "mbpp", "task_id": "616", "test_cases": "assert tuple_modulo((10, 4, 5, 6), (5, 6, 7, 5)) == (0, 4, 5, 1)\nassert tuple_modulo((11, 5, 6, 7), (6, 7, 8, 6)) == (5, 5, 6, 1)\nassert tuple_modulo((12, 6, 7, 8), (7, 8, 9, 7)) == (5, 6, 7, 1)", "difficulty": "code"} {"input": "In what city was Can Bartu born?", "answer": "[\"Istanbul\", \"İstanbul\"]", "source": "popqa", "difficulty": "simple"} {"input": "Where was the director of film Deewane Tere Pyar Ke born?", "answer": "Lahore", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When did the country where Bweremana is located become independent?", "answer": "1960", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Chance the Rapper born?", "answer": "[\"Chicago\", \"Chicago, Illinois\", \"The Windy City\", \"City by the Lake\", \"The Queen of the West\", \"Chi-Town\", \"Chitown\", \"The Second City\", \"City of Chicago\", \"City of Broad Shoulders\", \"Chi-Raq\", \"Chicago, IL\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which country is the island of Zanzibar part of?", "answer": ["Tanzanian", "United Republic of Tanzania", "Tanzania, United Republic of", "Jamhuri ya Muungano wa Tanzania", "Tanzania", "Tansania", "Tanzanie", "United Republic of Tanganyika and Zanzibar", "ISO 3166-1:TZ", "Republic of Tanzania", "Tanganyika and Zanzibar", "The United Republic of Tanzania", "TNZ", "Tanznia"], "source": "triviaqa", "difficulty": "simple"} {"input": "When did Prince Waldemar Of Prussia (1868–1879)'s mother die?", "answer": "5 August 1901", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which city does David Soul come from?", "answer": ["Chi-Beria", "Sayre language academy", "Chicago", "Chicago, Illinois", "Hog Butcher for the World", "Land of smelly onions", "Ariel Community Academy", "The weather in Chicago", "Chicago, Illinois, U.S.A.", "Chicago, Illionis", "Near North Montessori", "Religion in Chicago", "Chicago Finance Committee", "The Paris of America", "The city of Chicago", "City of Chicago", "List of sister cities of Chicago", "UN/LOCODE:USCHI", "Chicago theatre scene", "Chicago, WI", "The City of Broad Shoulders", "City of Broad Shoulders", "Sister Cities of Chicago", "Chicago il", "Chicago, Illinois, USA", "Performing arts in Chicago", "Chicago Transportation Committee", "Chicago, Wisconsin", "City of chicago", "Chicago theater scene", "Chicago, Il", "Chicago, IL.", "Chicago, Ill.", "City of Chicago, Illinois", "Chi town", "Chicago, United States", "Chicago (Ill.)", "Transport in Chicago", "Chicago, Illinois, United States", "Chicago (IL)", "USCHI", "Chichago", "Chcago", "Chicago, Illinois, U.S.", "Sister Cities Chicago", "Chicago, USA", "Chi City", "Chicago, IL", "Chi-Town", "Chicago theatre", "Paris of America", "Chicago, Illinois, US", "Chicago Illinois", "The city of Chicago, Illinois", "Sister cities of Chicago"], "source": "triviaqa", "difficulty": "simple"} {"input": "For which film did, the composer who scored the music for Interview with the Vampire, win the Academy Award ?", "answer": "Frida", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are the movies Star Trek IV: The Voyage Home and Little Devil May Care, from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Do both Miriam (film) and Leadville Gunslinger films have the directors from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "what country does the name zoe come from", "answer": "originally from the Greek", "source": "nq", "difficulty": "simple"} {"input": "Jessica, is the second single from York-based rock band Elliot Minor, the band wrote this song out of their affection for which American actress and businesswoman?", "answer": "Jessica Marie Alba", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What type od dance music inspired the band, \"The Kabalas\"?", "answer": "Polka", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who was the second person to make a solo transatlantic flight?", "answer": ["Amelia airheart", "Amelia Airhardt", "Disappearance of Amelia Earhart", "Amelia Airhart", "Amelia Erhart", "Emelia Earhart", "Amelia Mary Earhart", "Amelia Aerhart", "Amelia Erhardt", "Amelia Earheart", "Amelia Earnhart", "Amelia Earhart Putnam", "Emelia Airheart", "Amelia earhart", "Amielia Earhart", "Amelia airhart", "Amelia Earhardt", "Amelia Earhart Life Summary", "Amelia Earhart", "Amelia Airheart"], "source": "triviaqa", "difficulty": "simple"} {"input": "How many households are there in the city where WPGG is licensed?", "answer": "15,848", "source": "musique", "difficulty": "multi_hop"} {"input": "Which country the performer of song I Don'T Believe You (She Acts Like We Never Have Met) is from?", "answer": "American", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which film has the director died first, What Price Glory (1952 Film) or An Old Sweetheart Of Mine?", "answer": "An Old Sweetheart Of Mine", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who founded the publisher of Journal of Media Economics?", "answer": "George Routledge", "source": "musique", "difficulty": "multi_hop"} {"input": "Who was the oppressive communist leader of the country where the commune of Vrâncioaia is found, who was deposed in 1989?", "answer": "Nicolae Ceaușescu", "source": "musique", "difficulty": "multi_hop"} {"input": "protozoan classification used to be based on their means of", "answer": "locomotion", "source": "nq", "difficulty": "simple"} {"input": "Which Chilean footballer joined the team Barcelona beat to win the 2008-09 Champions League title from Arsenal in 2018?", "answer": "Alexis Sánchez", "source": "musique", "difficulty": "multi_hop"} {"input": "Which 100-mile long waterway links the Mediterranean and the Red Sea?", "answer": ["Suez Canal Zone", "Suez Channel", "Suez canal", "Nile Canal", "Suez Canal", "Suez Canal (Egypt)", "Egypt's Canal Zone", "The suez canal"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which country does the airline Gronlandsfly come from?", "answer": ["Antarctica of The North", "Greenland", "Lupanlunti", "Kallaallit Nunaat", "Name of Greenland", "Greenlander", "Island of Greenland", "Lupanglunti", "Eastern Greenland", "Kalaallit Nunaat", "Green Land", "Western Greenland", "Greenlanders", "ISO 3166-1:GL", "Greenland (island)", "Kangat Bay", "Sport in Greenland", "Social issues in Greenland", "Grinland", "Climate of Greenland", "Greenland Island"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Ko Wen-je born?", "answer": "[\"Hsinchu\", \"Xinzhu\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which country does the airline Aero Lloyd come from?", "answer": ["United States of Germany", "Tyskland", "Nimska", "Bundesdeutsch", "Vokietija", "Deuchland", "Germny", "GermanY", "FR Germany", "Almanya", "Federal Republic of Germany", "Jermany", "Geramny", "Etymology of Germany", "Nemska", "Germany", "Niemcy", "GERMANY", "ISO 3166-1:DE", "Land der Dichter und Denker", "Federal Republic Of Germany", "F.R. Germany", "Deutschland", "Bundesrepublik Deutschland", "BR Deutschland", "Germanio", "Thyskaland", "GerMany", "Germeny", "Teutonica", "Deutchland", "Duitsland", "THyskaland", "Alemanha", "Němska", "Foederal Republic of Germany"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Nicholas Sanduleak's occupation?", "answer": "[\"astronomer\"]", "source": "popqa", "difficulty": "simple"} {"input": "what type of tissue does a nerve cell come from", "answer": "Nervous tissue or nerve tissue", "source": "nq", "difficulty": "simple"} {"input": "Are Grasshopper and Sake bomb both types of drinks?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who designed the New York pink skyscraper with the Chippendale-style cabinet top?", "answer": ["Philip Cortelyou Johnson", "Philip Johnson", "Philip Johnson (architect)"], "source": "triviaqa", "difficulty": "simple"} {"input": "When did Joanna Elisabeth Of Holstein-Gottorp's husband die?", "answer": "16 March 1747", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which newspaper did Jackie Kennedy work for just before her marriage?", "answer": ["Washington Times (original)", "Washington Times-Herald", "Washington Times Herald"], "source": "triviaqa", "difficulty": "simple"} {"input": "In which decade of the 20th century was Billy Crystal born?", "answer": ["The Forties", "1940–1949", "%6040s", "1940s", "Nineteen-forties", "1940s literature", "'40s", "1940-1949", "1940's", "1940s (decade)"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Jim Boyd's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\", \"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to concatenate the given two tuples to a nested tuple.", "answer": "def concatenate_nested(test_tup1, test_tup2):\r\n res = test_tup1 + test_tup2\r\n return (res)", "source": "mbpp", "task_id": "972", "test_cases": "assert concatenate_nested((3, 4), (5, 6)) == (3, 4, 5, 6)\nassert concatenate_nested((1, 2), (3, 4)) == (1, 2, 3, 4)\nassert concatenate_nested((4, 5), (6, 8)) == (4, 5, 6, 8)", "difficulty": "code"} {"input": "What was Buster Keaton's actual first name?", "answer": ["Joseph", "Joseph (name)", "Yuseif", "Joseph (biblical)", "Yoseif", "Yoseph", "Joseph (given name)", "Yôseph", "Youssef", "Jospeh", "Joe (name)", "Josey (name)", "Jazeps", "يوسف", "Joeseph", "Giuseppe", "Joe (given name)", "Guiseppe", "Seosamh", "Jāzeps", "Ioseph", "Józef"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which city has a sports team of Steelers and team of Pirates?", "answer": ["Smoky City", "Pittsburgh (Pa.)", "Pittsburgh, Pennsylvania.", "Frick International Studies Academy Middle School", "Pitsburgh", "The Burgh", "Pittsbrugh", "Pittsburgh, Pa", "Pittsburgh, USA", "Glenwood, Pennsylvania", "Pittsburgh (PA)", "The Pittsburgh Style of Literature", "Pittsburgh, Pennsylvania, U.S.", "Pittsburgh, United States of America", "Pittsburgh Pennsyvania", "UN/LOCODE:USPIT", "Da burgh", "Pittsburgh (pgh)", "Climate of Pittsburgh, Pennsylvania", "Pittsburgh", "City of Bridges", "Pittsburgh Frick 6–8 Middle School", "Pittsburgh, PA", "St. Justin's High School", "East End (Pittsburgh)", "Pittsburgh, Pennsylvania, USA", "Pittsburgh, Allegheny County, Pennsylvania", "The City of Bridges", "Pittsburgh, Pennsylvania, US", "Fort du Quesne", "Pittsburgh Frick 6-8 Middle School", "City of Pittsburgh", "The Steel City", "Pittsburgh, PA.", "Pittsburgh Style", "Pittsburgh, Pa.", "Education in pittsburgh", "Pittsburg, PA", "Pittsburgh, Pennsylvania, U.S.A.", "Education in Pittsburgh", "Pittsburg, Pennsylvania", "Pittsburgh, Pennsylvania"], "source": "triviaqa", "difficulty": "simple"} {"input": "How was Jean Claude Duvalier known before he ws exiled in 1986?", "answer": ["Jean-Claude Duvalier", "Bébé Doc", "Bebe Doc", "Baby Doc Duvalier", "Jean Claude Duvalier", "Jean-Claude %22Baby Doc%22 Duvalier", "Baby Doc"], "source": "triviaqa", "difficulty": "simple"} {"input": "What actor in the film D.C. Cab also had a role in the TV series Barney Miller?", "answer": "Max Gail", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Lee Il-hyung's first feature film was released by which company ?", "answer": "Showbox", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Jack Sharkey was a world champion in which sport?", "answer": ["Prize fight", "Prize fighting", "Fistfighting", "Corner men", "Corner persons", "Prize-fighter", "Noble art", "Boxing", "Sports boxing", "Western boxing", "English boxing", "Boxing match", "Fistfight", "Cornermen", "Prizefighter", "Low guard", "Boxing (sport)", "Boxing moves", "Corner-man", "Cornerpersons", "Pugilism", "Corner-person", "Fist fight", "Boxing punches", "Round (boxing)", "Pugilist", "Boxer", "Fist-fighting", "Gentleman's sport", "Fist-fight", "拳闘", "Cornerperson", "Prizefights", "History of professional boxing", "Corner-persons", "Fist fighting", "Prize fighter", "Boxers", "Parrying (boxing)", "History of boxing", "Fist Fighting", "Prize Fighter", "Pugilistic", "Corner-men", "Corner person", "Ring second", "Hit and Away", "Boxing Styles and Techniques"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which country does the airline Garuda come from?", "answer": ["Unitary state of republic of indonesia", "Indonesian Republic", "INDONESIA", "ISO 3166-1:ID", "The world's most populous Muslim nation", "Unitary State of Republic of Indonesia", "Indonezio", "Wildlife of Indonesia", "Indonnesia", "Indoneshia", "Etymology of Indonesia", "Republic of Indonesia", "Indonesia, Republic of", "Unitary State of the Republic of Indonesia", "Indonesia", "Indonesie", "Indonesian government", "Ecology of Indonesia", "Indnonesia", "Republic Of Indonesia", "Unitary state of the republic of indonesia", "Indonesian Empire", "Indonésie", "Indonisia", "Republik Indonesia"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a python function to find sum of products of all possible subarrays.", "answer": "def sum_Of_Subarray_Prod(arr,n):\r\n ans = 0\r\n res = 0\r\n i = n - 1\r\n while (i >= 0):\r\n incr = arr[i]*(1 + res)\r\n ans += incr\r\n res = incr\r\n i -= 1\r\n return (ans)", "source": "mbpp", "task_id": "734", "test_cases": "assert sum_Of_Subarray_Prod([1,2,3],3) == 20\nassert sum_Of_Subarray_Prod([1,2],2) == 5\nassert sum_Of_Subarray_Prod([1,2,3,4],4) == 84", "difficulty": "code"} {"input": "who holds the record for most 3 pointers in a finals game", "answer": "Ray Allen", "source": "nq", "difficulty": "simple"} {"input": "In what city was Alison Cockburn born?", "answer": "[\"Selkirkshire\", \"County of Selkirk\"]", "source": "popqa", "difficulty": "simple"} {"input": "\"Who said, \"\"My whole life has been one of rejection. Women. Dogs. Comic strips.\"\"\"", "answer": ["Sparky Schulz", "Charles Shulz", "Charles M. Shultz", "Charles M. Schulz", "Charles M Schulz", "Schulz, Charles Monroe", "Charles Shultz", "Schulz, Charles M", "Charles M. Schultz", "Charles Monroe Schulz", "Schulz, Charles M.", "Charles Schulz", "Charles Shulz Tribute", "Charlie Brown, Snoopy and Me"], "source": "triviaqa", "difficulty": "simple"} {"input": "where did the name kellogg's come from", "answer": "Will Keith Kellogg", "source": "nq", "difficulty": "simple"} {"input": "who was heading indian army 1971 bangladesh war", "answer": "Lieutenant General Jagjit Singh Aurora", "source": "nq", "difficulty": "simple"} {"input": "What college did the performer of the song Hi, How Ya Doin'?? attend?", "answer": "University of Washington", "source": "musique", "difficulty": "multi_hop"} {"input": "Who fathered the leader of the first expedition to reach Arumbakkam's continent by sailing west across the ocean bordering eastern Russia?", "answer": "Estêvão da Gama", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to substract the elements of the given nested tuples.", "answer": "def substract_elements(test_tup1, test_tup2):\r\n res = tuple(tuple(a - b for a, b in zip(tup1, tup2))\r\n for tup1, tup2 in zip(test_tup1, test_tup2))\r\n return (res)", "source": "mbpp", "task_id": "888", "test_cases": "assert substract_elements(((1, 3), (4, 5), (2, 9), (1, 10)), ((6, 7), (3, 9), (1, 1), (7, 3))) == ((-5, -4), (1, -4), (1, 8), (-6, 7))\nassert substract_elements(((13, 4), (14, 6), (13, 10), (12, 11)), ((19, 8), (14, 10), (12, 2), (18, 4))) == ((-6, -4), (0, -4), (1, 8), (-6, 7))\nassert substract_elements(((19, 5), (18, 7), (19, 11), (17, 12)), ((12, 9), (17, 11), (13, 3), (19, 5))) == ((7, -4), (1, -4), (6, 8), (-2, 7))", "difficulty": "code"} {"input": "What comprehensive school was established in the place Llanddeusant is located?", "answer": "Holyhead County School", "source": "musique", "difficulty": "multi_hop"} {"input": "Do both films, Maud Rockefeller'S Bet and Lulu Femme Nue, have the directors who are from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Yugo Yoshida born?", "answer": "[\"Karatsu\", \"Katatu\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did Chopin's family move to the city where Waclaw Berent died?", "answer": "October 1810", "source": "musique", "difficulty": "multi_hop"} {"input": "Did the movies Kahpe Bizans and The Treaty (Film), originate from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when did america first land on the moon", "answer": "20 July 1969", "source": "nq", "difficulty": "simple"} {"input": "In 1988 who won the tennis Grand Slam and Olympic gold?", "answer": ["Peter Graf", "Stephanie Maria Graf", "Steffie graf", "Steffi Graf", "Stefanie Graf", "Steffi Graff", "Steffie Graf", "Stefi Graf"], "source": "triviaqa", "difficulty": "simple"} {"input": "In which 1998 film did Bruce Willis lead a team to confront a deadly threat from outer space?", "answer": ["Amargeddon", "Armageddon theology", "Armaggedon", "Armegeddon", "Battle of Armageddon", "Armagedon", "Armaggeddon", "Armagideon", "Har-Magedon", "Armageddon", "Armogeddon", "Mount Armageddon"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Bill Kintner's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "who founded the church of latter day saints", "answer": "Joseph Smith", "source": "nq", "difficulty": "simple"} {"input": "how many episodes in series 1 of orange is the new black", "answer": "13", "source": "nq", "difficulty": "simple"} {"input": "in which state rastriya rakshak dal was established", "answer": "Punjab", "source": "nq", "difficulty": "simple"} {"input": "What star sign is shared by Meatloaf and Luciano Pavarotti?", "answer": ["Libra (disambiguation)", "Librae", "Libra", "Libra (album)", "Libras (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Víctor Rabú born?", "answer": "[\"Agen\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which was halted by a natural disaster, Camlaren Mine or Barton Mine?", "answer": "Barton Mine", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a python function to find sum of inverse of divisors.", "answer": "def Sum_of_Inverse_Divisors(N,Sum): \r\n ans = float(Sum)*1.0 /float(N); \r\n return round(ans,2);", "source": "mbpp", "task_id": "851", "test_cases": "assert Sum_of_Inverse_Divisors(6,12) == 2\nassert Sum_of_Inverse_Divisors(9,13) == 1.44\nassert Sum_of_Inverse_Divisors(1,4) == 4", "difficulty": "code"} {"input": "What kind of route do buses use for service in the neighboring place of Al Herman's place of birth?", "answer": "trolley", "source": "musique", "difficulty": "multi_hop"} {"input": "Why did the founder of university University Of Birmingham die?", "answer": "stroke", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What nationality is the director of film Khatta Meetha (2010 Film)?", "answer": "India", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to convert camel case string to snake case string.", "answer": "def camel_to_snake(text):\r\n import re\r\n str1 = re.sub('(.)([A-Z][a-z]+)', r'\\1_\\2', text)\r\n return re.sub('([a-z0-9])([A-Z])', r'\\1_\\2', str1).lower()", "source": "mbpp", "task_id": "965", "test_cases": "assert camel_to_snake('PythonProgram')==('python_program')\nassert camel_to_snake('pythonLanguage')==('python_language')\nassert camel_to_snake('ProgrammingLanguage')==('programming_language')", "difficulty": "code"} {"input": "In WW2 when did Germany invade the country that contains the cape where Gabriel Auguste Ferdinand Ducuing died?", "answer": "10 May 1940", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Ernst Theodor Echtermeyer's occupation?", "answer": "[\"philosopher\"]", "source": "popqa", "difficulty": "simple"} {"input": "Do both films, Normal Life and The Pinto Bandit, have the directors who are from the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who is the director of the 2003 film which has scenes in it filmed at the Quality Cafe in Los Angeles?", "answer": "Todd Phillips", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who played the hulk in the tv series", "answer": "Lou Ferrigno", "source": "nq", "difficulty": "simple"} {"input": "Who gets Blair pregnant in Season 5 of the series that has an episode called The Backup Dan?", "answer": "Louis Grimaldi", "source": "musique", "difficulty": "multi_hop"} {"input": "when does marriage boot camp family edition come on", "answer": "April 28, 2017", "source": "nq", "difficulty": "simple"} {"input": "What is the corporation tax rate in the country that, along with the nation that produces most of its own oil, recognized Gaddafi's government at an early date?", "answer": "20%", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Naathan Phan's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which country was called Upper Volta until 1984?", "answer": ["Bourkina-Fasso", "Maximes, Thoughts and Riddles of the Mossi", "Burkina Fasso", "Burkina", "Bourkina Faso", "Maximes, pensées et devinettes mossi", "Burkinabè", "Berkina faso", "ISO 3166-1:BF", "Burkina faso", "Faso", "Burkina Fasoan", "Bourkina Fasso", "Burkinafaso", "Burkino Faso", "Burkina-Faso", "Burkina Faso", "Burkina Fatso"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is John D. Maurice's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to find the maximum of similar indices in two lists of tuples.", "answer": "def max_similar_indices(test_list1, test_list2):\r\n res = [(max(x[0], y[0]), max(x[1], y[1]))\r\n for x, y in zip(test_list1, test_list2)]\r\n return (res)", "source": "mbpp", "task_id": "951", "test_cases": "assert max_similar_indices([(2, 4), (6, 7), (5, 1)],[(5, 4), (8, 10), (8, 14)]) == [(5, 4), (8, 10), (8, 14)]\nassert max_similar_indices([(3, 5), (7, 8), (6, 2)],[(6, 5), (9, 11), (9, 15)]) == [(6, 5), (9, 11), (9, 15)]\nassert max_similar_indices([(4, 6), (8, 9), (7, 3)],[(7, 6), (10, 12), (10, 16)]) == [(7, 6), (10, 12), (10, 16)]", "difficulty": "code"} {"input": "When did the shah of the country producing Marooned in the country having Asaish take power?", "answer": "16 September 1941", "source": "musique", "difficulty": "multi_hop"} {"input": "When was the company that publishes the journal Magnetic Resonance Imaging established ?", "answer": "1880", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "The 1988 American comedy film, The Great Outdoors, starred a four-time Academy Award nominee, who received a star on the Hollywood Walk of Fame in what year?", "answer": "2006", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Under the rules outlined in the charter of the International Olympic Committee, how much pure gold must there be in each gold medal awarded to first-place winners?", "answer": "At least 6 grams. Silver medals must be at least .925 sterling silver", "source": "triviaqa", "difficulty": "simple"} {"input": "What is Ilja Rosendahl's occupation?", "answer": "[\"record producer\", \"music producer\", \"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who was inducted into the Rock and Roll Hall of Fame, David Lee Roth or Cia Berg?", "answer": "David Lee Roth", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When did the 5th Dalai Lama gain political control over the region that Yiu Yung-chin claimed Ming did not possess?", "answer": "In 1642", "source": "musique", "difficulty": "multi_hop"} {"input": "Who took the assumed name Sebastian Melmoth when living in Paris?", "answer": ["Oscar Wild", "Flahertie", "C. 3. 3. 3", "Oscar Wilde", "O'Flahertie", "C. 3. 3. 3.", "O Wilde", "Oscar O'Flahertie Wills Wilde", "Oscar O'flaherty Wilde", "Oscar wilde", "Sebastian Melmoth", "Oscar Fingal O'Flaherty Wills Wilde", "Theocritus: a villanelle", "Oscar Wilde/Biblio", "Oscar Fingal O'Flahertie Wills Wilde", "Cyril Wilde"], "source": "triviaqa", "difficulty": "simple"} {"input": "In which country was Arnold Schwarzenegger born?", "answer": ["The Republic of Austria", "Oesterreich", "Eastreach", "Österrike", "Easterrealm", "Austurriki", "Republik Österreich", "Osterreich", "Austurríki", "Austrian Republic", "Republik Osterreich", "Avstria", "Österreich", "Republik Oesterreich", "Administrative divisions of Austria", "Ostria", "ISO 3166-1:AT", "Alpine Deutschen", "Austria", "Oostenrijk", "Architecture of Austria", "Republic of Austria", "Etymology of Austria", "Autriche", "Austrian architecture"], "source": "triviaqa", "difficulty": "simple"} {"input": "What nationality is the director of film Let There Be Light (1998 Film)?", "answer": "French", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In which English city is the Burrows Toy Museum?", "answer": ["Bath (disambiguation)", "Bath", "Baths"], "source": "triviaqa", "difficulty": "simple"} {"input": "Do both films, The Horrible Dr. Hichcock and Zona J, have the directors who are from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are Rudy Halmaert and Han Xin of the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "To whom did Herman Melville dedicate his novel, Moby Dick?", "answer": ["Hawthornean", "Nathaniel Hawthorn", "Nathaniel Hawthorne", "Nathaniel Hawethorne", "Nathaniel Hathorne", "Nathanial Hawthorne"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to count the number of inversions in the given array.", "answer": "def get_inv_count(arr, n): \r\n\tinv_count = 0\r\n\tfor i in range(n): \r\n\t\tfor j in range(i + 1, n): \r\n\t\t\tif (arr[i] > arr[j]): \r\n\t\t\t\tinv_count += 1\r\n\treturn inv_count", "source": "mbpp", "task_id": "841", "test_cases": "assert get_inv_count([1, 20, 6, 4, 5], 5) == 5\nassert get_inv_count([8, 4, 2, 1], 4) == 6\nassert get_inv_count([3, 1, 2], 3) == 2", "difficulty": "code"} {"input": "Write a function to check if the given string starts with a substring using regex.", "answer": "import re \r\ndef check_substring(string, sample) : \r\n if (sample in string): \r\n y = \"\\A\" + sample \r\n x = re.search(y, string) \r\n if x : \r\n return (\"string starts with the given substring\") \r\n else : \r\n return (\"string doesnt start with the given substring\") \r\n else : \r\n return (\"entered string isnt a substring\")", "source": "mbpp", "task_id": "823", "test_cases": "assert check_substring(\"dreams for dreams makes life fun\", \"makes\") == 'string doesnt start with the given substring'\nassert check_substring(\"Hi there how are you Hi alex\", \"Hi\") == 'string starts with the given substring'\nassert check_substring(\"Its been a long day\", \"been\") == 'string doesnt start with the given substring'", "difficulty": "code"} {"input": "What did Clarice Cliff create?", "answer": ["Pots", "Pottery and porcelain", "Pottery maker", "Art ware", "Pottery-makers", "Pottery-maker", "Vase painting", "Fine art pot", "Clay pottery", "Ceramics", "Pottery", "Ceramicware", "Art pottery", "Painted vase", "Ceramic pot", "Ceramic ware", "Ceramics art", "Pot throwing", "Pottery-making", "Pottery making", "Ceramic paint", "Pottery makers", "Potterymaker", "Ceramicist", "Potterymaking", "Clay pot", "Pot", "Pottery manufacture", "Coil pot", "History of pottery", "Ceramic wares", "Potterymakers", "Making a pot"], "source": "triviaqa", "difficulty": "simple"} {"input": "What type of aid was developed my Miller Hutchinson in the early years of the 20th century?", "answer": ["Irish Society of Hearing Aid Audiologists", "Hearing instrument", "Telecoil", "Hearing Aid Compatibility Act of 1988", "Hearing Aids", "Hearing Aid", "Deaf aids", "Hearing Aid Compatibility", "Hearing aid dispenser", "In-the-ear", "Compression effect", "Hearing aid", "Hearing Aid Dispenser", "Hearing Aid Compliance", "Hearing instruments", "Deaf aid", "Hearing Instrument Specialists", "Hearing aids", "Active Bone Conduction Implant"], "source": "triviaqa", "difficulty": "simple"} {"input": "A country has the soccer club with the name of Jörg van Nieuwenhuijzen's team. Which kingdom adopted coat of arms of the country with its official name sometimes known as this country?", "answer": "Kingdom of the Netherlands", "source": "musique", "difficulty": "multi_hop"} {"input": "The country having Harrysong was named for what river?", "answer": "Niger River", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the business category of Crawford House, located in the same city as WODS and the same state as Wellesley College in Mona Lisa Smile?", "answer": "hotels", "source": "musique", "difficulty": "multi_hop"} {"input": "Which author of Superman: The Wedding Album is known for creating the superhero Booster Gold?", "answer": "Dan Jurgens", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which band's song was used as the theme at the Pepsi Arena on January 8, 2006?", "answer": "Disturbed", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Danie Mellor born?", "answer": "[\"Mackay\", \"Mackay, Queensland\", \"Mackay, Queensland, Australia\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Annika Billstam born?", "answer": "[\"Uppsala\", \"Upsala\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Roman Shukhevych born?", "answer": "[\"Krakovets\", \"Lviv\", \"Lwów\", \"Lemberg\", \"Lvov\", \"Lwow\", \"L'viv\", \"Lemberik\", \"L'vov\", \"Leopol\", \"Lemberg, Austria\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who is the father of the person developing Bust of Pope Gregory XV?", "answer": "Pietro Bernini", "source": "musique", "difficulty": "multi_hop"} {"input": "What sport does Pieter Nys and Fortuna Sittard have in common?", "answer": "football", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "which side of the white house is the front", "answer": "North", "source": "nq", "difficulty": "simple"} {"input": "What is Zhu Houren's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Erwin Schulhoff's occupation?", "answer": "[\"composer\", \"pianist\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Wallace Dollase's occupation?", "answer": "[\"horse trainer\", \"racehorse trainer\"]", "source": "popqa", "difficulty": "simple"} {"input": "who is in charge of american monetary policy", "answer": "the Federal Reserve", "source": "nq", "difficulty": "simple"} {"input": "What is Þorsteinn Bachmann's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "What percent were born outside of the country Fränzi Aufdenblatten's birthplace is located?", "answer": "21.6%", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a python function to check if the string is a concatenation of another string.", "answer": "def check_Concat(str1,str2):\r\n N = len(str1)\r\n M = len(str2)\r\n if (N % M != 0):\r\n return False\r\n for i in range(N):\r\n if (str1[i] != str2[i % M]):\r\n return False \r\n return True", "source": "mbpp", "task_id": "874", "test_cases": "assert check_Concat(\"abcabcabc\",\"abc\") == True\nassert check_Concat(\"abcab\",\"abc\") == False\nassert check_Concat(\"aba\",\"ab\") == False", "difficulty": "code"} {"input": "On what day was the death of Anne Fitzalan-Howard, Duchess of the state where Corpusty is located?", "answer": "8 April 2013", "source": "musique", "difficulty": "multi_hop"} {"input": "who is luke air force base named after", "answer": "Second Lieutenant Frank Luke", "source": "nq", "difficulty": "simple"} {"input": "When was the country having Gualaca colonized by the country containing All Saints Church in the city having terrorist bombing supposedly involving Gaddafi's Libya?", "answer": "1698", "source": "musique", "difficulty": "multi_hop"} {"input": "who played drums on i won't back down", "answer": "Phil Jones", "source": "nq", "difficulty": "simple"} {"input": "What film director is from Great Britain, Miloš Forman or Alex Cox?", "answer": "Alexander \"Alex\" Cox", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Gianni Lonzi born?", "answer": "[\"Florence\", \"Firenze\", \"Florence, Italy\", \"Florence, Tuscany\", \"Florencia\", \"Florentia\", \"Florenz\", \"Firenca\", \"Florencie\", \"Fiuränza\", \"Florentzia\", \"Firense\", \"Firenz\", \"Firenzi\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the date of death of the director of film Celluloide?", "answer": "5 October 2013", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When was the country whose flag Madonna rubbed between her thighs declared a US territory?", "answer": "1898", "source": "musique", "difficulty": "multi_hop"} {"input": "What forest is by the southern border of where Jazz Jamboree is hosted?", "answer": "Kabaty", "source": "musique", "difficulty": "multi_hop"} {"input": "who was the highest-ranking black officer in the u.s. army at the beginning of the first world war", "answer": "Charles Young", "source": "nq", "difficulty": "simple"} {"input": "Which musical featured the song How To Handle A Woman?", "answer": "Camelot", "source": "triviaqa", "difficulty": "simple"} {"input": "Which American contralto was the first black singe to appear at the Metropolitan Opera?", "answer": ["1939 Lincoln Memorial concert", "Marian Andersen", "Marian Elinda Anderson", "Marian Anderson", "Marian E. Anderson"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who hosted both Miss USA 1968 and The Price Is Right?", "answer": "Bob Barker", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when did they stop making the dodge viper", "answer": "2017", "source": "nq", "difficulty": "simple"} {"input": "What is Alice's occupation?", "answer": "[\"pianist\", \"singer-songwriter\", \"singer songwriter\", \"singer/songwriter\", \"singersongwriter\", \"singer-songwriter\"]", "source": "popqa", "difficulty": "simple"} {"input": "who plays kim kelly on freaks and geeks", "answer": "Busy Philipps", "source": "nq", "difficulty": "simple"} {"input": "In what city was Blair Bush born?", "answer": "[\"Fort Hood\", \"Fort Hood, Texas\"]", "source": "popqa", "difficulty": "simple"} {"input": "when was the last time germany lost world cup", "answer": "2018", "source": "nq", "difficulty": "simple"} {"input": "who won the last mens cricket world cup", "answer": "Australia", "source": "nq", "difficulty": "simple"} {"input": "Write a function to remove multiple spaces in a string.", "answer": "import re\r\ndef remove_spaces(text):\r\n return (re.sub(' +',' ',text))", "source": "mbpp", "task_id": "892", "test_cases": "assert remove_spaces('python program')==('python program')\nassert remove_spaces('python programming language')==('python programming language')\nassert remove_spaces('python program')==('python program')", "difficulty": "code"} {"input": "\"What relation was \"\"Waldorf Astor, who became a British member of Parliament, to US millionaire John Jacob Astor?\"", "answer": ["Grandchildren", "Grandson", "Granddaughter", "Grandson (son of a child)", "Great-grandchildren", "Grandchild", "Great-grandson", "Grandkid", "Great-granddaughter"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Frances Josephy's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\", \"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "who sang i just died in your arms", "answer": "Nick Van Eede", "source": "nq", "difficulty": "simple"} {"input": "In the Robin Hood stories, what was the real name of Little John?", "answer": ["John Little", "John Little (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Andros, in the country where The Black Moses was made, an instance of?", "answer": "archipelago", "source": "musique", "difficulty": "multi_hop"} {"input": "On the network where the series that includes Known Unknowns was originally broadcast, how long ago were the speeches quoted from Burke from?", "answer": "fourteen and fifteen years", "source": "musique", "difficulty": "multi_hop"} {"input": "when was the first episode of charmed aired", "answer": "October 7, 1998", "source": "nq", "difficulty": "simple"} {"input": "Write a function to remove duplicate words from a given string using collections module.", "answer": "from collections import OrderedDict\r\ndef remove_duplicate(string):\r\n result = ' '.join(OrderedDict((w,w) for w in string.split()).keys())\r\n return result", "source": "mbpp", "task_id": "674", "test_cases": "assert remove_duplicate(\"Python Exercises Practice Solution Exercises\")==(\"Python Exercises Practice Solution\")\nassert remove_duplicate(\"Python Exercises Practice Solution Python\")==(\"Python Exercises Practice Solution\")\nassert remove_duplicate(\"Python Exercises Practice Solution Practice\")==(\"Python Exercises Practice Solution\")", "difficulty": "code"} {"input": "What is the mosaic known as in the church that is located where the OTE Tower is?", "answer": "Christ in majesty (or Ezekiel's Vision)", "source": "musique", "difficulty": "multi_hop"} {"input": "When did the author of The Long Voyage start writing books?", "answer": "1836", "source": "musique", "difficulty": "multi_hop"} {"input": "What term means an institution like a German Fachhochschule in the country where Achouffe is located and the country where Dutch is spoken?", "answer": "hogeschool", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Colleen Zenk Pinter's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "when did the tax free savings account start", "answer": "January 1, 2009", "source": "nq", "difficulty": "simple"} {"input": "Who won Super Bowl XXV?", "answer": ["New York Giants Depth Chart", "NY Jints", "NY Giants", "N Y Giants", "New York Giants", "New York Giants (American football)", "N.Y. Giants", "Football Giants", "The N. Y. Giants", "NYG", "The New York Giants", "New York Giants F.C.", "New York Football Giants", "New Jersey Giants", "The N Y Giants", "New York Giant", "N. Y. Giants", "Ny giants", "New York football Giants", "NY football giants", "The N.Y. Giants", "NewYorkGiants", "NJ Giants", "The NY Giants"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who was in charge of the city the author of Love All the People: Letters, Lyrics, Routines resides?", "answer": "Annise Parker", "source": "musique", "difficulty": "multi_hop"} {"input": "who plays michael myers in halloween by the performer in Two-Lane Blacktop?", "answer": "Daryl Karolat", "source": "musique", "difficulty": "multi_hop"} {"input": "who did the us fight in world war i", "answer": "Central Powers", "source": "nq", "difficulty": "simple"} {"input": "Which film came out first, Dr. Wai In \"The Scripture With No Words\" or Aag Ka Toofan?", "answer": "Aag Ka Toofan", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a python function to find the index of an extra element present in one sorted array.", "answer": "def find_Extra(arr1,arr2,n) : \r\n for i in range(0, n) : \r\n if (arr1[i] != arr2[i]) : \r\n return i \r\n return n", "source": "mbpp", "task_id": "890", "test_cases": "assert find_Extra([1,2,3,4],[1,2,3],3) == 3\nassert find_Extra([2,4,6,8,10],[2,4,6,8],4) == 4\nassert find_Extra([1,3,5,7,9,11],[1,3,5,7,9],5) == 5", "difficulty": "code"} {"input": "\"To which interviewer did Richard Nixon say, \"\"I never cry except in public?\"", "answer": ["Sir David Paradine Frost", "David Frost (broadcaster)", "The David Frost Show", "David Frost", "David Paradine", "Sir David Frost", "David Frost Show", "David Paradine Frost"], "source": "triviaqa", "difficulty": "simple"} {"input": "The Fabulous Cullinan diamond was cut into how many separate gems?", "answer": ["one hundred and five", "105"], "source": "triviaqa", "difficulty": "simple"} {"input": "When did the first restaurant from which McDonaldization got its name open in the country where the author of Judgement of Martin Bucer Concerning Divorce was a citizen?", "answer": "1974", "source": "musique", "difficulty": "multi_hop"} {"input": "At the 2011 census, what was he population of the city where Kerry Saxby-Junna was born?", "answer": "6,960", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when did the ipod touch 6 gen came out", "answer": "July 15, 2015", "source": "nq", "difficulty": "simple"} {"input": "Superheaven and Oceansize, are bands of which shared genre?", "answer": "rock", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Do Rhescuporis Ii and Mcallister Hull share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "what is the name of chief justice of the country where Ve-Koloenu is located?", "answer": "Sophia Akuffo", "source": "musique", "difficulty": "multi_hop"} {"input": "Are San Diego International Airport and McCarran International Airport located in the same state?", "answer": "no", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What was the country where Nkwerre is located named for?", "answer": "Niger River", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to check a decimal with a precision of 2.", "answer": "def is_decimal(num):\r\n import re\r\n dnumre = re.compile(r\"\"\"^[0-9]+(\\.[0-9]{1,2})?$\"\"\")\r\n result = dnumre.search(num)\r\n return bool(result)", "source": "mbpp", "task_id": "759", "test_cases": "assert is_decimal('123.11')==True\nassert is_decimal('e666.86')==False\nassert is_decimal('3.124587')==False", "difficulty": "code"} {"input": "What principal dancer in the Bolshoi ballet, born in 1988, is a student of Valery Lagunov?", "answer": "Vladislav Lantratov", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when does episode 115 of dragon ball super air", "answer": "November 12, 2017", "source": "nq", "difficulty": "simple"} {"input": "What are the plants in the same genus as the Dendranthema boreale sometimes called?", "answer": "mums or chrysanths", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where did the performer of song Escape (Misia Song) study?", "answer": "Seinan Gakuin University", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Matthew J. Ryan born?", "answer": "[\"Philadelphia\", \"Philly\", \"City of Brotherly Love\", \"Cradle of Liberty\", \"Philadelphia, Pennsylvania\", \"City of Philadelphia\", \"Philadelphia, PA\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what year were US ground troops first dispatched to Vietnam?", "answer": ["one thousand, nine hundred and sixty-five", "1965"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Paul Braniff born?", "answer": "[\"Portaferry\", \"Portaferry, County Down\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Philibert Orry born?", "answer": "[\"Troyes\", \"Troyes, Aube\", \"Troyes, Aube France\"]", "source": "popqa", "difficulty": "simple"} {"input": "Michael Ralph DeVito (born June 10, 1984) is a former American football defensive end, he the National Football League (NFL), DeVito attended high school at Nauset Regional High School an NEASC accredited high school located in North Eastham, in which state?", "answer": "Massachusetts", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "how much points did lavar ball average in college", "answer": "2.2 points", "source": "nq", "difficulty": "simple"} {"input": "Write a python function to find sum of prime numbers between 1 to n.", "answer": "def sum_Of_Primes(n): \r\n prime = [True] * (n + 1) \r\n p = 2\r\n while p * p <= n: \r\n if prime[p] == True: \r\n i = p * 2\r\n while i <= n: \r\n prime[i] = False\r\n i += p \r\n p += 1 \r\n sum = 0\r\n for i in range (2,n + 1): \r\n if(prime[i]): \r\n sum += i \r\n return sum", "source": "mbpp", "task_id": "685", "test_cases": "assert sum_Of_Primes(10) == 17\nassert sum_Of_Primes(20) == 77\nassert sum_Of_Primes(5) == 10", "difficulty": "code"} {"input": "Do both films: The Ex-Mrs. Bradford and The Star Of Santa Clara have the directors from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to check if each element of second tuple is smaller than its corresponding index in first tuple.", "answer": "def check_smaller(test_tup1, test_tup2):\r\n res = all(x > y for x, y in zip(test_tup1, test_tup2))\r\n return (res)", "source": "mbpp", "task_id": "809", "test_cases": "assert check_smaller((1, 2, 3), (2, 3, 4)) == False\nassert check_smaller((4, 5, 6), (3, 4, 5)) == True\nassert check_smaller((11, 12, 13), (10, 11, 12)) == True", "difficulty": "code"} {"input": "What is the main subject of biographies of the composer of Piano Concerto K. 107?", "answer": "Wolfgang Amadeus Mozart", "source": "musique", "difficulty": "multi_hop"} {"input": "Are the bands Tool and Capital Cities both from Los Angeles, California?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which county's capital is the city where William Henry Sneed lived when he died?", "answer": "Knox County", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a python function to find the slope of a line.", "answer": "def slope(x1,y1,x2,y2): \r\n return (float)(y2-y1)/(x2-x1)", "source": "mbpp", "task_id": "835", "test_cases": "assert slope(4,2,2,5) == -1.5\nassert slope(2,4,4,6) == 1\nassert slope(1,2,4,2) == 0", "difficulty": "code"} {"input": "What is the Soninke language meaning of the name of the democracy that is home to Kumasi Airport?", "answer": "\"Warrior King\"", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "True Williams was the first to illustrate which title character of a Mark Twain novel?", "answer": "Thomas \"Tom\" Sawyer", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Brutti di notte is a parody of the film starring which actress?", "answer": "Catherine Deneuve", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who founded the company that makes the engine for Red Bull F1?", "answer": "Louis Renault", "source": "musique", "difficulty": "multi_hop"} {"input": "How detailed is the description of the death of the person the first person of John the logos refer to?", "answer": "hour-by-hour account", "source": "musique", "difficulty": "multi_hop"} {"input": "When did the first Walmart open in the state where Chautauqua Tower is located?", "answer": "1991", "source": "musique", "difficulty": "multi_hop"} {"input": "In which municipality of the province where Shelburne dike is located can Kinsac also be found?", "answer": "Halifax Regional Municipality", "source": "musique", "difficulty": "multi_hop"} {"input": "Which film has the director who was born later, Glamour Boy (Film) or Night By The Seashore?", "answer": "Night By The Seashore", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "From an Andrey Zvyagintsev drama, which American city did the actual events upon which the drama is based take place?", "answer": "Granby, Colorado", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "How did the Japanese beat the country where Phison is located?", "answer": "First Sino-Japanese", "source": "musique", "difficulty": "multi_hop"} {"input": "Who was in charge of the country where the composer of Aschenbrodel was a citizen?", "answer": "Karl Renner", "source": "musique", "difficulty": "multi_hop"} {"input": "what part of the chicken is general tso chicken", "answer": "thigh meat", "source": "nq", "difficulty": "simple"} {"input": "What is the date of death of the composer of film Prachanda Putanigalu?", "answer": "24 January 2002", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Thomas Challis's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What were D W Griffith's first names?", "answer": "David Wark", "source": "triviaqa", "difficulty": "simple"} {"input": "Are Hamifrats Central Railway Station and Holdorf (Oldb) Railway Station both located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Arthur bell as an amateur cricketer player for what league known for employing professional players.", "answer": "Lancashire League", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "If Cheung Kong Center were to host A Symphony of Lights, what aspect of the center would be necessary to do so?", "answer": "coloured lights", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Chitra Bahadur K.C.'s occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "who sings theme song for king of queens", "answer": "Vera", "source": "nq", "difficulty": "simple"} {"input": "what type of writing is most similar to an autobiography a. poetry b. short story c. novel d. memoir", "answer": "memoir", "source": "nq", "difficulty": "simple"} {"input": "Highway 42 runs northwest from where Highway 24 crosses the BNSF Railway's Northern Transcon, a route operated by what Railway?", "answer": "BNSF", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is James Alex Msekela's occupation?", "answer": "[\"diplomat\", \"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "identify the part of a neuron that releases neurotransmitter", "answer": "the axon terminal", "source": "nq", "difficulty": "simple"} {"input": "What star sign is Glenda Jackson?", "answer": ["Tarus", "Taurus (disambiguation)", "Taurus (song)", "Taurus"], "source": "triviaqa", "difficulty": "simple"} {"input": "UN Secretary Dag Hammarskjold was killed over which country?", "answer": ["African Congo", "The Kongos", "Congo (disambiguation)", "Congo (country)", "Lower Congo", "Kongo", "Kongo (disambiguation)", "The Congo", "Kongô", "Congo", "Congos", "Kongou"], "source": "triviaqa", "difficulty": "simple"} {"input": "where does the money for unemployment benefits come from", "answer": "a compulsory governmental insurance system", "source": "nq", "difficulty": "simple"} {"input": "Florence Ballard was a member of which girl group?", "answer": ["Diana Ross and the Supremes", "Diana Ross & The Supremes", "Diana Ross and The Supremes", "The Supremes Sing Disney Classics", "The Supremes at the Copa '67", "The Supremes", "Diana Ross And The Supremes", "Supremes", "The Primettes", "Diana ross and the supremes", "Primettes", "The supremes", "Diana Ross & the Supremes"], "source": "triviaqa", "difficulty": "simple"} {"input": "The band that released the album \"Let's Cheers to This\" is from what Florida city?", "answer": "Orlando", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who was West German Chancellor from 1969 to 1974? Willy Brandt.", "answer": ["Willy Brandt", "Karl Herbert Frahm", "Herbert Ernst Karl Frahm", "Gunnar Gaasland", "Herbert Ernst Carl Frahm", "Herbert Frahm"], "source": "triviaqa", "difficulty": "simple"} {"input": "Are Ekaterina Voronina and Beatriz Villacañas of the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When is the vote for the governor in the state where lars and the real girl is set?", "answer": "November 6, 2018", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Fernand Cornez born?", "answer": "[\"Paris\", \"City of Light\", \"Paris, France\"]", "source": "popqa", "difficulty": "simple"} {"input": "Californian rock band Lit recorded A Place in the Sun in 1995, but what's their best known song?", "answer": "My Own Worst Enemy", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What was Xanadu in the title of the film?", "answer": ["Rollerdisco", "Roller disco"], "source": "triviaqa", "difficulty": "simple"} {"input": "Where was the UN Atomic Energy Agency based when it was set up in 1957?", "answer": ["Capital of Austria", "Wien", "Architecture of Vienna", "Vinarborg", "Government of Vienna", "Vienna", "Viena", "Demographics of Vienna", "City of Vienna", "Vienna (state)", "Wienna", "Vienna, AT-9", "Habsburg, Austria", "Vienna Porcelain", "Wene", "UN/LOCODE:ATVIE", "Vienna (Austria)", "Europe/Vienna", "Vindabona", "Vienna porcelain", "Vínarborg", "Wien, Austria", "Vienna, Austria", "Gemeinderat of Vienna", "Vindobonensis", "Bécs"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a python function to find the sum of all even natural numbers within the range l and r.", "answer": "def sum_Natural(n): \r\n sum = (n * (n + 1)) \r\n return int(sum) \r\ndef sum_Even(l,r): \r\n return (sum_Natural(int(r / 2)) - sum_Natural(int((l - 1) / 2)))", "source": "mbpp", "task_id": "962", "test_cases": "assert sum_Even(2,5) == 6\nassert sum_Even(3,8) == 18\nassert sum_Even(4,6) == 10", "difficulty": "code"} {"input": "how many episodes are there in season 2 of the crown", "answer": "10 one-hour episodes", "source": "nq", "difficulty": "simple"} {"input": "Who was born first, Barbro Holmberg or Nathan Soule?", "answer": "Nathan Soule", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Johnson's occupation?", "answer": "[\"composer\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to access dictionary key’s element by index.", "answer": "def access_key(ditionary,key):\r\n return list(ditionary)[key]", "source": "mbpp", "task_id": "679", "test_cases": "assert access_key({'physics': 80, 'math': 90, 'chemistry': 86},0)== 'physics'\nassert access_key({'python':10, 'java': 20, 'C++':30},2)== 'C++'\nassert access_key({'program':15,'computer':45},1)== 'computer'", "difficulty": "code"} {"input": "When did the first Walmart open in the state Baltimore Renaissance Academy is located?", "answer": "1991", "source": "musique", "difficulty": "multi_hop"} {"input": "Which country the composer of film At Last, Okemah! is from?", "answer": "American", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "The author of the book \"A New Kind of Science\" designed a computer algebra system at which university?", "answer": "Caltech", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Henry Tizard's occupation?", "answer": "[\"chemist\", \"chemists\"]", "source": "popqa", "difficulty": "simple"} {"input": "what is the name of the president of austria", "answer": "Alexander Van der Bellen", "source": "nq", "difficulty": "simple"} {"input": "who plays anastasia in fifty shades of grey", "answer": "Dakota Mayi Johnson", "source": "nq", "difficulty": "simple"} {"input": "John Kassir and Tom Kenny both voice this one character?", "answer": "Ice King", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Ingrid Martinez's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Benito Juarez international airport is in which country?", "answer": ["Mexican Republic", "MEXICO", "Estados Unidos de México", "Sierra de la Estrella", "Mexico (country)", "Mexicó", "The United Mexican States", "Estados Unidos de Mexico", "Central Mexico", "ISO 3166-1:MX", "Mexiko", "Méjico", "Mexique", "Mexican United States", "Mexican'", "The United State of Mexico", "Mountains of Mexico", "Old Mexico", "United states of mexico", "EUM", "Messico", "Mejico", "The United States of Mexicans", "Untied Mexican States", "México", "Etymology of Mexico", "Meixcan", "Estados Unidos Mexicanos", "Mexic", "Mexxico", "Mexican Union", "The United States of Mexico", "United State of Mexico", "Mexico", "Republic of Mexico", "Mexican Federal Republic", "United Mexican States", "Mexican coast", "Mehico", "United States of Mexicans", "United States of Mexico"], "source": "triviaqa", "difficulty": "simple"} {"input": "Jo Ann Terry won the 80m hurdles event at what Sao Paulo-based event from 1963?", "answer": "Pan American Games", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Thomas Harris is a novelist who is famous for creating which character?", "answer": "Hannibal Lecter", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "where did the phrase eating crow come from", "answer": "unknown", "source": "nq", "difficulty": "simple"} {"input": "What was the construction year for the astronomical clock in Jiří Kejval's birthplace?", "answer": "1410", "source": "musique", "difficulty": "multi_hop"} {"input": "In which state was Charles Schulz born?", "answer": ["Minessotta", "Land of 10,000 Lakes", "Minnesota, U.S.", "Thirty-Second State", "Minnessotta", "Government of Minnesota", "Minnesota", "Minnesota Commissioner of Labor and Industry", "The state of Minnesota", "Gopher State", "North Star State", "The Gopher State", "Minnesotta", "32nd State", "Minnesota, United States", "Commissioner of the Minnesota Management and Budget Office", "The Land of 10,000 Lakes", "Minnesnowta", "MInnesota", "Minasota", "MN (state)", "Minnesota (State)", "Minnesota (U.S. state)", "Minnesota, U.S.A.", "Minnessota", "Bread and butter state", "Minnasota", "Minnestoa", "Minnesota, US", "Minnesota, USA", "Minn.", "Minnesota (state)", "Minessota", "Minnesota, United States of America", "Minesota", "Religion in Minnesota", "Minnesoda", "Symbols of the State of Minnesota", "Minn", "The US state of Minnesota", "US-MN", "10000 lakes", "Minnesota, America", "Minesotta", "The North Star State", "Thirty-second State", "State of Minnesota", "State symbols of Minnesota", "The U.S. state of Minnesota", "The Land of Ten Thousand Lakes"], "source": "triviaqa", "difficulty": "simple"} {"input": "Are J. Lee and Pete Carril from the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who is chips voice in beauty and the beast", "answer": "Nathan Mack", "source": "nq", "difficulty": "simple"} {"input": "What is the capital of Kenya?", "answer": ["Nairobi Province, Kenya", "KE-110", "Nairobi, KE-110", "Nyrobi", "Nairobi Municipality", "Nairobi, Kenya", "Safari Capital of the World", "Nairobi Province", "Demographics of Nairobi", "Capital of Kenya", "Nairobi Area", "Citi Hoppa", "Nairobi Area, Kenya", "Nairobi"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Masayoshi Nataniya's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "when did the tenth doctor regenerate into himself", "answer": "\"Journey's End\"", "source": "nq", "difficulty": "simple"} {"input": "who was the first one to migrate to madinah", "answer": "Islamic prophet Muhammad", "source": "nq", "difficulty": "simple"} {"input": "In what city was Nathaniel Boyden born?", "answer": "[\"Conway\", \"Conway, Massachusetts\"]", "source": "popqa", "difficulty": "simple"} {"input": "\"\"\"The early days of which sport featured the Renshaw twins, the Baddeley twins and the Doherty brothers?\"", "answer": ["Lawn tennis", "Tenniz", "TenniS", "Tenis", "Lawn-Tennis", "Professional tennis player", "Break point", "Tennis", "Tennis player", "Big tennis", "Lawn Tennis", "Match point (tennis)", "Game point", "Set point (tennis)", "Tennis coaching", "Match tiebreak", "Championship point", "🎾"], "source": "triviaqa", "difficulty": "simple"} {"input": "Where is the location of the German campaign in the country Cazenga is located?", "answer": "Portuguese Angola", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a python function to find the first odd number in a given list of numbers.", "answer": "def first_odd(nums):\r\n first_odd = next((el for el in nums if el%2!=0),-1)\r\n return first_odd", "source": "mbpp", "task_id": "807", "test_cases": "assert first_odd([1,3,5]) == 1\nassert first_odd([2,4,1,3]) == 1\nassert first_odd ([8,9,1]) == 9", "difficulty": "code"} {"input": "who plays erica hahn on grey's anatomy", "answer": "Brooke Smith", "source": "nq", "difficulty": "simple"} {"input": "Which Emma won an Oscar for her screenplay of Sense and Sensibility?", "answer": ["Thompson", "Thompson (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which American-born Sinclair won the Nobel Prize for Literature in 1930?", "answer": ["(Harry) Sinclair Lewis", "Harry Sinclair Lewis", "Lewis, (Harry) Sinclair", "Grace Hegger", "Sinclair Lewis"], "source": "triviaqa", "difficulty": "simple"} {"input": "when did brandy youre a fine girl come out", "answer": "May 18, 1972", "source": "nq", "difficulty": "simple"} {"input": "In what city was Margaret Coit born?", "answer": "[\"Norwich\", \"Norwich, Connecticut\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a python function to remove negative numbers from a list.", "answer": "def remove_negs(num_list): \r\n for item in num_list: \r\n if item < 0: \r\n num_list.remove(item) \r\n return num_list", "source": "mbpp", "task_id": "852", "test_cases": "assert remove_negs([1,-2,3,-4]) == [1,3]\nassert remove_negs([1,2,3,-4]) == [1,2,3]\nassert remove_negs([4,5,-6,7,-8]) == [4,5,7]", "difficulty": "code"} {"input": "what is the most common bible translation in english", "answer": "the King James Version", "source": "nq", "difficulty": "simple"} {"input": "Write a function to check whether the given month number contains 28 days or not.", "answer": "def check_monthnum_number(monthnum1):\r\n if monthnum1 == 2:\r\n return True\r\n else:\r\n return False", "source": "mbpp", "task_id": "820", "test_cases": "assert check_monthnum_number(2)==True\nassert check_monthnum_number(1)==False\nassert check_monthnum_number(3)==False", "difficulty": "code"} {"input": "Where is the record company based that was co founded by the frontman of Minor Threat and Fugazi?", "answer": "Washington, D.C.", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "how many states in america have the death penalty 2017", "answer": "31", "source": "nq", "difficulty": "simple"} {"input": "Skyler Elizabeth Day (born August 2, 1991) is an American actress and singer, best known for her recurring roles as Maggie Ritter on the series \"Gigantic\", on TeenNick is an American digital cable and satellite television channel that is owned by Nickelodeon Group, a unit of the Viacom Media Networks division of Viacom, aimed primarily at teenagers aged what span?", "answer": "13-18", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Charles Hutchison and Reginald Barker, have which mutual occupation?", "answer": "film director", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Will Rogers airport was built in which US state?", "answer": ["Okla.", "Oklahoma", "Oklahoma, United States", "Sooner State", "Forty-Sixth State", "Religion in Oklahoma", "Culture of Oklahoma", "46th State", "Oklahoma (U.S. state)", "Oklahoma, USA", "State of Oklahoma", "List of Oklahoma State Symbols", "Oaklahoma", "Oklaholma", "Transportation in Oklahoma", "US-OK", "Sports in Oklahoma", "Okla", "Oklahoman", "Oclahoma", "Education in Oklahoma", "Energy in Oklahoma", "Transport in Oklahoma", "Forty-sixth State", "Oklahoma (state)", "The Sooner State"], "source": "triviaqa", "difficulty": "simple"} {"input": "how many hungarians were killed in 1956 by soviet forces", "answer": "Over 2,500", "source": "nq", "difficulty": "simple"} {"input": "which country supported the republican forces with military aid in the spanish civil war", "answer": ["Mexico", "Soviet Union"], "source": "nq", "difficulty": "simple"} {"input": "On a computer keyboard, which letter is between G ad J?", "answer": ["⒣", "🄷", "H", "̲h̲", "ⓗ", "ℌ", "Haitch", "H (letter)", "🄗", "H", "🅗", "🅷", "Aitch", "Ⓗ"], "source": "triviaqa", "difficulty": "simple"} {"input": "What are the cigars named for the capital of the country that, along with the Soviet Union, supported the country of citizenship of Addis Abebe in its war against Somalia?", "answer": "Havana cigars", "source": "musique", "difficulty": "multi_hop"} {"input": "what is the mlb record for most hits in a row", "answer": "12", "source": "nq", "difficulty": "simple"} {"input": "Which port lies between Puget Sound and Lake Washington?", "answer": ["Seattle, Washington.", "Seattle Weekly news", "Jet City", "Seattle, Washington, USA", "Seattle WA", "Seattle, United States of America", "舍路", "City of Seattle", "Seattle Washington", "Seattle, US-WA", "Seattle (WA)", "Seattle, Wa", "Seattle, WA", "Seattle, Washington", "St. Anne Seattle", "Seattle (Wash.)", "The weather in Seattle", "Seattle, Washington (State)", "Emerald City, Washington", "Seattleans", "Seattle's", "Seattle, Wash.", "Duwamps", "St. Anne School, Seattle, Washington", "Seattle, wa", "Seattleites", "Seattle, Washington Territory", "Seattle, United States", "Seatle", "Seattle, USA", "UN/LOCODE:USSEA", "St. Anne School (Seattle, Washington)", "Seattle", "Seattle, WA, USA"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Gilbert Bodart born?", "answer": "[\"Seraing\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are Hamadan Seljeh and Bid Zarrin-E Sofla both located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "what was the name of the early theologian who developed the church’s understanding of free will", "answer": "Mortimer Adler", "source": "nq", "difficulty": "simple"} {"input": "What star sign is shared by peter Gabriel and Stevie Wonder?", "answer": ["Tarus", "Taurus (disambiguation)", "Taurus (song)", "Taurus"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Doug McCombs born?", "answer": "[\"Peoria\", \"Peoria, Illinois\", \"Peoria IL\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Maev-Ann Wren's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\"]", "source": "popqa", "difficulty": "simple"} {"input": "who sang the song i want a hippopotamus for christmas", "answer": "Gayla Peevey", "source": "nq", "difficulty": "simple"} {"input": "The Queen Elizabeth liner was destroyed by fire in the 70s in which harbour?", "answer": ["Kong Hong", "Hong Kong, city", "Hong kong as a financial center", "Hongkong,China", "Hsian kang", "Hongkong", "Hong-kong", "Hon Kon", "Hong Kong S. A. R.", "Hong Kong/China", "Hong Kong City", "HK", "Name of Hong Kong", "Hong Kong,China", "Heung Gong", "Hsiankang", "Hong Kong/Infobox", "Hog Kog", "Xiang Gang", "Heung-Gong", "Hong Kong Special Administrative Republic", "Honk Kong", "香港特別行政區", "Xiānggǎng", "H.K.S.A.R.", "香港", "Hsiang-kang", "HKSAR", "Hong-Kong", "Hon kon", "Hong Kong SAR China", "Hk", "HongKong", "Hong Kong/infobox", "Hong Kong China", "Hong Kong Special Administrative Region of the People's Republic of China", "HKSAROPRC", "香港特區", "Hong Kong", "Heung-gong", "Hong Kong SAR", "SAR Hongkong", "香港特区", "Zhōnghuá rénmín gònghéguó xiānggǎng tèbié xíngzhèngqū", "Hong Kong S.A.R.", "Hong Kong (China)", "CN-91", "中華人民共和國香港特別行政區", "中华人民共和国香港特别行政区", "Sianggang", "Hsangkang", "Hongkong, China", "HONG KONG", "Xiāng Gǎng", "Hyanghang", "Hong Kong Special Administration Region", "Hong cong", "Hksar", "China/Hong Kong", "Hong Kong, Hong Kong", "H K", "Hong kong", "Hong Kong, China", "SAR HongKong", "ISO 3166-1:HK", "Hong Kong as a Financial Center", "Hèunggóng", "H.K.", "Heunggong", "Shang gang", "Xianggang", "Hong Kong SAR, China", "香港特别行政区", "Hong Kong, SAR", "Hong Kong Special Administrative Region", "Xianggang Tebie Xingzhengqu", "Hong Kong cityscape", "Hoong Kong", "Xiang gang", "Hong Kong Special Administrative Region of China", "UN/LOCODE:HKHKG", "Hoeng1 gong2"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which 1999 French Open - Women's Doubles runner-up was born in Russia on 7 June 1981?", "answer": "Anna Kournikova", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "With which division of the Southeastern Conference the football program compete in which Damontre Lamounte Moore played college football and earned All-American honors?", "answer": "Western Division", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What college did the Chiefs all time leading rusher attend?", "answer": "University of Texas", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When did the country where immigration leads to become a part of the United States?", "answer": "1898", "source": "musique", "difficulty": "multi_hop"} {"input": "What is John Floyd's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who won Super Bowl III?", "answer": ["NYJ", "The NY Jets", "New York Jets", "New Jersey Jets", "Ny jets", "N. Y. Jets", "The N. Y. Jets", "Jets, New York", "New York Titans (football)", "NY Jets", "The New York Jets", "The N Y Jets", "The N.Y. Jets", "N Y Jets", "N.Y. Jets"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which video game producers worked with an English film director to produce a film about sports?", "answer": "Rockstar Games", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What was Christopher Reeve's first movie?", "answer": ["Grey Lady Down", "Gray Lady Down"], "source": "triviaqa", "difficulty": "simple"} {"input": "Nakayama Miho no Tokimeki High School included music by the composer best known for the games by what company?", "answer": "Square Enix", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Larry Sitsky's occupation?", "answer": "[\"composer\", \"pianist\"]", "source": "popqa", "difficulty": "simple"} {"input": "When is the director of film Seven Psychopaths 's birthday?", "answer": "26 March 1970", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Batman born?", "answer": "[\"Gotham City\", \"Gotham\"]", "source": "popqa", "difficulty": "simple"} {"input": "Seimas (\"Sejm\", \"Sojm\", Belarusian: Сойм ) was an early parliament in the Grand Duchy of Lithuania, The Union of Lublin created a new state, the Polish–Lithuanian Commonwealth, and joined the Seimas of Lithuania with Sejm of Poland into one organization, the bicameral parliament of the Polish–Lithuanian Commonwealth is officially titled what?", "answer": "Sejm of the Polish–Lithuanian Commonwealth", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "where did the term dark ages come from", "answer": "Italian scholar Petrarch", "source": "nq", "difficulty": "simple"} {"input": "Write a function to calculate the harmonic sum of n-1.", "answer": "def harmonic_sum(n):\r\n if n < 2:\r\n return 1\r\n else:\r\n return 1 / n + (harmonic_sum(n - 1))", "source": "mbpp", "task_id": "704", "test_cases": "assert harmonic_sum(10)==2.9289682539682538\nassert harmonic_sum(4)==2.083333333333333\nassert harmonic_sum(7)==2.5928571428571425 ", "difficulty": "code"} {"input": "In which film did Susan Sarandon play Sister Helen Prejean?", "answer": ["Dead Man Walking (disambiguation)", "Dead man walking", "Dead Man Walking"], "source": "triviaqa", "difficulty": "simple"} {"input": "Are the movies Züri Brännt (Film) and Condemned (1929 Film), from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What nationality is the director of film Yamadonga?", "answer": "India", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Do both directors of films The Old Fritz and The Seventh Sign share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Do Yaman Okay and Mike Fiers have the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who has the longest win streak in the nba", "answer": "The Los Angeles Lakers", "source": "nq", "difficulty": "simple"} {"input": "In what city was Athīr al-Dīn al-Abharī born?", "answer": "[\"Abhar\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which musical featured the song You'll Never Walk Alone?", "answer": ["Carousels", "🎠", "Merry-go-round", "Loof", "Marry Go Round", "Merry-Go-Round", "Merry Go Round", "Merry go round", "Merry-go-Round", "Merrygoround", "Carousel", "Carrousel"], "source": "triviaqa", "difficulty": "simple"} {"input": "who played the oompa loompas in charlie and the chocolate factory", "answer": "Deep Roy", "source": "nq", "difficulty": "simple"} {"input": "A Mars crater is named after the successor of who?", "answer": "John Flamsteed", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where was Pablo Casals buried before he was finally laid to rest in Spain?", "answer": ["Puertorican", "Puertorriquenos", "Porto Rico", "La isla del encanto", "US-PR", "PRia", "Freely Associated State of Puerto Rico", "Puerto Rico tourism and life", "Puorto rico", "Puerto Rico (U.S. state)", "ISO 3166-1:PR", "San Juan Bautista (Puerto Rico)", "Rich Port", "Puerto rico", "Puertorriqueños", "The island of enchantment", "Commonwealth of Puerto Rico", "Puertorriqueno", "Puertorriquena", "Island of Puerto Rico", "America/Puerto Rico", "Porto Rican", "Religion in Puerto Rico", "List of Puerto Rico territorial symbols", "Borikén", "Isla del encanto", "Puertorriqueña", "Puertorriqueño", "Borinquen", "Isle of Enchantment", "Estado Libre Asociado", "Puerto Rico (Puerto Rico)", "Porto-Rico", "Puetro Rico", "Pueta rico", "Puertorico", "Boriquen", "Portarico", "Puerto Rico", "Puerto Rico/Transnational issues", "Island of enchantment", "Porta Rico", "Porter Rico", "Peurto Rico", "Languages of Puerto Rico", "Boriken", "Portoriko", "Puerto Rico territory, United States", "Portorico", "Portar Rico", "Puerto Rica", "Puerto-Rico", "Puerto Ricao", "Free Associated State of Puerto Rico", "Puerto-Rican"], "source": "triviaqa", "difficulty": "simple"} {"input": "Faugh a Ballagh, is a battle cry of Irish origin, meaning \"clear the way\", and today it remains the motto of which (27th (Inniskilling) 83rd and 87th and Ulster Defence Regiment) (R IRISH) is an infantry regiment of the British Army?", "answer": "Royal Irish Regiment", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who wrote the song i drive your truck", "answer": ["Jimmy Yeary", "Jessi Alexander", "Connie Harrington"], "source": "nq", "difficulty": "simple"} {"input": "In what city was Endre Bálint born?", "answer": "[\"Budapest\", \"Buda Pest\", \"Buda-Pest\", \"Budapešť\", \"Budapesta\", \"Budapeszt\", \"Buda\", \"Ofen\", \"Budín\", \"Budim\", \"Budon\", \"Pest\", \"Pešť\", \"Pešta\", \"Óbuda\", \"Alt-Ofen\", \"Kőbánya\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to find palindromes in a given list of strings using lambda function.", "answer": "def palindrome_lambda(texts):\r\n result = list(filter(lambda x: (x == \"\".join(reversed(x))), texts))\r\n return result", "source": "mbpp", "task_id": "864", "test_cases": "assert palindrome_lambda([\"php\", \"res\", \"Python\", \"abcd\", \"Java\", \"aaa\"])==['php', 'aaa']\nassert palindrome_lambda([\"abcd\", \"Python\", \"abba\", \"aba\"])==['abba', 'aba']\nassert palindrome_lambda([\"abcd\", \"abbccbba\", \"abba\", \"aba\"])==['abbccbba', 'abba', 'aba']", "difficulty": "code"} {"input": "Write a function to create a new tuple from the given string and list.", "answer": "def new_tuple(test_list, test_str):\r\n res = tuple(test_list + [test_str])\r\n return (res)", "source": "mbpp", "task_id": "788", "test_cases": "assert new_tuple([\"WEB\", \"is\"], \"best\") == ('WEB', 'is', 'best')\nassert new_tuple([\"We\", \"are\"], \"Developers\") == ('We', 'are', 'Developers')\nassert new_tuple([\"Part\", \"is\"], \"Wrong\") == ('Part', 'is', 'Wrong')", "difficulty": "code"} {"input": "In which country was the Russian Revolutionary Leon Trotsky murdered?", "answer": ["Mexican Republic", "MEXICO", "Estados Unidos de México", "Sierra de la Estrella", "Mexico (country)", "Mexicó", "The United Mexican States", "Estados Unidos de Mexico", "Central Mexico", "ISO 3166-1:MX", "Mexiko", "Méjico", "Mexique", "Mexican United States", "Mexican'", "The United State of Mexico", "Mountains of Mexico", "Old Mexico", "United states of mexico", "EUM", "Messico", "Mejico", "The United States of Mexicans", "Untied Mexican States", "México", "Etymology of Mexico", "Meixcan", "Estados Unidos Mexicanos", "Mexic", "Mexxico", "Mexican Union", "The United States of Mexico", "United State of Mexico", "Mexico", "Republic of Mexico", "Mexican Federal Republic", "United Mexican States", "Mexican coast", "Mehico", "United States of Mexicans", "United States of Mexico"], "source": "triviaqa", "difficulty": "simple"} {"input": "The 2016 Baylor Bears football team were invited to what event when they defeated the 2016 Boise State Broncos?", "answer": "Cactus Bowl", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Eduardo Hurtado born?", "answer": "[\"Esmeraldas\", \"Esmeraldas (Ecuador)\", \"Esmeraldas, Ecuador\", \"San Mateo de las Esmeraldas\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a python function to copy a list from a singleton tuple.", "answer": "def lcopy(xs):\n return xs[:]", "source": "mbpp", "task_id": "847", "test_cases": "assert lcopy([1, 2, 3]) == [1, 2, 3]\nassert lcopy([4, 8, 2, 10, 15, 18]) == [4, 8, 2, 10, 15, 18]\nassert lcopy([4, 5, 6]) == [4, 5, 6]\n", "difficulty": "code"} {"input": "What school was the director of Sukumar Ray educated at?", "answer": "Visva-Bharati University", "source": "musique", "difficulty": "multi_hop"} {"input": "\"The Twentieth Century is Almost Over\" was re-recorded five years later by Cash and Waylon Jennings, Kris Kristofferson, and Willie Nelson, one of the most recognized artists in what type of music?", "answer": "country", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "## write a function to find the minimum number of jumps to reach the end of the array for the given array of integers where each element represents the max number of steps that can be made forward from that element. > indented block > indented block", "answer": "def min_jumps(arr, n):\r\n\tjumps = [0 for i in range(n)]\r\n\tif (n == 0) or (arr[0] == 0):\r\n\t\treturn float('inf')\r\n\tjumps[0] = 0\r\n\tfor i in range(1, n):\r\n\t\tjumps[i] = float('inf')\r\n\t\tfor j in range(i):\r\n\t\t\tif (i <= j + arr[j]) and (jumps[j] != float('inf')):\r\n\t\t\t\tjumps[i] = min(jumps[i], jumps[j] + 1)\r\n\t\t\t\tbreak\r\n\treturn jumps[n-1]", "source": "mbpp", "task_id": "689", "test_cases": "assert min_jumps([1, 3, 6, 1, 0, 9], 6) == 3\nassert min_jumps([1, 3, 5, 8, 9, 2, 6, 7, 6, 8, 9], 11) == 3\nassert min_jumps([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 11) == 10", "difficulty": "code"} {"input": "When did the country of the groups from The Sing-Off not from the U.S. become a commonwealth of the U.S.?", "answer": "February 4, 1952", "source": "musique", "difficulty": "multi_hop"} {"input": "Which film has the director born later, Room In Rome or The Loves Of Carmen (1948 Film)?", "answer": "Room In Rome", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Uma Thurman's middle name?", "answer": ["Karunā", "Karuna", "Karuna (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "according to census 2011 which is low density state", "answer": "Arunachal Pradesh", "source": "nq", "difficulty": "simple"} {"input": "Lee Mi-sook (born April 2, 1960) is a South Korean actress, one of the best-known actresses of 1980s Korean cinema, Lee's most famous films from this era include which of Lee Doo-yong's, 1986 South Korean drama filmLee Mi-sook (born April 2, 1960) is a South Korean actress, one of the best-known actresses of 1980s Korean cinema, Lee's most famous films from this era include which of Lee Doo-yong's, 1986 South Korean drama film, Mulberry, based on the eponymous classic story, by who?", "answer": "Na Do-hyang", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In 1984 how was the baby who received the heart of a baboon known?", "answer": ["Baby Fae", "Baby Faye", "Stephanie Fae Beauclair", "Baby Fay", "Baboon heart"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to find the cumulative sum of all the values that are present in the given tuple list.", "answer": "def cummulative_sum(test_list):\r\n res = sum(map(sum, test_list))\r\n return (res)", "source": "mbpp", "task_id": "614", "test_cases": "assert cummulative_sum([(1, 3), (5, 6, 7), (2, 6)]) == 30\nassert cummulative_sum([(2, 4), (6, 7, 8), (3, 7)]) == 37\nassert cummulative_sum([(3, 5), (7, 8, 9), (4, 8)]) == 44", "difficulty": "code"} {"input": "In what city was Mukhtar Mukhtarov born?", "answer": "[\"Lankaran\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Bob Geddins born?", "answer": "[\"Texas\", \"TX\", \"Lone Star State\", \"Texas, United States\", \"State of Texas\", \"US-TX\", \"Tex.\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to calculate the sum of the positive numbers of a given list of numbers using lambda function.", "answer": "def sum_positivenum(nums):\r\n sum_positivenum = list(filter(lambda nums:nums>0,nums))\r\n return sum(sum_positivenum)", "source": "mbpp", "task_id": "870", "test_cases": "assert sum_positivenum([2, 4, -6, -9, 11, -12, 14, -5, 17])==48\nassert sum_positivenum([10,15,-14,13,-18,12,-20])==50\nassert sum_positivenum([19, -65, 57, 39, 152,-639, 121, 44, 90, -190])==522", "difficulty": "code"} {"input": "who voiced the cartoon character in the animated television series which , Pablo Aurrecochea wears kits adorned with its cartoon characters", "answer": "Dan Castellaneta", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who sings the rap in baby by U Smile's performer?", "answer": "Ludacris", "source": "musique", "difficulty": "multi_hop"} {"input": "Name the East African country which lies on the equator.", "answer": ["Kenyan", "Prehistory of Kenya", "Kenya-Africa", "ISO 3166-1:KE", "Jamhuri ya Kenya", "Kenya", "Republic of Kenya", "Kenya (disambiguation)", "Etymology of Kenya"], "source": "triviaqa", "difficulty": "simple"} {"input": "How many congressional districts are there in the state where most wheat is grown in the US?", "answer": "4", "source": "musique", "difficulty": "multi_hop"} {"input": "who sings does he love me with reba", "answer": "Linda Davis", "source": "nq", "difficulty": "simple"} {"input": "What college did the composer of Run Run Run go to?", "answer": "Syracuse University", "source": "musique", "difficulty": "multi_hop"} {"input": "Where was the place of death of the performer of song Şuşanın Dağları Başı Dumanlı?", "answer": "Baku", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In which sport did Hollywood star Sonja Henie win Olympic Gold?", "answer": ["Ice skater", "Iceskating", "Ice Skating", "Ice skating", "Ice skateing", "Ice-skating"], "source": "triviaqa", "difficulty": "simple"} {"input": "who does the voice of max from a goofy movie", "answer": "Jason Marsden", "source": "nq", "difficulty": "simple"} {"input": "What county is William Samuel Verplanck Junior's place of death the seat of?", "answer": "Knox County", "source": "musique", "difficulty": "multi_hop"} {"input": "What was the name of the 2017 hurricane that hit the U.S. territory where Madonna angered the public by rubbing their flag between her thighs?", "answer": "Hurricane Maria", "source": "musique", "difficulty": "multi_hop"} {"input": "Where was the place of death of the director of film Beloved Jim?", "answer": "Woodland Hills, Los Angeles", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where was The Iron Triangle?", "answer": ["Độc lập - tự do - hạnh phúc", "Cộng Hòa Xã Hội Chủ Nghĩa Việt Nam", "越南社會主義共和國", "ISO 3166-1:VN", "SRVN", "VIETNAM", "CHXHCN Vietnam", "Viet Nam Socialist Repub", "SRoV", "S.R. Vietnam", "Languages of Viet Nam", "Communist Vietnam", "Red Vietnam (modern)", "Doc lap, tu do, hanh phuc", "People's Republic of Vietnam", "VietNam", "Việtnam", "Socialist Republic of Viet Nam", "Yue Nan", "Viêtnam", "Độc lập, tự do, hạnh phúc", "SR Vietnam", "Yuenan", "Vietman", "Vietnarm", "Viet nam", "Veitnam", "Languages of Vietnam", "Viêt Nam", "Vietnam", "The Socialist Republic of Vietnam", "Cong Hoa Xa Hoi Chu Nghia Viet Nam", "Etymology of Vietnam", "Socialist Republic of Vietnam", "Doc lap - tu do - hanh phuc", "Cộng hòa Xã hội Chủ nghĩa Việt Nam", "Viet-Nam", "Viet Nam", "Vjet-Namo", "Cong hoa Xa hoi Chu nghia Viet Nam", "Vietnamese Republic", "Việt Nam"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the Alaskan terminus of the Alaskan Highway?", "answer": ["Fairbanks, AK", "Fairbanks, AL", "Fairbanks", "AK Fairbanks", "Fairbanks, ak", "Fairbanks, Alaska", "UN/LOCODE:USFAI", "Fairbanks alaska"], "source": "triviaqa", "difficulty": "simple"} {"input": "Are both high schools, Cumberland County Technology Education Center and Olentangy High School, located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In which country were Daewoo cars originally produced?", "answer": ["Coreanic", "Hangug", "Koreas", "Hanguk", "Han-guk", "Han'guk", "Korea", "Korean population", "Coreanist", "Languages of Korea", "Daehan", "Korea's", "Geumsu Gangsan", "Hangook", "KOREA", "Corée", "Hankuk", "Korean civilization", "Greater Corea", "Kumsu Kangsan", "Languages of Corea", "ISO 3166-2:KR/KP", "Etymology of Korea"], "source": "triviaqa", "difficulty": "simple"} {"input": "Where was the place of burial of the director of film Young Dr. Kildare?", "answer": "Forest Lawn Memorial Park", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are both directors of films The Hard Part Begins and No Place for a Lady from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the date of birth of the director of film Andrea, Paano Ba Ang Maging Isang Ina??", "answer": "September 13, 1945", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "How long does the biggest celebration last in Wally Warning's birthplace?", "answer": "a month", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Gerard Thomas born?", "answer": "[\"Antwerp\", \"Antwerpen\", \"City of Antwerp\", \"Anvers\"]", "source": "popqa", "difficulty": "simple"} {"input": "What college did the performer of the song Hi, How Ya Doin'?? attend?", "answer": "University of Washington", "source": "musique", "difficulty": "multi_hop"} {"input": "What did the largest employer in George Townsend's place of death do about the Title IX complaint?", "answer": "formed a Title IX steering committee to address complaints of sexual misconduct", "source": "musique", "difficulty": "multi_hop"} {"input": "What weekly publication in Thayer Scudder's birthplace is issued by university of the author of America-Lite: How Imperial Academia Dismantled Our Culture?", "answer": "Yale Herald", "source": "musique", "difficulty": "multi_hop"} {"input": "Are the movies Made (2001 Film) and Proud Flesh (Film), from the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which of the following documents the issues of the LGBT community: Pride Divide or The Big Melt?", "answer": "Pride Divide", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the name of the movie in which Edwin Brown plays a man that executed at least 400 people, including William Joyce and John Amery?", "answer": "10 Rillington Place", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are Nishiki River and Bullskin Run located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When was the spring training home of the team Jeremy Brown plays for built?", "answer": "1976", "source": "musique", "difficulty": "multi_hop"} {"input": "Do both directors of films Aatmiyulu and La Gallina Clueca share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What does Riviere-Verte in the country where Old Queens is located share a border with?", "answer": "Edmundston", "source": "musique", "difficulty": "multi_hop"} {"input": "What country is Großbottwar located in?", "answer": "Germany", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a python function to check whether the product of digits of a number at even and odd places is equal or not.", "answer": "def product_Equal(n): \r\n if n < 10: \r\n return False\r\n prodOdd = 1; prodEven = 1\r\n while n > 0: \r\n digit = n % 10\r\n prodOdd *= digit \r\n n = n//10\r\n if n == 0: \r\n break; \r\n digit = n % 10\r\n prodEven *= digit \r\n n = n//10\r\n if prodOdd == prodEven: \r\n return True\r\n return False", "source": "mbpp", "task_id": "711", "test_cases": "assert product_Equal(2841) == True\nassert product_Equal(1234) == False\nassert product_Equal(1212) == False", "difficulty": "code"} {"input": "At what weight did boxer Chris Eubank win the WBO title in 1990?", "answer": ["Middle-weight", "Middleweight"], "source": "triviaqa", "difficulty": "simple"} {"input": "David J. Wineland was awarded the 2012 Nobel Prize in Physics jointly with which French physicist known for a study of the particle of light?", "answer": "Serge Haroche", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What was founded by the Super Bowl halftime performer in 2017?", "answer": "Lady Gaga Fame", "source": "musique", "difficulty": "multi_hop"} {"input": "Are George Avakian and Bobby Managoff both record producers?", "answer": "Robert Manoogian Jr. (January 4, 1918 – April 3, 2002) was an American professional wrestler", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Miloš Žeravica born?", "answer": "[\"Zrenjanin\", \"Bečkerek\"]", "source": "popqa", "difficulty": "simple"} {"input": "Ian Hunter and Stuart Murdoch, have which musical occupation in common?", "answer": "lead singer", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "which city is known as pearl city of india", "answer": "Tuticorin (Thoothukudi)", "source": "nq", "difficulty": "simple"} {"input": "Write a function to find out the second most repeated (or frequent) string in the given sequence.", "answer": "from collections import Counter \r\n\t\r\ndef second_frequent(input): \r\n\tdict = Counter(input) \r\n\tvalue = sorted(dict.values(), reverse=True) \r\n\tsecond_large = value[1] \r\n\tfor (key, val) in dict.items(): \r\n\t\tif val == second_large: \r\n\t\t\treturn (key)", "source": "mbpp", "task_id": "829", "test_cases": "assert second_frequent(['aaa','bbb','ccc','bbb','aaa','aaa']) == 'bbb'\nassert second_frequent(['abc','bcd','abc','bcd','bcd','bcd']) == 'abc'\nassert second_frequent(['cdma','gsm','hspa','gsm','cdma','cdma']) == 'gsm'", "difficulty": "code"} {"input": "La Barredora was a gang that declared war on the leader of the cartel based where?", "answer": "Sinaloa", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "\"Your Love Had Taken Me That High\" is a song recorded by a singer that received a string of Country Music Association awards for duets with who?", "answer": "Loretta Lynn", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When is the director of film This Man In Paris 's birthday?", "answer": "9 May 1904", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are Sozar Subari and Julián Vara from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where was the performer of Count 'Em 88 born?", "answer": "Pittsburgh", "source": "musique", "difficulty": "multi_hop"} {"input": "who won the espy for best nba player", "answer": "LeBron James", "source": "nq", "difficulty": "simple"} {"input": "What nationality is the director of film Dark Water (2005 Film)?", "answer": "Brazilian", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is James J. Gibson's occupation?", "answer": "[\"psychologist\", \"psychologists\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did the country where Olaine Municipality is located become part of the USSR?", "answer": "5 August 1940", "source": "musique", "difficulty": "multi_hop"} {"input": "what is the most populated region in ghana", "answer": "Ashanti", "source": "nq", "difficulty": "simple"} {"input": "What is the climate like in the city where Merla Zellerbach was born?", "answer": "a warm - summer Mediterranean climate", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a python function to find the minimum difference between any two elements in a given array.", "answer": "def find_Min_Diff(arr,n): \r\n arr = sorted(arr) \r\n diff = 10**20 \r\n for i in range(n-1): \r\n if arr[i+1] - arr[i] < diff: \r\n diff = arr[i+1] - arr[i] \r\n return diff", "source": "mbpp", "task_id": "763", "test_cases": "assert find_Min_Diff((1,5,3,19,18,25),6) == 1\nassert find_Min_Diff((4,3,2,6),4) == 1\nassert find_Min_Diff((30,5,20,9),4) == 4", "difficulty": "code"} {"input": "when did north korea launch the first missile", "answer": "1984", "source": "nq", "difficulty": "simple"} {"input": "Jess Weixler starred in what comedy-horror film directed by Mitchell Lichtenstein?", "answer": "Teeth", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which oil scandal hit the US in 1924?", "answer": ["Teapot dome affair", "Teapot dome scandal", "Tea Pot Dome scandal", "Tea Pot Dome", "Teapot Dome Scandal", "Teapot Dome", "Elk Hills oil field", "Teapot Dome scandal", "Teapot scandal", "Tea Pot Dome Scandal", "Tea Pot Dome Scandel"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Dick Leonard born?", "answer": "[\"Romford\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the name of the architect who designed the Lincoln Memorial dedicated in 1922?", "answer": "Henry Bacon", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a python function to find number of solutions in quadratic equation.", "answer": "def Check_Solution(a,b,c) : \r\n if ((b*b) - (4*a*c)) > 0 : \r\n return (\"2 solutions\") \r\n elif ((b*b) - (4*a*c)) == 0 : \r\n return (\"1 solution\") \r\n else : \r\n return (\"No solutions\")", "source": "mbpp", "task_id": "880", "test_cases": "assert Check_Solution(2,5,2) == \"2 solutions\"\nassert Check_Solution(1,1,1) == \"No solutions\"\nassert Check_Solution(1,2,1) == \"1 solution\"", "difficulty": "code"} {"input": "When did Prince Henry, Duke Of Cumberland And Strathearn's mother die?", "answer": "8 February 1772", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who had 70s hits with Have You Seen Her and Oh Girl?", "answer": ["ChiLites", "Marshall Thompson (Chi-Lites)", "The Chi-Lites", "The Chi Lites", "Marshall D. Thompson", "Chi-lites", "Chi Lites", "Chi-Lites"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to count the pairs of reverse strings in the given string list.", "answer": "def count_reverse_pairs(test_list):\r\n res = sum([1 for idx in range(0, len(test_list)) for idxn in range(idx, len( \r\n\ttest_list)) if test_list[idxn] == str(''.join(list(reversed(test_list[idx]))))]) \r\n return str(res)", "source": "mbpp", "task_id": "757", "test_cases": "assert count_reverse_pairs([\"julia\", \"best\", \"tseb\", \"for\", \"ailuj\"])== '2'\nassert count_reverse_pairs([\"geeks\", \"best\", \"for\", \"skeeg\"]) == '1'\nassert count_reverse_pairs([\"makes\", \"best\", \"sekam\", \"for\", \"rof\"]) == '2' ", "difficulty": "code"} {"input": "Are both directors of films Blues Metropolitano and Forced Confessions from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "1998 was the Chinese year of which creature?", "answer": ["Tigress", "🐅", "Tigers in captivity", "Tigris striatus", "Tigers (animal)", "Mating tigers", "Sexual behavior of tigers", "🐯", "Endangered Subspecies of Tiger", "Tiger populations", "Tigers", "Tigris regalis", "Panthera Tigris", "Tiger", "F tigris", "Tiger blood", "Naahar", "African tiger", "Panthera tigris", "Felis tigris", "Tigrine", "Endangered subspecies of tiger", "Tiger cub", "Tiger (wild)", "Tiger urine", "F. tigris"], "source": "triviaqa", "difficulty": "simple"} {"input": "How old would James Dean have been had he lived to the end of the 20th century?", "answer": ["68", "sixty-eight"], "source": "triviaqa", "difficulty": "simple"} {"input": "What consortium of schools is the college that Stanley King went to a member of?", "answer": "Five Colleges", "source": "musique", "difficulty": "multi_hop"} {"input": "Where was the owner of the Gold Spike, located in the place where Chuck Wortman died, educated?", "answer": "Harvard", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the name of the album that was released by David Bowie that was recorded in secret?", "answer": "Blackstar", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Luca Coscioni's occupation?", "answer": "[\"economist\", \"economists\", \"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which film has the director who is older, Hold Back The Night or The Last Night Of The Barbary Coast?", "answer": "Hold Back The Night", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "\"Who wrote the line, \"\"Do not go gentle into that good night?\"", "answer": ["Dillon Thomas", "Colm Garan Thomas", "Llewelyn Thomas", "Dylan Thomas", "Dylan Tomas", "Dylan Marlais Thomas", "Dillan Thomas"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which lyricist who has worked with Elton John and Andrew Lloyd Webber won an award for A Whole New World from Aladdin?", "answer": ["Timothy Miles Bindon Rice", "Tim Rice", "Sir Timothy Miles Bindon Rice", "Sir Tim Rice"], "source": "triviaqa", "difficulty": "simple"} {"input": "Flamenco dancer Joaquin Cortes hit the headlines in 1996 over his relationship with which supermodel?", "answer": "Naomi Campbell", "source": "triviaqa", "difficulty": "simple"} {"input": "Four Shores, is an album from the Latvian band Brainstorm, Lonely Feeling\" is dedicated to which Swedish-born American film actress, during the 1920s and 1930s?", "answer": "Greta Garbo", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "is windows movie maker used for development or playback", "answer": "video editing", "source": "nq", "difficulty": "simple"} {"input": "What county contains the place were Shelby Grant died?", "answer": "Los Angeles County", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a python function to find the sum of all odd natural numbers within the range l and r.", "answer": "def sum_Odd(n): \r\n terms = (n + 1)//2\r\n sum1 = terms * terms \r\n return sum1 \r\ndef sum_in_Range(l,r): \r\n return sum_Odd(r) - sum_Odd(l - 1)", "source": "mbpp", "task_id": "797", "test_cases": "assert sum_in_Range(2,5) == 8\nassert sum_in_Range(5,7) == 12\nassert sum_in_Range(7,13) == 40", "difficulty": "code"} {"input": "What is Yoshiki Tonogai's occupation?", "answer": "[\"mangaka\", \"manga artist\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a python function to check whether the given two numbers have same number of digits or not.", "answer": "def same_Length(A,B): \r\n while (A > 0 and B > 0): \r\n A = A / 10; \r\n B = B / 10; \r\n if (A == 0 and B == 0): \r\n return True; \r\n return False;", "source": "mbpp", "task_id": "891", "test_cases": "assert same_Length(12,1) == False\nassert same_Length(2,2) == True\nassert same_Length(10,20) == True", "difficulty": "code"} {"input": "\"Which TV series intro said, \"\"Return with us now to those thrilling days of yesteryear\"\"?\"", "answer": ["Lone Ranger (comics)", "The Lone Ranger (film project)", "The Lone Ranger", "Lone Ranger", "Hi-yo, Silver, away!", "Silver (horse)"], "source": "triviaqa", "difficulty": "simple"} {"input": "\"Just a Lil Bit\" is the third single from 50 Cent's second album, \"The Massacre\", released on which date?", "answer": "March 3, 2005", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are Desperate Endeavors and My Name Is Thomas both from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who is the spouse of the performer of That's Life?", "answer": "Barbara Marx", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Jilly Cooper's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\", \"novelist\"]", "source": "popqa", "difficulty": "simple"} {"input": "who plays pearl in the scarlet letter movie", "answer": ["Tallulah Belle Willis", "Jodhi May", "Scout LaRue Willis"], "source": "nq", "difficulty": "simple"} {"input": "How many home runs did baseball great Ty Cobb hit in the three world series in which he played?", "answer": ["None", "None (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "diapsids dominated the terrestrial landscape for the first time following which event", "answer": "the Cambrian explosion", "source": "nq", "difficulty": "simple"} {"input": "how many episode of my hero academia season 2", "answer": "25", "source": "nq", "difficulty": "simple"} {"input": "Which American college that has sent students to Centre for Medieval and Renaissance Studies was founded in 1874?", "answer": "St. Olaf College", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where was the father of Minnie Smythe born?", "answer": "London", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Louis Renault born?", "answer": "[\"Autun\", \"Bibracte\"]", "source": "popqa", "difficulty": "simple"} {"input": "What was Mother Teresa's real first name?", "answer": ["Agnes (disambiguation)", "Agnes Sorel (solitaire)", "Agnes"], "source": "triviaqa", "difficulty": "simple"} {"input": "When did the host city of the 2022 Olympics fall?", "answer": "June 6", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Jorge Betancourt born?", "answer": "[\"Matanzas\", \"Matanza\"]", "source": "popqa", "difficulty": "simple"} {"input": "Do both directors of films Just Like Home (1978 Film) and Casa De Mi Padre share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "750 7th Avenue and 101 Park Avenue, are located in which city?", "answer": "New York City", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who sings should have seen it in color", "answer": "Jamey Johnson", "source": "nq", "difficulty": "simple"} {"input": "Do the movies 23 (Film) and Omg... We'Re In A Horror Movie!!!, originate from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which series aired first, Auction Kings or Pawn Stars?", "answer": "Pawn Stars", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who sings so nice to be with you", "answer": "Gallery", "source": "nq", "difficulty": "simple"} {"input": "In what city was Alois Rašín born?", "answer": "[\"Nechanice\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the busiest Amtrak route that does not stop at either Lortorn Station?", "answer": "The Northeast Regional", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Roland Wieser born?", "answer": "[\"Zschopau\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to find the area of a trapezium.", "answer": "def area_trapezium(base1,base2,height):\r\n area = 0.5 * (base1 + base2) * height\r\n return area", "source": "mbpp", "task_id": "848", "test_cases": "assert area_trapezium(6,9,4)==30\nassert area_trapezium(10,20,30)==450\nassert area_trapezium(15,25,35)==700", "difficulty": "code"} {"input": "In what city was Bruno Nöckler born?", "answer": "[\"Prettau\", \"Predoi\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the place of birth of the composer of song I Was A Lover, A Leader Of Men?", "answer": "Douglas", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Dick Arndt born?", "answer": "[\"Bonners Ferry\", \"Bonners Ferry, Idaho\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who was born first out of Nur Serter and Gabe Vincent?", "answer": "Nur Serter", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "what is the highest peak of mountain kenya", "answer": "Batian", "source": "nq", "difficulty": "simple"} {"input": "Where was the director of film Coordinates Of Death born?", "answer": "Tbilisi", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "How many medals did the country for Freetime Machos win in 2014?", "answer": "5", "source": "musique", "difficulty": "multi_hop"} {"input": "Which publication is published more often: Modern Drummer or Bookmarks?", "answer": "Modern Drummer", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was John Anderson born?", "answer": "[\"Warren\", \"Warren, Michigan\"]", "source": "popqa", "difficulty": "simple"} {"input": "What profession do Kōbō Abe and Agatha Christie share?", "answer": "playwright", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Peter W. Barca's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What country is Logan, in the county that shares a border with Barry County of the state Best of the Badmen takes place, located in?", "answer": "U.S.", "source": "musique", "difficulty": "multi_hop"} {"input": "Jonas Hummels is the younger brother of a German professional footballer who plays for the German national team, and who else?", "answer": "Bayern Munich", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Italo Viglianesi born?", "answer": "[\"Caltagirone\"]", "source": "popqa", "difficulty": "simple"} {"input": "Were both Charles Liedts and Lea Lublin, born in the same place?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the native language of the person who broke the salt law in Belgium in 1930?", "answer": "Gujarati", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the place of birth of the director of film Zero (1928 Film)?", "answer": "Wimborne", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are Shokrab, Kermanshah and Pis-Losap both located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Africa's largest country?", "answer": ["Sudan", "Islamic Republic of Sudan", "Sport in Sudan", "Government of the Sudan", "The Sudan", "Republic of Sudan", "Republic of North Sudan", "Northern Sudan", "Environmental issues in Sudan", "Sudan proper", "North Sudan", "Environmental issues in sudan", "As-Sūdān", "Administrative divisions of Sudan", "ISO 3166-1:SD", "جمهورية السودان", "Sudanese culture", "As-Sudan", "Republic of the Sudan", "السودان", "Islamic Republic of the Sudan", "Clothing in Sudan", "Official language of Southern Sudan", "Sudanese", "Environment of Sudan", "Culture of Sudan", "Sudan Foundation"], "source": "triviaqa", "difficulty": "simple"} {"input": "Do both The Buccaneer (1938 Film) and Law Abiding Citizen films have the directors from the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who directed A Passage To India?", "answer": ["David Lean", "Lean, Sir David", "ISABEL LEAN", "Sir David Lean", "Isabel Lean"], "source": "triviaqa", "difficulty": "simple"} {"input": "Where is the company based that sold Vodafone it's New Zealand operations?", "answer": "Atlanta, Georgia", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Abraham Roqueñi Iglesias (born April 16, 1978) is a Spanish welterweight kickboxer, he holds notable wins over Andy Souwer, a Dutch welterweight shoot boxer, a two time K-1 World MAX champion, in which years?", "answer": "2005, 2007", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are director of film My Own United States and director of film Anton (1973 film) from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "The motorway reffered to as the Mid Wirral Motorway is located in a suburb known for which buildings?", "answer": "Joseph Groome Towers", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In regards to the album that had, according to Dave Grohl, his favourite song he has ever written, when was it released?", "answer": "April 12, 2011", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What position was previously held by the last president to be impeached in the nation containing Brouilletts Creek Township?", "answer": "Arkansas Attorney General", "source": "musique", "difficulty": "multi_hop"} {"input": "Which country lies immediately to the south of Estonia?", "answer": ["Latvijas Republika", "Lettland", "Letland", "Republic of Latvia", "Republic of Latvia (1919–1940)", "Latvija", "Republic of Latvia (1918-1940)", "Letonia", "Latvia", "Republic of Latvia (1918–1940)", "ISO 3166-1:LV", "LatviA", "Health in Latvia", "Lettonie", "Litavia", "Lettonia", "Latvian Republic"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who had a 70s No 1 hit with The Night Chicago Died?", "answer": ["Paper Lace", "Cliff Fish"], "source": "triviaqa", "difficulty": "simple"} {"input": "On a computer keyboard which letter on the same line is between C and B?", "answer": ["History of V", "🆅", "V (letter)", "Ⓥ", "V", "⒱", "ⓥ", "🄥", "🅥", "V", "🅅"], "source": "triviaqa", "difficulty": "simple"} {"input": "when did we start the pledge of allegiance", "answer": "1942", "source": "nq", "difficulty": "simple"} {"input": "What is John Mayne's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\"]", "source": "popqa", "difficulty": "simple"} {"input": "Glendale, in the state where Thresher Stadium is located, is in which county?", "answer": "Saline County", "source": "musique", "difficulty": "multi_hop"} {"input": "Where is the region where the C-32 highway runs located?", "answer": "Iberian Peninsula", "source": "musique", "difficulty": "multi_hop"} {"input": "Where does Julie Nixon Eisenhower's husband work at?", "answer": "University of Pennsylvania", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which singer wrote the musical Someone Like You?", "answer": ["Petula Clark", "Petula Clarke", "Pet clark", "Petula Sally Olwen Clark"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which film was released earlier, Lake Placid Serenade or Odd Couple (Film)?", "answer": "Lake Placid Serenade", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are both villages, Kushk-E Mur and Bistrica (Crna Trava), located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where did the director of film Beyond The Rocks (Film) die?", "answer": "Hollywood", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who lived longer, Jeremy Francis Gilmer or Charles Healy?", "answer": "Jeremy Francis Gilmer", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to find the nth super ugly number from a given prime list of size k using heap queue algorithm.", "answer": "import heapq\r\ndef nth_super_ugly_number(n, primes):\r\n uglies = [1]\r\n def gen(prime):\r\n for ugly in uglies:\r\n yield ugly * prime\r\n merged = heapq.merge(*map(gen, primes))\r\n while len(uglies) < n:\r\n ugly = next(merged)\r\n if ugly != uglies[-1]:\r\n uglies.append(ugly)\r\n return uglies[-1]", "source": "mbpp", "task_id": "843", "test_cases": "assert nth_super_ugly_number(12,[2,7,13,19])==32\nassert nth_super_ugly_number(10,[2,7,13,19])==26\nassert nth_super_ugly_number(100,[2,7,13,19])==5408", "difficulty": "code"} {"input": "Which film has the director who was born first, Lianhua Symphony or Without Evidence?", "answer": "Lianhua Symphony", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "How many congressional districts are there in the state where The Wizard of Oz's Dorothy lived?", "answer": "4", "source": "musique", "difficulty": "multi_hop"} {"input": "How old was George Gershwin when he died?", "answer": ["thirty-eight", "38"], "source": "triviaqa", "difficulty": "simple"} {"input": "What language is used by the director of Tiffany Memorandum?", "answer": "Italian", "source": "musique", "difficulty": "multi_hop"} {"input": "In which sport's globalization plan includes the ' Dream Team,' playing in the McDonald's Classic and the Three-on-Three Challenge?", "answer": ["Basketball", "Basketball gear", "Bball", "Boy's Basketball", "B Ball", "Shoot hoops", "Basketball parity worldwide", "Men's Basketball", "High school basketball", "Basketball Worldwide", "Basketball club", "B-ball", "Basket-ball", "Basketball team", "🏀", "Basketball rim", "Basketballer", "Rim (basketball)", "Basket ball", "Basketball net", "Baksetball", "Basketball player", "Basket-Ball", "Women's hoops", "Men's basketball", "BasketBall", "Basketball Parity Worldwide", "Basket Ball", "Baketball", "Basketball Player", "B ball", "Unicycle basketball"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who had 70s No 1 hit with Show and Tell?", "answer": "Al Wilson", "source": "triviaqa", "difficulty": "simple"} {"input": "Who founded the company that made Vacamatic?", "answer": "Walter Percy Chrysler", "source": "musique", "difficulty": "multi_hop"} {"input": "who plays in won't you be my neighbor", "answer": ["Fred Rogers in archival recordings", "Yo-Yo Ma", "David Newell", "McColm Cephas Jr.", "Kailyn Davis", "François Scarborough Clemmons", "Joe Negri", "Joanne Rogers"], "source": "nq", "difficulty": "simple"} {"input": "Which leader did Hitler meet in the Brenner Pass in WWII?", "answer": ["Moussolini", "Mouselinni", "Musilini", "Benito Musilini", "Benito Mussellini", "Benito Muselini", "Mussilini", "Benito Musellini", "Musollini", "Benito Moosillini", "Benito Moosilini", "Mussolinian", "Moosillini", "Mussolinism", "Mussellini", "Benito Mussalini", "Mussollini", "Mouselini", "Benito Mussollini", "Benito Amilcare Andrea Mussolini", "Musselini", "Moosolini", "Muselini", "Mussalini", "Benito Moosellini", "Benito Mussilini", "Benito Musselini", "Benito Musollini", "Benito Mussolini", "Benito mussolini", "Moosilini", "Musillini", "Mussloini", "Moosellini", "Benito Moosolini", "Benito Mooselini", "Benito Amilcare Mussolini", "Moosollini", "Mussillini", "Benito Musolini", "Benito Andrea Mussolini", "Benito Musillini", "Musellini", "Benny Mussolini", "Benito Mussillini", "Mooselini", "Benito Moosollini", "Musolini", "Mussolini, Benito", "Mussolini", "Benito Mussolini's religious beliefs"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who is the father of the director of film Buckaroo Sheriff Of Texas?", "answer": "Francis Ford", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to remove consecutive duplicates of a given list.", "answer": "from itertools import groupby\r\ndef consecutive_duplicates(nums):\r\n return [key for key, group in groupby(nums)]", "source": "mbpp", "task_id": "730", "test_cases": "assert consecutive_duplicates([0, 0, 1, 2, 3, 4, 4, 5, 6, 6, 6, 7, 8, 9, 4, 4 ])==[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 4]\nassert consecutive_duplicates([10, 10, 15, 19, 18, 18, 17, 26, 26, 17, 18, 10])==[10, 15, 19, 18, 17, 26, 17, 18, 10]\nassert consecutive_duplicates(['a', 'a', 'b', 'c', 'd', 'd'])==['a', 'b', 'c', 'd']", "difficulty": "code"} {"input": "What is Atsushi Kaneko's occupation?", "answer": "[\"mangaka\", \"manga artist\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which 60s pop band made an unsuccessful movie called Head?", "answer": ["Monkees, The", "The Monkies", "The monkeys", "The Monkeys", "Monkees (band)", "Monkees", "The Monkees", "Monkee"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Suad Nasr born?", "answer": "[\"Cairo\", \"Cairo, Egypt\"]", "source": "popqa", "difficulty": "simple"} {"input": "Do both films: The Secret Of Madame Blanche and Dasima have the directors from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who administers the federal law that the California Healthy Families Program implements?", "answer": "the United States Department of Health and Human Services", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In which city does the action of the 1998 movie Godzilla take place?", "answer": ["New Yourk State", "State of N.Y.", "US-NY", "N Y", "The state of NY", "NewYork", "NYS", "Neo York", "NY state", "Nova York", "State of new york", "Ny", "New york", "Nueva York (estado)", "N Y state", "New York (state)", "U.S. state of New York", "New York state", "New York, U.S.", "State New York", "Nýja-Jórvík", "Newyork", "NEW YORK", "State of N. Y.", "N. Y. state", "NY", "The state of N.Y.", "NY (state)", "New York's", "N.Y. (U.S. state)", "State of new yourk", "New York State", "New York (U.S. state)", "New york state", "New Yrok", "11th State", "New York (USA State)", "State of N Y", "New-York", "The State of New York", "State of New York", "US state of New York", "N Y (U.S. state)", "N.Y. state", "N.Y.", "The state of N. Y.", "N. Y. (state)", "The state of N Y", "New York, US", "N.Y. (state)", "Nyja-Jorvik", "Religion in New York", "New Yourk", "N. Y.", "New York State's", "Estado Nueva York", "New York (USA state)", "New york population", "New York, U.S.A", "New York", "NY (U.S. state)", "Estado de Nueva York", "N. Y. (U.S. state)", "Eleventh State", "N Y (state)", "State of NY", "New York (State)", "New York (U.S. state"], "source": "triviaqa", "difficulty": "simple"} {"input": "who are the players on the nrl trophy", "answer": ["Norm Provan", "Summons"], "source": "nq", "difficulty": "simple"} {"input": "What is the body of water by the city where Karl-Heinz Metzner died?", "answer": "Fulda", "source": "musique", "difficulty": "multi_hop"} {"input": "What is J. Da Silva's occupation?", "answer": "[\"cricket umpire\", \"umpire\"]", "source": "popqa", "difficulty": "simple"} {"input": "In cross-country bike racing, what do the initials BMX represent?", "answer": "Bicycle moto x (cross)", "source": "triviaqa", "difficulty": "simple"} {"input": "who does mabel's voice on gravity falls", "answer": "Kristen Joy Schaal", "source": "nq", "difficulty": "simple"} {"input": "Where did the performer of song On The Beat (Song) die?", "answer": "Preston", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the name of the central bank of the country whose colony Manuel John Johnson was born in?", "answer": "Banco de Portugal", "source": "musique", "difficulty": "multi_hop"} {"input": "What county shares a border with the county that Union Township's county shares a border with?", "answer": "Butler County", "source": "musique", "difficulty": "multi_hop"} {"input": "how many original harry potter books are there", "answer": "7", "source": "nq", "difficulty": "simple"} {"input": "What is Wise's occupation?", "answer": "[\"record producer\", \"music producer\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to solve the fibonacci sequence using recursion.", "answer": "def fibonacci(n):\r\n if n == 1 or n == 2:\r\n return 1\r\n else:\r\n return (fibonacci(n - 1) + (fibonacci(n - 2)))", "source": "mbpp", "task_id": "873", "test_cases": "assert fibonacci(7) == 13\nassert fibonacci(8) == 21\nassert fibonacci(9) == 34", "difficulty": "code"} {"input": "Luxor international airport is in which country?", "answer": ["EGY", "Arab Republic of Egypt", "A .R . EGYPT", "The Arab Republic of Egypt", "Eygpt", "Etymology of Egypt", "مصر", "Kemmet", "Gift of the Nile", "Arab Republic Of Egypt", "Names of Egypt", "Miṣr", "A .R . Egypt", "Eytp", "National identity of Egyptians", "Jumhuriyat Misr al'Arabiyah", "Eypt", "Egyptian Republic", "Ejipt", "Name of Egypt", "Egipto", "Kimet", "جمهوريّة مصرالعربيّة", "Egypte", "Egypt (name)", "Egypt", "جمهورية مصرالعربية", "A.R. Egypt", "Republic of Eygpt", "Égypte", "Second Egyptian Republic", "Egipt", "ISO 3166-1:EG", "Egypt info"], "source": "triviaqa", "difficulty": "simple"} {"input": "who play the character of anarkali in mughal e azam", "answer": "Madhubala", "source": "nq", "difficulty": "simple"} {"input": "What was Oliver Reed's real first name?", "answer": ["Robert (name)", "Robt.", "Robert", "Robt", "Roberto", "List of famous Roberts", "Roope", "Robbert"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who was the dad of the composer of Symphony No. 41?", "answer": "Leopold Mozart", "source": "musique", "difficulty": "multi_hop"} {"input": "Tressie Souders and Padmarajan, have which occupation in common?", "answer": "film director", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the average percentage for people claiming job seeker's allowance in the country where IK Tellus's sport originated?", "answer": "2.5", "source": "musique", "difficulty": "multi_hop"} {"input": "Robinsons and Pocari Sweat are both what kind of product?", "answer": "drink", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the length of the track where the 2013 Liqui Moly Bathurst 12 Hour was staged?", "answer": "6.213 km long", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function to find the sum of first even and odd number of a given list.", "answer": "def sum_even_odd(list1):\r\n first_even = next((el for el in list1 if el%2==0),-1)\r\n first_odd = next((el for el in list1 if el%2!=0),-1)\r\n return (first_even+first_odd)", "source": "mbpp", "task_id": "881", "test_cases": "assert sum_even_odd([1,3,5,7,4,1,6,8])==5\nassert sum_even_odd([1,2,3,4,5,6,7,8,9,10])==3\nassert sum_even_odd([1,5,7,9,10])==11", "difficulty": "code"} {"input": "Are both directors of films Bebbuli and Pindorama (film) from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to compute the value of ncr mod p.", "answer": "def nCr_mod_p(n, r, p): \r\n\tif (r > n- r): \r\n\t\tr = n - r \r\n\tC = [0 for i in range(r + 1)] \r\n\tC[0] = 1 \r\n\tfor i in range(1, n + 1): \r\n\t\tfor j in range(min(i, r), 0, -1): \r\n\t\t\tC[j] = (C[j] + C[j-1]) % p \r\n\treturn C[r]", "source": "mbpp", "task_id": "952", "test_cases": "assert nCr_mod_p(10, 2, 13) == 6\nassert nCr_mod_p(11, 3, 14) == 11\nassert nCr_mod_p(18, 14, 19) == 1", "difficulty": "code"} {"input": "Write a function to print n-times a list using map function.", "answer": "def ntimes_list(nums,n):\r\n result = map(lambda x:n*x, nums) \r\n return list(result)", "source": "mbpp", "task_id": "865", "test_cases": "assert ntimes_list([1, 2, 3, 4, 5, 6, 7],3)==[3, 6, 9, 12, 15, 18, 21]\nassert ntimes_list([1, 2, 3, 4, 5, 6, 7],4)==[4, 8, 12, 16, 20, 24, 28]\nassert ntimes_list([1, 2, 3, 4, 5, 6, 7],10)==[10, 20, 30, 40, 50, 60, 70]", "difficulty": "code"} {"input": "What is Famke Janssen's occupation?", "answer": "[\"screenwriter\", \"scenarist\", \"writer\", \"screen writer\", \"script writer\", \"scriptwriter\", \"actor\", \"actress\", \"actors\", \"actresses\", \"model\", \"fashion model\", \"sitter\", \"poser\"]", "source": "popqa", "difficulty": "simple"} {"input": "Gülhane Park and Zografeion Lyceum, are located in which country?", "answer": "Turkey", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the place of birth of the director of film Prince Of The Plains?", "answer": "Portland, Maine", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who played caleb in sarah plain and tall", "answer": "Christopher Bell", "source": "nq", "difficulty": "simple"} {"input": "Who is the spouse of the director of film The Trail Of The Octopus?", "answer": "Virginia Brown Faire", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Michael Shelley's occupation?", "answer": "[\"singer-songwriter\", \"singer songwriter\", \"singer/songwriter\", \"singersongwriter\", \"singer-songwriter\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what years did John Henry win the Arlington Million?", "answer": "1981 & 1984", "source": "triviaqa", "difficulty": "simple"} {"input": "What is Marjorie Margolies-Mezvinsky's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\", \"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "what episode of bleach does the fullbring arc start", "answer": "346", "source": "nq", "difficulty": "simple"} {"input": "Do Nikolaos Triantafyllopoulos and Rıza Türmen have the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to extract specified number of elements from a given list, which follow each other continuously.", "answer": "from itertools import groupby \r\ndef extract_elements(numbers, n):\r\n result = [i for i, j in groupby(numbers) if len(list(j)) == n] \r\n return result", "source": "mbpp", "task_id": "898", "test_cases": "assert extract_elements([1, 1, 3, 4, 4, 5, 6, 7],2)==[1, 4]\nassert extract_elements([0, 1, 2, 3, 4, 4, 4, 4, 5, 7],4)==[4]\nassert extract_elements([0,0,0,0,0],5)==[0]", "difficulty": "code"} {"input": "Write a python function to check if roots of a quadratic equation are reciprocal of each other or not.", "answer": "def Check_Solution(a,b,c): \r\n if (a == c): \r\n return (\"Yes\"); \r\n else: \r\n return (\"No\");", "source": "mbpp", "task_id": "636", "test_cases": "assert Check_Solution(2,0,2) == \"Yes\"\nassert Check_Solution(2,-5,2) == \"Yes\"\nassert Check_Solution(1,2,3) == \"No\"", "difficulty": "code"} {"input": "when did the first disney incredibles come out", "answer": "November 5, 2004", "source": "nq", "difficulty": "simple"} {"input": "Do director of film The Shooter (2013 film) and director of film The Viking Sagas share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "where was three coins in the fountain filmed", "answer": "Italian filming locations", "source": "nq", "difficulty": "simple"} {"input": "who played the hunchback in the hunchback of notre dame", "answer": "Charles Laughton", "source": "nq", "difficulty": "simple"} {"input": "In what city was Austin Cuvillier born?", "answer": "[\"Quebec City\", \"Quebec\", \"Ville de Québec\", \"Québec\", \"City of Québec\", \"City of Quebec\", \"Ville de Quebec\", \"3rd Summit of the Americas\"]", "source": "popqa", "difficulty": "simple"} {"input": "In which sport did Eric Navet of France become a 1990 world champion?", "answer": ["Open jumping", "Grand Prix show jumping", "Horse jumping", "Showjumper", "Show Jumping", "Stadium jumping", "Show jumping", "Show-jumping", "British Showjumping", "Showjumping", "Show jumper"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to find the maximum value in record list as tuple attribute in the given tuple list.", "answer": "def maximum_value(test_list):\r\n res = [(key, max(lst)) for key, lst in test_list]\r\n return (res)", "source": "mbpp", "task_id": "613", "test_cases": "assert maximum_value([('key1', [3, 4, 5]), ('key2', [1, 4, 2]), ('key3', [9, 3])]) == [('key1', 5), ('key2', 4), ('key3', 9)]\nassert maximum_value([('key1', [4, 5, 6]), ('key2', [2, 5, 3]), ('key3', [10, 4])]) == [('key1', 6), ('key2', 5), ('key3', 10)]\nassert maximum_value([('key1', [5, 6, 7]), ('key2', [3, 6, 4]), ('key3', [11, 5])]) == [('key1', 7), ('key2', 6), ('key3', 11)]", "difficulty": "code"} {"input": "What is Edward Gunasekara's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What was the name of the island off Iceland which appeared in 1963 as a result of an underwater volcano?", "answer": ["Surtsey", "Surtsey, Iceland"], "source": "triviaqa", "difficulty": "simple"} {"input": "Jeremy Brock is the writer and director of this 2011 drama that was adapted from him and what other female?", "answer": "Rosemary Sutcliff", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who has the right of way in international waters", "answer": "Neither vessel", "source": "nq", "difficulty": "simple"} {"input": "What is Tharman Shanmugaratnam's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are both Balaibania and Rashtin located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Bobby Ray Baldock born?", "answer": "[\"Rocky\", \"Rocky, Oklahoma\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Julius Erving born?", "answer": "[\"New York City\", \"NYC\", \"New York\", \"the five boroughs\", \"Big Apple\", \"City of New York\", \"NY City\", \"New York, New York\", \"New York City, New York\", \"New York, NY\", \"New York City (NYC)\"]", "source": "popqa", "difficulty": "simple"} {"input": "Mark Rankin and Cedric Bixler-Zavala, band is what type genre?", "answer": "rock", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what country is the county where Tyesha Mattis was born?", "answer": "United Kingdom", "source": "musique", "difficulty": "multi_hop"} {"input": "where are the gifts of the spirit found in the bible", "answer": ["1 Corinthians 12", "Ephesians 4", "Romans 12"], "source": "nq", "difficulty": "simple"} {"input": "Who wrote the song Momma Told Me Not To Come?", "answer": ["Randy Numan", "Randy newman", "Randy Newman", "Wandy Newman"], "source": "triviaqa", "difficulty": "simple"} {"input": "Blondie is an American rock band founded by singer Debbie Harry, and guitarist Chris Stein, the band achieved several hit singles including which song by the American pop rock band Blondie, from their fifth studio album, \"Autoamerican\" (1980)?", "answer": "Rapture", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function to check if the triangle is valid or not.", "answer": "def validity_triangle(a,b,c):\r\n total = a + b + c\r\n if total == 180:\r\n return True\r\n else:\r\n return False", "source": "mbpp", "task_id": "677", "test_cases": "assert validity_triangle(60,50,90)==False\nassert validity_triangle(45,75,60)==True\nassert validity_triangle(30,50,100)==True", "difficulty": "code"} {"input": "Who is the current mayor of the city located in the county that also holds the community of Laurel?", "answer": "Dwight C. Jones", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Yuki Kaida's occupation?", "answer": "[\"seiyū\", \"Japanese voice actress\", \"seiyuu\", \"seiyu\", \"Japanese voice actor\"]", "source": "popqa", "difficulty": "simple"} {"input": "where did frasier go in the last episode", "answer": "Chicago", "source": "nq", "difficulty": "simple"} {"input": "Where is the Mausoleum of Centcelles located?", "answer": "Iberian Peninsula", "source": "musique", "difficulty": "multi_hop"} {"input": "What was the name of the pig leader in George Orwell's Animal Farm?", "answer": ["Napoleon Buonaparte", "Napolean bonapart", "Bonaparte", "Napoleonist", "Napoleon Boneparte", "Le petit caporal", "Napoleaon", "Napolen's coup", "Napoleone Bonaparte", "Age of Napoleon", "Napoléon Buonaparte", "Napoleón", "Emperor Napoleon", "Napoleon the Great", "Napoleon I of France", "Napoleon I of France bibliography", "Napoléon", "Napolean Bonapart", "Napoléon I, Emperor of the French", "Napolean Bonaparte", "Napoleon Bonapart", "Napeoleon", "Napolean bonarparte", "Emperor Napoleon I", "Napolean", "Napoleon Bonaparte", "Napoloen", "Emperor of France Napoleon I", "Napoleon I Bonaparte", "Napoleone Buonaparte", "Napoleon bonaparte", "Napolian", "Napoléon Bonaparte", "Napoleon's", "Napoleonic", "Napoleon I, Emperor of the French", "Jupiter Scapin", "Nepolian", "Napoleon I of the French", "Little Corporal", "Napoleon I of Italy", "Napoleon bonepart", "Napoléon I", "Armed Soldier of Democracy", "Napoleon I the Great of the French bibliography", "Napoleon i of france", "Napoleon i of france bibliography", "Napoléon I of France", "Napoleon's height", "Napoleon Ier", "Napoleon I", "General Bonaparte", "Napoleone di Buonaparte", "Napoleón Bonaparte", "Général Bonaparte", "Jean d'Epee", "Napoleon", "Napoleon I of the French bibliography", "Napoleon Emperor of France", "Boneparte", "Napoleon of France", "Napoléon Ier", "Napoléon I Bonaparte"], "source": "triviaqa", "difficulty": "simple"} {"input": "who wrote you don't know what it's like to love somebody", "answer": ["Barry Gibb", "Robin Gibb"], "source": "nq", "difficulty": "simple"} {"input": "In which decade was the Oral Roberts University founded at Tulsa?", "answer": ["Sixties Revolution", "Turbulent Sixties", "1960s (decade)", "The '60's", "60's", "1960s in sports", "1960's", "Nineteen sixties", "The 60s", "1960s", "The '60s", "Sixties", "The 60's", "Nineteen-sixties", "1960ies", "1960–1969", "%6060s", "'60s", "1960-1969", "1960’s", "The Sixties"], "source": "triviaqa", "difficulty": "simple"} {"input": "when was the last time a nuclear bomb was detonated", "answer": "September 2017", "source": "nq", "difficulty": "simple"} {"input": "What is Eliza Lawrence's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who did the first Allied nation to reach the German city where the director of The Man from Morocco was born support in the Korean War?", "answer": "the North Korean - Chinese forces", "source": "musique", "difficulty": "multi_hop"} {"input": "Seoul Train and Making North America are both films in what style of cinema or film making genre?", "answer": "documentary", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which country the composer of song Silver Bells is from?", "answer": "American", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the place of birth of the director of film The Uncle?", "answer": "London", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was William Franklin Switzler born?", "answer": "[\"Columbia\", \"Columbia, Missouri\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the currency used in the country of citizenship of the performer of Never in a Million Years?", "answer": "pound sterling", "source": "musique", "difficulty": "multi_hop"} {"input": "Which company was responsible for the oil spill in Alaska in 1989?", "answer": ["Standard Oil New Jersey", "Exxon Company", "Exxon", "Jersey Standard", "EXXon", "Exxon Research and Engineering Company", "Esso Petroleum", "Standard Oil Company of New Jersey", "Exxon Company USA"], "source": "triviaqa", "difficulty": "simple"} {"input": "In which 90s movie did Al Pacino play retired Colonel Frank Slade?", "answer": ["Scent of a Woman", "Scent of a Woman (film)", "Scent Of A Woman", "The Scent of a Woman", "Scent of a Woman (disambiguation)", "Scent of a woman"], "source": "triviaqa", "difficulty": "simple"} {"input": "The 34th Foot Regiment was sent to fight who?", "answer": "Americans", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the debt-to-GDP ratio in one of the richest countries in Africa?", "answer": "11 percent", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to sort a list in a dictionary.", "answer": "def sorted_dict(dict1):\r\n sorted_dict = {x: sorted(y) for x, y in dict1.items()}\r\n return sorted_dict", "source": "mbpp", "task_id": "662", "test_cases": "assert sorted_dict({'n1': [2, 3, 1], 'n2': [5, 1, 2], 'n3': [3, 2, 4]})=={'n1': [1, 2, 3], 'n2': [1, 2, 5], 'n3': [2, 3, 4]}\nassert sorted_dict({'n1': [25,37,41], 'n2': [41,54,63], 'n3': [29,38,93]})=={'n1': [25, 37, 41], 'n2': [41, 54, 63], 'n3': [29, 38, 93]}\nassert sorted_dict({'n1': [58,44,56], 'n2': [91,34,58], 'n3': [100,200,300]})=={'n1': [44, 56, 58], 'n2': [34, 58, 91], 'n3': [100, 200, 300]}", "difficulty": "code"} {"input": "What is the date of death of the director of film The King Of The Street Cleaners?", "answer": "19 December 2009", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who sings i don't want to lose your love tonight", "answer": "John O'Banion", "source": "nq", "difficulty": "simple"} {"input": "who played barney fife on the andy griffith show", "answer": "Jesse Donald Knotts", "source": "nq", "difficulty": "simple"} {"input": "In what city was Ferenc Paragi born?", "answer": "[\"Budapest\", \"Buda Pest\", \"Buda-Pest\", \"Budapešť\", \"Budapesta\", \"Budapeszt\", \"Buda\", \"Ofen\", \"Budín\", \"Budim\", \"Budon\", \"Pest\", \"Pešť\", \"Pešta\", \"Óbuda\", \"Alt-Ofen\", \"Kőbánya\"]", "source": "popqa", "difficulty": "simple"} {"input": "In which direction would you travel to get from the birthplace of Woodbury Langdon to Southampton?", "answer": "north-west", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Ge You's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "What American stage, film, and television actor who also appeared in a large number of musicals, played Samson in the 1949 film \"Samson and Delilah\".", "answer": "Victor John Mature", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are Clarence Brown and Peter Glenville of the same nationality?", "answer": "no", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who is Anna De' Medici, Archduchess Of Austria's paternal grandmother?", "answer": "Christina of Lorraine", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who caught dan marino's one last pass", "answer": "former teammate Mark Clayton", "source": "nq", "difficulty": "simple"} {"input": "Write a function to sort the given tuple list basis the total digits in tuple.", "answer": "def count_digs(tup):\r\n return sum([len(str(ele)) for ele in tup ]) \r\ndef sort_list(test_list):\r\n test_list.sort(key = count_digs)\r\n return (str(test_list))", "source": "mbpp", "task_id": "949", "test_cases": "assert sort_list([(3, 4, 6, 723), (1, 2), (12345,), (134, 234, 34)] ) == '[(1, 2), (12345,), (3, 4, 6, 723), (134, 234, 34)]'\nassert sort_list([(3, 4, 8), (1, 2), (1234335,), (1345, 234, 334)] ) == '[(1, 2), (3, 4, 8), (1234335,), (1345, 234, 334)]'\nassert sort_list([(34, 4, 61, 723), (1, 2), (145,), (134, 23)] ) == '[(1, 2), (145,), (134, 23), (34, 4, 61, 723)]'", "difficulty": "code"} {"input": "What is the name of the 3 Michelin Star Restaurant that is located in the second largest hotel in the United States?", "answer": "Joël Robuchon", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "According to the 2000 United States Census, what percentage of the population of the city where WNJN-FM is located were Hispanic or Latino?", "answer": "24.95%", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Anton Lui born?", "answer": "[\"Rabaul\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Lisa McRee's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\"]", "source": "popqa", "difficulty": "simple"} {"input": "What quarterback for the Atlanta Falcons did Baker Mayfield win the starting job at Oklahoma over?", "answer": "Trevor Knight", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which part of SOKOM was formerly of the Royal Danish Army?", "answer": "Jaeger Corps", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which former lawyer and entrepreneur who was convicted for conspiracy and drug dealing was involved in a civil suit against Bill and Hillary Clinton?", "answer": "Peter F. Paul", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who won his second Oscar for the role of Raymond in Rain Man?", "answer": ["Dustin L Hoffman", "Dustin Lee Hoffman", "List of awards and nominations received by Dustin Hoffman", "Dustin Hoffman", "Sam Edic", "Dustin hoffman", "Dustin Hoffman filmography", "Dustin L. Hoffman"], "source": "triviaqa", "difficulty": "simple"} {"input": "The Prix du Jockey-Club is held at which race course?", "answer": ["Chantilly (disambiguation)", "Chantilly"], "source": "triviaqa", "difficulty": "simple"} {"input": "What percentage of BYU students are members of the institution that published The House of the Lord?", "answer": "Approximately 99 percent", "source": "musique", "difficulty": "multi_hop"} {"input": "who is playing the guitar in august rush", "answer": "Kaki King", "source": "nq", "difficulty": "simple"} {"input": "When did April Winchell's father die?", "answer": "June 24, 2005", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when does the rest of season 7 of suits start", "answer": "March 28, 2018", "source": "nq", "difficulty": "simple"} {"input": "Who is the youngest female tennis player to win the US Open?", "answer": ["Tracy Austin", "Tracey Austin"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who issues passports in the country known for the dish Malu Mirisata?", "answer": "Department of Immigration and Emigration", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the city KYBB serves the capital of?", "answer": "Lincoln County", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the date of birth of the director of film Li Chiamarono... Briganti!?", "answer": "27 November 1938", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who is the original broadcaster of the Today show bearing the name of the network that hosts Piers Morgan Live?", "answer": "CNN International", "source": "musique", "difficulty": "multi_hop"} {"input": "Navarone Garibaldi is the half-brother of a singer who has been married how many times?", "answer": "four", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which British politician from Northern Ireland who is a Democratic Unionist Party Member of Parliament for East Antrim represents the constituency known as East Antrim?", "answer": "Sammy Wilson", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when does the new tv series young sheldon start", "answer": "November 2, 2017", "source": "nq", "difficulty": "simple"} {"input": "Kerrygold Irish Cream Liqueur is owned by a company that mainly sells what type or product?", "answer": "dairy products", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "At which sport did Keanu Reeves excel while at high school?", "answer": ["Hockey positions", "Knee hockey", "Hockey team", "Hocky", "Hockey"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what ways did Kanye draw inspiration from the performers of 2000 Light Years from Home, U2, and Led Zeppelin?", "answer": "melody and chord progression", "source": "musique", "difficulty": "multi_hop"} {"input": "Do both films Country (film) and Raid in St. Pauli have the directors that share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Did the movies Pony Express (Film) and The Da Vinci Code (Film), originate from the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When did the director of film Oonjaal die?", "answer": "24 October 2017", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What star sign is Harrison Ford?", "answer": ["Cancer pathology", "Deaths by cancer", "Anti-cancer", "Cancer (disease)", "Cancerophobia", "Malignant lesion", "Cancer medication", "Malignant tumors", "Cancer signs", "Malignant neoplasm", "Invasive (cancer)", "Malignant Neoplasms", "Malignant growth", "Sporadic cancer", "Malignant cancer", "Tumour virus", "Cancer en cuirasse", "Microtumor", "Malignant neoplasms", "Malignant tumour", "Carcinophobia", "Malignacy", "Cancer patient", "Epithelial cancers", "Solid cancer", "Cancers", "Tumor medication", "Malignant neoplastic disease", "AIDS-related cancer", "Invasive cancer", "Cancer therapy", "Cancerous tumor", "Cancer", "Financial toxicity", "Cancer diagnosis", "Cancer (medicine)", "Malignant tumor", "Cancerous", "Borderline (cancer)", "Signs of cancer", "Malignancies", "Cancer aromatase"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who recorded a live performance at the broadcasting corporation that employs Will Hanrahan?", "answer": "Fleetwood Mac", "source": "musique", "difficulty": "multi_hop"} {"input": "Are both Henequen (Film) and Secrets Of A Sorority Girl from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who was the first chief minister of punjab after independence", "answer": "Gopi Chand Bhargava", "source": "nq", "difficulty": "simple"} {"input": "Who wrote the novel Gentlemen Prefer Blondes?", "answer": ["Chéri (play)", "Anita Loos", "Cheri (play)"], "source": "triviaqa", "difficulty": "simple"} {"input": "The American Pre-Code comedy film featuring an American actress, dancer, and singer, widely known for performing in films and RKO's musical films, was released in what year?", "answer": "1932", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When did the highest paid NBA player get his first ring?", "answer": "2015", "source": "musique", "difficulty": "multi_hop"} {"input": "How much of the glaciation in the country where the Prinz Methusalem composer held citizenship has disappeared?", "answer": "Forty percent", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Harvey Peltier, Sr.'s occupation?", "answer": "[\"lawyer\", \"attorney\", \"solicitor\", \"barrister\", \"lawyers\", \"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "what side of the road to drive in sweden", "answer": "right-hand", "source": "nq", "difficulty": "simple"} {"input": "What is Emmanuel Nnamdi Uba's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What British rock band is responsible for bolstering Quiet Riot's hit \"Mental Health?\"", "answer": "Slade", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which Jessica was the then oldest Oscar winner for Driving Miss Daisy?", "answer": ["Tandy", "Tandy (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "what did dwight dress up as for christmas", "answer": "Belsnickel", "source": "nq", "difficulty": "simple"} {"input": "Barry Clifford found fame discovering what?", "answer": "Sunken pirate ships", "source": "triviaqa", "difficulty": "simple"} {"input": "What is Paddy Mullins's occupation?", "answer": "[\"horse trainer\", \"racehorse trainer\"]", "source": "popqa", "difficulty": "simple"} {"input": "Where is the company that purchased Aixam based in?", "answer": "Roseau, Minnesota, USA", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who dies in harry potter and the half blood prince", "answer": "Dumbledore", "source": "nq", "difficulty": "simple"} {"input": "who has been chosen for best supporting actress in 64 national filmfare award", "answer": "Zaira Wasim", "source": "nq", "difficulty": "simple"} {"input": "In which soap did Demi Moore find fame?", "answer": ["Everyday Heroes", "Genaral Hospital", "General Hospital", "General Hospital (US TV series)", "General Hospital (US TV Series)", "General Hospital (U.S. TV series)", "General Hospital (1963-1977)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which gossip columnist was born in the same day as Sir Alexander Fleming who discovered penicillin?", "answer": ["Louella Rose Oettinger", "Louella O. Parsons", "Louella Oettinger", "Louella Parsons"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to convert the given string of float type into tuple.", "answer": "def float_to_tuple(test_str):\r\n res = tuple(map(float, test_str.split(', ')))\r\n return (res)", "source": "mbpp", "task_id": "894", "test_cases": "assert float_to_tuple(\"1.2, 1.3, 2.3, 2.4, 6.5\") == (1.2, 1.3, 2.3, 2.4, 6.5)\nassert float_to_tuple(\"2.3, 2.4, 5.6, 5.4, 8.9\") == (2.3, 2.4, 5.6, 5.4, 8.9)\nassert float_to_tuple(\"0.3, 0.5, 7.8, 9.4\") == (0.3, 0.5, 7.8, 9.4)", "difficulty": "code"} {"input": "Are Naser Mestarihi and Justin Sane both singer-songwriters?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the cause of death of director of film Overland Red?", "answer": "gunshot wound", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the date of birth of Luke Bullen's wife?", "answer": "23 June 1975", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Cuscatlan international airport is in which country?", "answer": ["EL Salvador", "Salvadoreans", "Elsalbador", "Salvadoran people", "Salvadorean", "El Salvador", "Republica de El Salvador", "Republic of El Salvador", "El Salvador: Gangs", "America/El Salvador", "El salvador", "Pubic holidays in El Salvador", "Salvadorans", "ISO 3166-1:SV", "Salvador, El", "Public holidays in El Salvador", "Health in El Salvador", "El Salbador", "República de El Salvador", "Salvadorian"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Pete Donohue born?", "answer": "[\"Athens\", \"Athens, Texas\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Elena Romagnolo born?", "answer": "[\"Borgosesia\"]", "source": "popqa", "difficulty": "simple"} {"input": "The Chandrasekhar limit was named after an astrophysicist, what is the name of his uncle of which is also a novel laureate?", "answer": "Sir C. V. Raman", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Do Don Perkins and Julius Saaristo have the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who first flew in Friendship 7?", "answer": ["John Herschel Glenn", "John Glenn, Jr.", "John H. Glenn", "John H. Glenn Jr.", "John Glrnn", "John Glenn", "John Glenn Junior", "J H Glenn", "John Herschel Glenn Jr.", "John Herschel Glenn, Jr.", "Glenn, Jr., John Herschell", "John Herschell Glenn, Jr.", "John H. Glenn, Jr."], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Duilio Forte's occupation?", "answer": "[\"architect\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did the state that owns Aloha Stadium become a part of the U.S.?", "answer": "August 12, 1898", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the place of birth of the director of film The Gigolo (1960 Film)?", "answer": "Lyon", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Phil Collins appeared in which Spielberg film with Robin Williams?", "answer": ["Hook", "HOOK"], "source": "triviaqa", "difficulty": "simple"} {"input": "who said give me loberty or give me death", "answer": "Patrick Henry", "source": "nq", "difficulty": "simple"} {"input": "Why did Nona Gaye's father die?", "answer": "shot", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where was the place of death of the director of film My Own Pal?", "answer": "Los Angeles", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Ivan Khomukha born?", "answer": "[\"Ipatovo\"]", "source": "popqa", "difficulty": "simple"} {"input": "where is the new tottenham stadium being built", "answer": "the London Borough of Haringey", "source": "nq", "difficulty": "simple"} {"input": "Sarah Vaughan first joined which band as singer?", "answer": ["Earl Hines", "The Earl Hines Orchestra", "Fatha Hines", "Fatha Earl Hines", "Earl Fatha Hines", "Earl %22Fatha%22 Hines", "Earl Kenneth Hines", "Earl (Kenneth) Hines"], "source": "triviaqa", "difficulty": "simple"} {"input": "Dua Lipa, an English singer, songwriter and model, the album spawned the number-one single \"New Rules\" is a song by English singer Dua Lipa from her eponymous debut studio album, released in what year?", "answer": "2017", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where was the place of death of the director of film The Strongest Instinct?", "answer": "Bournemouth", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Die Meistersinger von Nürnberg and Iphigénie en Aulide, are which type of music drama?", "answer": "opera", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "what feature led to the most sales for the playstation 2", "answer": "backwards compatibility", "source": "nq", "difficulty": "simple"} {"input": "where does it talk about mary magdalene in the bible", "answer": "New Testament", "source": "nq", "difficulty": "simple"} {"input": "what is the school in dead poets society", "answer": "Welton Academy", "source": "nq", "difficulty": "simple"} {"input": "In which department of the country where Tansila is located can Doure be found?", "answer": "Zimtenga Department", "source": "musique", "difficulty": "multi_hop"} {"input": "Which film was released first, Roving Mars or The London Connection?", "answer": "The London Connection", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Sayaka Ichii's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Stan Andrews born?", "answer": "[\"Lynn\", \"Lynn, Massachusetts\"]", "source": "popqa", "difficulty": "simple"} {"input": "In the animation series, what was Godzilla's nephew called?", "answer": ["Godzilla: The Original Animated Series", "Hanna-Barbera Godzilla", "List of Monsters in Godzilla", "Godzookie", "The Godzilla Power Hour", "1970s Godzilla Cartoon", "Hanna Barbera Godzilla", "1970's Godzilla Cartoon", "Hanna-Barbera Godzilla cartoon", "Hanna Barbera Godzilla cartoon", "The Godzilla Show", "Godzooky", "Godzilla (animated series)"], "source": "triviaqa", "difficulty": "simple"} {"input": "what does e/m stand for in medical terms", "answer": "Evaluation and management", "source": "nq", "difficulty": "simple"} {"input": "What is Bae Geu-rin's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "who plays the voice of lois on family guy", "answer": "Alex Borstein", "source": "nq", "difficulty": "simple"} {"input": "What is the date of death of Cliff Durant's father?", "answer": "March 18, 1947", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Do both directors of films Know Your Men and Perdonami! share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Gunmen from Laredo starred which narrator of \"Frontier\"?", "answer": "Walter Darwin Coy", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which film has the director who is older, Don 2 or The Price Of Possession?", "answer": "The Price Of Possession", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are Dowlatabad, Chenaran and Asadabad-E Bala, Isfahan located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which author was born first, Lorraine Hansberry or Sandra Gulland?", "answer": "Lorraine Vivian Hansberry", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What Dutch DJ did Richard Bedford collaborate with on the album \"Intense\"?", "answer": "Armin van Buuren", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What type of aircraft is the Hawker Siddley Harrier?", "answer": ["Vertical Takeoff and Landing", "VATOL", "Heli-Jet", "Vertical takeoff and landing aircraft", "VTAL", "Vertical takeoff and landing", "Vertical take off and landing", "Jump jet", "Vtol Airplane", "VTOL", "Vertical takeoff and landing craft", "Vertical Take-Off and Landing", "Jump Jet", "VTOLs", "Vertical take-off and landing", "VTOVL", "Vertical Take-Off Vertical Landing", "Verticle Takeoff Or Landing", "VTOL aircraft", "Vertical lift aircraft"], "source": "triviaqa", "difficulty": "simple"} {"input": "What was the first film Alfred Hitchcock made in Hollywood?", "answer": ["Rifkah", "Rifko", "Rifka", "Rifkoh", "Ribhqah", "Rivqah", "Rebeccah", "Rebekah", "Rivqa", "Rivko", "Rivka", "Rebbecca", "Rebecca", "Rivkoh"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Gustavo Grondona born?", "answer": "[\"Buenos Aires\", \"Buenos Ayres\", \"Autonomous City of Buenos Aires\", \"CABA\", \"Ciudad Autónoma de Buenos Aires\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Jeet Ganguly's occupation?", "answer": "[\"composer\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to rearrange positive and negative numbers in a given array using lambda function.", "answer": "def rearrange_numbs(array_nums):\r\n result = sorted(array_nums, key = lambda i: 0 if i == 0 else -1 / i)\r\n return result", "source": "mbpp", "task_id": "915", "test_cases": "assert rearrange_numbs([-1, 2, -3, 5, 7, 8, 9, -10])==[2, 5, 7, 8, 9, -10, -3, -1]\nassert rearrange_numbs([10,15,14,13,-18,12,-20])==[10, 12, 13, 14, 15, -20, -18]\nassert rearrange_numbs([-20,20,-10,10,-30,30])==[10, 20, 30, -30, -20, -10]", "difficulty": "code"} {"input": "Who was in charge of the creator country of Pljeskavica?", "answer": "Aleksandar Vučić", "source": "musique", "difficulty": "multi_hop"} {"input": "during the middle ages who was most likely to own a manuscript or book", "answer": ["Monasteries", "wealthy individuals", "rulers"], "source": "nq", "difficulty": "simple"} {"input": "What shares a border with Rivière-Verte in the province Tidnish River is located?", "answer": "Edmundston", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Debra Weeks's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\", \"television producer\", \"TV producer\", \"producer\", \"Tv producer\", \"Series Producer\", \"Producer (television)\", \"Television executive producer\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did the director of film The Spitfire (1914 Film) die?", "answer": "April 30, 1941", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Mélonin Noumonvi born?", "answer": "[\"Paris\", \"City of Light\", \"Paris, France\"]", "source": "popqa", "difficulty": "simple"} {"input": "Dharmatama is a 1975 Hindi thriller movie, and the first Bollywood film to be shot in Afghanistan,the title character was based on matka, king Ratan Khatri, Matka\" gambling or satta\" is a form of lottery which originally involved betting on the opening and closing rates of cotton transmitted from where?", "answer": "New York Cotton Exchange", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the correct name of laughing gas?", "answer": ["Happy gas", "Hippie crack", "Nitros", "Nitrous oxide", "ATCvet code QN01AX13", "Inhaling Nitrous Oxide", "Nitrous oxide system", "Laughy gas", "Nitrouse oxide", "Laugh-making gas", "N₂O", "Hippy crack", "N2O", "Nitrous Oxide", "Laughing gas", "Dinitrogen monoxide", "Phlogisticated nitrous air", "ATC code N01AX13", "Effects of nitrous oxide on the body", "Recreational use of nitrous oxide", "Nitrogen(I) oxide", "N2O-N", "N2o", "N 2 O", "Laughing Gas", "Nitroux oxide", "Dinitrogen Monoxide", "E942", "Nitrus oxide", "Factitious airs"], "source": "triviaqa", "difficulty": "simple"} {"input": "who coined the phrase what happens in vegas", "answer": ["R&R Partners", "ad agency"], "source": "nq", "difficulty": "simple"} {"input": "What is Bruce Willis' real first name?", "answer": ["Walter (TV Series)", "Walter", "Walter (disambiguation)", "Walter (TV series)"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Phil Williams born?", "answer": "[\"Birkenhead\"]", "source": "popqa", "difficulty": "simple"} {"input": "In which Olympics was taekwondo a demonstration sport?", "answer": ["Seoul 1988", "Olympics 1988", "Soeul 1988", "Bids for the 1988 Summer Olympics", "1988 Seoul Games", "1988 Summer Olympics boycott", "1988 Seoul Olympics", "1988 Olympics in Seoul", "1988 Summer Olympic Games", "Seoul Olympics", "1988 Seoul Olypmics", "1988 Summer Olympics", "Seoul Summer Olympics", "Summer olympics 1988", "Seoul games", "The 1988 Summer Olympics", "Games of the XXIV Olympiad", "1988 Summer Olympic game", "Seoul Olympic Games"], "source": "triviaqa", "difficulty": "simple"} {"input": "who plays albus potter in the cursed child", "answer": "Alex Price", "source": "nq", "difficulty": "simple"} {"input": "Who directed he Paris Opera Ballet from 1983 to 1989 and its chief choreographer until October 1992, and he gave the tittle of étoile to a member of the Paris Opera Ballet from 1978?", "answer": "Rudolf Khametovich Nureyev", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which film came out earlier, Zehreela Insaan or Bert: The Last Virgin?", "answer": "Zehreela Insaan", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Olav T. Laake's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did the director of film Sathruvu die?", "answer": "22 February 2019", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Jane's Addiction and Weeping Willows, play which genre of music?", "answer": "rock", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "where did 6 degrees of separation come from", "answer": "Frigyes Karinthy in 1929", "source": "nq", "difficulty": "simple"} {"input": "Why is the state containing the birth city of James Cuno known as the show me state?", "answer": "Missourians are known for being skeptical.", "source": "musique", "difficulty": "multi_hop"} {"input": "who plays eddie on season 8 of shameless", "answer": "Levy Tran", "source": "nq", "difficulty": "simple"} {"input": "Ellen Church is recognized as being the first female what?", "answer": ["Cabin crew member", "Air Hostess", "Air steward", "Flight attendent", "Flight Attendant", "Flight attendants", "Air hostess", "Airhostess", "Airline hostess", "Flight Attendance", "Flight attendant", "Cabin attendant", "Airline stewardess", "Inflight crew", "Cabin Service Director", "Airline steward", "Air stewardess", "Cabin Service Manager", "Flight steward", "Cabin crew", "Stewardess", "Stewardesses"], "source": "triviaqa", "difficulty": "simple"} {"input": "What county is Waterford part of in the state with the most black voters in 1965?", "answer": "Marshall County", "source": "musique", "difficulty": "multi_hop"} {"input": "When did Lady Mary Fox's father die?", "answer": "20 June 1837", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Do Mireille Delunsch and Richard J. Zaborski share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who ordered the death of the knights templar", "answer": "King Philip", "source": "nq", "difficulty": "simple"} {"input": "The 1920 NCAA football season had no clear-cut champion, with the \"Official NCAA Division I Football Records Book\" listing California, Georgia, Harvard, Notre Dame, and Princeton as national champions, Notre Dame was led by its first Walter Camp All-American, nicknamed \"The Gipper\", who died before the year was over, his name?", "answer": "George Gipp", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who formed and first came to the colony that became the state Hollins-Roundhouse Historic District located?", "answer": "the English", "source": "musique", "difficulty": "multi_hop"} {"input": "When was Steve Hartsell's birthplace founded?", "answer": "1824", "source": "musique", "difficulty": "multi_hop"} {"input": "Splendor in the Grass was a film directed by a Greek-American director described as \"one of the most honored and influential directors in Broadway and Hollywood history\" by who?", "answer": "The New York Times", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who was born first, Joe Manganiello or Kirk Kerkorian?", "answer": "Kerkor \"Kirk\" Kerkorian", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which series had the characters Felix Unger and Oscar Madison?", "answer": ["The Odd Couple", "The Female Odd Couple", "Oscar madison", "Murray Greshler", "Oscar Madison"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Thomas Hinds's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "who sang we are young in the 80's", "answer": "Fun featuring Janelle Monáe", "source": "nq", "difficulty": "simple"} {"input": "Anil V. Kumar, is a television and film director and producer in India, his production house, Flying Turtle Films co-produced the movie \"Zanjeer\" starring Priyanka Chopra and which actor, and entrepreneur, who works in Telugu cinema?", "answer": "Ram Charan", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Barbara Engel born?", "answer": "[\"Hamburg\", \"Free and Hanseatic City of Hamburg\", \"Hamburg, Germany\", \"Hamburg, Freie und Hansestadt\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which 2004 novel by Judith Guest recounts the murder committed by John Norman Collins known as the Michigan Murders?", "answer": "The Tarnished Eye", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What Indian politician hosted a Hindi language Indian television talk show?", "answer": "Smriti Malhotra", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "french explorer who first arrived in canada in 1534", "answer": "Jacques Cartier", "source": "nq", "difficulty": "simple"} {"input": "Are both Tengboche and Estarm, Kerman located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "A major character in the 2000 novel \"Storm Front\" had her name changed to what when the novel series was adapted for television?", "answer": "Connie Murphy", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "How old do you have to be to drink with a parent in the state where WJWD is located?", "answer": "18 - 20", "source": "musique", "difficulty": "multi_hop"} {"input": "WHo is a Grammy winning American musician of Armenian descent, Armen Nalbandian or Arto Tunçboyacıyan?", "answer": "Arto Tunçboyacıyan", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which 2004 Nickelodeon show was created by Sue Rose and starred Molly Hagan?", "answer": "Unfabulous", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What State has a Disney Resort & Spa that is a beachside hotel, resort and vacation destination offering complimentary children's activities and programs and that Djuan Rivers was a General Manager at?", "answer": "Hawaii", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who has more national championships clemson or south carolina", "answer": "University of South Carolina", "source": "nq", "difficulty": "simple"} {"input": "What was the date of death of Catherine, formerly of the city of birth of Francesco Repetto?", "answer": "15 September 1510", "source": "musique", "difficulty": "multi_hop"} {"input": "Which league does the 2010 head coach of the SMU Mustangs football team currently coach in?", "answer": "Canadian Football League", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In which decade did the Jackson 5 sign to Motown?", "answer": ["Sixties Revolution", "Turbulent Sixties", "1960s (decade)", "The '60's", "60's", "1960s in sports", "1960's", "Nineteen sixties", "The 60s", "1960s", "The '60s", "Sixties", "The 60's", "Nineteen-sixties", "1960ies", "1960–1969", "%6060s", "'60s", "1960-1969", "1960’s", "The Sixties"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the date of birth of Eleanor Sherman Thackara's father?", "answer": "February 8, 1820", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was John M. Wood born?", "answer": "[\"Minisink\", \"Minisink\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Kathy Saltzman's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who hosted the early series of The Pink Panther cartoons?", "answer": "Lenny Schulz", "source": "triviaqa", "difficulty": "simple"} {"input": "What was Michael Keaton's first movie?", "answer": ["Nightshift", "Nightshift (TV series)", "Night Shift (disambiguation)", "Night Shift", "Night shift"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which 90s sitcom character was said to be a symbol of failing values which caused LA riots, according to Dan Quayle?", "answer": ["Murphy Brown", "Corky Sherwood Forest", "Jim Dial", "Frank Fontana", "Murphy Brown (TV series)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a python function to remove the k'th element from a given list.", "answer": "def remove_kth_element(list1, L):\r\n return list1[:L-1] + list1[L:]", "source": "mbpp", "task_id": "610", "test_cases": "assert remove_kth_element([1,1,2,3,4,4,5,1],3)==[1, 1, 3, 4, 4, 5, 1]\nassert remove_kth_element([0, 0, 1, 2, 3, 4, 4, 5, 6, 6, 6, 7, 8, 9, 4, 4],4)==[0, 0, 1, 3, 4, 4, 5, 6, 6, 6, 7, 8, 9, 4, 4]\nassert remove_kth_element([10, 10, 15, 19, 18, 18, 17, 26, 26, 17, 18, 10],5)==[10,10,15,19, 18, 17, 26, 26, 17, 18, 10]", "difficulty": "code"} {"input": "What is the date of birth of the performer of song Irma Jackson?", "answer": "April 6, 1937", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "For which film about a Scottish hero did Mel Gibson win his first Oscars for Best Picture and Best Director?", "answer": ["They may take away our lives, but they'll never take our freedom!", "Braveheart", "Braveheart (1995 film)", "Brave heart", "For the Love of a Princess", "Braveheart (film)", "Mad stephen"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Bobby Henon's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "who played willy wonka in the original movie", "answer": "Gene Wilder", "source": "nq", "difficulty": "simple"} {"input": "Who is the father of Savivanh Savang?", "answer": "Sisavang Vatthana", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "How many fish species live in the area in which the river with the same name serves as the mouth of the Jurua River?", "answer": "2,200", "source": "musique", "difficulty": "multi_hop"} {"input": "Which film has the director born later, The Spanish Earth or Adalat O Ekti Meye?", "answer": "Adalat O Ekti Meye", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Jacques Monasch's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "This footballer played in the top divisions in Italy, Spain, England and Germany and is known for what?", "answer": "his speed on the ball", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "which dam is the highest dam in india", "answer": "The Tehri Dam", "source": "nq", "difficulty": "simple"} {"input": "What is the place of birth of the director of film Alias Mike Moran?", "answer": "Ogden", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What was the only Fleetwood Mac track to top the singles charts in the 70s?", "answer": ["Dream recall", "Dream environment", "Neurology of dreams", "Dreamlike", "Sweven", "Deams", "Dream", "Dreams", "Color dream"], "source": "triviaqa", "difficulty": "simple"} {"input": "On which label did the Beach boys record most of their 60s hits?", "answer": ["Capitol", "Capitol (disambiguation)", "Capitole", "The Capitol", "Capitol building", "Capitols"], "source": "triviaqa", "difficulty": "simple"} {"input": "where did the tour de france start in 1954", "answer": "Amsterdam", "source": "nq", "difficulty": "simple"} {"input": "Norbert Holm was arrested and later demoted because of his Chief of Operations association with a military theorist popularly known as what?", "answer": "the Desert Fox", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function to count alphabets,digits and special charactes in a given string.", "answer": "def count_alpha_dig_spl(string):\r\n alphabets=digits = special = 0\r\n for i in range(len(string)):\r\n if(string[i].isalpha()):\r\n alphabets = alphabets + 1\r\n elif(string[i].isdigit()):\r\n digits = digits + 1\r\n else:\r\n special = special + 1\r\n return (alphabets,digits,special)", "source": "mbpp", "task_id": "828", "test_cases": "assert count_alpha_dig_spl(\"abc!@#123\")==(3,3,3)\nassert count_alpha_dig_spl(\"dgsuy@#$%&1255\")==(5,4,5)\nassert count_alpha_dig_spl(\"fjdsif627348#%$^&\")==(6,6,5)", "difficulty": "code"} {"input": "When was the performer of From Mediterranea with Love established?", "answer": "1978", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Edu Nandlal born?", "answer": "[\"Paramaribo\"]", "source": "popqa", "difficulty": "simple"} {"input": "What Emmy Award winner worked on Miles from Home?", "answer": "Gary Sinise", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which country the director of film On The Riviera is from?", "answer": "American", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Why did Pankaja Munde's father die?", "answer": "road accident", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a python function to find the sum of xor of all pairs of numbers in the given array.", "answer": "def pair_OR_Sum(arr,n) : \r\n ans = 0 \r\n for i in range(0,n) : \r\n for j in range(i + 1,n) : \r\n ans = ans + (arr[i] ^ arr[j]) \r\n return ans", "source": "mbpp", "task_id": "633", "test_cases": "assert pair_OR_Sum([5,9,7,6],4) == 47\nassert pair_OR_Sum([7,3,5],3) == 12\nassert pair_OR_Sum([7,3],2) == 4", "difficulty": "code"} {"input": "Write a function where a string will start with a specific number.", "answer": "import re\r\ndef match_num(string):\r\n text = re.compile(r\"^5\")\r\n if text.match(string):\r\n return True\r\n else:\r\n return False", "source": "mbpp", "task_id": "900", "test_cases": "assert match_num('5-2345861')==True\nassert match_num('6-2345861')==False\nassert match_num('78910')==False", "difficulty": "code"} {"input": "Which British liner was sunk by a German submarine in 1915?", "answer": ["Roman Lusitania", "Luso-", "Lusitânia", "Lusitania", "Hispania Lusitania", "Lusitania (ancient region)", "Roman province Lusitania", "Lusitania (Roman province)"], "source": "triviaqa", "difficulty": "simple"} {"input": "When is the VIP 2 release date in the country of the Odayil Ninnu author?", "answer": "11 August 2017", "source": "musique", "difficulty": "multi_hop"} {"input": "What year did the songwriter of Love of My Life die?", "answer": "1991", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Kanye West's occupation?", "answer": "[\"record producer\", \"music producer\", \"songwriter\", \"song writer\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who is married to Jim Tomlinson and released an album entitled Raconte-moi?", "answer": "Stacey Kent", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are Fight Back To School Ii and Certains L'Aiment Froide both from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Huntington Wilson's occupation?", "answer": "[\"diplomat\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Lorena Corona Valdés's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Darrell Hammond's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "What nationality is the director of film Clancy Street Boys?", "answer": "American", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "the leader of iraq during the persian gulf war was", "answer": "Saddam Hussein", "source": "nq", "difficulty": "simple"} {"input": "What is the Kaurna name of the river that runs along Mount Torrens in South Australia?", "answer": "Ngangkiparri", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the birthdate of this Count of Luxembourg and King of Bohemia, who was father of Psalter of Bonne de Luxembourg?", "answer": "10 August 1296", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "\"HMS \"Sussex\" was an 80-gun third-rate ship, of the line of the English Royal Navy, for which sovereign state on the island of Great Britain from the 10th century—when it emerged from various Anglo-Saxon kingdoms—until 1707, when it united with Scotland to form the Kingdom of Great Britain?", "answer": "Kingdom of England", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Ek Yi Oun's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Nina Varlamova's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "what is the percentage of finding a four leaf clover", "answer": "5,000 to 1", "source": "nq", "difficulty": "simple"} {"input": "The older Smothers Brother played what musical instrument?", "answer": ["Saddle (guitar)", "Guitar tone", "Guitar music", "Geetar", "Guitar components", "Belly Fiddler", "The guitar", "Gitarre", "Guitar history", "Gitfiddle", "Kinds of guitars", "Gutiar", "Guitar", "Guiatar", "🎸", "Gitiar", "Strap lock system", "Types of guitars", "Guitar Lessons", "Parts of the guitar", "Guitar lesson", "Archguitar", "Guitars", "6-string guitar", "Guiatr", "Left handed guitar", "Playing guitars", "Guitariste", "Guitar instruction", "Six-string guitar", "Black Plastic Guitar Case", "Rock guitar", "Gitar", "Usa Guitar", "Giutar", "Guitar strap", "Strap Lock System", "Gatar"], "source": "triviaqa", "difficulty": "simple"} {"input": "What county is Millbrook, in the state where the Diocese of Charlotte of the religion that dominated the Aslatian population, located?", "answer": "Wake County", "source": "musique", "difficulty": "multi_hop"} {"input": "what was the source of alpha particles in rutherford's experiment", "answer": "helium nuclei", "source": "nq", "difficulty": "simple"} {"input": "What is the date of birth of the composer of film The Vagabonds (1916 Film)?", "answer": "2 May 1843", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who is We Belong Together about by the performer who wrote the lyrics for Underneath the Stars?", "answer": "Tommy Mottola", "source": "musique", "difficulty": "multi_hop"} {"input": "Doloroso, Mississippi rests on the US highway that runs for how many miles?", "answer": "1400 mi", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When did the state where the National Historic Site of the author of My Day is located become part of the United States?", "answer": "July 26, 1788", "source": "musique", "difficulty": "multi_hop"} {"input": "Whose rule followed that of the father of Norodom Arunrasmy?", "answer": "Norodom Sihamoni", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Marilyn Ferguson born?", "answer": "[\"Grand Junction\", \"Grand Junction, Colorado\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the currency of the country Kitchen comes from?", "answer": "Hong Kong dollar", "source": "musique", "difficulty": "multi_hop"} {"input": "What was Al Pacino's first movie?", "answer": ["Me Natalie", "Me, Natalie"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Suzanne Lilar's occupation?", "answer": "[\"playwright\", \"dramatist\", \"playwrite\", \"scriptwriter\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the date of death of the performer of song I Believe In Everything (Song)?", "answer": "27 June 2002", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which state did Amelia Earhart land in on her first solo Pacific flight?", "answer": ["Taxifornia", "Califronia", "State of California", "California, USA", "California, United States of America", "Charlie Alpha", "California (state)", "31st State", "California, usa", "Calif.", "CA (state)", "Kalifòni", "California, United States America", "Thirty-first State", "Kalifornija", "California, United States", "State of California, United States", "Califórnia", "California State", "California", "California (State)", "Kalifoni", "California, US", "City (California)", "Californiay", "Christianity in California", "Thirty-First State", "California(U.S. state)", "Kalifornía", "Calfornia", "California, U.S.A.", "California’s", "The State of California", "Californny", "California (province)", "California (U.S. state)", "CA, US", "State of california", "California's", "Califnornia", "The golden state", "US-CA", "California Chronic", "California, united states of america", "CA state"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was William Perry Hay born?", "answer": "[\"Eureka\", \"Eureka, Illinois\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Eric Defoort born?", "answer": "[\"Ypres\", \"leper\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Andy Keeley born?", "answer": "[\"Basildon\"]", "source": "popqa", "difficulty": "simple"} {"input": "West Ridge and the ridge that has IndependenceAvenue/Liberation Avenue as its eastern boundary are separated by what road?", "answer": "Castle Road", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are both Bullarto Railway Station and Harestua Station located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Min's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "When was the director of film The Harbour Lights (1923 Film) born?", "answer": "28 September 1872", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who was the spouse of the individual who defeated the last song emperor of the nation where the Cultural Revolution occurred?", "answer": "Chabi", "source": "musique", "difficulty": "multi_hop"} {"input": "What was CBS TV news broadcaster Walter Cronkite's stock closing phrase?", "answer": ["Cronkite, Walter Leland, Jr.", "Old Ironpants", "Walter Cronkite Jr.", "And that's the way it is", "Walter Leland Cronkite, Jr.", "Walter conkrite", "Walter Cronkite", "Walter L. Cronkite Jr.", "Walter Leland Cronkite", "Walter Conkrite", "Walter Leland Cronkite Jr.", "Walter Kronkite"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Nay Myo Thant born?", "answer": "[\"Pakokku\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which city in China is a prefecture-level city Xinzhou or Guanghan", "answer": "Xinzhou () is a prefecture-level city", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function to get an item of a tuple.", "answer": "def get_item(tup1,index):\r\n item = tup1[index]\r\n return item", "source": "mbpp", "task_id": "948", "test_cases": "assert get_item((\"w\", 3, \"r\", \"e\", \"s\", \"o\", \"u\", \"r\", \"c\", \"e\"),3)==('e')\nassert get_item((\"w\", 3, \"r\", \"e\", \"s\", \"o\", \"u\", \"r\", \"c\", \"e\"),-4)==('u')\nassert get_item((\"w\", 3, \"r\", \"e\", \"s\", \"o\", \"u\", \"r\", \"c\", \"e\"),-3)==('r')", "difficulty": "code"} {"input": "The End of the Innocence was a single by which former member of the Eagles?", "answer": "Donald Hugh Henley", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function that matches a string that has an 'a' followed by anything, ending in 'b'.", "answer": "import re\r\ndef text_starta_endb(text):\r\n patterns = 'a.*?b$'\r\n if re.search(patterns, text):\r\n return 'Found a match!'\r\n else:\r\n return('Not matched!')", "source": "mbpp", "task_id": "794", "test_cases": "assert text_starta_endb(\"aabbbb\")==('Found a match!')\nassert text_starta_endb(\"aabAbbbc\")==('Not matched!')\nassert text_starta_endb(\"accddbbjjj\")==('Not matched!')", "difficulty": "code"} {"input": "What is Nandor Balazs's occupation?", "answer": "[\"physicist\"]", "source": "popqa", "difficulty": "simple"} {"input": "Where did the director of film Disorder (1962 Film) die?", "answer": "Rome", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What was Oliver Hardy's real first name?", "answer": ["Norvell", "Norvell (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Mary Small served the county whose seat is what town?", "answer": "Bath", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when did kingdom hearts 1 come out in america", "answer": "September 17, 2002", "source": "nq", "difficulty": "simple"} {"input": "What is the place of birth of the director of film Karuvelam Pookkal?", "answer": "Kovilpatti", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Kim Warwick and Matt Lucena both play what sport?", "answer": "tennis", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a python function to add a minimum number such that the sum of array becomes even.", "answer": "def min_Num(arr,n): \r\n odd = 0\r\n for i in range(n): \r\n if (arr[i] % 2): \r\n odd += 1 \r\n if (odd % 2): \r\n return 1\r\n return 2", "source": "mbpp", "task_id": "867", "test_cases": "assert min_Num([1,2,3,4,5,6,7,8,9],9) == 1\nassert min_Num([1,2,3,4,5,6,7,8],8) == 2\nassert min_Num([1,2,3],3) == 2", "difficulty": "code"} {"input": "where is the hogan stand in croke park", "answer": "railway end", "source": "nq", "difficulty": "simple"} {"input": "What is the statue of Acraepheus's dad at Mantua based on?", "answer": "Apollo Citharoedus", "source": "musique", "difficulty": "multi_hop"} {"input": "Do Thistle Yolette Harris and John Ronald Tovey have the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are Shib-E Talabad and Kardgar Kola, Babol located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In which month in 1997 was The Notorious B.I.G. gunned down?", "answer": ["㋂", "March", "Month March", "March (month)", "March observances", "Sušec", "Month of March"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Volodymyr O. Kravets born?", "answer": "[\"Cherkasy Oblast\", \"Cherkas'ka oblast'\", \"Cherkashchyna\"]", "source": "popqa", "difficulty": "simple"} {"input": "what is the term for the onset of the first menstrual cycle", "answer": "Menarche", "source": "nq", "difficulty": "simple"} {"input": "What nationality is the director of film The War On Democracy?", "answer": "Australian", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When did weed become legal for recreational use in the state where Decampitated was filmed?", "answer": "January 2014", "source": "musique", "difficulty": "multi_hop"} {"input": "The publisher of Studies in Higher Education was founded by who?", "answer": "George Routledge", "source": "musique", "difficulty": "multi_hop"} {"input": "what does the name christian mean in spanish", "answer": "\"follower of Christ\"", "source": "nq", "difficulty": "simple"} {"input": "Lynyrd Skynyrd lost three members in a crash of a plane that was chartered from which company?", "answer": "L&J Company", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who fathered the leader of the first expedition to reach the continent Hyderabad is located on by sailing west across the ocean bordering eastern Russia?", "answer": "Estêvão da Gama", "source": "musique", "difficulty": "multi_hop"} {"input": "Are both airports, Lemnos International Airport and Bindja Airport, located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function that matches a word containing 'z', not at the start or end of the word.", "answer": "import re\r\ndef text_match_wordz_middle(text):\r\n patterns = '\\Bz\\B'\r\n if re.search(patterns, text):\r\n return 'Found a match!'\r\n else:\r\n return('Not matched!')", "source": "mbpp", "task_id": "643", "test_cases": "assert text_match_wordz_middle(\"pythonzabc.\")==('Found a match!')\nassert text_match_wordz_middle(\"xyzabc.\")==('Found a match!')\nassert text_match_wordz_middle(\" lang .\")==('Not matched!')", "difficulty": "code"} {"input": "What is Sylwester Braun's occupation?", "answer": "[\"photographer\", \"photog\", \"photographers\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the capital of Yegheg's province?", "answer": "Kapan", "source": "musique", "difficulty": "multi_hop"} {"input": "Where is the main campus of the school where Bill Welch was educated?", "answer": "within the Borough of State College and College Township", "source": "musique", "difficulty": "multi_hop"} {"input": "Which country the director of film Tata Manavadu is from?", "answer": "India", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "The Oxus cobra contains what kind of ions for their venom to be active?", "answer": "magnesium", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who holds the record for most td passes in a game", "answer": ["Joe Kapp", "Drew Brees", "Adrian Burk", "Peyton Manning", "Y. A. Tittle", "George Blanda", "Nick Foles", "Sid Luckman"], "source": "nq", "difficulty": "simple"} {"input": "Theodore Francis international airport is in which US state?", "answer": ["RhodeIsland", "Villages of rhode island", "Rogue's Island", "Rhode Island Treasurer", "Rhode Island (U.S. state)", "Education in Rhode Island", "Rhode Island General Treasurer", "Rhode island agriculture", "Rhode Island and the Providence Plantations", "Demographics of Rhode Island", "Rhode island and providence plantations", "Rhode Island (state)", "State of Rhode Island", "R.I.", "Little Rhody", "Rhode Island Governor's Mansion", "The Ocean State", "Rhode Islanders", "Rhode Islander", "Symbols of Rhode Island", "Transport in Rhode Island", "Villages of Rhode Island", "Rhode Island and Providence Plantations", "R I", "R.i.", "Rhode Island", "Geography of Rhode Island", "Rhode Island Villages", "Religion in Rhode Island", "13th State", "The State of Rhode Island and Providence Plantations", "Ocean State", "Culture of Rhode Island", "State of Rhode Island and Providence Plantations", "Rode Island", "Rhode Island, United States", "Sports in Rhode Island", "Economy of Rhode Island", "Rhode island", "Transportation in Rhode Island", "Climate of Rhode Island", "Thirteenth State", "US-RI", "Rhode Island cuisine", "RI", "Road Island"], "source": "triviaqa", "difficulty": "simple"} {"input": "The lead singer and guitarist in the Portland, Oregon rock band consisting of John Gourley, Zach Carothers, Kyle O'Quin, Jason Sechrist and Eric Howk, goes by what alias?", "answer": "The Fantastic The", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who was the first MVP in a Super Bowl to be on the losing side?", "answer": ["Chuck Howley", "Charles Louis Howley"], "source": "triviaqa", "difficulty": "simple"} {"input": "What was the official name for the draft that Thomas E. O'Donnell was a public opponent of?", "answer": "Conscription in the United States", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Andrew Ure's occupation?", "answer": "[\"chemist\", \"chemists\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who is the writer of the 1996 play that features the character of Abraham Van Helsing?", "answer": "Steven Dietz", "source": "musique", "difficulty": "multi_hop"} {"input": "When was the director of film Jiraiya The Hero born?", "answer": "September 22, 1878", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Lacu is a dummer from a sovereign state in Norther Europ whose population in 2016 was what?", "answer": "5.5 million", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who won American Idol the year that \"Love You I Do's\" performer was on?", "answer": "Fantasia Barrino", "source": "musique", "difficulty": "multi_hop"} {"input": "who was the original host of family fued", "answer": "Richard Dawson", "source": "nq", "difficulty": "simple"} {"input": "What network is the reality TV Show that features American former professional baseball left fielder who played 22 seasons in Major League Baseball (MLB) with the Pittsburgh Pirates and San Francisco Giants?", "answer": "ESPN", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What was the name of NATO spokesman in the 1999 Kosovo crisis?", "answer": "Jamie Shea", "source": "triviaqa", "difficulty": "simple"} {"input": "simba's mother's name in the lion king", "answer": "Sarabi", "source": "nq", "difficulty": "simple"} {"input": "Write a function to sort a list in increasing order by the last element in each tuple from a given list of non-empty tuples.", "answer": "def last(n):\r\n return n[-1]\r\ndef sort_list_last(tuples):\r\n return sorted(tuples, key=last)", "source": "mbpp", "task_id": "896", "test_cases": "assert sort_list_last([(2, 5), (1, 2), (4, 4), (2, 3), (2, 1)])==[(2, 1), (1, 2), (2, 3), (4, 4), (2, 5)] \nassert sort_list_last([(9,8), (4, 7), (3,5), (7,9), (1,2)])==[(1,2), (3,5), (4,7), (9,8), (7,9)] \nassert sort_list_last([(20,50), (10,20), (40,40)])==[(10,20),(40,40),(20,50)] ", "difficulty": "code"} {"input": "In what city was Tim Armstrong born?", "answer": "[\"United States of America\", \"the United States of America\", \"America\", \"U.S.A.\", \"USA\", \"U.S.\", \"US\", \"the US\", \"the USA\", \"US of A\", \"the United States\", \"U. S. A.\", \"U. S.\", \"the States\", \"the U.S.\", \"'Merica\", \"U.S\", \"United States\", \"'Murica\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the date of death of the director of film Escape To France?", "answer": "19 June 1999", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "where is the office of un general assembly located", "answer": "New York City", "source": "nq", "difficulty": "simple"} {"input": "Write a function to convert a roman numeral to an integer.", "answer": "def roman_to_int(s):\r\n rom_val = {'I': 1, 'V': 5, 'X': 10, 'L': 50, 'C': 100, 'D': 500, 'M': 1000}\r\n int_val = 0\r\n for i in range(len(s)):\r\n if i > 0 and rom_val[s[i]] > rom_val[s[i - 1]]:\r\n int_val += rom_val[s[i]] - 2 * rom_val[s[i - 1]]\r\n else:\r\n int_val += rom_val[s[i]]\r\n return int_val", "source": "mbpp", "task_id": "961", "test_cases": "assert roman_to_int('MMMCMLXXXVI')==3986\nassert roman_to_int('MMMM')==4000\nassert roman_to_int('C')==100", "difficulty": "code"} {"input": "where is area code 204 located in usa", "answer": "the Canadian province of Manitoba", "source": "nq", "difficulty": "simple"} {"input": "Close to the Enemy starred the English actor known as Ash Morgan in what BBC series?", "answer": "Hustle", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Charles A. Gillespie, Jr.'s occupation?", "answer": "[\"diplomat\"]", "source": "popqa", "difficulty": "simple"} {"input": "topiramate (topamax trokendi) is used to treat which of the following diseases", "answer": "epilepsy", "source": "nq", "difficulty": "simple"} {"input": "What is Gina Krog's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "when does marvel's the gifted come out", "answer": "October 2, 2017", "source": "nq", "difficulty": "simple"} {"input": "who did the voice of anna in frozen", "answer": ["Kristen Bell", "Livvy Stubenrauch", "Agatha Lee Monn", "Katie Lopez"], "source": "nq", "difficulty": "simple"} {"input": "In Stepmom who played Susan Sarandon's daughter?", "answer": ["Julia Roberts (actress)", "Julia Robert", "Roberts, Julia", "Julia Fiona Roberts", "Julia Roberts", "Julia roberts", "Phinnaeus Walter Moder"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to find the combinations of sums with tuples in the given tuple list.", "answer": "from itertools import combinations \r\ndef find_combinations(test_list):\r\n res = [(b1 + a1, b2 + a2) for (a1, a2), (b1, b2) in combinations(test_list, 2)]\r\n return (res)", "source": "mbpp", "task_id": "780", "test_cases": "assert find_combinations([(2, 4), (6, 7), (5, 1), (6, 10)]) == [(8, 11), (7, 5), (8, 14), (11, 8), (12, 17), (11, 11)]\nassert find_combinations([(3, 5), (7, 8), (6, 2), (7, 11)]) == [(10, 13), (9, 7), (10, 16), (13, 10), (14, 19), (13, 13)]\nassert find_combinations([(4, 6), (8, 9), (7, 3), (8, 12)]) == [(12, 15), (11, 9), (12, 18), (15, 12), (16, 21), (15, 15)]", "difficulty": "code"} {"input": "who ruled the ottoman empire at its height in about 1550", "answer": "Suleiman I", "source": "nq", "difficulty": "simple"} {"input": "What are the international registration letters of a vehicle from Tanzania?", "answer": ["EAT", "EAT (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Mindless Self Indulgence and Tappi Tíkarrass are both what?", "answer": "band", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are You Came Along and Our House (2018 Film) both from the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "what year did the christmas story come out", "answer": "1983", "source": "nq", "difficulty": "simple"} {"input": "Write a python function to count the number of pairs whose sum is equal to ‘sum’.", "answer": "def get_Pairs_Count(arr,n,sum):\r\n count = 0 \r\n for i in range(0,n):\r\n for j in range(i + 1,n):\r\n if arr[i] + arr[j] == sum:\r\n count += 1\r\n return count", "source": "mbpp", "task_id": "767", "test_cases": "assert get_Pairs_Count([1,1,1,1],4,2) == 6\nassert get_Pairs_Count([1,5,7,-1,5],5,6) == 3\nassert get_Pairs_Count([1,-2,3],3,1) == 1", "difficulty": "code"} {"input": "When did the country where the Koksan is manufactured split from the country where Han Groo was born?", "answer": "1953", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Nelson Faria born?", "answer": "[\"Belo Horizonte\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a python function to find the last two digits in factorial of a given number.", "answer": "def last_Two_Digits(N): \r\n if (N >= 10): \r\n return\r\n fac = 1\r\n for i in range(1,N + 1): \r\n fac = (fac * i) % 100\r\n return (fac)", "source": "mbpp", "task_id": "692", "test_cases": "assert last_Two_Digits(7) == 40\nassert last_Two_Digits(5) == 20\nassert last_Two_Digits(2) == 2", "difficulty": "code"} {"input": "Who did Ali McGraw marry after they had made The Getaway together?", "answer": ["Solar Productions", "Steve McQueen (actor)", "Steve McQueen", "Steve Mcqueen", "Steve mcqueen", "Steven McQueen", "McQueen (Steve)", "Terence Stephen McQueen", "Terence McQueen", "Solar productions", "Terence Steven McQueen"], "source": "triviaqa", "difficulty": "simple"} {"input": "How do you become a justice of Peace in the country Housewives' Holiday is from?", "answer": "appointed by the President of the Republic of Singapore", "source": "musique", "difficulty": "multi_hop"} {"input": "Have the people in the nation Myra is from held feelings toward the cloth symbol of the Greeks?", "answer": "ethnic tensions with the Turkish Cypriot minority", "source": "musique", "difficulty": "multi_hop"} {"input": "Who was the first leader of the independent nation where AS Makinku plays?", "answer": "Fulbert Youlou", "source": "musique", "difficulty": "multi_hop"} {"input": "Who won American Idol when the contestant who won an Oscar for Dreamgirls was on?", "answer": "Fantasia Barrino", "source": "musique", "difficulty": "multi_hop"} {"input": "On the song Silver Bells, who sang along with the singer of I Am Dreaming of a White Christmas?", "answer": "Carol Richards", "source": "musique", "difficulty": "multi_hop"} {"input": "What nationality is the director of film T-Men?", "answer": "American", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was the rock band formed which was paid tribute by Listen Without Distraction?", "answer": "Palm Desert, California", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which British company whose majority of its business interests are in Asia was related to the London Based Trading house Matheson & Company?", "answer": "Jardine Matheson", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function to return true if the password is valid.", "answer": "import re\r\ndef pass_validity(p):\r\n x = True\r\n while x: \r\n if (len(p)<6 or len(p)>12):\r\n break\r\n elif not re.search(\"[a-z]\",p):\r\n break\r\n elif not re.search(\"[0-9]\",p):\r\n break\r\n elif not re.search(\"[A-Z]\",p):\r\n break\r\n elif not re.search(\"[$#@]\",p):\r\n break\r\n elif re.search(\"\\s\",p):\r\n break\r\n else:\r\n return True\r\n x=False\r\n break\r\n\r\n if x:\r\n return False", "source": "mbpp", "task_id": "822", "test_cases": "assert pass_validity(\"password\")==False\nassert pass_validity(\"Password@10\")==True\nassert pass_validity(\"password@10\")==False", "difficulty": "code"} {"input": "Who was Clark Kent's high school sweetheart?", "answer": ["Lana Lazarenko", "Lana Lang", "Countess Isobel Theroux", "Countess Marguerite Isobel Theroux", "Lana luthor"], "source": "triviaqa", "difficulty": "simple"} {"input": "At the start of the 20th Century, how many square kilometers was the city that contains the university where Charles Oakley was educated?", "answer": "13", "source": "musique", "difficulty": "multi_hop"} {"input": "Which film whose director was born first, Seis Días En La Oscuridad or Duck In Orange Sauce?", "answer": "Duck In Orange Sauce", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Alborg Roedslet international airport is in which country?", "answer": ["Eastern Denmark", "Kingdom of denmark", "Denmarke", "Subdivisions of Denmark", "Kongeriget Danmark", "Mainland Denmark", "Danmoerk", "Denmark proper", "Danimarca", "ISO 3166-1:DK", "Denmark", "Dänemark", "Danska", "Denmarc", "KingdomOfDenmark", "DENMARK", "Kingdom of Denmark", "Denemarke", "Administrative divisions of denmark", "Danish kingdom", "Danemark", "Daenemark", "Media in Denmark", "Danmörk", "DenmarK", "Danmork", "Administrative divisions of Denmark", "Media of Denmark", "Danish Kingdom", "Dinamarca"], "source": "triviaqa", "difficulty": "simple"} {"input": "Are Kelly Jones and Martha Reeves both singers?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Makers: Women Who Make America featured an interview with what talk who host, who was dubbed the \"Queen of all Media\"?", "answer": "Oprah Winfrey", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Redstone, in the birthplace of the star of Men with Brooms, is located in what country?", "answer": "Canada", "source": "musique", "difficulty": "multi_hop"} {"input": "how many pitches do musicians have to work with in the western musical system of today", "answer": "12", "source": "nq", "difficulty": "simple"} {"input": "Who is Yulia Zagoruychenko's dance partner?", "answer": "Riccardo Cocchi", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which actor won an Academy Award for his performance in The African Queen?", "answer": ["Humphrey boggart", "Stephen Bogart", "Humphrey bogart", "Humphry Bogart", "Humphrey DeForest Bogart", "Tennis anyone", "Bogart", "Humphrey Bogart", "Humprey Bogart"], "source": "triviaqa", "difficulty": "simple"} {"input": "Where did Johnny Ace die in 1954?", "answer": ["Houstonians", "Houston, Texas", "The City of Houston", "Houstan, TX", "Houston texas", "City of Houston", "Media of Houston", "Houston city", "Houstan, Texas", "Houston, Texas, USA", "Ciudadehouston.org", "Media in Houston", "Houston Texas", "Houston, Texas (redir)", "Houston, USA", "The Energy Capital of the World", "Houston, United States", "Houston, Texas, U.S.A.", "Houston, Texas, U.S.", "Houstontx.gov", "Houston, TX, USA", "Houston, US-TX", "Hoston", "UN/LOCODE:USHOU", "Houston, Texas, United States", "Houston, Tx", "Houston", "Houston, texas", "Houston,Texas", "Houston, Tex.", "Houstan", "Houston (TX)", "Houston TX", "Houston,TX", "City of Houston, Texas", "Houston, TX", "Houston,Texas, United States"], "source": "triviaqa", "difficulty": "simple"} {"input": "Diane Roark was wrongly suspected of leaking information to a New York Times reporter that has co-written two books about what agency?", "answer": "Central Intelligence Agency", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who plays the founder of The Daily News in The Man Who Invented Christmas?", "answer": "Dan Stevens", "source": "musique", "difficulty": "multi_hop"} {"input": "Which film has the director who is older, Fort Apache, The Bronx or Barberousse?", "answer": "Barberousse", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a python function to find minimum number swaps required to make two binary strings equal.", "answer": "def min_Swaps(s1,s2) : \r\n c0 = 0; c1 = 0; \r\n for i in range(len(s1)) : \r\n if (s1[i] == '0' and s2[i] == '1') : \r\n c0 += 1; \r\n elif (s1[i] == '1' and s2[i] == '0') : \r\n c1 += 1; \r\n result = c0 // 2 + c1 // 2; \r\n if (c0 % 2 == 0 and c1 % 2 == 0) : \r\n return result; \r\n elif ((c0 + c1) % 2 == 0) : \r\n return result + 2; \r\n else : \r\n return -1;", "source": "mbpp", "task_id": "838", "test_cases": "assert min_Swaps(\"0011\",\"1111\") == 1\nassert min_Swaps(\"00011\",\"01001\") == 2\nassert min_Swaps(\"111\",\"111\") == 0", "difficulty": "code"} {"input": "Are the directors of films Janda Pai Kapiraju and Women'S Town both from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who was born first, Peter Przygodda or Inga Broberg?", "answer": "Inga Broberg", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to re-arrange the given tuples based on the given ordered list.", "answer": "def re_arrange_tuples(test_list, ord_list):\r\n temp = dict(test_list)\r\n res = [(key, temp[key]) for key in ord_list]\r\n return (res)", "source": "mbpp", "task_id": "936", "test_cases": "assert re_arrange_tuples([(4, 3), (1, 9), (2, 10), (3, 2)], [1, 4, 2, 3]) == [(1, 9), (4, 3), (2, 10), (3, 2)]\nassert re_arrange_tuples([(5, 4), (2, 10), (3, 11), (4, 3)], [3, 4, 2, 3]) == [(3, 11), (4, 3), (2, 10), (3, 11)]\nassert re_arrange_tuples([(6, 3), (3, 8), (5, 7), (2, 4)], [2, 5, 3, 6]) == [(2, 4), (5, 7), (3, 8), (6, 3)]", "difficulty": "code"} {"input": "Who won his second Oscar in successive years for Forrest Gump?", "answer": ["Sandra Hanks Benoiton", "Tam Honks", "Samantha Lewes", "Thomas Hanks", "Chet Haze", "Tom Hank", "Tom Hanks", "Tom hanks", "Thomas Jeffrey Hanks", "Chet Hanks", "Hanks, Tom"], "source": "triviaqa", "difficulty": "simple"} {"input": "What kind of building is the Crawford House in the city where Darkbuster formed in the state Wellesley College is located?", "answer": "hotels", "source": "musique", "difficulty": "multi_hop"} {"input": "when was shine on you crazy diamond written", "answer": "January–July 1975", "source": "nq", "difficulty": "simple"} {"input": "Are director of film Flirting with Fate (1938 film) and director of film Grand Canyon Adventure: River at Risk both from the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Mackenzie Davis appeared in the 2013 Canadian romantic comedy film directed by whom?", "answer": "Michael Dowse", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are both airports, Lamar County Airport and Barinas Airport, located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When is George Lamb (Politician)'s father's birthday?", "answer": "29 January 1745", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the salary of the governor of the state Kevin Sessums was born in?", "answer": "$122,160", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Afonso II of Portugal born?", "answer": "[\"Coimbra\", \"Coimbra Municipality\"]", "source": "popqa", "difficulty": "simple"} {"input": "who wrote the influence of sea power upon history", "answer": "Alfred Thayer Mahan", "source": "nq", "difficulty": "simple"} {"input": "Write a function to convert the given tuples into set.", "answer": "def tuple_to_set(t):\r\n s = set(t)\r\n return (s)", "source": "mbpp", "task_id": "945", "test_cases": "assert tuple_to_set(('x', 'y', 'z') ) == {'y', 'x', 'z'}\nassert tuple_to_set(('a', 'b', 'c') ) == {'c', 'a', 'b'}\nassert tuple_to_set(('z', 'd', 'e') ) == {'d', 'e', 'z'}", "difficulty": "code"} {"input": "which u.s. political party is considered to lean to the left", "answer": "Democrats", "source": "nq", "difficulty": "simple"} {"input": "where do they grow wheat in the us", "answer": "almost every state", "source": "nq", "difficulty": "simple"} {"input": "In which country was Ivana Trump born and brought up?", "answer": ["Česko Slovensko", "Czechoslovakian", "Chechoslovakia", "Czecheslovakia", "Cesko Slovensko", "Cesko-Slovensko", "Czech -", "Czechaslavakia", "Czechoslovakia", "Tschechoslowakei", "Czechoslovakia (disambiguation)", "Czechoslavakian", "Czeckeslovakia", "Checkeslovakia", "Czecho Slovakia", "CzechoSlovakia", "ČSFR", "Czechoslowakia", "Czecho-Slovak", "Ceskoslovensko", "Czechoslavakia", "Czech ~", "Tsjekkoslovakia", "Chekhoslovakia", "Česko-Slovensko", "Czecho-Slovakia", "Czechoslovaka", "Chekoslovakia", "ŘČS", "Federation of Czechoslovakia", "Czech —", "Czechoslovak", "Czecholslovakia", "Československo", "People's Republic of Czechoslovakia", "Czechosloavkia", "Czechslovakia", "Checkoslovakia", "Czechsolvakia", "Czeckoslovakia"], "source": "triviaqa", "difficulty": "simple"} {"input": "Where did the director of film Nova Zembla (Film) study?", "answer": "University of Amsterdam", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "what was the mohammedan anglo oriental school 4 marks", "answer": "a primary school", "source": "nq", "difficulty": "simple"} {"input": "Since 1994, who has been in charge of the city where Funda Arar was born?", "answer": "Melih Gökçek", "source": "musique", "difficulty": "multi_hop"} {"input": "when did trinidad and tobago become an independent nation", "answer": "1962", "source": "nq", "difficulty": "simple"} {"input": "In Henry Wadsworth Longfellow's famous poem, Hiawatha, what was the name of Hiawatha's wife?", "answer": ["Minnehaha", "Minniehaha"], "source": "triviaqa", "difficulty": "simple"} {"input": "Do both directors of films A Woman Of Distinction and Cocoon: The Return share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Alexandre Bóveda's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Morning glory and Sorbus are both a genus of plants?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "west ham players in the 1966 world cup", "answer": ["Martin Peters", "Geoff Hurst", "Bobby Moore"], "source": "nq", "difficulty": "simple"} {"input": "Waht kind of music do the bands Nada Surf and Madina Lake play?", "answer": "alternative rock", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "what animal is mr. big in the movie zootopia", "answer": "Arctic shrew", "source": "nq", "difficulty": "simple"} {"input": "Which song came out earlier, Apocalypse Please or Skelewu?", "answer": "Apocalypse Please", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When did the writer who liked to visit Cheshire Cheese and the Prospect of Whitby pen his last work?", "answer": "April 1870 to September 1870", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a python function to move all zeroes to the end of the given list.", "answer": "def move_zero(num_list):\r\n a = [0 for i in range(num_list.count(0))]\r\n x = [ i for i in num_list if i != 0]\r\n x.extend(a)\r\n return (x)", "source": "mbpp", "task_id": "632", "test_cases": "assert move_zero([1,0,2,0,3,4]) == [1,2,3,4,0,0]\nassert move_zero([2,3,2,0,0,4,0,5,0]) == [2,3,2,4,5,0,0,0,0]\nassert move_zero([0,1,0,1,1]) == [1,1,1,0,0]", "difficulty": "code"} {"input": "who has the most rbi's in one game", "answer": "Hack Wilson", "source": "nq", "difficulty": "simple"} {"input": "where is the cannon bone located on a horse", "answer": "Below the knee", "source": "nq", "difficulty": "simple"} {"input": "Santander international airport is in which country?", "answer": ["Islands of Spain", "España", "Reino de España", "Name of Spain", "Espagna", "Espańa", "Reino de Espana", "Espana", "Kingdom of the Spains", "The Spanish Society", "Espainia", "Mountains of Spain", "Regne d'Espanya", "The kingdom of Spain", "SPAIN", "Regne d'Espanha", "Espanya", "Espainiako Erresuma", "Etymology of Spain", "Spane", "ISO 3166-1:ES", "Spain", "Spanish Kingdom", "Kingdom of Spain", "El Reino de España", "El Reino de Espana"], "source": "triviaqa", "difficulty": "simple"} {"input": "Where was the place of death of the director of film The Vagabond Prince?", "answer": "Los Angeles", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Felix Walker's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Spartaco Schergat born?", "answer": "[\"Koper\", \"Capodistria\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what county is the birthplace of Frank L.Houx?", "answer": "Lafayette County", "source": "musique", "difficulty": "multi_hop"} {"input": "Who led the development of the first microprocessor for the manufacturer of I/O Controller Hub?", "answer": "Federico Faggin", "source": "musique", "difficulty": "multi_hop"} {"input": "how long do mocking birds stay in the nest", "answer": "within 11 to 13 days", "source": "nq", "difficulty": "simple"} {"input": "the depth of the wave base is approximately", "answer": "half the wavelength", "source": "nq", "difficulty": "simple"} {"input": "who plays male lead in far from the madding crowd", "answer": "Carey Mulligan", "source": "nq", "difficulty": "simple"} {"input": "ice sheets and tundra are typical of which koppen climate category", "answer": "polar", "source": "nq", "difficulty": "simple"} {"input": "What is Affonso Beato's occupation?", "answer": "[\"cinematographer\", \"director of photography\", \"DOP\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did the capital of Virginia move from John Nicholas's birth city to the city bordering East Highland Park's county?", "answer": "1779", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Eduardo Gudiño Kieffer born?", "answer": "[\"Esperanza\", \"Esperanza, Santa Fe\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Dawson Turner born?", "answer": "[\"Great Yarmouth\", \"Yarmouth\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to find the minimum number of platforms required for a railway/bus station.", "answer": "def find_platform(arr, dep, n): \r\n arr.sort() \r\n dep.sort() \r\n plat_needed = 1\r\n result = 1\r\n i = 1\r\n j = 0\r\n while (i < n and j < n): \r\n if (arr[i] <= dep[j]): \r\n plat_needed+= 1\r\n i+= 1\r\n elif (arr[i] > dep[j]): \r\n plat_needed-= 1\r\n j+= 1\r\n if (plat_needed > result): \r\n result = plat_needed \r\n return result", "source": "mbpp", "task_id": "846", "test_cases": "assert find_platform([900, 940, 950, 1100, 1500, 1800],[910, 1200, 1120, 1130, 1900, 2000],6)==3\nassert find_platform([100,200,300,400],[700,800,900,1000],4)==4\nassert find_platform([5,6,7,8],[4,3,2,1],4)==1", "difficulty": "code"} {"input": "In what city was Stone born?", "answer": "[\"Paris\", \"City of Light\", \"Paris, France\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which country hosts the Belmont and Preakness Stakes?", "answer": ["The United States of America", "United States Of Amerca", "Us of a", "U.–S.–A.", "Americaland", "United States (U.S.A.)", "Amurika", "Unite states of america", "United States of America (redirect)", "The U S A", "Unietd States", "EE UU", "The U.S.A.", "U.-S.-A.", "Usa", "United Staets of America", "Unites States", "États-Unis d'Amérique", "Verenigde State", "U.–S.", "The United States of America.", "The U-S-A", "EEUU", "U. S. A.", "Nagkaisang mga Estado", "The U. S. of America", "The USA", "America (United States)", "The U. S. A.", "U S of America", "UNITED STATES", "Estados Unidos", "The U–S", "American United States", "US and A", "Unitd states", "The US of A", "EE.UU.", "U-S", "The U-S", "Etymology of the United States", "U.S.A.)", "EE. UU.", "United states of america", "US of america", "Verenigde State van Amerika", "Nited States", "United-States", "Unite States", "Estados Unidos de América", "UnitedStates", "Estaos Unios", "US of America", "The Usa", "United states of America", "Untied States of America", "The U S of America", "THE AMERICAN UNITED STATES", "The United-States", "U S A", "AmericA", "Estados Unidos de America", "United states", "The U.S. of America", "Amerka", "United–States", "U.s.a.", "United States of America", "United State of America", "United States (US)", "The U.S. of A", "America", "Amercia", "Stati Uniti d'America", "Los Estados Unidos de America", "United Stated", "U.S.", "United States (of America)", "United States", "States of America", "America-class", "Los Estados Unidos", "U,S,", "United States (country)", "Federal United States", "ISO 3166-1:US", "Untied States", "The U.–S.–A.", "VS America", "Amurica", "Etats-Unis d'Amerique", "US", "U.S. OF A", "USofA", "Etats-Unis", "U.S. of A", "United States of America (U.S.A.)", "Amarica", "The United States", "U-S-A", "United States/Introduction", "The Us", "Unitesd states", "The U S of A", "America class", "America magazine", "الولايات المتحدة الأمريكية", "The U. S. of A", "U S", "(USA)", "The United–States", "United States (U.S.)", "U.-S.", "United States of America (USA)", "'merica", "The US", "United States of America.", "UNited States", "The U.S.", "AMERICA", "United States of America/OldPage", "United+States", "The U S", "United Sates", "THE UNITED STATES OF AMERICA", "U–S–A", "United States Of America", "U.S. of America", "U–S", "Los Estados Unidos de América", "The U.-S.", "United sates", "The United States Of America", "America (country)", "United States of American", "United state of america", "The U.–S.", "Amurka", "U. S. of A", "The U. S.", "United States America", "US of A", "États-Unis", "USoA", "USA", "Estaos Uníos", "America, United States of", "U. S. of America", "U.S.American", "(US)", "The U–S–A", "U. S.", "U.S. America", "U.S. A", "Yankee land", "America (US)", "U.S", "America (United States of)", "US (country)", "UNITED STATES OF AMERICA", "U.S.A", "Estados unidos", "Americia", "The US of america", "Vereinigte Staaten", "US America", "These United States of America", "VS Amerika", "Name of the United States", "The united states of america", "Estatos Unitos", "America (USA)", "The U.-S.-A.", "United States of America/Introduction", "The US of America", "Americophile", "V.S. America", "U.S.A.", "U S of A", "V.S. Amerika", "United+States+of+America", "The Unites States of America"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the date of birth of Mina Gerhardsen's father?", "answer": "13 June 1946", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "what is the longest race track in the world", "answer": "Self-Transcendence 3100 mile", "source": "nq", "difficulty": "simple"} {"input": "Marpessa Hennink modeled fashions created by which two Dolce & Gabbana founders and designers?", "answer": "Domenico Dolce and Stefano Gabbana.", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When was the director of film Way For A Sailor born?", "answer": "July 10, 1883", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where is the continental limit of the continent containing Skelton Inlet?", "answer": "60th parallel south", "source": "musique", "difficulty": "multi_hop"} {"input": "Who was Israeli Prime Minister from 1969 to 1974?", "answer": ["Golda Meir", "Golda Meyerson", "גּוֹלְדָּה מֵאִיר", "Golda Mabovitz", "Goldie Mabovitch", "Golda Myerson (Meir)", "Голда Мабович", "Golda Mabovitch"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who bought CBS in 1929 and remained on the board until 1983?", "answer": ["William S. Paley", "Bill Paley", "Paley, William S."], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Gerard Reve born?", "answer": "[\"Amsterdam\", \"Mokum\", \"Amsterdam, NL\", \"Amsterdam, Netherlands\", \"A'dam\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who was born first, Eupremio Carruezzo or Bruno Millienne?", "answer": "Bruno Millienne", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What band originally from Tucson, Arizona and currently from Albany, New York released their first album in 2000?", "answer": "Hector on Stilts", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which film came out earlier, Voter (Film) or Flowers From Nice?", "answer": "Flowers From Nice", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the date of birth of the director of film Wandering Fires?", "answer": "November 28, 1919", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what state is there a Roman Catholic Diocese in the town where the Harnden Tavern is also found?", "answer": "Delaware", "source": "musique", "difficulty": "multi_hop"} {"input": "\"Before it was made famous by Pigmeat of Rowan and Martin's Laugh In fame, who first said, \"\"Here comes the judge\"\"?\"", "answer": ["Sammy Davis, Jr.", "Sammy Davis, Jr", "Sammy Davis Jr.", "Sammy Davis jr.", "Sammy, Jr. Davis", "Sammy davis jnr", "Sammy Davis Jr", "Sammy Davis junior", "Silent Sam, The Dancing Midget", "Sammy Davis Junior", "Sammy davis junior", "Mr. Entertainment", "Arthur Silber Jr."], "source": "triviaqa", "difficulty": "simple"} {"input": "what is the newest version of cards against humanity", "answer": "Cards Against Humanity For Her", "source": "nq", "difficulty": "simple"} {"input": "Write a function that gives profit amount if the given amount has profit else return none.", "answer": "def profit_amount(actual_cost,sale_amount): \r\n if(actual_cost > sale_amount):\r\n amount = actual_cost - sale_amount\r\n return amount\r\n else:\r\n return None", "source": "mbpp", "task_id": "954", "test_cases": "assert profit_amount(1500,1200)==300\nassert profit_amount(100,200)==None\nassert profit_amount(2000,5000)==None", "difficulty": "code"} {"input": "what kind of telescope is the chandra observatory", "answer": "X-ray telescopes", "source": "nq", "difficulty": "simple"} {"input": "Who is the President of the country of citizenship of Mohammed Dabo Lere?", "answer": "Goodluck Jonathan", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Otto Frankel's occupation?", "answer": "[\"geneticist\"]", "source": "popqa", "difficulty": "simple"} {"input": "meiosis ii does not take place in the oocyte until", "answer": "fertilization", "source": "nq", "difficulty": "simple"} {"input": "Which film has the director born later, The King Of Marvin Gardens or The Wedding Of Lilli Marlene?", "answer": "The King Of Marvin Gardens", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are Cvo Skool Pretoria and Toronto Japanese School located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which film has the director who was born earlier, The Man Who Won or Nýtt Líf?", "answer": "The Man Who Won", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What college did the author of The Soul of Man under Socialism attend?", "answer": "Trinity College", "source": "musique", "difficulty": "multi_hop"} {"input": "Who was the director of the film which had \"Held\" on its soundtrack?", "answer": "Stephen Frears", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are Arcata–Eureka Airport and Lake Charles Regional Airport both located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When is the director of film Pension Mimosas 's birthday?", "answer": "21 July 1885", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Brigitte Bardot's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\", \"model\", \"fashion model\", \"sitter\", \"poser\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Izhar Elias born?", "answer": "[\"Amsterdam\", \"Mokum\", \"Amsterdam, NL\", \"Amsterdam, Netherlands\", \"A'dam\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who is an American musician, Peter Chelsom or Billy Bob Thornton?", "answer": "\"Billy Bob\" Thornton", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which organ of the Freedom from Fear author's employer has suspended operations since 1994?", "answer": "United Nations Trusteeship Council", "source": "musique", "difficulty": "multi_hop"} {"input": "Where was the place of death of the director of film Six-Gun Gold?", "answer": "Los Angeles", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where is the globe that succeeded the Globe of Peace as the world's largest rotating globe located?", "answer": "Yarmouth, Maine", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who had a 70s No 1 hit with Let Your Love Flow?", "answer": ["Howard Bellamy", "Bellamy Brothers", "The Bellamy Brothers", "David M. Bellamy", "David Bellamy (singer)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Where does the capitol of the state where Wellesley College is located in Mona Lisa Smile rank nationally in terms of public transportation use?", "answer": "fifth-highest", "source": "musique", "difficulty": "multi_hop"} {"input": "When did the iPhone 6 come out from the developer of the application bundle?", "answer": "September 19, 2014", "source": "musique", "difficulty": "multi_hop"} {"input": "What are the international registration letters of a vehicle from The Bahamas?", "answer": ["B S", "BS (disambiguation)", "B.s", "Bs", "B.s.", "B.S", "BS"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which singer formed his own Berlee record label?", "answer": ["Berlee Records", "Berlee records", "Del Shannon", "Del shannon"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what century did the person San Nicolò dei Mendicoli is named after become the influence for red being worn by Santa Claus?", "answer": "4th", "source": "musique", "difficulty": "multi_hop"} {"input": "what city is the running of the bulls", "answer": ["in some cities in Mexico", "southern France", "Pamplona"], "source": "nq", "difficulty": "simple"} {"input": "In what city was Charles Hammock born?", "answer": "[\"Philadelphia\", \"Philly\", \"City of Brotherly Love\", \"Cradle of Liberty\", \"Philadelphia, Pennsylvania\", \"City of Philadelphia\", \"Philadelphia, PA\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are David Gordon Green and Larry Hagman both actors?", "answer": "no", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was William Anderson born?", "answer": "[\"Scotland\", \"Alba\", \"Scotland, United Kingdom\", \"SCT\", \"Caledonia\", \"Scot\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Alma Karlin born?", "answer": "[\"Celje\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Judith Rakers's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\", \"television presenter\", \"host\", \"hostess\", \"TV host\", \"television host\", \"TV presenter\", \"TV anchor\", \"television anchor\"]", "source": "popqa", "difficulty": "simple"} {"input": "Detroit born Diana Earle became famous under which name?", "answer": ["Diana Ernestine Earle Ross", "Diana Ross", "Diana Ross (singer)", "Diana Ross (musician)", "Dianna Ross", "Diane Ross"], "source": "triviaqa", "difficulty": "simple"} {"input": "To ten thousand square miles, what is the area of Idaho?", "answer": ["82751 area", "82,751 square miles", "eighty-two thousand, seven hundred and fifty-one area"], "source": "triviaqa", "difficulty": "simple"} {"input": "When was the city where Eve Beglarian was born founded?", "answer": "1824", "source": "musique", "difficulty": "multi_hop"} {"input": "What television series did the actor that Penny Layden performed with in The Libertine star in and subsequently became a teen idol?", "answer": "21 Jump Street", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which film has the director born earlier, Aapo (Film) or The White God?", "answer": "The White God", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the date of birth of the composer of song Montana (Frank Zappa Song)?", "answer": "December 21, 1940", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are Griff The Invisible and Winter Sleep (Film) both from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What county is Curtis Bledsoe's birthplace the capital of?", "answer": "Ector County", "source": "musique", "difficulty": "multi_hop"} {"input": "What Franklin county town did Bruce Bryant represent?", "answer": "Jay", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who is the spouse of the President of the Russian Republic at the time when the place where an experimental 6kV DC railway was built disintegrated?", "answer": "Raisa Maximovna Gorbacheva", "source": "musique", "difficulty": "multi_hop"} {"input": "What was the year founded of the football team that Aaron Galindo is currently a part of?", "answer": "1928", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which American wrote The Game of Chess in 1959?", "answer": ["Bobby Fischer (Chess career)", "Fisher's endgame", "Bob Fischer", "Bobby Fischer", "Bobby Fischer (chess career)", "Robert James Fischer", "Bobby Fischer (biography)", "Bobbie fischer", "Regina Wender", "Bobby fischer", "Robert J Fischer", "Bobby Ficsher", "Bobbie Fisher", "Fischer's endgame", "Bobby Fisher", "Robert J. Fischer"], "source": "triviaqa", "difficulty": "simple"} {"input": "when do you have a scrum in rugby union", "answer": "after a minor infringement", "source": "nq", "difficulty": "simple"} {"input": "who plays professor proton on big bang theory", "answer": "Bob Newhart", "source": "nq", "difficulty": "simple"} {"input": "Are Shayla Beesley and Sergei Klevtsov both from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who was born later, Percy Sayegh or Norman Ault?", "answer": "Percy Sayegh", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a python function to find minimum possible value for the given periodic function.", "answer": "def floor_Min(A,B,N):\r\n x = max(B - 1,N)\r\n return (A*x) // B", "source": "mbpp", "task_id": "609", "test_cases": "assert floor_Min(10,20,30) == 15\nassert floor_Min(1,2,1) == 0\nassert floor_Min(11,10,9) == 9", "difficulty": "code"} {"input": "What position was held by the president who made his stance on affirmative action clear in 1995?", "answer": "Arkansas Attorney General", "source": "musique", "difficulty": "multi_hop"} {"input": "Which American led a team to put 10 people on the summit of Everest in 1990?", "answer": ["James Whittaker", "James Whittaker (religious leader)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Don Barry Mason was the founder of the Psychedelic Shamanistic Institute (PSI), which other member that's Welsh, that died on 10 April 2016?", "answer": "Dennis Howard Marks", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a python function to check whether all the bits are within a given range or not.", "answer": "def all_Bits_Set_In_The_Given_Range(n,l,r): \r\n num = ((1 << r) - 1) ^ ((1 << (l - 1)) - 1) \r\n new_num = n & num \r\n if (num == new_num): \r\n return True\r\n return False", "source": "mbpp", "task_id": "884", "test_cases": "assert all_Bits_Set_In_The_Given_Range(10,2,1) == True \nassert all_Bits_Set_In_The_Given_Range(5,2,4) == False\nassert all_Bits_Set_In_The_Given_Range(22,2,3) == True ", "difficulty": "code"} {"input": "What is the death city of the leader of the largest country in Europe by square miles after collapse of the socialist state deploying its army into Afghanistan in 1979?", "answer": "Moscow", "source": "musique", "difficulty": "multi_hop"} {"input": "who played our girl in the first series", "answer": "Lacey Turner", "source": "nq", "difficulty": "simple"} {"input": "Who founded the Organization of Afro American Unity?", "answer": ["Muhammad Abdul Aziz", "Malcolm ex", "Hajj Malik El Shabazz", "Detroit Red", "Norman 3X Butler", "El-Hajj Malik Shabazz", "Al-Hajj Malik El-Shabazz", "Malcom x", "Malik al-Shabazz", "Attillah Shabazz", "El-Hajj Malik El-Shabazz", "Malcolm Little", "Malcom X", "El Hajj Malik El-Shabazz", "Malcomx", "Malik Shabbaz", "El-Hajj Malik", "Malcolm x", "Malik El-Shabazz", "Malcolm the Tenth", "El-Hajj Malik el-Shabazz", "Thomas 15X Johnson", "Atallah Shabazz", "Malcolm X Shabazz", "Khalil Islam", "Malcom X Little", "Omowale", "Malcolm X", "El Hajj Malik El Shabazz", "Malik Shabazz", "M Alcolm X", "Al Hajj Malik al-Shabazz", "Malcolm-x", "Malcolmx", "الحاجّ مالك الشباز"], "source": "triviaqa", "difficulty": "simple"} {"input": "When did the director of film Oorige Upakari die?", "answer": "December 14, 2011", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a python function to check whether the given number can be represented by sum of two squares or not.", "answer": "def sum_Square(n) : \r\n i = 1 \r\n while i*i <= n : \r\n j = 1\r\n while (j*j <= n) : \r\n if (i*i+j*j == n) : \r\n return True\r\n j = j+1\r\n i = i+1 \r\n return False", "source": "mbpp", "task_id": "683", "test_cases": "assert sum_Square(25) == True\nassert sum_Square(24) == False\nassert sum_Square(17) == True", "difficulty": "code"} {"input": "When was the director of film In High Places (1943 Film) born?", "answer": "17 November 1906", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to find the largest possible value of k such that k modulo x is y.", "answer": "import sys \r\ndef find_max_val(n, x, y): \r\n\tans = -sys.maxsize \r\n\tfor k in range(n + 1): \r\n\t\tif (k % x == y): \r\n\t\t\tans = max(ans, k) \r\n\treturn (ans if (ans >= 0 and\r\n\t\t\t\t\tans <= n) else -1)", "source": "mbpp", "task_id": "663", "test_cases": "assert find_max_val(15, 10, 5) == 15\nassert find_max_val(187, 10, 5) == 185\nassert find_max_val(16, 11, 1) == 12", "difficulty": "code"} {"input": "who is required to file suspicious activity reports", "answer": "financial institution", "source": "nq", "difficulty": "simple"} {"input": "In what city was Tjokorda Ngurah Wim Sukawati born?", "answer": "[\"Ubud\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who is the only woman whose age is mentioned in the Bible?", "answer": ["Sarah", "Matriarch Sarah", "سارة", "Sarah (Bible)", "Soroh", "Islamic view of Sarah", "Śārāh", "Sarah in rabbinic literature", "Sarah in Islam"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a python function to find the cube sum of first n odd natural numbers.", "answer": "def cube_Sum(n): \r\n sum = 0 \r\n for i in range(0,n) : \r\n sum += (2*i+1)*(2*i+1)*(2*i+1) \r\n return sum", "source": "mbpp", "task_id": "837", "test_cases": "assert cube_Sum(2) == 28\nassert cube_Sum(3) == 153\nassert cube_Sum(4) == 496", "difficulty": "code"} {"input": "the type of decent that explains why all species are linked in a single tree of life", "answer": "phylogenetic", "source": "nq", "difficulty": "simple"} {"input": "What is the nationality of the singer-songwriter who wrote the poetry collection Early Work ?", "answer": "American", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "where does she's the man take place", "answer": "Cornwall College", "source": "nq", "difficulty": "simple"} {"input": "Which award did the star of The Nativity Story win at the 2004 Broadcast Film Critics Association Awards?", "answer": "Best Young Actor/Actress", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are director of film Desde Que Amanece Apetece and director of film The Last Survivors from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "where is walnut grove on little house on the prairie", "answer": "Minnesota", "source": "nq", "difficulty": "simple"} {"input": "Write a function to check if the given integer is a prime number.", "answer": "def prime_num(num):\r\n if num >=1:\r\n for i in range(2, num//2):\r\n if (num % i) == 0:\r\n return False\r\n else:\r\n return True\r\n else:\r\n return False", "source": "mbpp", "task_id": "605", "test_cases": "assert prime_num(13)==True\nassert prime_num(7)==True\nassert prime_num(-1010)==False", "difficulty": "code"} {"input": "Write a function to remove duplicates from a list of lists.", "answer": "import itertools\r\ndef remove_duplicate(list1):\r\n list.sort(list1)\r\n remove_duplicate = list(list1 for list1,_ in itertools.groupby(list1))\r\n return remove_duplicate", "source": "mbpp", "task_id": "712", "test_cases": "assert remove_duplicate([[10, 20], [40], [30, 56, 25], [10, 20], [33], [40]])==[[10, 20], [30, 56, 25], [33], [40]] \nassert remove_duplicate([\"a\", \"b\", \"a\", \"c\", \"c\"] )==[\"a\", \"b\", \"c\"]\nassert remove_duplicate([1, 3, 5, 6, 3, 5, 6, 1] )==[1, 3, 5, 6]", "difficulty": "code"} {"input": "What is Rinaldo del Mel's occupation?", "answer": "[\"composer\"]", "source": "popqa", "difficulty": "simple"} {"input": "who organized known elements by placing them into groups of three called triads", "answer": "Johann Wolfgang Dobereiner", "source": "nq", "difficulty": "simple"} {"input": "Who played Drew Barrymore's stepmother in Ever After?", "answer": ["Anjelica Huston", "Anjelica Houston", "Huston, Anjelica", "Angelica Huston", "Angelica Houston", "Angellica Huston"], "source": "triviaqa", "difficulty": "simple"} {"input": "What shifted attention away from the coverage regarding the controversy of required service of the official who blocked UNFPA funding?", "answer": "a segment on 60 Minutes", "source": "musique", "difficulty": "multi_hop"} {"input": "When did Chopin's family move to the city where Stefan Bryla died?", "answer": "October 1810", "source": "musique", "difficulty": "multi_hop"} {"input": "What incorrect term for the indigenous population originated with the first explorer to discover new land west of the continent Champagne-Ardenne is located and Africa?", "answer": "Indian", "source": "musique", "difficulty": "multi_hop"} {"input": "The pop singer in the lead role in \"Tere Bin Laden\" received how many Lux Style Awards?", "answer": "five", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which country the director of film Bhale Dampathulu is from?", "answer": "Indian", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who became chair of Joint Chiefs of Staff in 1989?", "answer": ["Colon Powell", "Collin Powell", "Secretary powell", "Coat of Arms of Colin Powell", "Colin L. Powell", "General Colin Powell", "Colin L Powell", "General Powell", "Balloonfoot", "Colin Luther Powell", "Colin Powel", "EMILY J. MILLER", "Colin Powell", "Colonel Powell"], "source": "triviaqa", "difficulty": "simple"} {"input": "mlb how many times do teams play each other", "answer": "three or four", "source": "nq", "difficulty": "simple"} {"input": "What dam is contained in the county which shares a border with the county that Newville is located?", "answer": "Belle Fourche", "source": "musique", "difficulty": "multi_hop"} {"input": "Sarah FitzGerald has been a 90s world champion in which sport?", "answer": ["Squash (disambiguation)", "Squash", "Squashes"], "source": "triviaqa", "difficulty": "simple"} {"input": "John Martin & Co. is responsible for the pageant that has been known as what since 1996?", "answer": "Credit Union Christmas Pageant", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What actor in Holding the Fort is also known for being a television presenter for shows \"Game for a Laugh\", \"You Bet!\" and \"Stars in Their Eyes\"?", "answer": "Matthew Kelly", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are Plainfield North High School and Bridgeton High School both located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to find out, if the given number is abundant.", "answer": "def is_abundant(n):\r\n fctrsum = sum([fctr for fctr in range(1, n) if n % fctr == 0])\r\n return fctrsum > n", "source": "mbpp", "task_id": "955", "test_cases": "assert is_abundant(12)==True\nassert is_abundant(13)==False\nassert is_abundant(9)==False", "difficulty": "code"} {"input": "when does minimum wage go up in ab", "answer": "1 October 2016", "source": "nq", "difficulty": "simple"} {"input": "How much of the Alps covers the country of the performer of Je vais me marier, Marie?", "answer": "65%", "source": "musique", "difficulty": "multi_hop"} {"input": "who won the 2017 formula 1 spanish grand prix", "answer": "Lewis Hamilton", "source": "nq", "difficulty": "simple"} {"input": "who scored the most goals in one season in la liga", "answer": "Lionel Messi", "source": "nq", "difficulty": "simple"} {"input": "Who sang a solo at Prince Charles and Lady Di's wedding?", "answer": ["Dame Kiri Janette Te Kanawa", "Kiri te Kanawa", "Kiri Ti Kanawa", "Kiri Te Kanawa", "Kiri Janette Te Kanawa", "Dame Kiri Te Kanawa", "Dame Kiri", "Dame Kiri te Kanawa"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who formed and first came to the former colony, now a state, where Lincoln Plumer was born?", "answer": "the English", "source": "musique", "difficulty": "multi_hop"} {"input": "which nation was not part of the united nations allied military force in korea", "answer": "North Korea", "source": "nq", "difficulty": "simple"} {"input": "Write a python function to find lcm of two positive integers.", "answer": "def lcm(x, y):\r\n if x > y:\r\n z = x\r\n else:\r\n z = y\r\n while(True):\r\n if((z % x == 0) and (z % y == 0)):\r\n lcm = z\r\n break\r\n z += 1\r\n return lcm", "source": "mbpp", "task_id": "876", "test_cases": "assert lcm(4,6) == 12\nassert lcm(15,17) == 255\nassert lcm(2,6) == 6", "difficulty": "code"} {"input": "what does it mean when you hear high pitched noises", "answer": "Tinnitus", "source": "nq", "difficulty": "simple"} {"input": "who came up with the idea of daylight saving time", "answer": "George Hudson", "source": "nq", "difficulty": "simple"} {"input": "What is the award that the director of film Young Eagles (Film) won?", "answer": "Academy Award for Best Story", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "what is the salt content of the pacific ocean", "answer": "35", "source": "nq", "difficulty": "simple"} {"input": "In which branch of the arts is Patricia Neary famous?", "answer": ["Ballet", "Ballet competitions", "Ballet schools", "Balet, India", "Balletti", "Ballet dancing", "1938 ballet premieres", "Balletto", "Balletomane", "2011 ballet premieres", "1940 ballet premieres", "Balletomanes", "1939 ballet premieres", "Ballet characters", "Ballet teachers", "Ballet dance", "Classical Dance", "Ballets", "Ballet lessons", "1915 ballet premieres", "1914 ballet premieres", "Classical dance", "UN/LOCODE:INBLT", "1916 ballet premieres", "Balet", "Ballett"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who is the song We Belong Together, written by the person who wrote the lyrics for Almost Home, about?", "answer": "Tommy Mottola", "source": "musique", "difficulty": "multi_hop"} {"input": "What's the name of the hockey club from Joseph Gelfer's birthplace?", "answer": "Southampton Hockey Club", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the place of birth of Alexander Stockton Cussons's father?", "answer": "Holbeck", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Ya'akov Ahimeir's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\"]", "source": "popqa", "difficulty": "simple"} {"input": "what episode of the flash is crisis on earth x", "answer": "Season 4, Episode 8", "source": "nq", "difficulty": "simple"} {"input": "What is Teddy Riley's occupation?", "answer": "[\"record producer\", \"music producer\", \"singer-songwriter\", \"singer songwriter\", \"singer/songwriter\", \"singersongwriter\", \"singer-songwriter\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who is the paternal grandfather of Bjaðmunjo Mýrjartaksdóttir?", "answer": "Toirdelbach Ua Briain", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which country does the airline Gulf Air come from?", "answer": ["Asia/Bahrain", "مملكة البحرين", "Bahrein", "Bahrayn", "Dawlat al-Bahrain", "Bahrein Islands", "Etymology of Bahrain", "Bahrain", "Bahrain islands", "Bahraih", "البحرين", "Languages of Bahrain", "Emirate of Bahrain", "ISO 3166-1:BH", "Bahrain Islands", "Mamlakat al-Baḥrayn", "Bahrain's", "Bahrain/Geography", "Al-Baḥrayn", "Barhain", "Kingdom of Bahrain", "1923 Sitrah Outrage", "Al-Bahrayn"], "source": "triviaqa", "difficulty": "simple"} {"input": "Summit1g started streaming the battle royale game published by which company?", "answer": "PUBG Corp.", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are Zamanabad, Chaharmahal And Bakhtiari and Ashkuh both located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When was the performer of song Pareho Tayo born?", "answer": "October 18, 1977", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who's the Hungarian-born US film director renowned for adapting Stephen King novellas to the screen, including The Mist and The Green Mile?", "answer": "Frank Darabont", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "The axial turbojet Pirna 014 was designed by engineers from this German aircraft and aircraft engine manufacturer based in which city?", "answer": "Dessau", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Louis Lloyd Winter born?", "answer": "[\"Canada\", \"Dominion of Canada\", \"British North America\", \"CAN\", \"CA\", \"ca\", \"can\", \"Can.\"]", "source": "popqa", "difficulty": "simple"} {"input": "Where was the director of film Gaon Hamara Shaher Tumhara born?", "answer": "Lahore", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Gladwyn Jebb's occupation?", "answer": "[\"diplomat\", \"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who is the mother of the director of Kundun?", "answer": "Catherine Scorsese", "source": "musique", "difficulty": "multi_hop"} {"input": "How many people whose name new students were once called by others live in the place discovered by the country home to Diogo Rodrigues?", "answer": "196,000-600,000", "source": "musique", "difficulty": "multi_hop"} {"input": "Are Slovenly (Band) and Underground Zerø both from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Paweł Blehm born?", "answer": "[\"Olkusz\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who was the head coach of the Duke Blue Devils football team when they played at Wallace Wade Stadium and has won multiple college football coach of the year awards?", "answer": "David Cutcliffe", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When was free education introduced in the Bogawantalawa town's country?", "answer": "1 October 1945", "source": "musique", "difficulty": "multi_hop"} {"input": "When was the American rapper from Atlanta, Georgia born who's song is \"Sneakin'\"?", "answer": "October 22, 1992", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are Hoseynabad, Khonj and Atal, Astrakhan Oblast both located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the highest elevation in the country Fualopa is located in?", "answer": "4.6 metres", "source": "musique", "difficulty": "multi_hop"} {"input": "Alvarezsauroidea was named after a physicist who won the Nobel Prize in Physics in what year?", "answer": "1968", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who writes poetry such as Glaring Through Oblivion as well as leading the heavy metal band System Of A Down?", "answer": "Serj Tankian", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Władysław Sławny's occupation?", "answer": "[\"photographer\", \"photog\", \"photographers\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Ai's occupation?", "answer": "[\"poet\", \"poetess\", \"bard\"]", "source": "popqa", "difficulty": "simple"} {"input": "How many years did Robinson Crusoe spend shipwrecked on his island?", "answer": ["24", "twenty-four"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Ali Hillis's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which decade does Michael J Fox go back to in Back to the Future?", "answer": ["The Fifties", "1950s", "1950-1959", "50's", "1950’s", "50s", "1950–1959", "Nineteen-fifties", "1950s (decade)", "1950ies", "1950's", "'50s", "195%3F", "Fifties"], "source": "triviaqa", "difficulty": "simple"} {"input": "how many judges sit on the us court of appeals", "answer": "179", "source": "nq", "difficulty": "simple"} {"input": "what is the name of the square in venice italy", "answer": "Piazza San Marco", "source": "nq", "difficulty": "simple"} {"input": "Which film was released earlier, Pułkownik Kwiatkowski or Tuesday (Film)?", "answer": "Pułkownik Kwiatkowski", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "\"Which song starts, \"\"On a dark desert highway?\"\"\"", "answer": ["On a dark desert highway", "Welcome to the Hotel California", "Hotel California (song)", "Hotel California", "The Hotel California"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Toni Jennings's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to find the maximum number of segments of lengths a, b and c that can be formed from n.", "answer": "def maximum_segments(n, a, b, c) : \r\n\tdp = [-1] * (n + 10) \r\n\tdp[0] = 0\r\n\tfor i in range(0, n) : \r\n\t\tif (dp[i] != -1) : \r\n\t\t\tif(i + a <= n ): \r\n\t\t\t\tdp[i + a] = max(dp[i] + 1, \r\n\t\t\t\t\t\t\tdp[i + a]) \r\n\t\t\tif(i + b <= n ): \r\n\t\t\t\tdp[i + b] = max(dp[i] + 1, \r\n\t\t\t\t\t\t\tdp[i + b]) \r\n\t\t\tif(i + c <= n ): \r\n\t\t\t\tdp[i + c] = max(dp[i] + 1, \r\n\t\t\t\t\t\t\tdp[i + c]) \r\n\treturn dp[n]", "source": "mbpp", "task_id": "971", "test_cases": "assert maximum_segments(7, 5, 2, 5) == 2\nassert maximum_segments(17, 2, 1, 3) == 17\nassert maximum_segments(18, 16, 3, 6) == 6", "difficulty": "code"} {"input": "Write a function to find the length of the shortest string that has both str1 and str2 as subsequences.", "answer": "def super_seq(X, Y, m, n):\r\n\tif (not m):\r\n\t\treturn n\r\n\tif (not n):\r\n\t\treturn m\r\n\tif (X[m - 1] == Y[n - 1]):\r\n\t\treturn 1 + super_seq(X, Y, m - 1, n - 1)\r\n\treturn 1 + min(super_seq(X, Y, m - 1, n),\tsuper_seq(X, Y, m, n - 1))", "source": "mbpp", "task_id": "923", "test_cases": "assert super_seq(\"AGGTAB\", \"GXTXAYB\", 6, 7) == 9\nassert super_seq(\"feek\", \"eke\", 4, 3) == 5\nassert super_seq(\"PARRT\", \"RTA\", 5, 3) == 6", "difficulty": "code"} {"input": "A Common Man is a 2013 American-Sri Lankan thriller film starring Ben Kingsley, an English actor with a career spanning more than how many years?", "answer": "40 years", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "The Stage\" is a song by Avenged Sevenfold and the first single from their seventh studio album of the same name, which was released on which date?", "answer": "October 28, 2016", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a python function to set the right most unset bit.", "answer": "import math \r\ndef get_Pos_Of_Right_most_Set_Bit(n): \r\n return int(math.log2(n&-n)+1) \r\ndef set_Right_most_Unset_Bit(n): \r\n if (n == 0): \r\n return 1\r\n if ((n & (n + 1)) == 0): \r\n return n \r\n pos = get_Pos_Of_Right_most_Set_Bit(~n) \r\n return ((1 << (pos - 1)) | n)", "source": "mbpp", "task_id": "671", "test_cases": "assert set_Right_most_Unset_Bit(21) == 23\nassert set_Right_most_Unset_Bit(11) == 15\nassert set_Right_most_Unset_Bit(15) == 15", "difficulty": "code"} {"input": "What is Gaziza Zhubanova's occupation?", "answer": "[\"composer\"]", "source": "popqa", "difficulty": "simple"} {"input": "The actor that uses the stage name \"Li Ming\" starred with Donnie Yen in a 2005 Hong Kong film directed by who?", "answer": "Tsui Hark", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In which municipality in the country where Blomidon formation can be found is Kinsac located?", "answer": "Halifax Regional Municipality", "source": "musique", "difficulty": "multi_hop"} {"input": "Are both mountains, Black Rock (West Virginia) and Grassy Mountain (Wayne County, Missouri), located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the date of death of the director of film Akalangalil?", "answer": "17 July 2014", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When is Geneviève Élisabeth Disdéri's husband's birthday?", "answer": "28 March 1819", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which county is the place where Bonnie Hollingsworth died the seat of?", "answer": "Knox County", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Brent Maddock born?", "answer": "[\"United States of America\", \"the United States of America\", \"America\", \"U.S.A.\", \"USA\", \"U.S.\", \"US\", \"the US\", \"the USA\", \"US of A\", \"the United States\", \"U. S. A.\", \"U. S.\", \"the States\", \"the U.S.\", \"'Merica\", \"U.S\", \"United States\", \"'Murica\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the date of birth of the director of film The Private Life Of A Modern Woman?", "answer": "November 23, 1944", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "which is the state flower of himachal pradesh", "answer": "Pink rhododendron", "source": "nq", "difficulty": "simple"} {"input": "What is Robert Lewis's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did the director of film Scrooge (1935 Film) die?", "answer": "2 November 1952", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when did doritos spicy sweet chili come out", "answer": "March 2008", "source": "nq", "difficulty": "simple"} {"input": "Write a function to count number of unique lists within a list.", "answer": "def unique_sublists(list1):\r\n result ={}\r\n for l in list1: \r\n result.setdefault(tuple(l), list()).append(1) \r\n for a, b in result.items(): \r\n result[a] = sum(b)\r\n return result", "source": "mbpp", "task_id": "758", "test_cases": "assert unique_sublists([[1, 3], [5, 7], [1, 3], [13, 15, 17], [5, 7], [9, 11]] )=={(1, 3): 2, (5, 7): 2, (13, 15, 17): 1, (9, 11): 1}\nassert unique_sublists([['green', 'orange'], ['black'], ['green', 'orange'], ['white']])=={('green', 'orange'): 2, ('black',): 1, ('white',): 1}\nassert unique_sublists([[10, 20, 30, 40], [60, 70, 50, 50], [90, 100, 200]])=={(10, 20, 30, 40): 1, (60, 70, 50, 50): 1, (90, 100, 200): 1}", "difficulty": "code"} {"input": "In which direction would you travel from JAKAZiD's birthplace to reach Southampton?", "answer": "north-west", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the date of birth of the director of film Private Parts (1997 Film)?", "answer": "July 27, 1948", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which city was the HQ of the European Space program?", "answer": ["Paříž", "FRPAR", "Paris", "Name of paris and its inhabitants", "Paname", "Paris France", "Ville Lumière", "Leucetia", "Rue de Ménilmontant", "Paris agglomeration", "France Paris", "Sports in Paris", "Departement de Paris", "Paris, Ile-De-France", "Rue de Menilmontant", "UN/LOCODE:FRPAR", "Paříži", "Ville Lumiere", "Paris, France", "Paris, Île-de-France", "Paris, Île-de-France, France", "Parijs", "Parisien", "Cuisine of Paris", "Suburbs of Paris", "Sport in Paris", "The weather in Paris", "Parisian (person)", "Parizi", "París", "Name of Paris and its inhabitants", "Paree", "Paris, Europe", "Paris, Banks of the Seine", "Paris (etymology)", "Paris (France)", "The City of Love (city)", "Département de Paris"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which actress links Dorothy in The Golden Girls and Maude Findlay in Maude?", "answer": ["Bernice Frankel", "Beatrice Arthur", "Bee Arthur", "Bea Arthur"], "source": "triviaqa", "difficulty": "simple"} {"input": "Kiawah Island, South Carolina was mentioned in \"Porgy and Bess,\" composed by the man best known for which other 1924 orchestral composition?", "answer": "Rhapsody in Blue", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who did the voice of slinky in toy story 3", "answer": "Blake Clark", "source": "nq", "difficulty": "simple"} {"input": "what was the point of the anaconda plan", "answer": "cut the South in two", "source": "nq", "difficulty": "simple"} {"input": "1. what is erikson’s stage for the early childhood age group", "answer": "2–4 years", "source": "nq", "difficulty": "simple"} {"input": "Which musical was Victor Fleming making the same time as he was making Gone With the Wind?", "answer": ["The Wizard of Oz (film)", "Wizard of oz", "Ozu No Mahoutsukai", "The wizard of oz", "Wizard of Oz (film)", "Wizard of Oz", "Ozu no Mahotsukai", "Ozu No Mahôtsukai", "The Wizard Of Oz", "Wizard Of Oz", "The Wizard of Oz (disambiguation)", "Ozu No Mahotsukai", "The Wizard of Oz", "Ozu no Mahoutsukai", "Ozu No Mahōtsukai", "Ozu no Mahôtsukai", "Wizard of Oz (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "When is Martha Bulloch Roosevelt's husband's birthday?", "answer": "September 22, 1831", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "new amsterdam was the main settlement in the dutch colony of", "answer": "New Netherland", "source": "nq", "difficulty": "simple"} {"input": "What is David Sharp's occupation?", "answer": "[\"physician\", \"physicians\", \"medical doctor\", \"medical practitioner\", \"doctor\", \"medical doctors\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which film has the director who is older than the other, Kiss The Blood Off My Hands or Screaming Mimi (Film)?", "answer": "Kiss The Blood Off My Hands", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What went with Blood and Sweat in the name of the 60s rock band?", "answer": ["Wept", "Lacrymation", "Bogorad’s Syndrome", "Lacrimal fluid", "Leamy eye", "Lachrymation", "Watery eyes", "Pre-corneal tear film", "Tears", "Tear Duct and Gland", "Lacrimation", "Teary", "Alacria", "Basal tears", "Bogorad's syndrome", "Epiphoria", "Bogorad's Syndrome", "Reflex ears", "Watering eyes", "Tear film"], "source": "triviaqa", "difficulty": "simple"} {"input": "how many turbos does a bugatti veyron ss have", "answer": "4", "source": "nq", "difficulty": "simple"} {"input": "Do both films, 4426 and El Extraño Caso Del Doctor Fausto, have the directors who are from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Tameem Al-Kubati born?", "answer": "[\"Sanaa\", \"Sanaa\", \"Sana\", \"Ṣan‘ā’\", \"Sana‘a\", \"Amanat Al-Asemah\", \"Amanat al-Asimah\", \"Amanat Al Asimah\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who was President when the state where Patty Waters was born became a state?", "answer": "President James K. Polk", "source": "musique", "difficulty": "multi_hop"} {"input": "which 5 carriers are part of the lufthansa group airlines", "answer": ["Lufthansa Cargo", "Swiss International Air Lines", "Austrian Airlines", "Eurowings Group", "Lufthansa Regional"], "source": "nq", "difficulty": "simple"} {"input": "What is Robert D. Cardona's occupation?", "answer": "[\"animator\", \"animation artist\", \"cartoonist\", \"graphic artist\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did the province where Charlottetown-Victoria Park is located become a province?", "answer": "1873", "source": "musique", "difficulty": "multi_hop"} {"input": "When was Princess Florestine Of Monaco's father born?", "answer": "10 October 1785", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where was the director of film As I Open My Eyes born?", "answer": "Tunis", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What nationality was a historical drama film directed by?", "answer": "Argentine", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who was the father of Aparajito's screenwriter?", "answer": "Sukumar Ray", "source": "musique", "difficulty": "multi_hop"} {"input": "Which album came out first, Louvação or Curtains (John Frusciante album)?", "answer": "Louvação", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is A. Lawrence Kocher's occupation?", "answer": "[\"architect\"]", "source": "popqa", "difficulty": "simple"} {"input": "who plays mavis in the movie hotel transylvania", "answer": ["Sadie Sandler", "Selena Gomez"], "source": "nq", "difficulty": "simple"} {"input": "There is a city that a prominent adult contemporary band from this period, along with the Eagles and the person who said the results were racist, was named after. How close is Wrigley Field to the source of drinking water for this city?", "answer": "less than a mile to the east", "source": "musique", "difficulty": "multi_hop"} {"input": "Who wrote the novel Cry, the Beloved Country about South Africa?", "answer": ["Alan Paton", "Alan paton", "Alan Stewart Paton"], "source": "triviaqa", "difficulty": "simple"} {"input": "In which US state was Tennessee Williams born?", "answer": ["The Hospitality State", "Mississippi", "State symbols of Mississippi", "U.S. state of Mississippi", "Misisippi", "Twentieth State", "Mississippi, United States", "Magnolia State", "Mississippi (U.S. state)", "Missisipi", "Mississipi", "Mississippi (State)", "Misisipi", "US-MS", "State of Mississippi", "Economy of Mississippi", "Demographics of Mississippi", "Missisippi", "Culture of Mississippi", "Religion in Mississippi", "Symbols of the State of Mississippi", "Geography of Mississippi", "Misssissippi", "Mississippi (state)", "Transportation in Mississippi", "Misissipi", "Transport in Mississippi", "20th State", "The Magnolia State", "Sports in Mississippi", "Misissippi", "Climate of Mississippi"], "source": "triviaqa", "difficulty": "simple"} {"input": "What city is the birthplace of the producer of When Taekwondo Strikes?", "answer": "Hong Kong", "source": "musique", "difficulty": "multi_hop"} {"input": "Which executive producer of Dream On is well known for films such as Trading Places?", "answer": ["John Landis", "John D. Landis", "When in Hollywood, Visit Universal Studios. Ask for Babs"], "source": "triviaqa", "difficulty": "simple"} {"input": "The 2003 Seattle Seahawks season was the team's 28th season with the National Football League, following the season, which Hall of Fame defensive tackle who played for the Minnesota Vikings, retired?", "answer": "John Anthony Randle", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "How many number 1 hits did the performers of Humans Being have?", "answer": "thirteen", "source": "musique", "difficulty": "multi_hop"} {"input": "What album did a Danish-born Montenegrin singer born in 1971 release in late spring 2008?", "answer": "Kosači", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are both villages, Beliševo and Datow Naseri, located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to check if the given tuple contains only k elements.", "answer": "def check_tuples(test_tuple, K):\r\n res = all(ele in K for ele in test_tuple)\r\n return (res)", "source": "mbpp", "task_id": "878", "test_cases": "assert check_tuples((3, 5, 6, 5, 3, 6),[3, 6, 5]) == True\nassert check_tuples((4, 5, 6, 4, 6, 5),[4, 5, 6]) == True\nassert check_tuples((9, 8, 7, 6, 8, 9),[9, 8, 1]) == False", "difficulty": "code"} {"input": "What record label does the songwriter of The sound of Silence belong to?", "answer": "Warner Bros.", "source": "musique", "difficulty": "multi_hop"} {"input": "who want to be a millionaire winners uk", "answer": ["Judith Cynthia Aline Keppel", "Pat Gibson", "Robert Kempe Brydges", "Ingram Wilcox", "David Edwards"], "source": "nq", "difficulty": "simple"} {"input": "What is Nathan Purdee's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "when did the us send troops to europe in ww1", "answer": "1917", "source": "nq", "difficulty": "simple"} {"input": "Which 1996 film has its climax on 4th of July?", "answer": ["Independence day", "Independence days", "عيد الاستقلال", "Independance day", "Independance Day", "The Independence Day", "Independence Day", "Timeline of national foundings", "List of independence days", "List of nations by Independence Day", "List of countries by Independence Day", "List of national independence days", "Independents Day"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which rivalry were involved in the chant referring to the United Kingdom's Victories of the First and Second World War?", "answer": "England and West Germany", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function to divide two lists using map and lambda function.", "answer": "def div_list(nums1,nums2):\r\n result = map(lambda x, y: x / y, nums1, nums2)\r\n return list(result)", "source": "mbpp", "task_id": "618", "test_cases": "assert div_list([4,5,6],[1, 2, 3])==[4.0,2.5,2.0]\nassert div_list([3,2],[1,4])==[3.0, 0.5]\nassert div_list([90,120],[50,70])==[1.8, 1.7142857142857142]", "difficulty": "code"} {"input": "what is the dog called in midsomer murders", "answer": "Sykes", "source": "nq", "difficulty": "simple"} {"input": "What is the only trade union on the country Funamanu is located?", "answer": "Tuvalu Overseas Seamen's Union", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the date of birth of Pat Fordice's husband?", "answer": "February 10, 1934", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who played Rick Deckard in Blade Runner?", "answer": ["Harrison Ford (actor)", "Harrison ford", "Harrison Ford", "Harison Ford", "Ford, Harrison"], "source": "triviaqa", "difficulty": "simple"} {"input": "when is the next episode of flash going to air", "answer": "October 10, 2017", "source": "nq", "difficulty": "simple"} {"input": "What year did the country where the founder of Redpath Sugar lived have a devastation volcanic eruption which killed at least 2,000 people?", "answer": "1775", "source": "musique", "difficulty": "multi_hop"} {"input": "On which former estate was the venue of Aloha from Hawaii Via Satellite located?", "answer": "Ward Estate", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which pop singer blamed his cocaine addiction of the break0-up of his relationship with Victoria principal?", "answer": "Andy Gibb", "source": "triviaqa", "difficulty": "simple"} {"input": "Which country does the airline Avensa come from?", "answer": ["ISO 3166-1:VE", "Venezula", "Venezuela, RB", "Republica de Venezuela", "Venuzeula", "The Bolivarian Republic Of Venezuela", "Venizuela", "Bolivarian Republic of Venezuela", "Venezuelan", "Venezuela", "Republica Bolivariana de Venezuela", "Venazeula", "Bolivaria", "Republic of Venezuela", "Venezuala", "Venecuela", "Venzuela", "VENEZULEA", "República Bolivariana de Venezuela", "Etymology of Venezuela", "Benezuela", "Venzauela", "VEN", "Venezeula", "Republica de venezuela", "Venezuela (Bolivarian Republic of)", "BRV", "Venezuela, Bolivarian Republic of", "Name of Venezuela", "V'zuela"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was C. N. Annadurai born?", "answer": "[\"Kanchipuram\", \"Kancheepuram\"]", "source": "popqa", "difficulty": "simple"} {"input": "Where were the 2002 Winter Olympic Games held?", "answer": ["Salt Lake, Utah", "Kilby Court", "Salt Lake City, Ut", "Salt Lake city", "Salt Lake City, UT, USA", "Salt Lake City, Utah", "Salt Lake City, USA", "SL, UT", "UN/LOCODE:USSLC", "Salt Lake City, UT", "Salt lake city", "Grid plan (Salt Lake City)", "Utah state capital", "Capital of Utah", "Salt Lake City , Utah", "Salt Lake Cit", "Salt Lake City, Utah, USA", "Salt Lake, UT", "Saltlake City", "J. E. Cosgriff Memorial Catholic School", "J.E. Cosgriff Memorial Catholic School", "Salt Lake City", "Great Salt Lake City", "Salt Lake City (UT)"], "source": "triviaqa", "difficulty": "simple"} {"input": "What county contains the city where Emil Marschalk von Ostheim was born?", "answer": "Bamberg County", "source": "musique", "difficulty": "multi_hop"} {"input": "who is the owner of berjaya times square", "answer": "Berjaya Group", "source": "nq", "difficulty": "simple"} {"input": "When did the performer of My Prerogative release her first album?", "answer": "1999", "source": "musique", "difficulty": "multi_hop"} {"input": "When is the director of film The Night Club Queen 's birthday?", "answer": "December 25, 1904", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Mike Gibbons won the middleweight championship after the previous champion was found murdered where?", "answer": "Missouri", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What electronic band's song \"Dangerous\" was certified gold by the RIAA in May 2015?", "answer": "Big Data", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Dave Alston born?", "answer": "[\"Chicago\", \"Chicago, Illinois\", \"The Windy City\", \"City by the Lake\", \"The Queen of the West\", \"Chi-Town\", \"Chitown\", \"The Second City\", \"City of Chicago\", \"City of Broad Shoulders\", \"Chi-Raq\", \"Chicago, IL\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which film has the director who died first, Born Free or Amaidhi Padai?", "answer": "Born Free", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Reagan and Give Us Our Skeletons were both which kind of films?", "answer": "film", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What sort of Menace was the 1999 Star Wars movie?", "answer": ["Phantom", "Phantoms (album)", "The Phantom (disambiguation)", "Phantom song", "Phantom (disambiguation)", "The Phantom (film)", "Phantoms", "Phantom (song)", "Phantom (novel)", "Phantom (film)"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the most common name in the Bible--shared by 32 people in the Old Testament and one in the New Testament?", "answer": ["Zecharyah", "Zachery", "Zakarias", "Zakharia", "Sakarias", "Zacharius", "Zackariah", "זְכַרְיָה", "Zacherie", "Zekharyah", "Zacharias, Saint", "Zcharya", "Z'charyah", "Zecharias", "Zechariah", "Saint Zacharias", "Z'charya", "Zecharia", "Zacheriah", "Zakary", "St Zacharias", "Zacharias", "Zacarias", "Zecharya", "Zeebariah", "Zechariah (disambiguation)", "Zcharyah", "Zacharia", "Zachariah"], "source": "triviaqa", "difficulty": "simple"} {"input": "When was the last time that the country where Gyeongju bread originates was united?", "answer": "in 1945", "source": "musique", "difficulty": "multi_hop"} {"input": "Who is younger, Tang Deshang or Arturo Porro (Sport Shooter)?", "answer": "Tang Deshang", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "The NBC-affiliated television station, owned by an American telecommunications company whose founder is Julian Sinclair Smith, called WJAR is more commonly known as what?", "answer": "NBC 10", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function to count the number of unique lists within a list.", "answer": "def unique_sublists(list1):\r\n result ={}\r\n for l in list1: \r\n result.setdefault(tuple(l), list()).append(1) \r\n for a, b in result.items(): \r\n result[a] = sum(b)\r\n return result", "source": "mbpp", "task_id": "779", "test_cases": "assert unique_sublists([[1, 3], [5, 7], [1, 3], [13, 15, 17], [5, 7], [9, 11]])=={(1, 3): 2, (5, 7): 2, (13, 15, 17): 1, (9, 11): 1}\nassert unique_sublists([['green', 'orange'], ['black'], ['green', 'orange'], ['white']])=={('green', 'orange'): 2, ('black',): 1, ('white',): 1}\nassert unique_sublists([[1, 2], [3, 4], [4, 5], [6, 7]])=={(1, 2): 1, (3, 4): 1, (4, 5): 1, (6, 7): 1}", "difficulty": "code"} {"input": "In what city was Scott Patterson born?", "answer": "[\"Vancouver\", \"City of Vancouver\", \"Vancouver, BC\", \"Vancouver, British Columbia\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which film came out earlier, Starrbooty or Condemned To Live?", "answer": "Condemned To Live", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Pauline Henry was known as the vocalist of a very popular cover song. Which album was this song from?", "answer": "The Joshua Tree", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are both Aleksandra Mirosław and James Carroll Beckwith from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In the TV sitcom Adam's Rib, who played the Spencer Tracy Film role?", "answer": "Ken Howard", "source": "triviaqa", "difficulty": "simple"} {"input": "What is Shorty Hamilton's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Dorothy Hewett's occupation?", "answer": "[\"playwright\", \"dramatist\", \"playwrite\", \"scriptwriter\", \"poet\", \"poetess\", \"bard\", \"novelist\"]", "source": "popqa", "difficulty": "simple"} {"input": "Where did the director of film Evelyn'S Love Adventures die?", "answer": "Munich", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What was the Aristocrat record label renamed?", "answer": ["Chess match", "Šachmatai", "Sjakk", "Ajedrez", "Ahedres", "Ficheall", "Rank and file (chess)", "Chess Revers", "Chess", "Xadrez", "Chess publications", "Satranç", "Western chess", "Šachy", "Шахи", "Chess game", "European chess", "Chess psychology", "ChesS", "Ŝako", "ਸ਼ਤਰੰਜ", "Chess games", "शतरंज", "Play chess", "Skaak", "Western Chess", "Orthochess", "Chesss", "Game of chess", "Šach", "Echedoù", "Échecs", "שחמט", "Chesse", "Scacci", "Шахмат", "Escacs", "Cög", "Şah", "Cờ vua", "International Chess", "Chess board game", "Chess Board Game", "Шахматы", "Game of Chess", "Skak", "شطرنج", "Шатар", "Chess career", "Σκάκι", "Šahs", "Cheess", "Chess srategy and tactics", "Chess (game)", "Skák", "International chess"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who was born first out of Maarten 'T Hart and Frederick Orton Hamilton?", "answer": "Frederick Orton Hamilton", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are the movies Pelli Chesi Choodu and Alfons Zitterbacke, from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What award did a single from the first Foo Fighters album to feature Chris Shiflett win?", "answer": "Grammy Award", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What county in Nevada contains both the City of Las Vegas and the College of Southern Nevada?", "answer": "Clark County", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Sameera Perera is a cricketer from what island country located southeast of the Republic of India and northeast of the Maldives?", "answer": "Sri Lanka", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What are the international registration letters of a vehicle from Algeria?", "answer": ["DZ (disambiguation)", "Dz.", "DZs", "Dz", "D.z.", "DZ", "D Z", "D.Z."], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Gustavo A. Madero born?", "answer": "[\"Parras de la Fuente\", \"Parras\"]", "source": "popqa", "difficulty": "simple"} {"input": "when did the battle of the bulge start", "answer": "16 December 1944", "source": "nq", "difficulty": "simple"} {"input": "Which Norwegian actress performed in Anton Checkhov's \"Three Sisters\" as well as a three-act play written by Henrik Ibsen set in Norway around 1879?", "answer": "Gisken Armand Lillo-Stenberg", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Joris Delle born?", "answer": "[\"Briey\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Yaroslav Rybakov born?", "answer": "[\"Mogilev\", \"Mahilyow\", \"Molev\", \"Mohylew\", \"Mohyliv\", \"Mohylów\", \"Mahileu\", \"Mohilev\", \"Mahiliou\", \"Mohliv\", \"Mogilev-na-Dniepr\", \"Mahilioŭ\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who refuted the statement that the Queen was critical of the organization that used the terms racial origin and ethnic origin interchangeably?", "answer": "Deputy Prime Minister Nick Clegg", "source": "musique", "difficulty": "multi_hop"} {"input": "Who directed the movie The Blues Brothers?", "answer": ["John Landis", "John D. Landis", "When in Hollywood, Visit Universal Studios. Ask for Babs"], "source": "triviaqa", "difficulty": "simple"} {"input": "Where is the region containing Puig Cerverís located?", "answer": "Iberian Peninsula", "source": "musique", "difficulty": "multi_hop"} {"input": "In the Addams Family, what is Gomez's octopus called?", "answer": ["Αριστοτέλης", "Philosophy of Aristotle", "Aristotelis", "MrAristotle", "Aristutalis", "Aristole", "Artistotle", "Aristotole", "Aristotel", "Aristotle's", "The Stagirite", "Aristotles", "Aristotles theories", "Artisole", "The Stagyrite", "Stagirite", "Arystoteles", "It is the mark of", "Aristotele", "Aristotelo", "Aristoteles", "Aristotle of Stagira", "Aristotle", "Aristotelean philosophy"], "source": "triviaqa", "difficulty": "simple"} {"input": "In which country is Flemington park race course?", "answer": ["Melbourne, AU-VIC", "Melbourne australia", "Melb", "UN/LOCODE:AUMEL", "Melbourne City", "Melbourne, Australia.", "Greater Melbourne", "Melben", "Melbourne city", "Melbourne (Vic.)", "Melbourne (Victoria)", "Economy of Melbourne", "Melbourne", "Melbourne, Australia", "Menbourne", "Melborne", "Melbourne, VIC", "Mlebourne", "Melbourne (Vic.), Australia", "Melbourne, Victoria", "Melbourne, Victoria, Australia", "Melbourne Australia", "Melbourne (Australia)", "Melbouren", "Melbournian", "Mlbourne", "Marvellous melbourne"], "source": "triviaqa", "difficulty": "simple"} {"input": "In Greek mythology, who was the goddess of the rainbow?", "answer": ["Iris", "IRIS", "Iris (song)", "Iris (disambiguation)", "Iris (band)", "IRIS (band)", "IRIS (disambiguation)", "Iris (genus)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who did the Han Chinese want to the help the people who established the vice royalty of the Sakya regime fight?", "answer": "the Jin", "source": "musique", "difficulty": "multi_hop"} {"input": "Bujumbura international airport is in which country?", "answer": ["ISO 3166-1:BI", "Republic of Burundi", "Burundis", "Urundi", "The Republic of Burundi", "Burundians", "Burundi"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Oleg Govorun born?", "answer": "[\"Bratsk\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Nelson Vargas born?", "answer": "[\"Holyoke\", \"The Paper City\", \"The Venice of America\", \"The Birthplace of Volleyball\", \"The Chicago of Massachusetts\", \"Holyoke, Massachusetts\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is DM Sevilla's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Peter Philpott born?", "answer": "[\"Manly\", \"Manly, New South Wales\", \"Manly, New South Wales, Australia\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which Biblical name does Boris Becker's older son have?", "answer": ["Noah (Hebrew Bible)", "Noah", "No'ah", "Nuach", "Nooh", "Noahian", "No'a", "Noah and the Ark", "Noahtic", "Flood (Bible)", "נוֹחַ"], "source": "triviaqa", "difficulty": "simple"} {"input": "Does Foster Campbell have the same nationality as Hjalmar Kinberg?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When did the Kuomintang defeat and take over the city where the next Winter Olympics will be held?", "answer": "1928", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the name of the waterfall in the country where Chimanimani district is located?", "answer": "Victoria Falls", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Brendan Canty's occupation?", "answer": "[\"composer\", \"musician\", \"musical artist\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is David J. Brown's occupation?", "answer": "[\"computer scientist\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the name of the Chief Justice of the country the Awutu Senya District is located?", "answer": "Sophia Akuffo", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Clement Baker's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which incident escalated US involvement in Vietnam?", "answer": ["Tonkin Gulf incident", "The Gulf Of Tonkin Incident", "Tonkin incident", "Maddox incident", "Gulf of Tonkin (1964)", "Tonkin Gulf Incident", "USS Maddox incident", "Gulf of Tonkin Incident", "Tonkin Bay Incident", "Gulf of tonkin incident", "Gulf of Tonkin incident"], "source": "triviaqa", "difficulty": "simple"} {"input": "Last season, who scored the first goal for the team which Dale Jasper had played for?", "answer": "Bertrand Traoré", "source": "musique", "difficulty": "multi_hop"} {"input": "Who was born first, Odysseas Elytis or Cornel West?", "answer": "Odysseas Elytis", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "By what name is the brahmaputra known in both Bangladesh and the region where Nawang Khechog was born?", "answer": "Tsangpo - Brahmaputra", "source": "musique", "difficulty": "multi_hop"} {"input": "When is the director of film Buried Treasure (1921 Film) 's birthday?", "answer": "April 22, 1868", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When did the state where WWZD-FM broadcasts become part of the U.S.?", "answer": "Dec. 10, 1817", "source": "musique", "difficulty": "multi_hop"} {"input": "Puklo srce is an album by a singer who lives where?", "answer": "Belgrade", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Abdirizak Haji Hussein's occupation?", "answer": "[\"diplomat\", \"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "New Faces of 1952 is a musical revue with songs and comedy skits, it helped jump start the career of which young performer, and American actress?", "answer": "Carol Lawrence", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In which country is Walnut Corner in the county where Whitewater is located in the state where Shotgun Stories takes place?", "answer": "U.S.", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Maurice El Mediouni born?", "answer": "[\"Oran\", \"Wahran\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are the directors of both films Mayuri (Film) and California (1947 Film) from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to convert tuple string to integer tuple.", "answer": "def tuple_str_int(test_str):\r\n res = tuple(int(num) for num in test_str.replace('(', '').replace(')', '').replace('...', '').split(', '))\r\n return (res)", "source": "mbpp", "task_id": "785", "test_cases": "assert tuple_str_int(\"(7, 8, 9)\") == (7, 8, 9)\nassert tuple_str_int(\"(1, 2, 3)\") == (1, 2, 3)\nassert tuple_str_int(\"(4, 5, 6)\") == (4, 5, 6)", "difficulty": "code"} {"input": "What is William Australia Graham's occupation?", "answer": "[\"farmer\", \"agriculturist\", \"grower\", \"raiser\", \"cultivator\", \"agriculturer\", \"farmer (occupation)\", \"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What nationality is the director of film For The Love Of Rusty?", "answer": "American", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Juha Jokela born?", "answer": "[\"Tampere\", \"Tammerfors\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Harvey Benge's occupation?", "answer": "[\"photographer\", \"photog\", \"photographers\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Karol Życzkowski's occupation?", "answer": "[\"physicist\", \"mathematician\"]", "source": "popqa", "difficulty": "simple"} {"input": "\"According to hippy guru Dr. Timothy Leary, what did you do before you \"\"drop out?\"\"\"", "answer": "Turn on, tune in", "source": "triviaqa", "difficulty": "simple"} {"input": "Martha Graham was an American modern dancer and choreographer, her style, reshaped American dance and is still taught worldwide, the Graham technique, is a modern dance movement style, and pedagogy created by the American dancer and choreographer Martha Graham, born on which date?", "answer": "May 11, 1894", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Vitaly Arkhangelsky born?", "answer": "[\"Almaty\", \"Алматы\", \"Almatı\", \"Alma-Ata\", \"City of Almaty\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Harold Lever, Baron Lever of Manchester's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Alfred Jefferis Turner born?", "answer": "[\"Guangzhou\", \"Canton\", \"Kwangchow\", \"Kwongchow\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who founded A&T state university located in the state containing the city where the individual who was governor during the Civil War died?", "answer": "North Carolina General Assembly", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Aki Hata born?", "answer": "[\"Tokyo\", \"Tōkyō\", \"Tôkyô\", \"Tokyo-to\", \"Tokyo Metropolitan prefecture\", \"Tōkyō-to\", \"Tôkyô-to\", \"Tokyo Metropolis\", \"Tokio\", \"Tokyo Prefecture\"]", "source": "popqa", "difficulty": "simple"} {"input": "who starred in the original movie the magnificent seven", "answer": "Yul Brynner", "source": "nq", "difficulty": "simple"} {"input": "What was the location of the WWI German campaign in the country containing the city of Léua?", "answer": "Portuguese Angola", "source": "musique", "difficulty": "multi_hop"} {"input": "Golfer Bobby Jones was born in which state?", "answer": ["Western Georgia", "Georgia (song)", "Georgia", "Georgia (Disambiguation)", "Georgia (film)", "Georgia (State)", "Geordia", "Georgia (disambiguation)", "Georgia (state)", "Goergia"], "source": "triviaqa", "difficulty": "simple"} {"input": "What type of university is the school that employs Endre Boros, an instance of?", "answer": "land-grant university", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Bert Myers born?", "answer": "[\"Frederick\", \"Frederick, Maryland\", \"Frederick, MD\"]", "source": "popqa", "difficulty": "simple"} {"input": "Abeliophyllum and Brillantaisia, are types of what?", "answer": "plants", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Rhea Silvia's occupation?", "answer": "[\"Vestal Virgin\"]", "source": "popqa", "difficulty": "simple"} {"input": "In the draft of the 2017–18 Phoenix Suns season, The Phoneix Suns picked which player that played one season for the Kansas Jayhawks?", "answer": "Josh Jackson", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Arthur Noss won a Military Cross as the gunner of a soldier born in which year ?", "answer": "1892", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Edward Drinker Cope born?", "answer": "[\"Philadelphia\", \"Philly\", \"City of Brotherly Love\", \"Cradle of Liberty\", \"Philadelphia, Pennsylvania\", \"City of Philadelphia\", \"Philadelphia, PA\"]", "source": "popqa", "difficulty": "simple"} {"input": "Do both directors of films Childish Things (Film) and The Boys Didn'T Wear Hair Gel Before have the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which musical featured the song I Feel Pretty?", "answer": ["The Sharks (West Side Story)", "Gee, Officer Krupke", "Westside Story", "West Side Story 2008", "Riff (character)", "West side story", "The Jets (West Side Story)", "Jet Song", "West Side Story", "West Side Story (musical)"], "source": "triviaqa", "difficulty": "simple"} {"input": "who was the first band to play at woodstock", "answer": "Richie Havens", "source": "nq", "difficulty": "simple"} {"input": "When did Ahmed Iii's father die?", "answer": "6 January 1693", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a python function to reverse an array upto a given position.", "answer": "def reverse_Array_Upto_K(input, k): \r\n return (input[k-1::-1] + input[k:])", "source": "mbpp", "task_id": "644", "test_cases": "assert reverse_Array_Upto_K([1, 2, 3, 4, 5, 6],4) == [4, 3, 2, 1, 5, 6]\nassert reverse_Array_Upto_K([4, 5, 6, 7], 2) == [5, 4, 6, 7]\nassert reverse_Array_Upto_K([9, 8, 7, 6, 5],3) == [7, 8, 9, 6, 5]", "difficulty": "code"} {"input": "Where did the plane crash in the largest river of the state the character from The Terminal played by the actor of Captain Miller in Saving Private Ryan is from?", "answer": "off Midtown Manhattan", "source": "musique", "difficulty": "multi_hop"} {"input": "When is the Sturgis motorcycle rally, in the state that contains the meridian named for the hills that include the Missouri Buttes within their range?", "answer": "August 3 - 12, 2018", "source": "musique", "difficulty": "multi_hop"} {"input": "Where did the director of film An Everyday Story die?", "answer": "Munich", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Elkhan Mammadov is the project leader for the bid for which quadrennial competition?", "answer": "UEFA Euro 2020", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function to find the index of the first occurrence of a given number in a sorted array.", "answer": "def find_first_occurrence(A, x):\r\n (left, right) = (0, len(A) - 1)\r\n result = -1\r\n while left <= right:\r\n mid = (left + right) // 2\r\n if x == A[mid]:\r\n result = mid\r\n right = mid - 1\r\n elif x < A[mid]:\r\n right = mid - 1\r\n else:\r\n left = mid + 1\r\n return result", "source": "mbpp", "task_id": "733", "test_cases": "assert find_first_occurrence([2, 5, 5, 5, 6, 6, 8, 9, 9, 9], 5) == 1\nassert find_first_occurrence([2, 3, 5, 5, 6, 6, 8, 9, 9, 9], 5) == 2\nassert find_first_occurrence([2, 4, 1, 5, 6, 6, 8, 9, 9, 9], 6) == 4", "difficulty": "code"} {"input": "What was Gene Kelly's middle name?", "answer": ["Curran (disambiguation)", "Curran"], "source": "triviaqa", "difficulty": "simple"} {"input": "halloween 6 who is the man in black", "answer": "Wynn", "source": "nq", "difficulty": "simple"} {"input": "Which happened first Battle of Okinawa or Operation Nordwind ?", "answer": "Operation North Wind", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when did jennifer lopez released her first single", "answer": "May 1999", "source": "nq", "difficulty": "simple"} {"input": "Write a function to find if there is a triplet in the array whose sum is equal to a given value.", "answer": "def find_triplet_array(A, arr_size, sum): \r\n\tfor i in range( 0, arr_size-2): \r\n\t\tfor j in range(i + 1, arr_size-1): \r\n\t\t\tfor k in range(j + 1, arr_size): \r\n\t\t\t\tif A[i] + A[j] + A[k] == sum: \r\n\t\t\t\t\treturn A[i],A[j],A[k] \r\n\t\t\t\t\treturn True\r\n\treturn False", "source": "mbpp", "task_id": "916", "test_cases": "assert find_triplet_array([1, 4, 45, 6, 10, 8], 6, 22) == (4, 10, 8)\nassert find_triplet_array([12, 3, 5, 2, 6, 9], 6, 24) == (12, 3, 9)\nassert find_triplet_array([1, 2, 3, 4, 5], 5, 9) == (1, 3, 5)", "difficulty": "code"} {"input": "What is Edwin N. Hubbell's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "a change in which new products are formed is called a", "answer": "Chemical reactions", "source": "nq", "difficulty": "simple"} {"input": "Where were the paternal grandparents of the singer with the most top ten hits from?", "answer": "Pacentro, Italy", "source": "musique", "difficulty": "multi_hop"} {"input": "What is George Minor's occupation?", "answer": "[\"composer\"]", "source": "popqa", "difficulty": "simple"} {"input": "Where did Umberto Agnelli's mother die?", "answer": "Pisa", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where in the former Soviet Union was Yul Brynner born?", "answer": ["Sziberia", "Siberia, Russia (Federation)", "Sibir’", "Climate of Siberia", "Sibir'", "Siberian", "Siberian steppe", "Сибирской", "Сибирь", "East Siberia", "Szibéria", "Eastern Siberia", "CnBnpb", "Geography of Siberia", "Сиби́рь", "Siberia (Russia)", "Siberia, Russia", "Siberia", "Siberian Steppe"], "source": "triviaqa", "difficulty": "simple"} {"input": "What country sent the most legal immigrants to Gotham's filming location from the middle leg of the journey from England to the continent of Bamako to the Americas?", "answer": "the Dominican Republic", "source": "musique", "difficulty": "multi_hop"} {"input": "Which award the performer of song Haunt Me received?", "answer": "Grammy Award for Best New Artist", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "which team is on top in fifa 2018", "answer": "Germany", "source": "nq", "difficulty": "simple"} {"input": "Rob Jenkins is an Australian actor, which of his movies, was a 2014 science fiction thriller film?", "answer": "Predestination", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Simon Callery born?", "answer": "[\"London\", \"London, UK\", \"London, United Kingdom\", \"London, England\", \"Modern Babylon\"]", "source": "popqa", "difficulty": "simple"} {"input": "Where did Maurice Green set his 9.79 seconds for the 100m in 1999?", "answer": ["Athina", "Athēnai", "Athens", "Athénes", "Атина", "Atina, Greece", "Municipality of Athens", "Athens (municipality)", "Athens, Modern Diocese of", "Athens (Greece)", "Capital of Greece", "Athina, Greece", "Athènes", "GRATH", "Athens, Greece", "Αθήνα", "Greece Athens", "Gulf of Athens", "Modern Athens", "Athenian", "Agrae", "Travel athens", "City of Athens", "Athens Municipality", "Athenes", "Athenai", "Ἀθῆναι", "UN/LOCODE:GRATH", "Athenians", "Athence", "Atenás", "Athína", "Athínai"], "source": "triviaqa", "difficulty": "simple"} {"input": "Are both directors of films The Splendid Sinner and The Convicted from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Sam Phillips was owner of which legendary recording studio?", "answer": ["Structure of the Sun", "Sun", "Orbit of the sun", "Solar X-ray astronomy", "Internal structure of the Sun", "🌞", "The Sun", "Solarian", "Solar glare", "Layers of the Sun", "Solar photosphere", "Solar atmosphere", "Solar magnetic field", "Sun (astronomy)", "Sun gravity", "Sunlike", "The sun", "Atmosphere of the Sun", "Exploration of the Sun", "Sun (song)", "Sun's orbit", "Local Star", "Sun characteristics", "Sol (star)", "Sun (star)", "Solar diameter", "Orbit of the Sun", "Local star", "Earth's sun", "Heliology", "Watch sun directly", "Parts of the sun"], "source": "triviaqa", "difficulty": "simple"} {"input": "Where was the place of death of the composer of film Kudamattam?", "answer": "Chennai", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where was the place of death of Ben Gage's wife?", "answer": "Los Angeles", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What year was the city Inter caetera's author died in conquered?", "answer": "1870", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Amitabh Bachchan's occupation?", "answer": "[\"film producer\", \"movie producer\", \"producer\", \"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which Oscar-winning actress was born on exactly the same day as actress Lindsay Wagner?", "answer": ["Meryl streep", "Meryl Streep", "Mary Streep", "Streep", "Mary Louise Streep", "Merril Streep", "Meril streep"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to calculate the perimeter of a regular polygon.", "answer": "from math import tan, pi\r\ndef perimeter_polygon(s,l):\r\n perimeter = s*l\r\n return perimeter", "source": "mbpp", "task_id": "789", "test_cases": "assert perimeter_polygon(4,20)==80\nassert perimeter_polygon(10,15)==150\nassert perimeter_polygon(9,7)==63", "difficulty": "code"} {"input": "When was the director of film The Lion'S Den (1919 Film) born?", "answer": "April 22, 1868", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What Chilean footballer from Arsenal joined in 2018 the club that won more trophies than Liverpool", "answer": "Alexis Sánchez", "source": "musique", "difficulty": "multi_hop"} {"input": "when did the go pro hero 6 come out", "answer": "September 28, 2017", "source": "nq", "difficulty": "simple"} {"input": "Are Oh Jae-Moo and Jeff Danna from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Edward Corser's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "During the Ming dynasty, whose presence increased in the traditional homeland of the Monpa, Qiang, and Lhoba peoples?", "answer": "the Mongols", "source": "musique", "difficulty": "multi_hop"} {"input": "Which film came out earlier, Outer Space Jitters or The Man With The Golden Soles?", "answer": "Outer Space Jitters", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which country does tennis player Marcelo Rios come from?", "answer": ["ISO 3166-1:CL", "Cxilio", "Cile", "Etymology of Chile", "Republic of Chile", "Chilean Republic", "State of Chile", "Chile", "Name of Chile", "República de Chile", "Chilé"], "source": "triviaqa", "difficulty": "simple"} {"input": "How many stored does the American fast food restaurant franchise that sponsored Subway 400 have?", "answer": "45,000", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Nelson Mandela's middle name?", "answer": ["Nelson Mendella", "Nelson mandela", "Mr Mandela", "Mandella", "4664", "Tata Mandela", "Tata Madiba", "Nelson Mandella", "Nelson Madela", "Madiba", "Rolihlahla Mandela", "Rolihlahla", "Black Pimpernel", "Nelson Rolihlahla Mandela", "Nelson mendela", "Gadla Henry Mphakanyiswa", "Nelson Mendela", "Nelson mandeal", "Zindzi Mandela", "Nelson Mandela", "Mandela"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Jacob Duck born?", "answer": "[\"Utrecht\", \"Utreg\", \"Utrecht (city)\"]", "source": "popqa", "difficulty": "simple"} {"input": "who played primrose in the darling buds of may", "answer": "Abigail Rokison-Woodall", "source": "nq", "difficulty": "simple"} {"input": "who's the best selling female artist of all time", "answer": "Madonna", "source": "nq", "difficulty": "simple"} {"input": "Arlette Roxburgh is best known for singing a national anthem whose lyrics come from what poem, before every New Jersey Devils home game?", "answer": "Defence of Fort M'Henry", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Sırrı Süreyya Önder's occupation?", "answer": "[\"film director\", \"movie director\", \"director\", \"motion picture director\", \"screenwriter\", \"scenarist\", \"writer\", \"screen writer\", \"script writer\", \"scriptwriter\", \"actor\", \"actress\", \"actors\", \"actresses\", \"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which African country does Nick Price come from?", "answer": ["Zimbobwe", "Health care in Zimbabwe", "Zimbabwean cultural practices", "People of Zimbabwe", "Republic of Zimbabwe", "Zimbabwean legends", "Zimbabwae", "Zimbabwian", "Republic Of Zimbabwe", "Cuisine of Zimbabwe", "Zimbabwean cuisine", "ZWE", "Zimbabwei", "Zimbabwe", "Etymology of Zimbabwe", "ISO 3166-1:ZW", "Republic Zimbabwe", "Zimbawean", "Zimbabwean", "Name of Zimbabwe", "Chimpabwe"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who was born first, James Caan or Michael Douglas?", "answer": ["James Con", "James Caan (actor)", "James Cuhn", "James Kawn", "Caan, James", "Sheila Marie Ryan", "James Kon", "James Caan", "James Kaan", "Jimmy Caan", "James Kohn", "James Konn", "James Conn", "James Cawn"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which Lightweight division mixed martial artist founded the American Combat Association?", "answer": "Kamal Shalorus", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the date of death of the director of film Brides Are Like That?", "answer": "November 15, 1977", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which film has the director died first, Forbidden Paths or Little Man, What Now? (1933 Film)?", "answer": "Forbidden Paths", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When is the director of film Red Line (1959 Film) 's birthday?", "answer": "12 January 1924", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when does girlfriends guide to divorce season 3 start", "answer": "January 11, 2017", "source": "nq", "difficulty": "simple"} {"input": "American actor, Peter Hansen, best known for his role on General Hospital, also starred in The War of the Roses with American film and stage actress and director who has won how many Golden Globe Awards?", "answer": "two", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what year was the English actor that starred with David Hemmings and Douglas Wilmer in \"Unman, Wittering and Zigo\" born?", "answer": "1945", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function to check if any list element is present in the given list.", "answer": "def check_element(test_tup, check_list):\r\n res = False\r\n for ele in check_list:\r\n if ele in test_tup:\r\n res = True\r\n break\r\n return (res)", "source": "mbpp", "task_id": "942", "test_cases": "assert check_element((4, 5, 7, 9, 3), [6, 7, 10, 11]) == True\nassert check_element((1, 2, 3, 4), [4, 6, 7, 8, 9]) == True\nassert check_element((3, 2, 1, 4, 5), [9, 8, 7, 6]) == False", "difficulty": "code"} {"input": "when did the black and red jordans come out", "answer": "1984", "source": "nq", "difficulty": "simple"} {"input": "Does Alexandra Camenșcic have the same nationality as Robert Broadnax Glenn?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who had an 80s No 1 hit with Can't Fight This Feeling?", "answer": ["REO (album)", "Alan Gratzer", "R.E.O. Speedwagon", "REO Speedwagon", "Michael Bryan Murphy", "Can't Stop Rockin", "Reo Speedwagon", "R.E.O Speedwagon"], "source": "triviaqa", "difficulty": "simple"} {"input": "What nationality is the composer of film Tulasi Dalam (Film)?", "answer": "India", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are Monastery of the Transfiguration, Kinaliada and Süreyya Opera House both Greek Orthodox monasteries?", "answer": "no", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function that matches a string that has an a followed by zero or more b's by using regex.", "answer": "import re\r\ndef text_match(text):\r\n patterns = 'ab*?'\r\n if re.search(patterns, text):\r\n return ('Found a match!')\r\n else:\r\n return ('Not matched!')", "source": "mbpp", "task_id": "930", "test_cases": "assert text_match(\"msb\") == 'Not matched!'\nassert text_match(\"a0c\") == 'Found a match!'\nassert text_match(\"abbc\") == 'Found a match!'", "difficulty": "code"} {"input": "Are both directors of films The Blue Bird (1940 Film) and Bharya Biddalu from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where was the place of death of the director of film Port Of Seven Seas?", "answer": "Hollywood", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are Patrick White and Katherine Anne Porter both writers?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who was the voice of Matt Dillon for 11 years on radio's Gunsmoke?", "answer": ["Bill Conrad", "William Conrad"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who is the composer Howard Ashman worked with on his musical released in 1982?", "answer": "Alan Menken", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "How many house of representatives are there in the state K-28 is located?", "answer": "125 state representatives", "source": "musique", "difficulty": "multi_hop"} {"input": "Joh Bruce Yeh founded a chamber ensemble who won a Grammy in 1985 for their recording of this work based on what Rusian folk tale?", "answer": "The Runaway Soldier and the Devil", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "How did many multiracial individuals, of the people who the Bush administration described as heroic, attain social and political advantages?", "answer": "Many of majority European ancestry and appearance \"married white\" and assimilated into white society", "source": "musique", "difficulty": "multi_hop"} {"input": "Who was the voice of O'Malley in The Aristocats?", "answer": "Phil Harris", "source": "triviaqa", "difficulty": "simple"} {"input": "When was the director of film Yellowstone (Film) born?", "answer": "July 25, 1898", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What county is the city named Clayton in where residents could vote for Tom Harkin?", "answer": "Clayton County", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Roy A. Roberts born?", "answer": "[\"Muscotah\", \"Muscotah, Kansas\"]", "source": "popqa", "difficulty": "simple"} {"input": "What was Bix Beiderbecke's principal musical instrument?", "answer": ["Kornett", "Cornetist", "Echo cornet", "Cornettist", "Cornet", "Cornets"], "source": "triviaqa", "difficulty": "simple"} {"input": "The John Messer Barn is a historic structure within the Great Smoky Mountains National Park in Sevier County, Tennessee, this barn is a different Messer Barn in which valley, in the Great Smoky Mountains of North Carolina, located in the Southeastern United States?", "answer": "Cataloochee", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Charles Plumer born?", "answer": "[\"Canons Park\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Joseph R. Perella's occupation?", "answer": "[\"financier\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which country does the airline VIASA come from?", "answer": ["ISO 3166-1:VE", "Venezula", "Venezuela, RB", "Republica de Venezuela", "Venuzeula", "The Bolivarian Republic Of Venezuela", "Venizuela", "Bolivarian Republic of Venezuela", "Venezuelan", "Venezuela", "Republica Bolivariana de Venezuela", "Venazeula", "Bolivaria", "Republic of Venezuela", "Venezuala", "Venecuela", "Venzuela", "VENEZULEA", "República Bolivariana de Venezuela", "Etymology of Venezuela", "Benezuela", "Venzauela", "VEN", "Venezeula", "Republica de venezuela", "Venezuela (Bolivarian Republic of)", "BRV", "Venezuela, Bolivarian Republic of", "Name of Venezuela", "V'zuela"], "source": "triviaqa", "difficulty": "simple"} {"input": "Where was the director of film Club Sandwich (Film) born?", "answer": "Mexico City", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Dash's occupation?", "answer": "[\"record producer\", \"music producer\"]", "source": "popqa", "difficulty": "simple"} {"input": "who wrote i could fall in love by selena", "answer": "Keith Thomas", "source": "nq", "difficulty": "simple"} {"input": "Where did the director of film Fireman Save My Child (1954 Film) die?", "answer": "Hollywood", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which verse in Luke states that Mary had \"no relations with man\" before the birth of the speaker from Sermon on the Mount?", "answer": "1:34", "source": "musique", "difficulty": "multi_hop"} {"input": "who is next in line for the royal throne of england", "answer": "Charles, Prince of Wales", "source": "nq", "difficulty": "simple"} {"input": "Who is the General Treasurer of Providence Plantations and the state where Prolyphic was born?", "answer": "Seth Magaziner", "source": "musique", "difficulty": "multi_hop"} {"input": "Which ER star played opposite Jenny Seagrove in Don' Go Breaking My Heart?", "answer": ["Anthony Charles Edwards", "Anthony Edwards"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which brothers were Warner Bros' first major record success?", "answer": ["Everly (disambiguation)", "Everly"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Keri Lees born?", "answer": "[\"Stone\", \"Stone, Staffordshire\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a python function to count number of cubes of size k in a cube of size n.", "answer": "def No_of_cubes(N,K):\r\n No = 0\r\n No = (N - K + 1)\r\n No = pow(No, 3)\r\n return No", "source": "mbpp", "task_id": "646", "test_cases": "assert No_of_cubes(2,1) == 8\nassert No_of_cubes(5,2) == 64\nassert No_of_cubes(1,1) == 1", "difficulty": "code"} {"input": "What is the date of birth of the director of film Along The Rio Grande?", "answer": "January 26, 1903", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "American politician Joe Heck ran unsuccessfully against Democrat Catherine Cortez Masto, a woman who previously served as the 32nd Attorney General of where?", "answer": "Nevada", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which country the performer of song Dream Dancing (Cole Porter Song) is from?", "answer": "American", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When was the last time Auburn won in the city where J. Robert Wooley lives?", "answer": "1999", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to sort dictionary items by tuple product of keys for the given dictionary with tuple keys.", "answer": "def sort_dict_item(test_dict):\r\n res = {key: test_dict[key] for key in sorted(test_dict.keys(), key = lambda ele: ele[1] * ele[0])}\r\n return (res)", "source": "mbpp", "task_id": "698", "test_cases": "assert sort_dict_item({(5, 6) : 3, (2, 3) : 9, (8, 4): 10, (6, 4): 12} ) == {(2, 3): 9, (6, 4): 12, (5, 6): 3, (8, 4): 10}\nassert sort_dict_item({(6, 7) : 4, (3, 4) : 10, (9, 5): 11, (7, 5): 13} ) == {(3, 4): 10, (7, 5): 13, (6, 7): 4, (9, 5): 11}\nassert sort_dict_item({(7, 8) : 5, (4, 5) : 11, (10, 6): 12, (8, 6): 14} ) == {(4, 5): 11, (8, 6): 14, (7, 8): 5, (10, 6): 12}", "difficulty": "code"} {"input": "What dialect of German is spoken in the country where Otto Furrer was born?", "answer": "Swiss German", "source": "musique", "difficulty": "multi_hop"} {"input": "When is the composer of film Artham 's birthday?", "answer": "26 March 1953", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where did Herbert Furth's mother die?", "answer": "Washington", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Fast Cars, Danger, Fire and Knives includes guest appearances from which hip hop record executive?", "answer": "Jaime Meline", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when did fortnite come out on xbox one", "answer": "2017", "source": "nq", "difficulty": "simple"} {"input": "Write a python function to find the largest triangle that can be inscribed in the semicircle.", "answer": "def triangle_area(r) : \r\n if r < 0 : \r\n return -1\r\n return r * r", "source": "mbpp", "task_id": "626", "test_cases": "assert triangle_area(0) == 0\nassert triangle_area(-1) == -1\nassert triangle_area(2) == 4", "difficulty": "code"} {"input": "The Joan Lui director's birthplace is an important transportation node in which country?", "answer": "Italy", "source": "musique", "difficulty": "multi_hop"} {"input": "The Shady Grove in the same state as Waukee High School is present in what county?", "answer": "Buchanan County", "source": "musique", "difficulty": "multi_hop"} {"input": "Which American guitarist and bluegrass musician from Danville, Virginia did Rebecca Rippy play or share the stage with?", "answer": "Tony Rice", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "The Grinch is a fictional character created by an author that died in what year?", "answer": "1991", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When did the person who recognized Jewish synagogues as being legitimate in Rome die?", "answer": "March 44 BC", "source": "musique", "difficulty": "multi_hop"} {"input": "this dictator and commander of chile's army ruled the country from 1973 to 1990", "answer": "General Augusto Pinochet", "source": "nq", "difficulty": "simple"} {"input": "Shanghai Noon was the directorial debut of an American film director whose other credits include Showtime, Failure to Launch, and what other film?", "answer": "Marmaduke", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What bird is named for the apostle Peter?", "answer": "The petrel, from a diminutive form of Petrus, or Peter, in Latin", "source": "triviaqa", "difficulty": "simple"} {"input": "In Laverne & Shirley, what was Laverne's last name?", "answer": "De Fazio", "source": "triviaqa", "difficulty": "simple"} {"input": "What number Star Trek movie was called The Wrath of Khan?", "answer": ["II", "2", "two"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which film whose director is younger, Charge It To Me or Danger: Diabolik?", "answer": "Danger: Diabolik", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when did uk voting age reduced to 18", "answer": "1970", "source": "nq", "difficulty": "simple"} {"input": "most td passes in a college football season", "answer": "58", "source": "nq", "difficulty": "simple"} {"input": "What is Veronica Franco's occupation?", "answer": "[\"poet\", \"poetess\", \"bard\"]", "source": "popqa", "difficulty": "simple"} {"input": "When was the director of King of the Dancehall born?", "answer": "October 8, 1980", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where did the director of film Return Of A Citizen die?", "answer": "Cairo", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who gifted the Statue of Liberty to the state which contains the location where the novel The Great Gatsby was set?", "answer": "the people of France", "source": "musique", "difficulty": "multi_hop"} {"input": "In which country is the Howrah bridge?", "answer": ["ഭാരത മഹാരാജ്യം", "هندستانڀارت،", "भारतीय गणराज्याच्या", "Bhārtiya Prajāsattāk", "Indian Republic", "ভারতরাষ্টৃ", "Indian republic", "ಭಾರತ ಗಣರಾಜ್ಯ", "Union of India", "இந்தியக் குடியரசு", "भारतीय प्रजासत्ताक", "India (country)", "ISO 3166-1:IN", "Indea", "Etymology of India", "ভারত গণরাজ্য", "Republic Of India", "INDIA", "ભારતીય ગણતંત્ર", "ভারত", "Republic of India", "Les Indes", "Bhārat Gaṇarājya", "جمہوٗرِیت بًارت", "भारतमहाराज्यम्", "Indya", "Bharat Ganrajya", "جمہوریہ بھارت", "இந்திய", "ଭାରତ ଗଣରାଜ୍ଯ", "भारत गणराज्य", "Republic of india", "जुम्हूरियत भारत", "Hindio", "The Republic of India", "భారత గణతంత్ర రాజ్యము", "India's", "Hindistan", "ਭਾਰਤ ਗਣਤੰਤਰ", "Bhart", "India", "భారత రిపబ్లిక్", "India.", "ভাৰত গণৰাজ্য", "Indian State", "ISO 3166-1 alpha-3/IND", "ভারতীয় প্রজাতন্ত্র"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the date of birth of Derek Mckeith's mother?", "answer": "November 13, 1948", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "where is the big brother house located in south africa", "answer": "Highlands North, Johannesburg", "source": "nq", "difficulty": "simple"} {"input": "​a statement that tests a value is called a ____ statement", "answer": "conditional", "source": "nq", "difficulty": "simple"} {"input": "what is the top of a pyramid called", "answer": "pyramidion", "source": "nq", "difficulty": "simple"} {"input": "What type of vegetation does Kniphofia and Baptisia have in common?", "answer": "plant", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the highest point in the country where Bugabula is found?", "answer": "1,400 metres", "source": "musique", "difficulty": "multi_hop"} {"input": "how much did it cost to build the dallas cowboys stadium", "answer": "$1.15 billion", "source": "nq", "difficulty": "simple"} {"input": "Who directed the movie Trading Places?", "answer": ["John Landis", "John D. Landis", "When in Hollywood, Visit Universal Studios. Ask for Babs"], "source": "triviaqa", "difficulty": "simple"} {"input": "Are both director of film Scandal At The Fledermaus and director of film House Of Angels – Third Time Lucky from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which movie was co-written by the person who directed \"Blood\"?", "answer": "The Awakening", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who is responsible for maneuvering the fire team", "answer": "Team Leader (TL)", "source": "nq", "difficulty": "simple"} {"input": "the author of the girl on the train", "answer": "Paula Hawkins", "source": "nq", "difficulty": "simple"} {"input": "what are four functions of the cell or plasma membrane", "answer": "controls the movement of substances", "source": "nq", "difficulty": "simple"} {"input": "In which month of the year did Bing Crosby record White Christmas?", "answer": ["㋄", "May sickness", "May", "Veliki traven", "May (month)", "Month May"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who quit the college that educated the owner of the Gold Spike, located where Albert Edmunds Calhan died, and became the person referred to as the founder of public relations?", "answer": "Basil Clarke", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Matthew Underwood's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Dakota Collins born?", "answer": "[\"Santa Barbara\", \"Santa Barbara, California\"]", "source": "popqa", "difficulty": "simple"} {"input": "When was gay marriage legalized in the city where Spectre filming took place after the city where he died?", "answer": "December 2009", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to push all values into a heap and then pop off the smallest values one at a time.", "answer": "import heapq as hq\r\ndef heap_sort(iterable):\r\n h = []\r\n for value in iterable:\r\n hq.heappush(h, value)\r\n return [hq.heappop(h) for i in range(len(h))]", "source": "mbpp", "task_id": "635", "test_cases": "assert heap_sort([1, 3, 5, 7, 9, 2, 4, 6, 8, 0])==[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]\nassert heap_sort([25, 35, 22, 85, 14, 65, 75, 25, 58])==[14, 22, 25, 25, 35, 58, 65, 75, 85]\nassert heap_sort( [7, 1, 9, 5])==[1,5,7,9]", "difficulty": "code"} {"input": "who won the first olympic gold medal in snowboarding", "answer": "Canadian Ross Rebagliati", "source": "nq", "difficulty": "simple"} {"input": "In what city was Andries Bonger born?", "answer": "[\"Amsterdam\", \"Mokum\", \"Amsterdam, NL\", \"Amsterdam, Netherlands\", \"A'dam\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to filter the height and width of students which are stored in a dictionary.", "answer": "def filter_data(students,h,w):\r\n result = {k: s for k, s in students.items() if s[0] >=h and s[1] >=w}\r\n return result", "source": "mbpp", "task_id": "722", "test_cases": "assert filter_data({'Cierra Vega': (6.2, 70), 'Alden Cantrell': (5.9, 65), 'Kierra Gentry': (6.0, 68), 'Pierre Cox': (5.8, 66)},6.0,70)=={'Cierra Vega': (6.2, 70)}\nassert filter_data({'Cierra Vega': (6.2, 70), 'Alden Cantrell': (5.9, 65), 'Kierra Gentry': (6.0, 68), 'Pierre Cox': (5.8, 66)},5.9,67)=={'Cierra Vega': (6.2, 70),'Kierra Gentry': (6.0, 68)}\nassert filter_data({'Cierra Vega': (6.2, 70), 'Alden Cantrell': (5.9, 65), 'Kierra Gentry': (6.0, 68), 'Pierre Cox': (5.8, 66)},5.7,64)=={'Cierra Vega': (6.2, 70),'Alden Cantrell': (5.9, 65),'Kierra Gentry': (6.0, 68),'Pierre Cox': (5.8, 66)}", "difficulty": "code"} {"input": "Are both director of film The Search For John Gissing and director of film Blindfolded (Film) from the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "How many different hats does Madonna wear in Evita?", "answer": ["39", "thirty-nine"], "source": "triviaqa", "difficulty": "simple"} {"input": "who wrote the song i'll be there", "answer": ["Berry Gordy", "Bob West", "Hal Davis", "Willie Hutch"], "source": "nq", "difficulty": "simple"} {"input": "In what city was Steve Kerr born?", "answer": "[\"Beirut\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Conrad Weiser's occupation?", "answer": "[\"diplomat\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did the sport that Courtney Yamada-Anderson played become an Olympic sport?", "answer": "1928", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Runa Akiyama born?", "answer": "[\"Tokyo\", \"Tōkyō\", \"Tôkyô\", \"Tokyo-to\", \"Tokyo Metropolitan prefecture\", \"Tōkyō-to\", \"Tôkyô-to\", \"Tokyo Metropolis\", \"Tokio\", \"Tokyo Prefecture\"]", "source": "popqa", "difficulty": "simple"} {"input": "when did the battle of san jacinto happen", "answer": "April 21, 1836", "source": "nq", "difficulty": "simple"} {"input": "What is Bedřich Smetana's occupation?", "answer": "[\"composer\", \"pianist\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Gerd Arntz born?", "answer": "[\"Remscheid\", \"Kreisfreie Stadt Remscheid\"]", "source": "popqa", "difficulty": "simple"} {"input": "How many inches of precipitation are received annually by the city where Daniel William Coquillett died?", "answer": "40 inches", "source": "musique", "difficulty": "multi_hop"} {"input": "The basis of the jurisdiction to which applies the European Economic and Social Committee began with the signing of what?", "answer": "the Treaty on the Functioning of the European Union", "source": "musique", "difficulty": "multi_hop"} {"input": "Terenzo is a city in the Province of Parma, which region of Italy is Terenzo located in?", "answer": "northern Italian region", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Graham Collier's occupation?", "answer": "[\"composer\", \"bandleader\", \"Wind band conductor\", \"Harmony orchestra leader\"]", "source": "popqa", "difficulty": "simple"} {"input": "What caucus is the current Representative from Texas's 6th congressional district a member of?", "answer": "Tea Party Caucus", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What nationality is the director of film What Does Brigitte Want??", "answer": "Hungarian", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when did the brave season 1 episode 10 air", "answer": "January 8, 2018", "source": "nq", "difficulty": "simple"} {"input": "What was the country where Ramon Sandin has citizenship before it was a commonwealth?", "answer": "a key part of the Spanish Empire", "source": "musique", "difficulty": "multi_hop"} {"input": "Were both Ignacio González González and Adolphe-Marie Hardy, born in the same place?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to find the minimum number of elements that should be removed such that amax-amin<=k.", "answer": "def find_ind(key, i, n, \r\n\t\t\tk, arr):\r\n\tind = -1\r\n\tstart = i + 1\r\n\tend = n - 1;\r\n\twhile (start < end):\r\n\t\tmid = int(start +\r\n\t\t\t\t(end - start) / 2)\r\n\t\tif (arr[mid] - key <= k):\r\n\t\t\tind = mid\r\n\t\t\tstart = mid + 1\r\n\t\telse:\r\n\t\t\tend = mid\r\n\treturn ind\r\ndef removals(arr, n, k):\r\n\tans = n - 1\r\n\tarr.sort()\r\n\tfor i in range(0, n):\r\n\t\tj = find_ind(arr[i], i, \r\n\t\t\t\t\tn, k, arr)\r\n\t\tif (j != -1):\r\n\t\t\tans = min(ans, n -\r\n\t\t\t\t\t\t(j - i + 1))\r\n\treturn ans", "source": "mbpp", "task_id": "702", "test_cases": "assert removals([1, 3, 4, 9, 10,11, 12, 17, 20], 9, 4) == 5\nassert removals([1, 5, 6, 2, 8], 5, 2) == 3\nassert removals([1, 2, 3 ,4, 5, 6], 6, 3) == 2", "difficulty": "code"} {"input": "when does damon first develop feelings for elena", "answer": "season two", "source": "nq", "difficulty": "simple"} {"input": "In what season what the performer of Truly a guest judge on American Idol?", "answer": "season two", "source": "musique", "difficulty": "multi_hop"} {"input": "In which municipality in the province where Dalhousie Mountain is located can Dean be found?", "answer": "Halifax Regional Municipality", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Elvin Penner's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What retired American soccer player is the head coach of the team owned by Anthony Precourt and Precourt Sports Ventures LLC?", "answer": "Gregg Berhalter", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Walter de la Pole's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What exotic city was featured in National Geographic magazine's first photo story in 1905?", "answer": ["Lhasa", "Lhasa, Tibet", "拉萨", "Administrative divisions of Lhasa", "Lahasa", "Lhosa", "拉萨市", "拉薩", "Capital of Tibet", "Lasa, Xizang", "Lhasa, Xizang", "拉薩市", "Chengguan District, Lhasa", "Lhassa", "Dharkay Restaurant", "Lāsà"], "source": "triviaqa", "difficulty": "simple"} {"input": "In which state was Quincy Jones born?", "answer": ["Transportation in Illinois", "Illionis", "Demographics of Illinois", "Illinois", "21st State", "The Prairie State", "Illinoid", "Prairie State", "State of Illinois", "Rockford Academy", "Religion in Illinois", "Ill.", "Illinois Ironmen", "Twenty-first State", "Illinios", "Education in Illinois", "IL (state)", "Energy in Illinois", "Illinois (state)", "Twenty-First State", "Land of Lincoln", "Illinois, United States", "Transport in Illinois", "US-IL", "Illinois (U.S. state)", "Sports in Illinois", "The Land of Lincoln", "Illinoy", "Illinoisan"], "source": "triviaqa", "difficulty": "simple"} {"input": "In which country was Sam Neill born?", "answer": ["The Norn Iron", "Irland du nord", "Irlanda del Norte", "Norrn Iron", "Geography of Northern Ireland", "North Ireland", "Northern ireland", "Governance of Northern Ireland", "Ireland (Northern Ireland)", "The North of Ireland", "N. Ireland", "Northern Ireland, UK", "The Northern Ireland", "6 counties", "N Ireland", "Ulster (UK)", "Six counties", "Northeast of Ireland", "North ireland", "Northern Ireland assembly and Executive", "Nothern Irish", "Tuaisceart Eireann", "North of ireland", "Nothern Ireland", "Na Sé Contaethe", "Norlin Airlan", "Northern irish", "Northern Irish politics", "Northern Ireland, United Kingdom", "Norn iron", "Norlin Airlann", "Northern Ireland (UK)", "Norn Iron", "Na Se Contaethe", "Northern Ireland Assembly and Executive", "Norn Irn", "Northern Ireland's national anthem", "National anthem of Northern Ireland", "Ulster (occupied)", "Communications in Northern Ireland", "Norn Ireland", "Ireland (north)", "The Occupied 6 Counties", "Northern Ireland", "Tuaisceart Éireann", "North of Ireland"], "source": "triviaqa", "difficulty": "simple"} {"input": "who is crowned king of scotland at the end of macbeth", "answer": "Malcolm", "source": "nq", "difficulty": "simple"} {"input": "What is Rumi's occupation?", "answer": "[\"philosopher\", \"poet\", \"poetess\", \"bard\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are St. Mary High School (Rutherford, New Jersey) and Mother Teresa High School both located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who sang the way you look tonight first", "answer": "Fred Astaire", "source": "nq", "difficulty": "simple"} {"input": "How many times did the New York Yankees win the World Series in the 1970s?", "answer": ["Twice", "Twice (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "who did kelly end up with on 90210", "answer": "Dylan", "source": "nq", "difficulty": "simple"} {"input": "Which country the director of film Left Behind Ii: Tribulation Force is from?", "answer": "Canadian", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "where is the new years eve concert held", "answer": "Westminster Central Hall", "source": "nq", "difficulty": "simple"} {"input": "Write a function to reverse words in a given string.", "answer": "def reverse_words(s):\r\n return ' '.join(reversed(s.split()))", "source": "mbpp", "task_id": "604", "test_cases": "assert reverse_words(\"python program\")==(\"program python\")\nassert reverse_words(\"java language\")==(\"language java\")\nassert reverse_words(\"indian man\")==(\"man indian\")", "difficulty": "code"} {"input": "What is the place of birth of the composer of film Krishna (1996 Tamil Film)?", "answer": "Chennai", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who is older, Frank Dillane or Charles De Wendel?", "answer": "Charles De Wendel", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What film title does J. F. Lawton and Shawn Levy have in common?", "answer": "producer", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which event was a surprise military strike by the Imperial Japanese Navy Air Service while Magruder Hill Tuttle was a senior officer in the United States Navy?", "answer": "attack on Pearl Harbor", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "If driving on K-38 today, how many congressional districts are in your current state?", "answer": "4", "source": "musique", "difficulty": "multi_hop"} {"input": "Which band-mate of Joe Perry's co-wrote \"Monkey On My Back\" and is known as the \"Demon of Screamin\"?", "answer": "Steven Tyler", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When did the basketball player who inspired David Beckham to wear 23 introduce the Air Jordan?", "answer": "1985", "source": "musique", "difficulty": "multi_hop"} {"input": "how does the oral cavity help the digestive system", "answer": "produces a lubricating mucus", "source": "nq", "difficulty": "simple"} {"input": "In what city was Nikolai Kinski born?", "answer": "[\"Paris\", \"City of Light\", \"Paris, France\"]", "source": "popqa", "difficulty": "simple"} {"input": "What number album of Taylor Swift did Colbie Marie Caillat win a Grammy for?", "answer": "second", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What was the name of the sax player in New York New York who fell for Francine?", "answer": ["Jimmy (film)", "Jimmy", "Jimmy (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "who won the second battle of the marne", "answer": "The Allies", "source": "nq", "difficulty": "simple"} {"input": "Brisingr is the third novel in the \"Inheritance Cycle\", is a young adult tetralogy of high fantasy novels written by which American author?", "answer": "Christopher Paolini", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a python function to find the sum of fifth power of n natural numbers.", "answer": "def fifth_Power_Sum(n) : \r\n sm = 0 \r\n for i in range(1,n+1) : \r\n sm = sm + (i*i*i*i*i) \r\n return sm", "source": "mbpp", "task_id": "655", "test_cases": "assert fifth_Power_Sum(2) == 33\nassert fifth_Power_Sum(4) == 1300\nassert fifth_Power_Sum(3) == 276", "difficulty": "code"} {"input": "What is Giora Godik's occupation?", "answer": "[\"impresario\", \"Talent Manager\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which villain was played by Burgess Meredith in the 1960s Batman TV series?", "answer": ["Penguin (comics)", "The Penguin (comics)", "Oswald Chesterfield Cobblepot", "Actors to portray the Penguin", "Cobblepot", "Oswald Cobblepot", "The penguin", "The Penguin", "Penguin (Oswald Chesterfield Cobblepot)", "Penguin (character)"], "source": "triviaqa", "difficulty": "simple"} {"input": "who is the voice of the t rex in the good dinosaur", "answer": "Sam Elliott", "source": "nq", "difficulty": "simple"} {"input": "who sang life is a three ring circus", "answer": ["Barry Biggs", "Yorkville Grind", "Blue Magic", "Beady Eye"], "source": "nq", "difficulty": "simple"} {"input": "In what city was János Ferencsik born?", "answer": "[\"Budapest\", \"Buda Pest\", \"Buda-Pest\", \"Budapešť\", \"Budapesta\", \"Budapeszt\", \"Buda\", \"Ofen\", \"Budín\", \"Budim\", \"Budon\", \"Pest\", \"Pešť\", \"Pešta\", \"Óbuda\", \"Alt-Ofen\", \"Kőbánya\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Richard Myers's occupation?", "answer": "[\"songwriter\", \"song writer\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did the country Privilege's performer is a citizen of abolish the authority of the pope?", "answer": "August 1560", "source": "musique", "difficulty": "multi_hop"} {"input": "Whom is the country with the Vieux Fort River named after?", "answer": "Saint Lucy", "source": "musique", "difficulty": "multi_hop"} {"input": "Who was the defending champion when Andre Agassi first won Wimbledon singles?", "answer": "Michael Stich", "source": "triviaqa", "difficulty": "simple"} {"input": "What is the percentage of non-family households in the city where WNJN-FM is located?", "answer": "44.8%", "source": "musique", "difficulty": "multi_hop"} {"input": "Are both villages, Mazraeh-Ye Ruansar and Qalandar-E Sofla, located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was John O'Brien born?", "answer": "[\"Toomyvara\", \"Toomevara\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Thomas Seaton Scott born?", "answer": "[\"Birkenhead\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are the movies Carnival Of Souls and Uvanga, from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who starred in the movie same time next year", "answer": ["Ellen Burstyn", "Alan Alda"], "source": "nq", "difficulty": "simple"} {"input": "Why did the director of film The Machine Age die?", "answer": "Parkinson's disease", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "An American theoretical physicist who worked in particle physics and cosmology, she was also known as the Frank B. Baird, Jr., was a former guest on a podcast that was described as \"a think tank promoting science, reason, and secular values in public policy and at the grass roots\"; when was that podcast started?", "answer": "2005", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "\"In the Bible, for what \"\"price\"\" did Esau sell his birthright to his younger twin brother, Jacob?\"", "answer": "Pottage of lentils (Genesis 25:29-34)", "source": "triviaqa", "difficulty": "simple"} {"input": "when did heaven by kane brown come out", "answer": "December 2, 2016", "source": "nq", "difficulty": "simple"} {"input": "Who was born first George Marshall or Allan Dwan ?", "answer": "Allan Dwan", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Seungri's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who was born first, Mckeeva Bush or Owen Evans (Rugby Player)?", "answer": "Mckeeva Bush", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What song recorded by Fergie was produced by Polow da Don and was followed by Life Goes On?", "answer": "M.I.L.F. $", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "what happened to the third guy in nirvana", "answer": "death", "source": "nq", "difficulty": "simple"} {"input": "Which county border the county where Rapid City, South Dakota is located?", "answer": "Meade County", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Donnchad mac Briain born?", "answer": "[\"Ireland\", \"Éire\", \"IE\", \"IRL\", \"Republic of Ireland\", \"Hibernia\", \"Ireland, Republic of\", \"ie\", \"ireland\", \"🇮🇪\", \"Eire\", \"Southern Ireland\"]", "source": "popqa", "difficulty": "simple"} {"input": "which type of climate is characteristic of antarctica", "answer": "the ice cap polar climate", "source": "nq", "difficulty": "simple"} {"input": "Cohousing is a community designed around a shared space, an example being Sættedammen in which country?", "answer": "Denmark", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a python function to find the type of triangle from the given sides.", "answer": "def check_Type_Of_Triangle(a,b,c): \r\n sqa = pow(a,2) \r\n sqb = pow(b,2) \r\n sqc = pow(c,2) \r\n if (sqa == sqa + sqb or sqb == sqa + sqc or sqc == sqa + sqb): \r\n return (\"Right-angled Triangle\") \r\n elif (sqa > sqc + sqb or sqb > sqa + sqc or sqc > sqa + sqb): \r\n return (\"Obtuse-angled Triangle\") \r\n else: \r\n return (\"Acute-angled Triangle\")", "source": "mbpp", "task_id": "826", "test_cases": "assert check_Type_Of_Triangle(1,2,3) == \"Obtuse-angled Triangle\"\nassert check_Type_Of_Triangle(2,2,2) == \"Acute-angled Triangle\"\nassert check_Type_Of_Triangle(1,0,1) == \"Right-angled Triangle\"", "difficulty": "code"} {"input": "What is Edwin H. Knopf's occupation?", "answer": "[\"film director\", \"movie director\", \"director\", \"motion picture director\", \"screenwriter\", \"scenarist\", \"writer\", \"screen writer\", \"script writer\", \"scriptwriter\", \"film producer\", \"movie producer\", \"producer\"]", "source": "popqa", "difficulty": "simple"} {"input": "How many Jews live in the country other than Britain that claims the country River Island is located in?", "answer": "180,000-300,000", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Hate Man's occupation?", "answer": "[\"philosopher\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Del Quentin Wilber's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are both high schools, Fort Zumwalt South High School and West Chester East High School, located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who won an award first, the Brothers Quay or Alexandra Shiva?", "answer": "Brothers Quay", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where did Mirza Farkhunda Shah's father die?", "answer": "Rangoon", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "How many iPods did its manufacturers reveal was sold in April 2007?", "answer": "hundred million", "source": "musique", "difficulty": "multi_hop"} {"input": "Which species, Cardwellia or Ochagavia, is native to South America?", "answer": "Ochagavia", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are Max Tortora and William Soules from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What was the main color of a Storm trooper in Star Wars?", "answer": ["White (Colour)", "Rgb(255, 255, 255)", "White", "Whitishness", "Whiter", "(255, 255, 255)", "Whitishly", "White (political adjective)", "White-", "White-Finn", "Whitest", "FFFFFF", "Color/white", "Man on a white horse"], "source": "triviaqa", "difficulty": "simple"} {"input": "What month did the performer of \"Heartbeat Song\" win?", "answer": "September", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Moon Joo-won born?", "answer": "[\"South Korea\", \"Republic of Korea\", \"ROK\", \"kr\", \"Rep. Korea\", \"S. Korea\", \"Korea Republic\", \"🇰🇷\", \"KOR\"]", "source": "popqa", "difficulty": "simple"} {"input": "Where are the badlands located in the state that has a buffalo on its license plate?", "answer": "western North Dakota", "source": "musique", "difficulty": "multi_hop"} {"input": "Where did Ferdinand Marcos live in exile?", "answer": ["Haiwii", "The State of Hawaii", "Mokuʻāina o Hawaiʻi", "Mokuʻa-ina o Hawaiʻi", "Demographics of Hawaii", "Hawaiian culture", "Hawai'i Resident", "Economy of Hawaii", "Hawaii, United States", "Haiwaii", "US-HI", "Owhyhee", "Transport in Hawaii", "Hawii", "Hawaii, USA", "50th State", "Hawai’i", "Hawai'i", "Haway", "Hawai%60i", "Hawaii (U.S. state)", "State of Hawaiʻi", "Hawái", "Languages of Hawaii", "Hawaï", "Demographics of Hawaiʻi", "State of Hawai%60i", "Hawwaii", "Hawai‘i", "Moku%60aina o Hawai%60i", "U.S. (HI)", "Hawaií", "The Aloha State", "Hawaii", "Culture of Hawaii", "Geography of Hawaii", "Hawai'i State", "State of Hawaii", "Health in Hawaii", "Religion in Hawaii", "ハワイ", "Hawaiʻi", "Hawaii Resident", "Moku%60a-ina o Hawai%60i", "Howaii", "Fiftieth State", "Hawaii (state)", "Aloha State", "Education in Hawaii", "State of Hawai'i"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to calculate the standard deviation.", "answer": "import math\r\nimport sys\r\ndef sd_calc(data):\r\n n = len(data)\r\n if n <= 1:\r\n return 0.0\r\n mean, sd = avg_calc(data), 0.0\r\n for el in data:\r\n sd += (float(el) - mean)**2\r\n sd = math.sqrt(sd / float(n-1))\r\n return sd\r\ndef avg_calc(ls):\r\n n, mean = len(ls), 0.0\r\n if n <= 1:\r\n return ls[0]\r\n for el in ls:\r\n mean = mean + float(el)\r\n mean = mean / float(n)\r\n return mean", "source": "mbpp", "task_id": "717", "test_cases": "assert sd_calc([4, 2, 5, 8, 6])== 2.23606797749979\nassert sd_calc([1,2,3,4,5,6,7])==2.160246899469287\nassert sd_calc([5,9,10,15,6,4])==4.070217029430577", "difficulty": "code"} {"input": "The team Kevin Goldthwaite last played for play their home games at Providence Park since what year?", "answer": "2011", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who has the least punishments on impractical jokers", "answer": "Joe", "source": "nq", "difficulty": "simple"} {"input": "what is the running time of the last jedi", "answer": "152 minutes", "source": "nq", "difficulty": "simple"} {"input": "In what year was the author of \"Trading Christmas\" born?", "answer": "1948", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Borovička (also known as Juniper brandy), is a Slovak alcoholic beverage flavored with juniper berries, today's commercially produced borovička contains about 40% alcohol by volume, what is it called, also called alcohol, ethyl alcohol, and drinking alcohol, is a compound and simple alcohol with the chemical formula C2H5OH?", "answer": "Ethanol", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which film has the director born first, The House (2011 film) or Pengkhianatan G30S/PKI?", "answer": "Pengkhianatan G30S/Pki", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who controlled vietnam during the late 1800s to 1954", "answer": "The Nguyễn dynasty", "source": "nq", "difficulty": "simple"} {"input": "Who directed Revolver, the 2005 crime thriller starring the English actor Jason Statham?", "answer": "Guy Ritchie", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the date of death of Hercules Taylour's father?", "answer": "14 February 1795", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Did Lance Norick and Robert Whittaker have the same nationality?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "How old do you have to be to drink with a parent in the US state setting Driftless?", "answer": "18 - 20", "source": "musique", "difficulty": "multi_hop"} {"input": "Who was born first out of Walter Lambertus and Ingeborg Meyer-Rey?", "answer": "Ingeborg Meyer-Rey", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the capital of the state Curly Ray Cline is from?", "answer": "Charleston", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "The Jargon Society has published books by the founder and primary theorist of what group of poets?", "answer": "Objectivist", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who is going on tour with taylor swift 2018", "answer": ["Charli XCX", "Camila Cabello"], "source": "nq", "difficulty": "simple"} {"input": "Son of Paleface starred the comedian and vaudevilian of what nationality?", "answer": "American", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what year did regular Boeing 707 flights begin across he Atlantic?", "answer": ["1958", "one thousand, nine hundred and fifty-eight"], "source": "triviaqa", "difficulty": "simple"} {"input": "Where is the there a small medevial castle", "answer": "Scotland", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Roger Avary (born August 23, 1965) is a Canadian film and television producer, screenwriter and director in the American mass media industry, he wrote the screenplay for Beowulf, a 2007 British-American 3D motion capture epic fantasy film, directed by who?", "answer": "Robert Zemeckis", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Were Dan O'Connor (Prospector) and Hale Baugh from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when was your song by elton john released", "answer": "26 October 1970", "source": "nq", "difficulty": "simple"} {"input": "Write a function to find nth polite number.", "answer": "import math \r\ndef is_polite(n): \r\n\tn = n + 1\r\n\treturn (int)(n+(math.log((n + math.log(n, 2)), 2)))", "source": "mbpp", "task_id": "765", "test_cases": "assert is_polite(7) == 11\nassert is_polite(4) == 7\nassert is_polite(9) == 13", "difficulty": "code"} {"input": "what are the bikes called where you lay down", "answer": "A recumbent bicycle", "source": "nq", "difficulty": "simple"} {"input": "Did Lisen Hockings and Jean-Louis Mandel share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which film came out first, Fifty Fathoms Deep or Cool Breeze (Film)?", "answer": "Fifty Fathoms Deep", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who did Jane Fonda play in the 60s movie of the same name where she repeatedly lost her clothes.", "answer": ["Barbarella (disambiguation)", "Barbarella"], "source": "triviaqa", "difficulty": "simple"} {"input": "can't you see marshall tucker band album", "answer": "The Marshall Tucker Band", "source": "nq", "difficulty": "simple"} {"input": "When were the mosaics at the church in Sitki Uke's birthplace created?", "answer": "5th–6th centuries", "source": "musique", "difficulty": "multi_hop"} {"input": "who invented the television and when was it invented", "answer": ["1927", "Philo Taylor Farnsworth"], "source": "nq", "difficulty": "simple"} {"input": "who explored the west coast of north america", "answer": "Spanish", "source": "nq", "difficulty": "simple"} {"input": "What is the date of death of the composer of song Boy! What Love Has Done To Me!?", "answer": "July 11, 1937", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who sings the song save a horse ride a cowboy", "answer": "Big & Rich", "source": "nq", "difficulty": "simple"} {"input": "where is james scott from days of our lives", "answer": "other endeavours", "source": "nq", "difficulty": "simple"} {"input": "In what city was Robert Crannell Minor born?", "answer": "[\"New York City\", \"NYC\", \"New York\", \"the five boroughs\", \"Big Apple\", \"City of New York\", \"NY City\", \"New York, New York\", \"New York City, New York\", \"New York, NY\", \"New York City (NYC)\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Patrick O'Brien Demsey's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are Sparta and King Charles both from the same country?", "answer": "no", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which country was the first in the world to introduce a driving test?", "answer": ["La Republique francaise", "Franciaország", "La Republique française", "Belle France", "FRANCE", "Republique française", "France", "Ranska", "Franciaorszag", "French Republic", "République francaise", "République française", "ISO 3166-1:FR", "Frankreich", "France (country)", "Etymology of France", "FrancE", "La République française", "People of France", "Republic of France", "Fracne", "Le France", "The French Republic", "Republique francaise", "The Republic of France", "La République francaise", "La France", "Rain in France", "Republic of france", "FRance", "Frakkland", "Climate of France", "Franse"], "source": "triviaqa", "difficulty": "simple"} {"input": "who is often considered america's most prolific composer", "answer": "Stephen Collins Foster", "source": "nq", "difficulty": "simple"} {"input": "what is the second biggest state in united states", "answer": "Texas", "source": "nq", "difficulty": "simple"} {"input": "Do both films Where The Wild Things Are (Film) and A Modern Hero have the directors from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who used the sherman antitrust act to dissolve the monopoly of the northern securities company", "answer": "President Theodore Roosevelt", "source": "nq", "difficulty": "simple"} {"input": "what is the largest tree in the united states", "answer": ["a giant sequoia", "General Sherman"], "source": "nq", "difficulty": "simple"} {"input": "Why did the director of film The Little Hut die?", "answer": "heart attack", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What nationality is the director of film Age Of Consent (Film)?", "answer": "British", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Karl-Hans Riehm born?", "answer": "[\"Konz\"]", "source": "popqa", "difficulty": "simple"} {"input": "How is Scott Speedman and Michael Corvin related?", "answer": "Underworld", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Titus is the soundtrack to the film that starred which actors?", "answer": "Anthony Hopkins and Jessica Lange", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Giulio Bisegni born?", "answer": "[\"Frascati\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Rich Brightman's occupation?", "answer": "[\"singer-songwriter\", \"singer songwriter\", \"singer/songwriter\", \"singersongwriter\", \"singer-songwriter\"]", "source": "popqa", "difficulty": "simple"} {"input": "What was the first state to join the Union in the 20th century?", "answer": ["Okla.", "Oklahoma", "Oklahoma, United States", "Sooner State", "Forty-Sixth State", "Religion in Oklahoma", "Culture of Oklahoma", "46th State", "Oklahoma (U.S. state)", "Oklahoma, USA", "State of Oklahoma", "List of Oklahoma State Symbols", "Oaklahoma", "Oklaholma", "Transportation in Oklahoma", "US-OK", "Sports in Oklahoma", "Okla", "Oklahoman", "Oclahoma", "Education in Oklahoma", "Energy in Oklahoma", "Transport in Oklahoma", "Forty-sixth State", "Oklahoma (state)", "The Sooner State"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Klaus-Degenhard Schmidt born?", "answer": "[\"Kiel\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did the director of film Sylvia (1965 Film) die?", "answer": "September 29, 1993", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What nationality is the performer of song Hummingbird (1955 Song)?", "answer": "America", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who was the oppressive Communist leader who was deposed in 1989, in the country that contains the commune of Ighiu?", "answer": "Nicolae Ceaușescu", "source": "musique", "difficulty": "multi_hop"} {"input": "Where did the Baldevins bryllup director die?", "answer": "Copenhagen", "source": "musique", "difficulty": "multi_hop"} {"input": "Which country the director of film Back Street (1941 Film) is from?", "answer": "British", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "How did Kanye draw inspiration from U2, Led Zeppelin, and the band that performed Sweet Black Angel?", "answer": "melody and chord progression", "source": "musique", "difficulty": "multi_hop"} {"input": "Do both films: Arbitrage (film) and In the Wake of a Stranger have the directors from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "This Federation of Indian Airlines member is owned by what Indian business conglomerate?", "answer": "Wadia Group", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "highest goal scored in a champions league season", "answer": "17", "source": "nq", "difficulty": "simple"} {"input": "In which year was the talkie The Jazz Singer released?", "answer": ["one thousand, nine hundred and twenty-seven", "1927"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to find the minimum total path sum in the given triangle.", "answer": "def min_sum_path(A): \r\n\tmemo = [None] * len(A) \r\n\tn = len(A) - 1\r\n\tfor i in range(len(A[n])): \r\n\t\tmemo[i] = A[n][i] \r\n\tfor i in range(len(A) - 2, -1,-1): \r\n\t\tfor j in range( len(A[i])): \r\n\t\t\tmemo[j] = A[i][j] + min(memo[j], \r\n\t\t\t\t\t\t\t\t\tmemo[j + 1]) \r\n\treturn memo[0]", "source": "mbpp", "task_id": "974", "test_cases": "assert min_sum_path([[ 2 ], [3, 9 ], [1, 6, 7 ]]) == 6\nassert min_sum_path([[ 2 ], [3, 7 ], [8, 5, 6 ]]) == 10 \nassert min_sum_path([[ 3 ], [6, 4 ], [5, 2, 7 ]]) == 9", "difficulty": "code"} {"input": "Richard Nixon was Vice President to which US state?", "answer": ["Eisenhower Dwight", "Health issues of Dwight D. Eisenhower", "D. D. Eisenhower", "Dynamic Conservatism", "General Dwight Eisenhower", "David Jacob Eisenhower", "Dweight Eisenhower", "34th President of the United States", "Dwight E Eisenhower", "Eisehower", "President Dwight D. Eisenhower", "David Dwight Eisenhower", "Ike (nickname)", "Eisenhower", "Eishenhower", "General Dwight David Eisenhower", "Dwight D. Eisenhower", "President Eisenhower", "Ike Eisenhower", "Dwight Eisenhower", "D. Eisenhower", "General Eisenhower", "David D. Eisenhower", "President Dwight Eisenhower", "Dwight eisenhower", "Dwight Eisenhour", "Dwight Eisienhower", "Dwight Eisenhauer", "Dwight David Eisenhower", "Dwight D Eisenhower", "General of the Army Dwight Eisenhower"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Beniamino Di Giacomo born?", "answer": "[\"Porto Recanati\"]", "source": "popqa", "difficulty": "simple"} {"input": "how many planet of the ape films are there", "answer": "9", "source": "nq", "difficulty": "simple"} {"input": "What network did the show on which Kim Roberts played Neeva air on?", "answer": "FX", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "what adds a phosphate group to adp to form atp", "answer": "oxidative phosphorylation", "source": "nq", "difficulty": "simple"} {"input": "What Brazilian professional footballer endorsed the Mercurial Vapor boot?", "answer": "Philippe Coutinho Correia", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function to sum elements in two lists.", "answer": "def sum_list(lst1,lst2):\r\n res_list = [lst1[i] + lst2[i] for i in range(len(lst1))] \r\n return res_list", "source": "mbpp", "task_id": "728", "test_cases": "assert sum_list([10,20,30],[15,25,35])==[25,45,65]\nassert sum_list([1,2,3],[5,6,7])==[6,8,10]\nassert sum_list([15,20,30],[15,45,75])==[30,65,105]", "difficulty": "code"} {"input": "Which Russian-born American wrote I, Robot?", "answer": ["Isaac Asimov complete bibliography", "Issac asimov", "Dr A", "Complete bibliography of books by Isaac Asimov", "World Season Calendar", "IsaacAsimov", "Dr. A", "Eyzek Asimov", "Isaac Asimov bibliography", "Issac assimov", "Asimov's work", "Isaac azimov", "List of books by Isaac Asimov", "Asimov’s work", "Isaac asimov", "Isaak Yudovich Ozimov", "Asimov, Isaac", "Asimovian", "George E. Dale", "Bibliography of Isaac Asimov", "Eyzik Asimov", "Asimov", "Isaac Asimov", "Izaak Ozimov", "World Seasonal Calendar", "Manya Asimov", "Bibliography of isaac asimov", "Issac Asimov", "Marcia Asimov", "Dr. Isaac Asimov", "Isaak Ozimov", "Isaac Asimov Complete Bibliography", "Isacc Asimov", "Isac Asimof", "Aisek Asimov", "Isaac Asimov works", "Isaac Azimov", "List of Isaac Asimov works"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which 20th Century Fox film cast Zazie Beetz as Domino?", "answer": "Deadpool 2", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when did us gain control of the philippines", "answer": "December 10, 1898", "source": "nq", "difficulty": "simple"} {"input": "What's the county seat of Lone Hickory, a town in the same state as fictional Mayberry?", "answer": "Yadkinville", "source": "musique", "difficulty": "multi_hop"} {"input": "when does rupauls drag race season 10 start", "answer": "sometime in spring 2018", "source": "nq", "difficulty": "simple"} {"input": "who plays caputo on orange is the new black", "answer": "Nick Sandow", "source": "nq", "difficulty": "simple"} {"input": "Where did the person with the most no-hitters in MLB history go to high school?", "answer": "Alvin High School", "source": "musique", "difficulty": "multi_hop"} {"input": "when did france give us the statue of liberty", "answer": "June 17, 1885", "source": "nq", "difficulty": "simple"} {"input": "Billy Crystal had a full college scholarship in which sport?", "answer": ["Baseball game", "Baseball players", "Baseball player", "Basebasll", "American baseball", "Béisbol", "Baseball team", "Baseball Player", "Base Ball", "Beisbol", "Baseball", "America's pasttime", "America's past time", "The transformation of baseball", "Baseball Sign", "Basebol", "Base-Ball", "Baseballer", "BaseBall", "Simplified baseball rules", "America's past-time", "Base-ball", "Globalization of baseball", "Basebal", "Base ball", "American rounders"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which film has the director born later, Razmeđa or Bullyparade – Der Film?", "answer": "Bullyparade – Der Film", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when are the fa cup semi finals played", "answer": "the new Wembley Stadium", "source": "nq", "difficulty": "simple"} {"input": "Gunn-toting Wyatt Earp survived to what age?", "answer": ["80", "eighty"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Erick Benzi born?", "answer": "[\"Marseille\", \"Massaliotes\", \"Massalia\", \"Marsailles\", \"Marseilles\", \"Marsielles\", \"Marsielle\", \"City of Marseille\", \"Marsaille\", \"Marsiglia\", \"Marseille, France\", \"Ville-sans-Nom\", \"Sans-Nom\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Rie Oh born?", "answer": "[\"Tokyo\", \"Tōkyō\", \"Tôkyô\", \"Tokyo-to\", \"Tokyo Metropolitan prefecture\", \"Tōkyō-to\", \"Tôkyô-to\", \"Tokyo Metropolis\", \"Tokio\", \"Tokyo Prefecture\"]", "source": "popqa", "difficulty": "simple"} {"input": "How long is the term of a member from the house of the body providing oversight for the commission that issued the report in 1958?", "answer": "five-year term", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Andreas Rüdiger's occupation?", "answer": "[\"philosopher\"]", "source": "popqa", "difficulty": "simple"} {"input": "What weekly publication in Andy Bloch's birthplace is issued by Harvard's most intense rival?", "answer": "Yale Herald", "source": "musique", "difficulty": "multi_hop"} {"input": "When did Adolphe-Philippe Caron's father die?", "answer": "13 December 1876", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are both high schools, Geneseo Middle/High School and Queen Of Peace High School (Illinois), located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Stanley Peiris's occupation?", "answer": "[\"composer\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who does the person regarded as a feminist during her time play in A League of Their Own?", "answer": "taxi dancer ``All the Way ''Mae Mordabito", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to find minimum of two numbers.", "answer": "def min_of_two( x, y ):\r\n if x < y:\r\n return x\r\n return y", "source": "mbpp", "task_id": "970", "test_cases": "assert min_of_two(10,20)==10\nassert min_of_two(19,15)==15\nassert min_of_two(-10,-20)==-20", "difficulty": "code"} {"input": "In what city was David Oppenheim born?", "answer": "[\"Calabasas\", \"Calabasas, California\"]", "source": "popqa", "difficulty": "simple"} {"input": "\"About which British politician did Francois Mitterrand say, \"\"She has the mouth of Marilyn Monroe and the eyes of Caligula?\"\"\"", "answer": ["Baroness Margaret Thatcher", "Lady Thatcher", "Margret thatcher", "The Baroness Thatcher", "Margret Thatcher", "The Lady Thatcher", "Margaret Tatcher", "Margaret Thatcher", "Mrs T", "Mrs Thatcher", "Margaret Hilda Thatcher, Baroness Thatcher", "Mrs. T", "Baroness Thatcher of Kesteven", "Margaret Thatcer", "Margaret Thatcher's", "Mrs Finchley", "Prime Minister Margaret Thatcher", "Thatcherian", "Margaret Thacher", "Margaret Thatcher bibliography", "Margaret Thatcher Day", "M thatcher", "Lady T", "Maggie Thatcher", "Margaret Hilda Thatcher", "Milk snatcher", "Baroness The Margaret Thatcher", "Margaret Thatcher, Baroness Thatcher", "Margaret Hilda Roberts Thatcher", "Margeret Thatcher", "Margareth Thatcher", "Mrs Denis Thatcher", "Margaret Hilda Roberts", "Mrs. Thatcher", "Milk Snatcher", "Margaret Thatcher Library", "Margaret thatcher", "Baroness Thatcher", "Margeret thatcher"], "source": "triviaqa", "difficulty": "simple"} {"input": "who wrote something in the way she moves", "answer": "James Taylor", "source": "nq", "difficulty": "simple"} {"input": "He who garnered the most electoral votes in 1824 had a nephew named what?", "answer": "Daniel Smith Donelson", "source": "musique", "difficulty": "multi_hop"} {"input": "Who directed a 2016 musical filmed in Howth?", "answer": "John Carney", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "\"What words did Lewis Carroll combine to come up with the term \"\"chortle\"\" in Through a Looking-Glass?\"", "answer": "Chuckle and snort", "source": "triviaqa", "difficulty": "simple"} {"input": "Are the directors of films Poonthenaruvi and Fun In The Barracks both from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are Ahmad Syafi'i Maarif and Mukund Varadarajan of the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Toronto's Insight Sports is partially owned by what Canadian businessman?", "answer": "Lawrence M. Tanenbaum", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What county contains Glendale, found in the state which is in the center of the U.S.?", "answer": "Saline County", "source": "musique", "difficulty": "multi_hop"} {"input": "In Chaplin's The Great Dictator, which country did the dictator rule?", "answer": ["Tomania", "Great Dictator", "Adenauer Hynkel", "Hynkel", "Adenoid Hinkel", "Benzino Napalani", "Tomainia", "The Great Dictator", "Hynckel", "Adenoid Hynkel"], "source": "triviaqa", "difficulty": "simple"} {"input": "Tess Trueheart is the wife of what comic strip character?", "answer": ["Dick tracy watch", "Plainclothes Tracy", "Dick Tracey", "Dick Tracy watch", "Dick Tracy", "Dick Tracy (radio series)"], "source": "triviaqa", "difficulty": "simple"} {"input": "What poem by this writer born in September 1872 was used in devotional and spoken word recordings?", "answer": "Desiderata", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Jacopo Melani's occupation?", "answer": "[\"composer\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which role did Rupert Everett play in The Madness of King George?", "answer": ["HRH The Prince Charles, Duke of Rothesay", "HRH The Prince of Wales", "Charles, prince of wales", "Charles, Duke of Cornwall", "Charles Windsor", "Prince Charles of Edinburgh", "Prince Charles of the United Kingdom", "War of the Waleses", "Princes Charles", "The Prince Charles", "HRH Prince Charles", "The Prince Of Wales", "Charles of the United Kingdom", "Charles Philip Arthur Windsor", "Prince Charles", "His Highness Prince Charles", "Charles Windsor, Prince of Wales", "HM The Duke of Cornwall", "Prince Charles, Wales", "Charles, Price of Wales", "Charles Philip Arthur George", "Next king of the United Kingdom", "The Duke of Cornwall", "Charles Philip Arthur George Windsor-Mountbatten", "Prince of Wales Charles", "HRH Prince Charles, Prince of Wales", "The Prince Charles, Duke of Rothesay", "Charles, prince of Wales", "The Duke of Rothesay", "Charles, Duke of Rothesay", "Next king of the UK", "Charles, Crown Prince of Britain", "Prince Charles, Duke of Cornwal", "Prince Charles, Duke of Rothesay", "Next king of Australia", "Charles of Wales", "Monstrous carbuncle", "The Prince Charles, Prince of Wales", "HRH The Prince Charles", "Charles, Prince of Wales", "Prince Charles of Wales", "HRH The Duke of Cornwall", "HRH The Duke of Rothesay", "Prince Charles, Prince of Wales", "Next king of Canada", "Charles of Edinburgh", "Charles III of the United Kingdom", "Prince Charles, the Duke of Rothesay", "HRH The Prince of Wales (Prince Charles)", "Charles prince of wales", "Prince Charles, Duke of Cornwall", "Charles Philip Arthur George Mountbatten-Windsor", "Charles, Duke of Cornwal", "The Prince of Wales", "Charles Mountbatten-Windsor", "Prince charles", "Charles V of England", "Charles, the Prince of Wales"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Hugo Becker's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "what was the name of the hamburger guy in popeye", "answer": "Wimpy", "source": "nq", "difficulty": "simple"} {"input": "In which country is Logan, a city in the county sharing a border with Emerald Beach's county in the state where The Ozarks takes place?", "answer": "U.S.", "source": "musique", "difficulty": "multi_hop"} {"input": "How many seasons was the lyricist of \"Forever\" a judge on American Idol?", "answer": "one", "source": "musique", "difficulty": "multi_hop"} {"input": "what was the birth year of the fifth governor of a British colony in north America that existed from 1632 to 1776?", "answer": "1626", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Version 7 of this vehicle with the same name as the company that produced AMC 35 is part of what series?", "answer": "supermini", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the country the Allies went to after leaving the region under which WINEP bundles the countries of northwest Africa an instance of?", "answer": "European Union member state", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to count the most common character in a given string.", "answer": "from collections import Counter \r\ndef max_char(str1):\r\n temp = Counter(str1) \r\n max_char = max(temp, key = temp.get)\r\n return max_char", "source": "mbpp", "task_id": "937", "test_cases": "assert max_char(\"hello world\")==('l')\nassert max_char(\"hello \")==('l')\nassert max_char(\"python pr\")==('p')", "difficulty": "code"} {"input": "who is the longest serving actor in eastenders", "answer": "Adam Woodyatt", "source": "nq", "difficulty": "simple"} {"input": "how many membranes do gram negative bacteria have", "answer": "two", "source": "nq", "difficulty": "simple"} {"input": "When is Karl Johann Von Königsmarck's father's birthday?", "answer": "24 March 1634", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who was born earlier, Zehra Borazancı or Hassan Gouled Aptidon?", "answer": "Hassan Gouled Aptidon", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Pathit Pisitkul's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Ed Sullivan born?", "answer": "[\"New York City\", \"NYC\", \"New York\", \"the five boroughs\", \"Big Apple\", \"City of New York\", \"NY City\", \"New York, New York\", \"New York City, New York\", \"New York, NY\", \"New York City (NYC)\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who had a 60s No 1 hit with I'm Telling You Now?", "answer": ["Freddy and the Dreamers", "Freddie and the Dreamers", "Freddie and the dreamers", "Freddie & the Dreamers", "Freddie & The Dreamers"], "source": "triviaqa", "difficulty": "simple"} {"input": "Where was the director of film Perfume De Gardênia born?", "answer": "Ribeirão Preto", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What educational institution is at home in the city of the headquarter of Askville's owner?", "answer": "University of Washington", "source": "musique", "difficulty": "multi_hop"} {"input": "when was gold discovered in the klondike region of the yukon", "answer": "August 16, 1896", "source": "nq", "difficulty": "simple"} {"input": "when was fast times at ridgemont high made", "answer": "1982", "source": "nq", "difficulty": "simple"} {"input": "the invasion of kuwait by iraq resulted in a conflict that became known as", "answer": "the first Gulf War", "source": "nq", "difficulty": "simple"} {"input": "What was Bob Hoskins' profession when he worked in the circus?", "answer": ["Fire-eater", "Eating fire", "Fire eating", "Fire-eating", "Fire swallowing", "Fire eater", "Fire Eating"], "source": "triviaqa", "difficulty": "simple"} {"input": "Where did the director of film Ten Canoes study?", "answer": "Australian Film, Television and Radio School", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are Beyazıt Tower and Miniatürk both in Istanbul, Turkey?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When did the cleveland rams move to the city where the subject of \"Heaven Adores You\" died?", "answer": "1946", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to extract unique values from the given dictionary values.", "answer": "def extract_unique(test_dict):\r\n res = list(sorted({ele for val in test_dict.values() for ele in val}))\r\n return res", "source": "mbpp", "task_id": "694", "test_cases": "assert extract_unique({'msm' : [5, 6, 7, 8],'is' : [10, 11, 7, 5],'best' : [6, 12, 10, 8],'for' : [1, 2, 5]} ) == [1, 2, 5, 6, 7, 8, 10, 11, 12]\nassert extract_unique({'Built' : [7, 1, 9, 4],'for' : [11, 21, 36, 14, 9],'ISP' : [4, 1, 21, 39, 47],'TV' : [1, 32, 38]} ) == [1, 4, 7, 9, 11, 14, 21, 32, 36, 38, 39, 47]\nassert extract_unique({'F' : [11, 13, 14, 17],'A' : [12, 11, 15, 18],'N' : [19, 21, 15, 36],'G' : [37, 36, 35]}) == [11, 12, 13, 14, 15, 17, 18, 19, 21, 35, 36, 37]", "difficulty": "code"} {"input": "Who is the spouse of the performer of Soldier's Plea?", "answer": "Anna Gordy Gaye", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Fred C. Newmeyer's occupation?", "answer": "[\"film director\", \"movie director\", \"director\", \"motion picture director\", \"film producer\", \"movie producer\", \"producer\", \"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "who is the current madam president in the senate", "answer": "Orrin Hatch", "source": "nq", "difficulty": "simple"} {"input": "Ezhou and Yangzhong are both cities in what country?", "answer": "China", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when does season 3 of live pd start", "answer": "September 21, 2018", "source": "nq", "difficulty": "simple"} {"input": "Who is the current prime minister of the country where Rio Cobre is located?", "answer": "Andrew Holness", "source": "musique", "difficulty": "multi_hop"} {"input": "Which private research university is located in Chestnut Hill, Massachusetts Boston College or Stanford University?", "answer": "Boston College", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where was the director of film Food For Scandal born?", "answer": "Ogden", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "where are the upper motor neurons that control skeletal muscles found", "answer": "the precentral gyrus", "source": "nq", "difficulty": "simple"} {"input": "Write a function to find number of even elements in the given list using lambda function.", "answer": "def count_even(array_nums):\r\n count_even = len(list(filter(lambda x: (x%2 == 0) , array_nums)))\r\n return count_even", "source": "mbpp", "task_id": "697", "test_cases": "assert count_even([1, 2, 3, 5, 7, 8, 9, 10])==3\nassert count_even([10,15,14,13,-18,12,-20])==5\nassert count_even([1, 2, 4, 8, 9])==3", "difficulty": "code"} {"input": "Do director of film Crocodile Dundee In Los Angeles and director of film Life At The Top (Film) have the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who was the founder of the Back to Africa movement who largely inspired Rastafarianism?", "answer": ["MARCUS GARVEY", "Marcus Garvey Moziah Jr", "Marcus Aurelius Garvey", "Marcus Garvey", "Marcus Moziah Garvey", "Marcus M. Garvey", "Marcus Mosiah Garvey", "Marcus garvey", "Marcus Garvy", "Garveyan"], "source": "triviaqa", "difficulty": "simple"} {"input": "Where did the director of film Confession (1937 Film) die?", "answer": "Hollywood", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What lobby group from the country where Burcu Düner is from wants the border with Armenia opened?", "answer": "Turkish business lobby", "source": "musique", "difficulty": "multi_hop"} {"input": "What was the franchise, in which Anton Šťastný played 9 seasons, renamed after moving in 1995?", "answer": "Colorado Avalanche", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function to caluclate arc length of an angle.", "answer": "def arc_length(d,a):\r\n pi=22/7\r\n if a >= 360:\r\n return None\r\n arclength = (pi*d) * (a/360)\r\n return arclength", "source": "mbpp", "task_id": "761", "test_cases": "assert arc_length(9,45)==3.5357142857142856\nassert arc_length(9,480)==None\nassert arc_length(5,270)==11.785714285714285", "difficulty": "code"} {"input": "when did harry potter and the deathly hallows come out", "answer": "21 July 2007", "source": "nq", "difficulty": "simple"} {"input": "What Bible college located in Louisville, Kentucky, was attended by Paul R. House who served for a time as president of the Evangelical Theological Society?", "answer": "Southern Baptist Theological Seminary", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the date of death of Jane Alice Morris's mother?", "answer": "26 January 1914", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which film has the director who was born first, The Last Winter (2006 Film) or Too Much Wife?", "answer": "Too Much Wife", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When did George Simpson's birthplace become a province?", "answer": "1873", "source": "musique", "difficulty": "multi_hop"} {"input": "Which show connects Arthur Darvill and Matt Smith?", "answer": "Doctor Who", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which princess took out an injunction against a photographer after he tried to take photographs of her?", "answer": ["Diana Princess of Wales", "Diana the Princess of Wales", "Diana, princess of Wales", "Princess Diana of Wales", "Princess Dianna", "Diana Spencer, Princess of Wales", "Princess of Wales Diana", "Diana (Princess of Wales)", "Diana Windsor", "Diana Spencer", "Lady Diana", "Princess diana", "Lady Diana Frances Spencer", "Diana Spenser", "Princess Diana", "Princess Diane", "Diana princess of wales", "Diana Frances", "Diana, Princess Of Wales", "Princess Di", "Princess Diaa", "Princess Diana Spencer", "Diana of Wales", "Diana, Princess of Wales", "Diana, Duchess of Rothesay", "Diana of Althorp", "Lady Di", "Dianamania", "Lady Diana Spencer", "Diana Frances Spencer"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Magic Johnson's real first name?", "answer": "Earvin", "source": "triviaqa", "difficulty": "simple"} {"input": "What cigars are named for the capitol of the country where Granma is located?", "answer": "Havana cigars", "source": "musique", "difficulty": "multi_hop"} {"input": "What instrument is played by the artist of (I) Get Lost?", "answer": "violin", "source": "musique", "difficulty": "multi_hop"} {"input": "What breed of dog did Columbo own?", "answer": ["Basset Hound", "Bassett hound", "Basset hounds", "Basset hound", "Basid hound"], "source": "triviaqa", "difficulty": "simple"} {"input": "When did the drinking age become 21 in the state where Kaya Wittenburg was born?", "answer": "September 1, 1986", "source": "musique", "difficulty": "multi_hop"} {"input": "Who is Humphrey, Duke Of Gloucester's paternal grandmother?", "answer": "Blanche of Lancaster", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who along with Philips developed the CD in the late 70s?", "answer": ["Tokyo Tsushin Kogyo", "DCR-DVD405E", "DSC-P93", "ソニー株式会社", "DSC-T10", "Sony Corporation", "DCR-TRV38", "DCR-SR35E", "List of Sony shareholders and subsidiaries", "Sony Style", "Sony Corp.", "MODEL-NAME", "Sony Entertainment", "S0ny", "Sony corporation", "The Sony Corporation", "List of Sony products", "DSC-WX100 v1.00", "Sony Electronics", "Sony Europe", "List of assets owned by Sony Corporation", "Sony", "Sony Broadcast & Professional Research Laboratories", "Tokyo Telecommunications Engineering", "Sony EMCS", "Sony (Sony Corporation, Japan)", "Sony Company", "ソニー", "Sony CISC", "Sony Store", "HDR-SR12", "SONY", "DSC-WX100", "Sonī Kabushiki Gaisha", "Sony.com", "Sony Electronics Inc.", "SonyStyle", "Tokyo Telecommunications Engineering Corporation", "Sony Corp", "MMCD", "Sony Group", "Sony City"], "source": "triviaqa", "difficulty": "simple"} {"input": "Do both films Tough to Handle and The Forgotten (2004 film) have the directors from the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What genre is The Warriors Gate?", "answer": "action", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who wrote the poem i must go down to the sea again", "answer": "John Masefield", "source": "nq", "difficulty": "simple"} {"input": "Write a function to check whether the given ip address is valid or not using regex.", "answer": "import re \r\nregex = '''^(25[0-5]|2[0-4][0-9]|[0-1]?[0-9][0-9]?)\\.( \r\n\t\t\t25[0-5]|2[0-4][0-9]|[0-1]?[0-9][0-9]?)\\.( \r\n\t\t\t25[0-5]|2[0-4][0-9]|[0-1]?[0-9][0-9]?)\\.( \r\n\t\t\t25[0-5]|2[0-4][0-9]|[0-1]?[0-9][0-9]?)$'''\r\ndef check_IP(Ip): \r\n\tif(re.search(regex, Ip)): \r\n\t\treturn (\"Valid IP address\") \r\n\telse: \r\n\t\treturn (\"Invalid IP address\")", "source": "mbpp", "task_id": "669", "test_cases": "assert check_IP(\"192.168.0.1\") == 'Valid IP address'\nassert check_IP(\"110.234.52.124\") == 'Valid IP address'\nassert check_IP(\"366.1.2.2\") == 'Invalid IP address'", "difficulty": "code"} {"input": "The Dutch-Belgian television series that \"House of Anubis\" was based on first aired in what year?", "answer": "2006", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Reader's Digest and Scientific American are both what?", "answer": "magazine", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "the cast of the big valley tv show", "answer": ["Barbara Stanwyck", "Linda Evans", "Lee Majors", "Peter Breck", "Richard Long"], "source": "nq", "difficulty": "simple"} {"input": "\"Which entertainer said, \"\"He was into animal husbandry--until they caught him at it?\"", "answer": ["The Irish Ballad (Song)", "Thomas Andrew Lehrer", "Tom Lehr", "National Brotherhood Week (song)", "We Will All Go Together When We Go", "Lehrer, Thomas Andrew", "Tom Lehrer", "Hen3ry", "The Vatican Rag", "Vatican rag", "The Irish Ballad (song)", "The Irish Ballad", "The Physical Revue", "Proud to be a Soilder"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a python function to check whether the length of the word is even or not.", "answer": "def word_len(s): \r\n s = s.split(' ') \r\n for word in s: \r\n if len(word)%2==0: \r\n return True \r\n else:\r\n return False", "source": "mbpp", "task_id": "964", "test_cases": "assert word_len(\"program\") == False\nassert word_len(\"solution\") == True\nassert word_len(\"data\") == True", "difficulty": "code"} {"input": "who wrote don't stop me now by queen", "answer": "Freddie Mercury", "source": "nq", "difficulty": "simple"} {"input": "What 1998 film with Arthur Nascarella was directed by Tony Scott?", "answer": "Enemy of the State", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who played adam newman on the young and restless", "answer": ["Justin Hartley", "Chris Engen", "Michael Muhney"], "source": "nq", "difficulty": "simple"} {"input": "Which was the first European country to abolish capital punishment?", "answer": ["Norvège", "Mainland Norway", "Norway", "Norvege", "Noregur", "NORWAY", "Norwegian state", "Etymology of Norway", "Noruega", "Norwegen", "ISO 3166-1:NO", "Noreg", "Republic of Norway", "Norwegian kingdom", "Kongeriket Noreg", "Name of Norway", "Kongeriket Norge", "Noorwegen", "Kingdom of Norway", "Sport in Norway", "Norwegia", "Royal Kingdom of Norway"], "source": "triviaqa", "difficulty": "simple"} {"input": "who wrote the first computer virus called elk cloner", "answer": "Rich Skrenta", "source": "nq", "difficulty": "simple"} {"input": "Which television series did Deborah Ann Woll play in that was a spin-off of Marvel's Daredevil?", "answer": "The Punisher", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which terrorist group murdered Italian Prime Minister Aldo Moro?", "answer": ["Brigate rosse", "Brigate Rosse", "Red Brigades", "Red Brigade", "Brigate-Rosse", "Italian Red Brigade", "The Red Brigades", "Italian Red Brigades", "Red Brigades - Union of Combatant Communists"], "source": "triviaqa", "difficulty": "simple"} {"input": "In 1999 Anna Kournikova signed a lucrative contract to model what?", "answer": ["Bras", "Bras (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who was the only Spice Girl not to have a middle name?", "answer": ["My Love Is For Real (Victoria Beckham song", "Romeo James Beckham", "Harper Seven Beckham", "Posh Spice", "Victoria addams", "Victoria Beckham", "Victoria Adams Beckham", "Harper Beckham", "Victoria Caroline Beckham", "I'd Give It All Away", "Come Together (Victoria Beckham album)", "Posh spice", "The Hustla", "My Love Is For Real (Victoria Beckham song)", "Victoria beckham"], "source": "triviaqa", "difficulty": "simple"} {"input": "What nationality were Mother Teresa's parents?", "answer": ["Albanian", "Albanian (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "What was the first sitcom to reach No 1 in the Nielsen ratings?", "answer": ["Mrs. McGillicuddy", "Lucy and Ethel", "Mrs. MacGillicuddy", "List of all I Love Lucy Cast", "Lucy McGillicuddy", "Herman shlup", "Lucy in Connecticut", "I love Lucy Characters", "I love Lucy", "Vita-meata-vega-min", "Lucy MacGillicuddy", "I Love Lucy", "I love lucy"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what country is the administrative territorial entity that is found in the city where Schloss Favorite is located?", "answer": "Germany", "source": "musique", "difficulty": "multi_hop"} {"input": "Who refuted the statement that the Queen was critical of the jurisdiction that the European Economic and Social Committee applies to?", "answer": "Deputy Prime Minister Nick Clegg", "source": "musique", "difficulty": "multi_hop"} {"input": "when did the original my little pony come out", "answer": "1981", "source": "nq", "difficulty": "simple"} {"input": "How did the signer of the Civil Rights Act of 1991 try to convey that he was the stronger, tougher candidate?", "answer": "presenting himself as a decisive leader and contrasted Kerry as a \"flip-flopper.\"", "source": "musique", "difficulty": "multi_hop"} {"input": "who won the battle of the sexes in 1973", "answer": "Billie Jean King", "source": "nq", "difficulty": "simple"} {"input": "Which film has the director who was born earlier, The Sea Hornet or The Program (2015 Film)?", "answer": "The Sea Hornet", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the date of death of the performer of song Duodenum (Song)?", "answer": "December 4, 1993", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "how many seasons of blue heelers are there", "answer": "13", "source": "nq", "difficulty": "simple"} {"input": "What record label does the songwriter who wrote you can't make old friends sign?", "answer": "Reprise Records", "source": "musique", "difficulty": "multi_hop"} {"input": "Alan Furst and Lee Child are what?", "answer": "is a British author", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Manchester City Football Club is a football club in Manchester, England, the club moved to the City of Manchester Stadium, in Manchester, England, also known as the Etihad Stadium for sponsorship reasons, in what year?", "answer": "2003", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a python function to convert a list of multiple integers into a single integer.", "answer": "def convert(list): \r\n s = [str(i) for i in list] \r\n res = int(\"\".join(s)) \r\n return (res)", "source": "mbpp", "task_id": "673", "test_cases": "assert convert([1,2,3]) == 123\nassert convert([4,5,6]) == 456\nassert convert([7,8,9]) == 789", "difficulty": "code"} {"input": "What video game magazine was a part subsidiary of a Chinese-owned venture capital organization?", "answer": "GamePro", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Greg Miller's occupation?", "answer": "[\"cartoonist\", \"graphic artist\", \"animator\", \"illustrator\", \"animator\", \"animation artist\", \"cartoonist\", \"graphic artist\", \"storyboard artist\", \"story artist\", \"visualizer\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to split the given string at uppercase letters by using regex.", "answer": "import re\r\ndef split_list(text):\r\n return (re.findall('[A-Z][^A-Z]*', text))", "source": "mbpp", "task_id": "956", "test_cases": "assert split_list(\"LearnToBuildAnythingWithGoogle\") == ['Learn', 'To', 'Build', 'Anything', 'With', 'Google']\nassert split_list(\"ApmlifyingTheBlack+DeveloperCommunity\") == ['Apmlifying', 'The', 'Black+', 'Developer', 'Community']\nassert split_list(\"UpdateInTheGoEcoSystem\") == ['Update', 'In', 'The', 'Go', 'Eco', 'System']", "difficulty": "code"} {"input": "What is Christoph Schlingensief's occupation?", "answer": "[\"theatrical director\", \"stage director\", \"theatre director\", \"play director\", \"director\", \"theater director\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to check whether the given string is ending with only alphanumeric characters or not using regex.", "answer": "import re \r\nregex = '[a-zA-z0-9]$'\r\ndef check_alphanumeric(string): \r\n\tif(re.search(regex, string)): \r\n\t\treturn (\"Accept\") \r\n\telse: \r\n\t\treturn (\"Discard\")", "source": "mbpp", "task_id": "860", "test_cases": "assert check_alphanumeric(\"dawood@\") == 'Discard'\nassert check_alphanumeric(\"skdmsam326\") == 'Accept'\nassert check_alphanumeric(\"cooltricks@\") == 'Discard'", "difficulty": "code"} {"input": "Who acted in \"Shanghai Knights\" and voiced Lightning McQueen in the \"Cars\" franchise?", "answer": "Owen Wilson", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what country are the cities Guilin and Ankang located?", "answer": "China", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where are the metalcore band from, that released second full-length album titled Rage?", "answer": "Atlanta, Georgia", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What college did the writer of The Picture of Dorian Gray attend?", "answer": "Trinity College", "source": "musique", "difficulty": "multi_hop"} {"input": "In which country is the deepwater port of Trondheim?", "answer": ["Norvège", "Mainland Norway", "Norway", "Norvege", "Noregur", "NORWAY", "Norwegian state", "Etymology of Norway", "Noruega", "Norwegen", "ISO 3166-1:NO", "Noreg", "Republic of Norway", "Norwegian kingdom", "Kongeriket Noreg", "Name of Norway", "Kongeriket Norge", "Noorwegen", "Kingdom of Norway", "Sport in Norway", "Norwegia", "Royal Kingdom of Norway"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to sort a list of lists by length and value.", "answer": "def sort_sublists(list1):\r\n list1.sort() \r\n list1.sort(key=len)\r\n return list1", "source": "mbpp", "task_id": "705", "test_cases": "assert sort_sublists([[2], [0], [1, 3], [0, 7], [9, 11], [13, 15, 17]])==[[0], [2], [0, 7], [1, 3], [9, 11], [13, 15, 17]]\nassert sort_sublists([[1], [2, 3], [4, 5, 6], [7], [10, 11]])==[[1], [7], [2, 3], [10, 11], [4, 5, 6]]\nassert sort_sublists([[\"python\"],[\"java\",\"C\",\"C++\"],[\"DBMS\"],[\"SQL\",\"HTML\"]])==[['DBMS'], ['python'], ['SQL', 'HTML'], ['java', 'C', 'C++']]", "difficulty": "code"} {"input": "where is womens rugby world cup being held", "answer": "Ireland", "source": "nq", "difficulty": "simple"} {"input": "What is Christine Juarbe's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\", \"model\", \"fashion model\", \"sitter\", \"poser\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Erika M. Anderson born?", "answer": "[\"South Dakota\", \"SD\", \"South Dakota, United States\", \"State of South Dakota\", \"SoDak\", \"S. Dakota\", \"The Mount Rushmore State\", \"The Coyote State\", \"S. Dak.\", \"S.D.\"]", "source": "popqa", "difficulty": "simple"} {"input": "When was the Prime Minister of India after which V. K. Krishna Menon was regarded as the second most powerful man in India born?", "answer": "14 November 1889", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In which American state are the Merril Collection and the Burke Museum of Fine Arts?", "answer": ["Texas (U.S. State)", "US-TX", "Texos", "Texas", "Lone Star State", "Texas, USA", "Religion in Texas", "Texas (state)", "Lake Ozark, Texas", "Christianity in Texas", "The State of Texas", "Twenty-eighth State", "Texas-sized", "Texas (State)", "28th State", "The Lone Star State", "Twenty-Eighth State", "Texas, United States", "Texas (U.S. state)", "Texass", "State of Texas", "Everything is bigger in Texas", "28th state"], "source": "triviaqa", "difficulty": "simple"} {"input": "When did the director of film You Will Be A Duchess die?", "answer": "19 May 1960", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Do director of film Kaalbela and director of film The Most Beautiful Wife have the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Ruth Harriet Louise's occupation?", "answer": "[\"photographer\", \"photog\", \"photographers\"]", "source": "popqa", "difficulty": "simple"} {"input": "where was king arthur legend of the sword shot", "answer": ["Windsor Great Park", "Warner Bros. Studios, Leavesden", "Snowdonia"], "source": "nq", "difficulty": "simple"} {"input": "how many seats in ontario to have party status", "answer": "8 seats", "source": "nq", "difficulty": "simple"} {"input": "which internet web portal changed its name to altaba inc", "answer": "Yahoo! Inc", "source": "nq", "difficulty": "simple"} {"input": "What is the country where Nissedal is located named after?", "answer": "north", "source": "musique", "difficulty": "multi_hop"} {"input": "who has more la liga goals messi or ronaldo", "answer": "Messi", "source": "nq", "difficulty": "simple"} {"input": "Are both A Face in the Fog and Azonto Ghost from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In which decade was Alzheimer's disease first clinically described?", "answer": ["The First Decade", "First decade", "The First Decade (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "How many museums are there in the city where Tadeusz Peiper died?", "answer": "60", "source": "musique", "difficulty": "multi_hop"} {"input": "Who constructed the world's first laser?", "answer": ["Ted Maiman", "Theodore Harold Maiman", "Theodore H. Maiman", "Theodore Maiman"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which famous brother of Talia Shire does not share her last name?", "answer": ["Ford coppola", "Coppola, Francis Ford", "Ff coppola", "Francis Coppola", "Francis Ford Coppola filmography", "Godfather of Wine", "Francis Ford Coppola", "List of Francis Ford Coppola films"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to check if the given tuple has any none value or not.", "answer": "def check_none(test_tup):\r\n res = any(map(lambda ele: ele is None, test_tup))\r\n return (res)", "source": "mbpp", "task_id": "744", "test_cases": "assert check_none((10, 4, 5, 6, None)) == True\nassert check_none((7, 8, 9, 11, 14)) == False\nassert check_none((1, 2, 3, 4, None)) == True", "difficulty": "code"} {"input": "Where is the headquarters of presenters of the IEEE Edison Medal award?", "answer": "Piscataway", "source": "musique", "difficulty": "multi_hop"} {"input": "Which industry do Richard Hawley and Chicago's Catherine belong to?", "answer": "rock band", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Róbert Fazekas born?", "answer": "[\"Szombathely\", \"Steinamanger\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who is the mayor of the capital of Oklahoma?", "answer": "Mick Cornett", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Philipp Crone born?", "answer": "[\"Cologne\", \"Köln\", \"Kreisfreie Stadt Köln\", \"Cologne, Germany\", \"Cologne (Germany)\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to create a list taking alternate elements from another given list.", "answer": "def alternate_elements(list1):\r\n result=[]\r\n for item in list1[::2]:\r\n result.append(item)\r\n return result", "source": "mbpp", "task_id": "718", "test_cases": "assert alternate_elements([\"red\", \"black\", \"white\", \"green\", \"orange\"])==['red', 'white', 'orange']\nassert alternate_elements([2, 0, 3, 4, 0, 2, 8, 3, 4, 2])==[2, 3, 0, 8, 4]\nassert alternate_elements([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])==[1,3,5,7,9]", "difficulty": "code"} {"input": "who was jesus in the greatest story ever told", "answer": "Max von Sydow", "source": "nq", "difficulty": "simple"} {"input": "when did once upon a time in venice come out", "answer": "June 16, 2017", "source": "nq", "difficulty": "simple"} {"input": "Who played Mr. Carlson on the show WKRP in City A where City A is where The Killing of a Sacred Deer was filmed?", "answer": "Gordon Jump", "source": "musique", "difficulty": "multi_hop"} {"input": "What city does Bundestag and Reichstag building have in common?", "answer": "Berlin", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In which country is the deepwater ort of Brindisi?", "answer": ["Environment of Italy", "Italiën", "Subdivisions of Italy", "Republic of Italy", "ItalY", "ISO 3166-1:IT", "Etymology of Italy", "Itali", "Pollution in Italy", "Administrative divisions of Italy", "Austrian Empire (Italy)", "Italija", "Italie", "Italia", "Italian Republic", "Second Italian Republic", "Italy", "Italio", "Repubblica Italiana", "Itàlia", "The Italian republic"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Anjali Sudhakar's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did Sang Nila Utama come to the country that released The Wedding Game?", "answer": "1299", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to remove an empty tuple from a list of tuples.", "answer": "def remove_empty(tuple1): #L = [(), (), ('',), ('a', 'b'), ('a', 'b', 'c'), ('d')]\r\n tuple1 = [t for t in tuple1 if t]\r\n return tuple1", "source": "mbpp", "task_id": "966", "test_cases": "assert remove_empty([(), (), ('',), ('a', 'b'), ('a', 'b', 'c'), ('d')])==[('',), ('a', 'b'), ('a', 'b', 'c'), 'd'] \nassert remove_empty([(), (), ('',), (\"python\"), (\"program\")])==[('',), (\"python\"), (\"program\")] \nassert remove_empty([(), (), ('',), (\"java\")])==[('',),(\"java\") ] ", "difficulty": "code"} {"input": "What is Kazuyoshi Sekine's occupation?", "answer": "[\"playwright\", \"dramatist\", \"playwrite\", \"scriptwriter\"]", "source": "popqa", "difficulty": "simple"} {"input": "the centers of most cities became business areas after the invention of what", "answer": "skyscraper", "source": "nq", "difficulty": "simple"} {"input": "What is Paul Caillaud's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Where is the university Edward Hugh attended located?", "answer": "Westminster, central London, near the boundary between Covent Garden and Holborn", "source": "musique", "difficulty": "multi_hop"} {"input": "who is buried at the tennessee state capitol", "answer": "William Strickland", "source": "nq", "difficulty": "simple"} {"input": "Who was the last man to win Wimbledon and the French open singles in the same year?", "answer": ["Björn Borg", "Bjoern Rune Borg", "Bjørn borg", "Bjoern Borg", "Björn Rune Borg", "Bjorn Borg", "Bjorn Rune Borg", "Bjørn Borg"], "source": "triviaqa", "difficulty": "simple"} {"input": "What nationality is John Harbaugh's father?", "answer": "American", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Jonathan Le Billon's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "which president was the general in charge of the union army during the civil war", "answer": "Grant", "source": "nq", "difficulty": "simple"} {"input": "Hot Coffee, Mississippi sometimes shares a zipcode with a nearby city with what population at the 2010 census?", "answer": "2,586", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "where did aaron judge play baseball last year", "answer": "New York Yankees", "source": "nq", "difficulty": "simple"} {"input": "Vladimir Yaroshenko was a soloist with the choreographer who dominated Russian ballet for how many years?", "answer": "30", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Carsten Carlsen's occupation?", "answer": "[\"composer\", \"pianist\"]", "source": "popqa", "difficulty": "simple"} {"input": "What does the Hacker-Pschorr Brewery have to limit in order to comply with German regulations?", "answer": "ingredients in beer", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who sang with Crosby, Stills and Young?", "answer": ["Graham William Nash", "Graham Nash"], "source": "triviaqa", "difficulty": "simple"} {"input": "when did they launch the international space station", "answer": "1998", "source": "nq", "difficulty": "simple"} {"input": "What is the capital of the region where Basit Ali was born?", "answer": "West Pakistan", "source": "musique", "difficulty": "multi_hop"} {"input": "Who is the spouse of the performer of song Chasing The Sun (Hilary Duff Song)?", "answer": "Mike Comrie", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "The athlete that became the highest-paid went to manchester United when?", "answer": "2003", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Mick Flynn born?", "answer": "[\"Cardiff\", \"Caerdydd\", \"Cardiff, Wales\"]", "source": "popqa", "difficulty": "simple"} {"input": "When is the director of film Robbery (1897 Film) 's birthday?", "answer": "3 October 1869", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What county shares a border with the county containing Johnson Township?", "answer": "Franklin County", "source": "musique", "difficulty": "multi_hop"} {"input": "when did the iphone 7 plus come put", "answer": "September 16, 2016", "source": "nq", "difficulty": "simple"} {"input": "Who preceded Hosni Mubarak as President of Egypt?", "answer": ["Muhammad Anwar al-Sadat", "Anwar al-Sadat", "Anwar as-Sādāt", "Muhammad Anwar El-Sadat", "Anwar sadat", "Anwar Sedat", "Anwar El-Sadat", "Anwar es-Sadat", "'Anwar as-Sadat", "Anouar El-Sadate", "President El-Sadat", "Anwar Al-Sadat", "Anwar as-Sadat", "Saddat", "Anvar Sadat", "Mohammed el-Sadat", "Anwar Al Sadat", "Anwar Sādāt", "السادات", "Anwar es Sadat", "ʼAnwar as-Sadāt", "Anwar el Sadat", "Muḥammad Anwar as-Sādāt", "أنور السادات", "Mohamed Anwar Al-Sadat", "Anwar al- Sadat", "Mohammed Sadat", "ʼAnwar as-Sadat", "Anwar El Sadat", "Anwar Sadat", "Muhammed Anwar al-Sadat", "Mohammed al-Sadat", "Anwar el-Sadat", "Muhammad Anwar as-Sadat"], "source": "triviaqa", "difficulty": "simple"} {"input": "What city is the place Kara Vâsıf Bey died located in?", "answer": "Istanbul", "source": "musique", "difficulty": "multi_hop"} {"input": "who belongs to the absurd school of drama", "answer": "Samuel Beckett", "source": "nq", "difficulty": "simple"} {"input": "Are the directors of both films Sharmeelee and American Hustle from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Amelia Earhart was born in which state?", "answer": ["Kans.", "Demographics of Kansas", "Economy of Kansas", "Kansasanian Soviet Socialist Republic", "Politics of Kansas", "Law of Kansas", "Climate of Kansas", "Kan.", "Cansas", "Kansas", "State of Kansas", "Geography of Kansas", "Culture of Kansas", "Transportation in Kansas", "KS, USA", "Thirty-fourth State", "Brownbackistan", "Sunflower State", "Transport in Kansas", "Religion in Kansas", "The Sunflower State", "Kansas (State)", "Sports in Kansas", "Thirty-Fourth State", "Kansas (U.S. state)", "Kansas, United States", "34th State", "Kansas (state)"], "source": "triviaqa", "difficulty": "simple"} {"input": "When did the performer of song A Pretty Girl Milking Her Cow die?", "answer": "June 22, 1969", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Did Wilhelm Heinrich Erb and Biagio Biagetti have the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the Science Museum, in the city where Amalia Molina was born, a part of?", "answer": "Spanish National Research Council", "source": "musique", "difficulty": "multi_hop"} {"input": "When was the first electric version of Paul D'amour's instrument made?", "answer": "the 1930s", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Jim born?", "answer": "[\"Arizona Territory\"]", "source": "popqa", "difficulty": "simple"} {"input": "Pee Wee Herman made his TV debut on which show?", "answer": ["Extreme Gong", "The Gong Show", "The Popsicle Twins", "Gong show", "Gongshow", "Gong Show"], "source": "triviaqa", "difficulty": "simple"} {"input": "What nationality is the director of film Borunbabur Bondhu?", "answer": "India", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Were Heinrich Gerhard Kuhn and Elfie Pertramer from the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was John A. Shaud born?", "answer": "[\"Cleveland\", \"Cleveland, Ohio\", \"Cleveland, OH\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are Arcangelo Di Cola and Tarik Tissoudali both from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What was the title of Kitty Kelley's book about Elizabeth Taylor?", "answer": "Elizabeth Taylor: The Last Star", "source": "triviaqa", "difficulty": "simple"} {"input": "what was the largest margin of victory in a presidential election", "answer": "1.000", "source": "nq", "difficulty": "simple"} {"input": "What was Elton John's first US No 1 hit?", "answer": ["Crocodile Rock", "Crocodile rock"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a python function to check whether every even index contains even numbers of a given list.", "answer": "def even_position(nums):\r\n\treturn all(nums[i]%2==i%2 for i in range(len(nums)))", "source": "mbpp", "task_id": "790", "test_cases": "assert even_position([3,2,1]) == False\nassert even_position([1,2,3]) == False\nassert even_position([2,1,4]) == True", "difficulty": "code"} {"input": "when was i'll be home for christmas released", "answer": "1943", "source": "nq", "difficulty": "simple"} {"input": "Who duetted with Barbra Streisand on Till I Loved You in 1988?", "answer": ["Johnson, Don", "Don Johnson"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to increment the numeric values in the given strings by k.", "answer": "def increment_numerics(test_list, K):\r\n res = [str(int(ele) + K) if ele.isdigit() else ele for ele in test_list]\r\n return res", "source": "mbpp", "task_id": "621", "test_cases": "assert increment_numerics([\"MSM\", \"234\", \"is\", \"98\", \"123\", \"best\", \"4\"] , 6) == ['MSM', '240', 'is', '104', '129', 'best', '10']\nassert increment_numerics([\"Dart\", \"356\", \"is\", \"88\", \"169\", \"Super\", \"6\"] , 12) == ['Dart', '368', 'is', '100', '181', 'Super', '18']\nassert increment_numerics([\"Flutter\", \"451\", \"is\", \"44\", \"96\", \"Magnificent\", \"12\"] , 33) == ['Flutter', '484', 'is', '77', '129', 'Magnificent', '45']", "difficulty": "code"} {"input": "Write a function to solve tiling problem.", "answer": "def get_noOfways(n):\r\n if (n == 0):\r\n return 0;\r\n if (n == 1):\r\n return 1; \r\n return get_noOfways(n - 1) + get_noOfways(n - 2);", "source": "mbpp", "task_id": "960", "test_cases": "assert get_noOfways(4)==3\nassert get_noOfways(3)==2\nassert get_noOfways(5)==5", "difficulty": "code"} {"input": "Write a python function to find the first repeated character in a given string.", "answer": "def first_repeated_char(str1):\r\n for index,c in enumerate(str1):\r\n if str1[:index+1].count(c) > 1:\r\n return c \r\n return \"None\"", "source": "mbpp", "task_id": "602", "test_cases": "assert first_repeated_char(\"abcabc\") == \"a\"\nassert first_repeated_char(\"abc\") == \"None\"\nassert first_repeated_char(\"123123\") == \"1\"", "difficulty": "code"} {"input": "Write a python function to count the number of rotations required to generate a sorted array.", "answer": "def count_Rotation(arr,n): \r\n for i in range (1,n): \r\n if (arr[i] < arr[i - 1]): \r\n return i \r\n return 0", "source": "mbpp", "task_id": "802", "test_cases": "assert count_Rotation([3,2,1],3) == 1\nassert count_Rotation([4,5,1,2,3],5) == 2\nassert count_Rotation([7,8,9,1,2,3],6) == 3", "difficulty": "code"} {"input": "What was Clive Sinclair's personal transport vehicle called?", "answer": ["C.V", "C.5", "C5 (disambiguation)", "C 5", "C V", "C-5", "C05", "C5"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Parnelli Jones born?", "answer": "[\"Texarkana\", \"Texarkana, Arkansas\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which star of Cheers co-starred with ?Whoopi Goldberg in Made in America?", "answer": ["Ted danson", "Edward Danson", "Ted Danson", "Ted Dansen"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which album came out first, Does Fort Worth Ever Cross Your Mind or The Soul Album?", "answer": "The Soul Album", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "The university where Peter Charanis was the Voorhees Professor of History is in what state?", "answer": "New Jersey", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when will game of thrones season 7 will be aired", "answer": "July 16, 2017", "source": "nq", "difficulty": "simple"} {"input": "What was the profession of William Eugene Smith?", "answer": ["Photographist", "Photographer", "Freelance photographer", "Freelance Photography", "Photographr"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who was the first leader of the independent country that Zack Mwekassa held a citizenship?", "answer": "Fulbert Youlou", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to remove everything except alphanumeric characters from the given string by using regex.", "answer": "import re\r\ndef remove_extra_char(text1):\r\n pattern = re.compile('[\\W_]+')\r\n return (pattern.sub('', text1))", "source": "mbpp", "task_id": "676", "test_cases": "assert remove_extra_char('**//Google Android// - 12. ') == 'GoogleAndroid12'\nassert remove_extra_char('****//Google Flutter//*** - 36. ') == 'GoogleFlutter36'\nassert remove_extra_char('**//Google Firebase// - 478. ') == 'GoogleFirebase478'", "difficulty": "code"} {"input": "In TV's All In The Family what was Mike and Gloria's son called?", "answer": ["Joey (disambiguation)", "Joey (song)", "Joey (film)", "Joey"], "source": "triviaqa", "difficulty": "simple"} {"input": "When did trolley buses stop running in the city where Godfrey Tanner died?", "answer": "2 October 1966", "source": "musique", "difficulty": "multi_hop"} {"input": "Who is the paternal grandmother of Andronikos Angelos Palaiologos?", "answer": "Theodora of Arta", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who sings dont you wish your girlfriend was hot like me", "answer": "The Pussycat Dolls", "source": "nq", "difficulty": "simple"} {"input": "What is Frederick Berry's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What are the names of the current members of American heavy metal band who wrote the music for Hurt Locker The Musical?", "answer": "Hetfield and Ulrich, longtime lead guitarist Kirk Hammett, and bassist Robert Trujillo.", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "How many species of wildlife habitat live in the mountain range where Matternorn is located?", "answer": "30,000 species", "source": "musique", "difficulty": "multi_hop"} {"input": "When did the continent where the largest country within it held the football tournament become a collection of independent states?", "answer": "the first quarter of the 19th century", "source": "musique", "difficulty": "multi_hop"} {"input": "How many caps for England did Lee Devonshire's son win ?", "answer": "eight", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When was the performer of song White Summer born?", "answer": "9 January 1944", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "where does the tap water in london come from", "answer": "abstracted from underground sources", "source": "nq", "difficulty": "simple"} {"input": "The Genève-Servette HC competes in a league know by what name prior to the 2017-2018 season?", "answer": "National League A.", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Carlos María Ramírez's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\", \"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which stadium hosts the rivalry game between the all-male, historically African American College located in Atlanta and Tuskegee?", "answer": "J. McClung Memorial Stadium", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Black or White came from which Michael Jackson album?", "answer": ["Dangerous (song)", "Dangerous", "Dangerous (album)", "Inherently dangerous", "Dangerous (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "In World War I, what side was the country the institution that was meant to bring stability is located in on?", "answer": "Switzerland was neutral", "source": "musique", "difficulty": "multi_hop"} {"input": "who sang i wanna be like you", "answer": "Louis Prima", "source": "nq", "difficulty": "simple"} {"input": "Write a function to calculate the sum of series 1²+2²+3²+….+n².", "answer": "def series_sum(number):\r\n total = 0\r\n total = (number * (number + 1) * (2 * number + 1)) / 6\r\n return total", "source": "mbpp", "task_id": "935", "test_cases": "assert series_sum(6)==91\nassert series_sum(7)==140\nassert series_sum(12)==650", "difficulty": "code"} {"input": "In what city was Carlos Nieto born?", "answer": "[\"La Plata\"]", "source": "popqa", "difficulty": "simple"} {"input": "What was Jimi Hendrix's middle name?", "answer": ["Marshall", "Marshall (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to find the list in a list of lists whose sum of elements is the highest.", "answer": "def max_sum_list(lists):\r\n return max(lists, key=sum)", "source": "mbpp", "task_id": "805", "test_cases": "assert max_sum_list([[1,2,3], [4,5,6], [10,11,12], [7,8,9]])==[10, 11, 12] \nassert max_sum_list([[3,2,1], [6,5,4], [12,11,10]])==[12,11,10] \nassert max_sum_list([[2,3,1]])==[2,3,1] ", "difficulty": "code"} {"input": "Which musical set in gangland New York won 11 Oscars in 1961?", "answer": ["The Sharks (West Side Story)", "Gee, Officer Krupke", "Westside Story", "West Side Story 2008", "Riff (character)", "West side story", "The Jets (West Side Story)", "Jet Song", "West Side Story", "West Side Story (musical)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Do both films Khoon Ki Keemat and Girls At Arms 2 have the directors from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when did no smoking in public places start", "answer": "In 1995", "source": "nq", "difficulty": "simple"} {"input": "Which actor had a Doberman Pinscher called Kirk?", "answer": ["Gloria Rabinowitz", "Star Trek (Shatnerverse Novels)", "Shatastic", "William Shatner", "A Twist in the Tale (1998 TV series)", "Shatneresque", "The Shat", "Bill Shatner", "Shatnerian", "Nerine Kidd", "The Shatters", "Gloria Rand", "Willem shatner", "William Alan Shatner", "Shatner, William", "Will Shatner", "Shatnernator", "William Shatner SciFi DVD of the Month Club"], "source": "triviaqa", "difficulty": "simple"} {"input": "What was Marilyn Monroe's last film?", "answer": ["Misfits (disambiguation)", "The Misfits", "Misfits (album)", "Misfits"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to check if a nested list is a subset of another nested list.", "answer": "def check_subset(list1,list2): \r\n return all(map(list1.__contains__,list2))", "source": "mbpp", "task_id": "872", "test_cases": "assert check_subset([[1, 3], [5, 7], [9, 11], [13, 15, 17]] ,[[1, 3],[13,15,17]])==True\nassert check_subset([[1, 2], [2, 3], [3, 4], [5, 6]],[[3, 4], [5, 6]])==True\nassert check_subset([[[1, 2], [2, 3]], [[3, 4], [5, 7]]],[[[3, 4], [5, 6]]])==False", "difficulty": "code"} {"input": "what is the first known polyphonic setting of all the sung movements of the mass ordinary", "answer": ["the Ivrea Codex", "the Apt Codex"], "source": "nq", "difficulty": "simple"} {"input": "when was the a* introduced at a level", "answer": "2010", "source": "nq", "difficulty": "simple"} {"input": "Which English actress and star of Primary Colors appeared as a guest in Cheers?", "answer": ["Emma Wise", "The Secret Evidence", "Emma thompson", "Ms. Emma Thompson", "Settle Down (film)", "Emma Branagh", "Emma Thompson", "The Secret Evidence (film)"], "source": "triviaqa", "difficulty": "simple"} {"input": "an Emmy Award winner and two-time Tony Award winner, was on the episode 15 of the third season of \"Chuck\". what is her name ?", "answer": "Swoosie Kurtz", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Ray Winstone appeared in what 2005 French-British computer-animated adventure fantasy that was based on a TV series?", "answer": "The Magic Roundabout", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the nickname of the airplane model flown in Malaysian Airlines Flight 370?", "answer": "\"Triple Seven\"", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who made the city where the next Winter Olympics will be held his capitol?", "answer": "Dorgon", "source": "musique", "difficulty": "multi_hop"} {"input": "Who sang the title song for the Bond film License To Kill?", "answer": ["Gladys Knight", "Gladys Maria Knight", "Empress of soul", "Gladys Knight & Ron Winans' Chicken & Waffles", "Empress of Soul"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Andrea Magi born?", "answer": "[\"Pesaro\"]", "source": "popqa", "difficulty": "simple"} {"input": "which part of the mcs produces the bow echo on radar", "answer": "the rear of the system", "source": "nq", "difficulty": "simple"} {"input": "What forest is by the southern border of Tania's place of birth?", "answer": "Kabaty", "source": "musique", "difficulty": "multi_hop"} {"input": "Who lost the first Super Bowl of the 70s?", "answer": ["Viqueens", "Logos and uniforms of the Minnesota Vikings", "Vikings Radio Network", "MN Vikings", "Vikes", "The Minnesota Vikings", "Minnesota Viking", "Minnesota Vikings", "Viktor the Viking"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which US soap actress's real name is Patsy Mclenny?", "answer": "Morgan Fairchild", "source": "triviaqa", "difficulty": "simple"} {"input": "Where was the director of film Santos Vega (1936 Film) born?", "answer": "Buenos Aires", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who did the texas rangers play in the world series", "answer": ["St. Louis Cardinals", "San Francisco Giants"], "source": "nq", "difficulty": "simple"} {"input": "when was the first electric instrument that Mashasha played made?", "answer": "the 1930s", "source": "musique", "difficulty": "multi_hop"} {"input": "How tall was Goliath, the Philistine giant slain by David with a stone hurled from a sling?", "answer": "Six cubits and a span,", "source": "triviaqa", "difficulty": "simple"} {"input": "who is next in line if president dies", "answer": "the vice president", "source": "nq", "difficulty": "simple"} {"input": "Whose voice did Marni Nixon dub in the classic My Fair Lady?", "answer": ["Audrey Hepburn Filmography", "Audrey Hepburn", "Hepburn, Audrey", "Joseph Victor Anthony Ruston", "Edda Kathleen Ruston", "Audrey hepburn"], "source": "triviaqa", "difficulty": "simple"} {"input": "How many households were in the city where Griffin Communications is based?", "answer": "230,233", "source": "musique", "difficulty": "multi_hop"} {"input": "In what year did the New York subway open?", "answer": ["1903", "one thousand, nine hundred and three"], "source": "triviaqa", "difficulty": "simple"} {"input": "When was Eritrea annexed by the Horn of Africa country where, along with Somalia and the country where Bissidiro is located, Somali people live?", "answer": "1953", "source": "musique", "difficulty": "multi_hop"} {"input": "The song We Belong Together by the singer who released Through the Rain is about who?", "answer": "Tommy Mottola", "source": "musique", "difficulty": "multi_hop"} {"input": "Raindrops Keep Falling On My Head was an Oscar winner from which movie with Robert Redford & Paul Newman?", "answer": ["Butch Cassidy & the Sundance Kid", "Butch cassidy and the sundance kid", "Butch Cassidy and the Sundance Kid", "Butch Cassidy and the Sundance Kid (1969 movie)", "Butch Cassidy And The Sundance Kid"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to find the fixed point in the given array.", "answer": "def find_fixed_point(arr, n): \r\n\tfor i in range(n): \r\n\t\tif arr[i] is i: \r\n\t\t\treturn i \r\n\treturn -1", "source": "mbpp", "task_id": "908", "test_cases": "assert find_fixed_point([-10, -1, 0, 3, 10, 11, 30, 50, 100],9) == 3\nassert find_fixed_point([1, 2, 3, 4, 5, 6, 7, 8],8) == -1\nassert find_fixed_point([0, 2, 5, 8, 17],5) == 0", "difficulty": "code"} {"input": "Are Mountainburg High School and Ludlow High School both located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are Alison Skipper and Diane Gilliam Fisher from the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What actor portrayed a character in a television series about a fictional race of superhumans appearing in American comic books published by Marvel Comics?", "answer": "Kenneth \"Ken\" Leung", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "the lowest possible energy level for an electron is known as", "answer": "ground state", "source": "nq", "difficulty": "simple"} {"input": "Which soul singer is Whitney Houston's god mother?", "answer": ["Ted White Jr", "Aretha Louise Franklin", "Arethra Franklin", "Queen of Soul", "Queen of soul", "Aretha Franklin", "The Queen In Waiting (Aretha Franklin album)", "The Queen of Soul", "The Collection (Aretha Franklin album)", "Eddie Franklin"], "source": "triviaqa", "difficulty": "simple"} {"input": "Are both lakes, Lake Baldegg and Lake Okeechobee, located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "predators of herbivores belong to which trophic level", "answer": "Level 3", "source": "nq", "difficulty": "simple"} {"input": "What is Herman A. Barnett's occupation?", "answer": "[\"surgeon\", \"surgeons\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who won a Nobel Prize in 1943 and is associated with Max Volmer?", "answer": "Otto Stern", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Louis H. Pollak born?", "answer": "[\"New York City\", \"NYC\", \"New York\", \"the five boroughs\", \"Big Apple\", \"City of New York\", \"NY City\", \"New York, New York\", \"New York City, New York\", \"New York, NY\", \"New York City (NYC)\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which film has the director who was born first, The Devil'S Gondola or The Sins Of Ilsa?", "answer": "The Devil'S Gondola", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Sean Connery's profession in The Name of the Rose?", "answer": ["Frays", "Friar", "Fra", "First Order", "Friars"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to calculate the sum of series 1³+2³+3³+….+n³.", "answer": "import math \r\ndef sum_series(number):\r\n total = 0\r\n total = math.pow((number * (number + 1)) /2, 2)\r\n return total", "source": "mbpp", "task_id": "931", "test_cases": "assert sum_series(7)==784\nassert sum_series(5)==225\nassert sum_series(15)==14400", "difficulty": "code"} {"input": "Jasminum multipartitum is native to what landlocked country located in southern Africa, between the Zambezi and Limpopo Rivers?", "answer": "Zimbabwe", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Zara Turner born?", "answer": "[\"Belfast\", \"Béal Feirste\", \"Beal Feirste\", \"Belfast, Ireland\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which province in the north of the island of Ireland did Queen Medb of Connacht made his invasion", "answer": "Ulster", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the average high temperature in degree Celsius during the summer in the state where the city of that the performer of Hello Love lived when he died?", "answer": "32", "source": "musique", "difficulty": "multi_hop"} {"input": "Who sings Never Say Never with the performer of My World's Acoustic?", "answer": "Jaden Smith", "source": "musique", "difficulty": "multi_hop"} {"input": "Do both films The Invisible Life and Grand Canary (film) have the directors from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What town sends their students to Messalonskee High School and had a population of 1010 according to the 2010 census?", "answer": "Rome", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "abby from how i met your mother real name", "answer": "Britney Spears", "source": "nq", "difficulty": "simple"} {"input": "What is Richard Sandrak's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a python function to convert the given string to upper case.", "answer": "def is_upper(string):\r\n return (string.upper())", "source": "mbpp", "task_id": "624", "test_cases": "assert is_upper(\"person\") ==\"PERSON\"\nassert is_upper(\"final\") == \"FINAL\"\nassert is_upper(\"Valid\") == \"VALID\"", "difficulty": "code"} {"input": "What is the currency in the place Overheard 2 is set?", "answer": "Hong Kong dollar", "source": "musique", "difficulty": "multi_hop"} {"input": "different types of oils that can be used with an oio lens", "answer": ["synthetic immersion oils", "cedar tree oil"], "source": "nq", "difficulty": "simple"} {"input": "How many theater companies are in residence in the city where the owner of the Internet Movie database is headquartered?", "answer": "around 100", "source": "musique", "difficulty": "multi_hop"} {"input": "what do you call someone from new guinea", "answer": "Papuan", "source": "nq", "difficulty": "simple"} {"input": "3. which two allied powers were offered lands in the middle east after the war by britain", "answer": ["French", "British"], "source": "nq", "difficulty": "simple"} {"input": "Which important US building has its roof ripped off in Superman II?", "answer": ["White House", "202.456.1111", "1600 Pennsylvania Ave.", "White House solar panels", "@WhiteHouse", "202-456-1111", "20500", "White house tours", "The Whitehouse", "+1.202.456.1111", "Whiskey Hotel", "White Home", "+1.202-456-1111", "1600 Pennsylvania Avenue", "The WhiteHouse", "United States White House", "US White House", "White house", "1600 Pennsylvania", "1600 Pennsylvania Avenue NW", "1600 Pennsylvania Ave", "The White House", "White House, District of Columbia", "White House Complex", "THE WHITE HOUSE", "202-456-1414"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Louis François Antoine Arbogast born?", "answer": "[\"Mutzig\"]", "source": "popqa", "difficulty": "simple"} {"input": "What percentage of voters voted against secession in the February 1861 referendum in the state where Jonathan Reid's birthplace is the capital?", "answer": "54", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to find the maximum of nth column from the given tuple list.", "answer": "def max_of_nth(test_list, N):\r\n res = max([sub[N] for sub in test_list])\r\n return (res)", "source": "mbpp", "task_id": "611", "test_cases": "assert max_of_nth([(5, 6, 7), (1, 3, 5), (8, 9, 19)], 2) == 19\nassert max_of_nth([(6, 7, 8), (2, 4, 6), (9, 10, 20)], 1) == 10\nassert max_of_nth([(7, 8, 9), (3, 5, 7), (10, 11, 21)], 1) == 11", "difficulty": "code"} {"input": "What is Jari Porttila's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\"]", "source": "popqa", "difficulty": "simple"} {"input": "When is the director of film The Last Outlaw (1936 Film) 's birthday?", "answer": "April 16, 1888", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who fathered the leader of the first expedition to reach Asia by sailing west across the ocean that contains Teafuone.", "answer": "Estêvão da Gama", "source": "musique", "difficulty": "multi_hop"} {"input": "Under the Arab Empire, what subject was studied in the city where Husain al-Radi died?", "answer": "Islamic mathematics", "source": "musique", "difficulty": "multi_hop"} {"input": "Do Dorina Nowill and Martin Fong share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What city shares a border with Ferdinand Frantz's birthplace?", "answer": "Schwalm-Eder-Kreis", "source": "musique", "difficulty": "multi_hop"} {"input": "Donna Gaines is better known by which name?", "answer": ["Donna Sommer", "Donna summer", "LaDonna A. Gaines", "Dona summer", "LaDonna Adrian Gaines", "Queen of disco", "LaDonna Gaines", "Donna Summers", "Donna Summer"], "source": "triviaqa", "difficulty": "simple"} {"input": "when is ariana grande album sweetener coming out", "answer": "August 17, 2018", "source": "nq", "difficulty": "simple"} {"input": "Who performed the lead single on the album Friends in Low Places, No Fences, that reached #1 on Billboard?", "answer": "Garth Brooks", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function to multiply two lists using map and lambda function.", "answer": "def mul_list(nums1,nums2):\r\n result = map(lambda x, y: x * y, nums1, nums2)\r\n return list(result)", "source": "mbpp", "task_id": "682", "test_cases": "assert mul_list([1, 2, 3],[4,5,6])==[4,10,18]\nassert mul_list([1,2],[3,4])==[3,8]\nassert mul_list([90,120],[50,70])==[4500,8400]", "difficulty": "code"} {"input": "Do the movies Bedtime With Rosie and Timecode (2000 Film), originate from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are both Kudryashovo and Qleiat Eltubiyeh located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Ernest Willows born?", "answer": "[\"Cardiff\", \"Caerdydd\", \"Cardiff, Wales\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which film director is younger, Del Lord or Wang Xiaoshuai?", "answer": "Del Lord", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Wenceslao Vinzons's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who was creator and executive producer of Magnum PI?", "answer": ["Don Bellisario", "Belisarius Productions", "Donald P. Bellisario", "Donald Bellisario"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Bridie O'Flaherty's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "A theoretical explanation of the Wien effect has been proposed by a man awarded the Nobel Prize in Chemistry in what year?", "answer": "1968", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where was the director of Eat born?", "answer": "Pittsburgh", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a python function to find the sum of an array.", "answer": "def _sum(arr): \r\n sum=0\r\n for i in arr: \r\n sum = sum + i \r\n return(sum)", "source": "mbpp", "task_id": "798", "test_cases": "assert _sum([1, 2, 3]) == 6\nassert _sum([15, 12, 13, 10]) == 50\nassert _sum([0, 1, 2]) == 3", "difficulty": "code"} {"input": "In what city was Bianca Guaccero born?", "answer": "[\"Bitonto\"]", "source": "popqa", "difficulty": "simple"} {"input": "Where does the performer of song Brains! work at?", "answer": "School of Visual Arts", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who lived longer, Frances Ellen Work or Frederick Olen Mercer?", "answer": "Frances Ellen Work", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who is the mother of the musician who created Seducing Down the Door?", "answer": "Margaret Davies", "source": "musique", "difficulty": "multi_hop"} {"input": "In what year was slavery eliminated in the state where Raymond from Everybody Loves Raymond lives?", "answer": "1827", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Maarten van Severen born?", "answer": "[\"Antwerp\", \"Antwerpen\", \"City of Antwerp\", \"Anvers\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to separate and print the numbers and their position of a given string.", "answer": "import re\r\ndef num_position(text):\r\n for m in re.finditer(\"\\d+\", text):\r\n return m.start()", "source": "mbpp", "task_id": "944", "test_cases": "assert num_position(\"there are 70 flats in this apartment\")==10\nassert num_position(\"every adult have 32 teeth\")==17\nassert num_position(\"isha has 79 chocolates in her bag\")==9", "difficulty": "code"} {"input": "who is the pink hair girl in sailor moon", "answer": "Chibiusa", "source": "nq", "difficulty": "simple"} {"input": "Nikolaas Tinbergen shared the 1973 Nobel in Medicine with the zoologist who was of what nationality?", "answer": "Austrian", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who is the largest tractor manufacturer in the world", "answer": "Mahindra Tractors", "source": "nq", "difficulty": "simple"} {"input": "Human Error\" is the season finale of the third season of a tv show that aired on what network?", "answer": "Fox", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What star sign is Michael Caine?", "answer": ["Pisces (disambiguation)", "Piscean", "Picese", "Pisces", "Piscese", "Pisese"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Guillaume du Tillot's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who sang the Bond theme form From Russia With Love?", "answer": ["Fred Flange", "Matt Monroe", "Matt Munro", "Matt Monro", "Matt Munroe", "Terence Edward Parsons"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who won golf's US Open in 1994 and 1997?", "answer": ["Ernie Els", "Ernie els"], "source": "triviaqa", "difficulty": "simple"} {"input": "How many times did Ernest Hemingway revise the last page of A Farewell To Arms?", "answer": "39 times", "source": "triviaqa", "difficulty": "simple"} {"input": "Did the movies Star Appeal (Film) and Cradle Song (1994 Film), originate from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who owns Interstate 95 in the state Lincoln Chafee lives?", "answer": "Rhode Island Department of Transportation", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Dilson Torres born?", "answer": "[\"Maracay\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Brad Pitt's real first name?", "answer": ["William", "William (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which branch of medicine is concerned with disorders of the blood?", "answer": ["Automated hematology", "Haematological", "Haematology", "Bone Marrow Disease", "Haematologist", "Heamatology", "Blood disorder", "Blood disease", "Hemotoligists", "Hematology", "Hematologic", "Blood disorders", "Heamatologic diseases", "Hematologic agents", "Blood Disease", "Pediatric hematologist", "Hematologist", "Hematologists", "Cytohematology"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which episode of Doctor Who had the creator of La Mousmé?", "answer": "``Vincent and the Doctor ''", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the date of death of the director of film Spitfire (1934 Film)?", "answer": "September 26, 1979", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where was the place of death of the director of film The Road Through The Dark?", "answer": "Los Angeles", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What was Elvis's last No 1 in his own lifetime?", "answer": "Suspicious Minds", "source": "triviaqa", "difficulty": "simple"} {"input": "when did big brother start on channel 5", "answer": "18 August 2011", "source": "nq", "difficulty": "simple"} {"input": "Who was the defending champion when Billie Jean King first won Wimbledon singles?", "answer": ["Margaret Smith", "Smith, Margaret", "Margaret Smith (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Do both films Malamukalile Daivam and Burning Up Broadway have the directors from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Adil Shamoo's occupation?", "answer": "[\"biochemist\", \"biological chemist\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to count the frequency of consecutive duplicate elements in a given list of numbers.", "answer": "def count_duplic(lists):\r\n element = []\r\n frequency = []\r\n if not lists:\r\n return element\r\n running_count = 1\r\n for i in range(len(lists)-1):\r\n if lists[i] == lists[i+1]:\r\n running_count += 1\r\n else:\r\n frequency.append(running_count)\r\n element.append(lists[i])\r\n running_count = 1\r\n frequency.append(running_count)\r\n element.append(lists[i+1])\r\n return element,frequency", "source": "mbpp", "task_id": "819", "test_cases": "assert count_duplic([1,2,2,2,4,4,4,5,5,5,5])==([1, 2, 4, 5], [1, 3, 3, 4])\nassert count_duplic([2,2,3,1,2,6,7,9])==([2, 3, 1, 2, 6, 7, 9], [2, 1, 1, 1, 1, 1, 1])\nassert count_duplic([2,1,5,6,8,3,4,9,10,11,8,12])==([2, 1, 5, 6, 8, 3, 4, 9, 10, 11, 8, 12], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1])", "difficulty": "code"} {"input": "what's the name of the prince in sleeping beauty", "answer": "Prince Phillip", "source": "nq", "difficulty": "simple"} {"input": "Who is the mother of the prince that had allegations made against him related to the lawsuit \"Two Jane Does v US\"?", "answer": "Queen Elizabeth II", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What reason is frequently cited for last years' World Series winner playing inconsistently late in the season?", "answer": "unusually high number of day games", "source": "musique", "difficulty": "multi_hop"} {"input": "Where did the director of film The Hand In The Trap die?", "answer": "Buenos Aires", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "How high is the highest point in the city where Emanuel Ringelblum died?", "answer": "115.7 metres", "source": "musique", "difficulty": "multi_hop"} {"input": "who tried to make the first flying car", "answer": "Molt Taylor", "source": "nq", "difficulty": "simple"} {"input": "Are both Mokranje and Cheshmeh Kuh Hoseynabad located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who directed the movie East of Eden?", "answer": ["Elia Kazan", "Elias Kazantzoglou", "Elia Kazanjoglous"], "source": "triviaqa", "difficulty": "simple"} {"input": "La Valentina starred the actress who was the second wife of which actor?", "answer": "John Wayne", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are both directors of films Black Or White (Film) and The Other Guys from the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "what counties are in the 6th congressional district in ga", "answer": ["Fulton", "DeKalb", "Cobb"], "source": "nq", "difficulty": "simple"} {"input": "a blend of capitalism and socialism is known as", "answer": "A mixed economy", "source": "nq", "difficulty": "simple"} {"input": "average hourly wage in india in us dollars", "answer": "0.31", "source": "nq", "difficulty": "simple"} {"input": "When was Fannie Lee Chaney's son born?", "answer": "May 30, 1943", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "where do they film the royals on e", "answer": ["United Kingdom", "England", "London"], "source": "nq", "difficulty": "simple"} {"input": "What comprehensive school was established on the island where Henborth is located?", "answer": "Holyhead County School", "source": "musique", "difficulty": "multi_hop"} {"input": "From what country are both Maurice Newman and Macquarie University?", "answer": "Australia", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When was the director of film Blindfold (1966 Film) born?", "answer": "February 11, 1908", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who is the speaker of parliament in the country where Samini is from?", "answer": "Aaron Mike Oquaye", "source": "musique", "difficulty": "multi_hop"} {"input": "who produces the most coal in the world", "answer": "China", "source": "nq", "difficulty": "simple"} {"input": "Who was the Lone Ranger's great grand-nephew?", "answer": ["Green Hornet (film)", "Green Hornet, The", "Green Hornet", "Brit Reid", "Green Hornet (comics)", "The green hornet", "The Green Hornet", "Britt Reid"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Aleksandar Markovski born?", "answer": "[\"Zrenjanin\", \"Bečkerek\"]", "source": "popqa", "difficulty": "simple"} {"input": "who do you play as in pokemon yellow", "answer": "a wild Pikachu", "source": "nq", "difficulty": "simple"} {"input": "Who is the operator of the embassy located in the birthplace of Bahri Tanrıkulu ?", "answer": "Turkish Republic of Northern Cyprus", "source": "musique", "difficulty": "multi_hop"} {"input": "Do both films The Falcon (Film) and Valentin The Good have the directors from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a python function to shift first element to the end of given list.", "answer": "def move_last(num_list):\r\n a = [num_list[0] for i in range(num_list.count(num_list[0]))]\r\n x = [ i for i in num_list if i != num_list[0]]\r\n x.extend(a)\r\n return (x)", "source": "mbpp", "task_id": "665", "test_cases": "assert move_last([1,2,3,4]) == [2,3,4,1]\nassert move_last([2,3,4,1,5,0]) == [3,4,1,5,0,2]\nassert move_last([5,4,3,2,1]) == [4,3,2,1,5]", "difficulty": "code"} {"input": "Which film was released more recently, Murder Obsession or Cuore Sacro?", "answer": "Cuore Sacro", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "which part of the plant is sugar beet", "answer": "root", "source": "nq", "difficulty": "simple"} {"input": "What is the salary of the governor of the state were Lester Chambers was born?", "answer": "$122,160", "source": "musique", "difficulty": "multi_hop"} {"input": "The former 10th congressional district of Minnesota is now currently represented by whom in the US House of Representatives?", "answer": "Erik Paulsen", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who does sam marry in foyle's war", "answer": "Adam Wainwright", "source": "nq", "difficulty": "simple"} {"input": "he Central Harbourfront is a waterfront site it is the result of Central and Wan Chai Reclamation, and it sits to the east of the International Finance Centre (IFC), a skyscraper and an integrated commercial development on the waterfront of the Central District, of which territory?", "answer": "Hong Kong", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When did the sport that Sandro Stielicke plays become an olympic sport?", "answer": "1928", "source": "musique", "difficulty": "multi_hop"} {"input": "Are the directors of both films That Texas Jamboree and Adorable Lies from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "what was the front line trench in ww1", "answer": "Western Front", "source": "nq", "difficulty": "simple"} {"input": "how many pages is the forest of hands and teeth", "answer": "312", "source": "nq", "difficulty": "simple"} {"input": "Where did María Elena Holly's husband die?", "answer": "Clear Lake, Iowa", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Nicholas French born?", "answer": "[\"Wexford\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did WW2 end in the country that seized Libya from the main subject of the Ottoman era in the history of Rila's country?", "answer": "July 1943", "source": "musique", "difficulty": "multi_hop"} {"input": "Where did the director of film Dakshayagnam (1962 Film) die?", "answer": "Madras", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a python function to find the smallest prime divisor of a number.", "answer": "def smallest_Divisor(n): \r\n if (n % 2 == 0): \r\n return 2; \r\n i = 3; \r\n while (i*i <= n): \r\n if (n % i == 0): \r\n return i; \r\n i += 2; \r\n return n;", "source": "mbpp", "task_id": "681", "test_cases": "assert smallest_Divisor(10) == 2\nassert smallest_Divisor(25) == 5\nassert smallest_Divisor(31) == 31", "difficulty": "code"} {"input": "who is the highest goal scorer in the epl", "answer": "Mohamed Salah", "source": "nq", "difficulty": "simple"} {"input": "In which American football game was Malcolm Smith named Most Valuable player?", "answer": "Super Bowl XLVIII", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What mountain range is the range that Norris Mountain is part of in the state Yellowstone is set part of?", "answer": "Rocky Mountains", "source": "musique", "difficulty": "multi_hop"} {"input": "where does the process of oxidative phosphorylation get the energy to form atp", "answer": "redox reactions", "source": "nq", "difficulty": "simple"} {"input": "Did the magazines Reef Hobbyist Magazine and Investment Executive, originate from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who played the cigarette smoking man on the x-files", "answer": "Canadian actor William B. Davis", "source": "nq", "difficulty": "simple"} {"input": "Did the bands Band Of Gold (Band) and The Domino State, originate from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where is the headquarters of the organization that set the standards for ISO 20121?", "answer": "Geneva", "source": "musique", "difficulty": "multi_hop"} {"input": "Arlanda international airport is in which country?", "answer": ["Swedish sin", "Swea Region", "Sverige", "Swedish origin", "Schweden", "Kingdom of Sweden", "SWEDEN", "Etymology of Sweden", "Mainland Sweden", "Konungariket Sverige", "Ulf Bergman", "Swedish climate", "Sweden", "Climate of Sweden", "ISO 3166-1:SE", "Sveden", "Suecia", "Swedish realm", "Zweden"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to find the equilibrium index of the given array.", "answer": "def equilibrium_index(arr):\r\n total_sum = sum(arr)\r\n left_sum=0\r\n for i, num in enumerate(arr):\r\n total_sum -= num\r\n if left_sum == total_sum:\r\n return i\r\n left_sum += num\r\n return -1", "source": "mbpp", "task_id": "701", "test_cases": "assert equilibrium_index([1, 2, 3, 4, 1, 2, 3]) == 3\nassert equilibrium_index([-7, 1, 5, 2, -4, 3, 0]) == 3\nassert equilibrium_index([1, 2, 3]) == -1", "difficulty": "code"} {"input": "What day of the week was the Wall Street Crash?", "answer": ["Thor's Day", "Guruvaar", "Thor's day", "Thursdays", "Thursday", "Thurs.", "Thorsday", "Jupiter's day"], "source": "triviaqa", "difficulty": "simple"} {"input": "The Oberoi family is part of a hotel company that has a head office in what city?", "answer": "Delhi", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which major conflict did the author of The Long Week-End participate in?", "answer": "World War I", "source": "musique", "difficulty": "multi_hop"} {"input": "What American city produces most of the egg rolls sold in grocery stores in the United States?", "answer": ["Houstonians", "Houston, Texas", "The City of Houston", "Houstan, TX", "Houston texas", "City of Houston", "Media of Houston", "Houston city", "Houstan, Texas", "Houston, Texas, USA", "Ciudadehouston.org", "Media in Houston", "Houston Texas", "Houston, Texas (redir)", "Houston, USA", "The Energy Capital of the World", "Houston, United States", "Houston, Texas, U.S.A.", "Houston, Texas, U.S.", "Houstontx.gov", "Houston, TX, USA", "Houston, US-TX", "Hoston", "UN/LOCODE:USHOU", "Houston, Texas, United States", "Houston, Tx", "Houston", "Houston, texas", "Houston,Texas", "Houston, Tex.", "Houstan", "Houston (TX)", "Houston TX", "Houston,TX", "City of Houston, Texas", "Houston, TX", "Houston,Texas, United States"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who lived longer, Billy Todd or Salvador Videgain?", "answer": "Billy Todd", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Tachibana no Moroe's occupation?", "answer": "[\"poet\", \"poetess\", \"bard\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to convert a date of yyyy-mm-dd format to dd-mm-yyyy format.", "answer": "import re\r\ndef change_date_format(dt):\r\n return re.sub(r'(\\d{4})-(\\d{1,2})-(\\d{1,2})', '\\\\3-\\\\2-\\\\1', dt)\r\n return change_date_format(dt)", "source": "mbpp", "task_id": "928", "test_cases": "assert change_date_format('2026-01-02')=='02-01-2026'\nassert change_date_format('2021-01-04')=='04-01-2021'\nassert change_date_format('2030-06-06')=='06-06-2030'", "difficulty": "code"} {"input": "What is Lindsay Ellingson's occupation?", "answer": "[\"model\", \"fashion model\", \"sitter\", \"poser\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who is the founder of the company that published Foom?", "answer": "Martin Goodman", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What 1982 film, aired in 1983, was the seventh highest rated non-sports show and featured Kansas state highway K-10?", "answer": "The Day After", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When was the Scrabble World championship first held?", "answer": ["1991", "one thousand, nine hundred and ninety-one"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to check if the given expression is balanced or not.", "answer": "from collections import deque\r\ndef check_expression(exp):\r\n if len(exp) & 1:\r\n return False\r\n stack = deque()\r\n for ch in exp:\r\n if ch == '(' or ch == '{' or ch == '[':\r\n stack.append(ch)\r\n if ch == ')' or ch == '}' or ch == ']':\r\n if not stack:\r\n return False\r\n top = stack.pop()\r\n if (top == '(' and ch != ')') or (top == '{' and ch != '}' or (top == '[' and ch != ']')):\r\n return False\r\n return not stack", "source": "mbpp", "task_id": "771", "test_cases": "assert check_expression(\"{()}[{}]\") == True\nassert check_expression(\"{()}[{]\") == False\nassert check_expression(\"{()}[{}][]({})\") == True", "difficulty": "code"} {"input": "What is Dick Rude's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a python function to check whether all the characters are same or not.", "answer": "def all_Characters_Same(s) :\r\n n = len(s)\r\n for i in range(1,n) :\r\n if s[i] != s[0] :\r\n return False\r\n return True", "source": "mbpp", "task_id": "741", "test_cases": "assert all_Characters_Same(\"python\") == False\nassert all_Characters_Same(\"aaa\") == True\nassert all_Characters_Same(\"data\") == False", "difficulty": "code"} {"input": "The VS-300 was a type of what?", "answer": ["🚁", "Helicopters", "Civilian helicopter", "Pescara (helicopter)", "Cargo helicopter", "Copter", "Helecopter", "List of deadliest helicopter crashes", "Helichopper", "Helocopter", "Cargo Helicopter", "Helicopter", "Helicoptor", "Anatomy of a helicopter"], "source": "triviaqa", "difficulty": "simple"} {"input": "when does the reboot of charmed come out", "answer": "October 14, 2018", "source": "nq", "difficulty": "simple"} {"input": "Where was the place of death of the director of film Master Stroke?", "answer": "Rome", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Meyer Lutz's occupation?", "answer": "[\"composer\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Robby Krieger's occupation?", "answer": "[\"guitarist\", \"guitar player\", \"guitarists\"]", "source": "popqa", "difficulty": "simple"} {"input": "John Singer Sargent worked in which branch of the arts?", "answer": ["Paintism", "Paintings", "Classical Painting", "PainTing", "Painters", "Paintist", "Paintery", "Paintress", "Coat of paint", "Painter", "Paintingly", "Paintists", "Stylized painting", "Painting artist", "Paintedly", "Painting, the art of", "Painting", "Painter (artist)", "Painteries", "PaintIng", "Painting (object)", "Paintistically"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the approximate population of the country that Koularo lies in?", "answer": "1 million", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function to find three closest elements from three sorted arrays.", "answer": "import sys \r\n\r\ndef find_closet(A, B, C, p, q, r): \r\n\tdiff = sys.maxsize \r\n\tres_i = 0\r\n\tres_j = 0\r\n\tres_k = 0\r\n\ti = 0\r\n\tj = 0\r\n\tk = 0\r\n\twhile(i < p and j < q and k < r): \r\n\t\tminimum = min(A[i], min(B[j], C[k])) \r\n\t\tmaximum = max(A[i], max(B[j], C[k])); \r\n\t\tif maximum-minimum < diff: \r\n\t\t\tres_i = i \r\n\t\t\tres_j = j \r\n\t\t\tres_k = k \r\n\t\t\tdiff = maximum - minimum; \r\n\t\tif diff == 0: \r\n\t\t\tbreak\r\n\t\tif A[i] == minimum: \r\n\t\t\ti = i+1\r\n\t\telif B[j] == minimum: \r\n\t\t\tj = j+1\r\n\t\telse: \r\n\t\t\tk = k+1\r\n\treturn A[res_i],B[res_j],C[res_k]", "source": "mbpp", "task_id": "938", "test_cases": "assert find_closet([1, 4, 10],[2, 15, 20],[10, 12],3,3,2) == (10, 15, 10)\nassert find_closet([20, 24, 100],[2, 19, 22, 79, 800],[10, 12, 23, 24, 119],3,5,5) == (24, 22, 23)\nassert find_closet([2, 5, 11],[3, 16, 21],[11, 13],3,3,2) == (11, 16, 11)", "difficulty": "code"} {"input": "When did the mint in the city which shares a name with the font used on Apple's website stop making circulating coins?", "answer": "1937", "source": "musique", "difficulty": "multi_hop"} {"input": "how many episodes are in season 5 of wentworth prison", "answer": "12", "source": "nq", "difficulty": "simple"} {"input": "When's the last time Auburn won in the city where WYNK-FM is licensed to broadcast?", "answer": "1999", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Javier Alva Orlandini's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did the state where WWZD-FM broadcasts become part of the U.S.?", "answer": "Dec. 10, 1817", "source": "musique", "difficulty": "multi_hop"} {"input": "When did Juan Torena's wife die?", "answer": "October 6, 1992", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Akimasa Nakamura's occupation?", "answer": "[\"astronomer\"]", "source": "popqa", "difficulty": "simple"} {"input": "who has been elected next president of the united nations in first week of june 2018", "answer": "María Fernanda Espinosa", "source": "nq", "difficulty": "simple"} {"input": "When was \"Way Down\" by the singer who performed Live in the city Northtown's performer was born released?", "answer": "August 16, 1977", "source": "musique", "difficulty": "multi_hop"} {"input": "Which state renewed Mike Tyson's boxing license in 1998?", "answer": ["Silver State", "Nevada, United States", "Sports in Nevada", "Geography of Nevada", "US-NV", "Nevada's Southern Boundary 1861-1867", "Transportation in Nevada", "The Sagebrush State", "NV (state)", "Education in Nevada", "Religion in Nevada", "Nevadian", "36th State", "The Battle Born State", "Thirty-Sixth State", "Nev.", "Demographics of Nevada", "Navada", "Nevada Annulment", "Nevada, USA", "Climate of Nevada", "Economy of Nevada", "Thirty-sixth State", "State of Nevada", "Politics of Nevada", "Nevadan", "Silver state", "Nevada (U.S. state)", "The Silver State", "Tikaboo Valley", "Nevada (state)", "Battle Born State", "Transport in Nevada", "Nevada"], "source": "triviaqa", "difficulty": "simple"} {"input": "what episode will the chimera ant arc end", "answer": "136", "source": "nq", "difficulty": "simple"} {"input": "In what city was Juan Manuel Montero Vázquez born?", "answer": "[\"Palencia\"]", "source": "popqa", "difficulty": "simple"} {"input": "What department is Doure part of in the country Tinkiro-Lobi is located in?", "answer": "Zimtenga Department", "source": "musique", "difficulty": "multi_hop"} {"input": "who wrote the song she's a lady", "answer": "Paul Anka", "source": "nq", "difficulty": "simple"} {"input": "Which country is Europe's largest silk producer?", "answer": ["Environment of Italy", "Italiën", "Subdivisions of Italy", "Republic of Italy", "ItalY", "ISO 3166-1:IT", "Etymology of Italy", "Itali", "Pollution in Italy", "Administrative divisions of Italy", "Austrian Empire (Italy)", "Italija", "Italie", "Italia", "Italian Republic", "Second Italian Republic", "Italy", "Italio", "Repubblica Italiana", "Itàlia", "The Italian republic"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which country the director of film Frasquita is from?", "answer": "Czech", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Frederick George Bromberg born?", "answer": "[\"New York City\", \"NYC\", \"New York\", \"the five boroughs\", \"Big Apple\", \"City of New York\", \"NY City\", \"New York, New York\", \"New York City, New York\", \"New York, NY\", \"New York City (NYC)\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the original broadcaster of PGA Tour on Crumbs' original broadcaster?", "answer": "American Broadcasting Company", "source": "musique", "difficulty": "multi_hop"} {"input": "Who was in charge in the city where İsmail Keleş was born?", "answer": "Melih Gökçek", "source": "musique", "difficulty": "multi_hop"} {"input": "How many theater companies does the city where the performer of In Hiding was formed have in residence?", "answer": "around 100", "source": "musique", "difficulty": "multi_hop"} {"input": "what is the zip code for downtown dallas texas", "answer": ["75201", "75202", "75270"], "source": "nq", "difficulty": "simple"} {"input": "How many districts are there in the city whose name is commonly used to refer to the entire metropolis of Delhi?", "answer": "11", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to find all anagrams of a string in a given list of strings using lambda function.", "answer": "from collections import Counter \r\ndef anagram_lambda(texts,str):\r\n result = list(filter(lambda x: (Counter(str) == Counter(x)), texts)) \r\n return result", "source": "mbpp", "task_id": "861", "test_cases": "assert anagram_lambda([\"bcda\", \"abce\", \"cbda\", \"cbea\", \"adcb\"],\"abcd\")==['bcda', 'cbda', 'adcb']\nassert anagram_lambda([\"recitals\",\" python\"], \"articles\" )==[\"recitals\"]\nassert anagram_lambda([\" keep\",\" abcdef\",\" xyz\"],\" peek\")==[\" keep\"]", "difficulty": "code"} {"input": "The old version of the language Shervin comes from is part of what family of languages?", "answer": "Iranian languages", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the name of the widow of the earl who served as both Foreign Secretary and Prime Minster from 1955 to 1957?", "answer": "Anne Clarissa Eden", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which was Hideo Nomo's first US baseball team?", "answer": ["Los Angeles Dodgers", "L.A. Dodgers", "Brooklyn Bums", "Dodgers", "La dodgers", "L. A. Dodgers", "L A Dodgers", "Los Angeles Dodger", "The L.A. Dodgers", "The dodgers", "The Los Angeles Dodgers", "Dodgers Roster", "Superbas", "Dodger Baseball", "Los Doyers", "Brooklyn/Los Angeles Dodgers", "LA Dodgers", "The L A Dodgers", "Los Angeles Dodgers (sports)", "The L. A. Dodgers", "The LA Dodgers", "List of Los Angeles Dodgers captains"], "source": "triviaqa", "difficulty": "simple"} {"input": "When was the director of film The Recruiter (2004 Film) born?", "answer": "8 October 1968", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which parallel was the truce line in the Korean War?", "answer": ["38th Parallel", "38th parallel", "38th parallel (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Edgar Manas born?", "answer": "[\"Istanbul\", \"İstanbul\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Larry Coon's occupation?", "answer": "[\"computer scientist\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Luis Reece born?", "answer": "[\"Taunton\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to check if two lists of tuples are identical or not.", "answer": "def check_identical(test_list1, test_list2):\r\n res = test_list1 == test_list2\r\n return (res)", "source": "mbpp", "task_id": "811", "test_cases": "assert check_identical([(10, 4), (2, 5)], [(10, 4), (2, 5)]) == True\nassert check_identical([(1, 2), (3, 7)], [(12, 14), (12, 45)]) == False\nassert check_identical([(2, 14), (12, 25)], [(2, 14), (12, 25)]) == True", "difficulty": "code"} {"input": "In which state do most Cree Indians live in the USA?", "answer": ["Politics of Montana", "Climate of Montana", "Big Sky Country", "Geography of Montana", "Forty-first State", "Montana state nickname", "Montucky", "Treasure State", "Sports in Montana", "Symbols of the State of Montana", "Montanans", "Montana", "Montana, United States", "The Big Sky Country", "Montana (U.S. state)", "Religion in Montana", "The Treasure State", "Education in Montana", "Demographics of Montana", "State of Montana", "Montana (state)", "Montana state slogan", "Government of Montana", "Economy of Montana", "US-MT", "41st State", "Forty-First State", "Montanan", "Montana state official nickname"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which organization presents the award in which Chris Noonan was nominated for his work in \"Babe?\"", "answer": "Academy of Motion Picture Arts and Sciences", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What band from Savannah, Georgia did the singer singer John Dyer Bailey sing for?", "answer": "Baroness", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which country the director of film Superfly (2018 Film) is from?", "answer": "Canadian", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "what state will see the total solar eclipse first", "answer": "Oregon", "source": "nq", "difficulty": "simple"} {"input": "who is the series all american based on", "answer": "professional football player Spencer Paysinger", "source": "nq", "difficulty": "simple"} {"input": "Heartbreak Express, Dolly Parton's 24th solo studio album, featured this re-recording of what song, originally recorded in 1973 and featured in the \"Best Little Whorehouse in Texas Soundtrack\"?", "answer": "I Will Always Love You", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who did lebron james play for before the cleveland cavaliers", "answer": "Miami Heat", "source": "nq", "difficulty": "simple"} {"input": "Queen Alia international airport is in which country?", "answer": ["Jordan (country)", "Al-Urdunn", "أردنّ", "JOrdan", "Urdun", "Hashemite Kingdom of Transjordan", "Urdunn", "The Hashemite Kingdom of Jordan", "Administrative divisions of Jordan", "HKJ", "State of Jordan", "Jordan", "Jordanian Kingdom", "Languages of Jordan", "Hashemite Kingdom of the Jordan", "Jordanie", "Al-Mamlakah al", "Al-'Urdun", "Hashemite Kingdom of Jordan", "ISO 3166-1:JO", "الأردن", "Kingdom of the Jordan", "Ottoman Jordon", "Al-Urdun", "H.K of Jordan", "Etymology of Jordan", "المملكة الأردنّيّة الهاشميّة", "Kingdom of Jordan"], "source": "triviaqa", "difficulty": "simple"} {"input": "What side of town is the Chicago Mayer-endorsed, 38th Ward of the City of Chicago alderman serving?", "answer": "Northwest Side", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the native country of Agatha Chrisitie's detective Hercule Poirot?", "answer": ["Belguim", "Koenigreich Belgien", "Belgium/Belgie", "Kingdom of Belgium", "Belgian", "Beljum", "Königreich Belgien", "Belgique", "Belgium", "Beligum", "Kingdom of the Belgians", "Beljam", "Kingdom Of Belgium", "Belgum", "ISO 3166-1:BE", "Belgie", "Cockpit of Europe", "Koninkrijk België", "Beldjike", "Blegium", "Belgio", "The Quebec of Europe", "België", "Begium", "Royaume de Belgique", "Konigreich Belgien", "Koninkrijk Belgie", "People of Belgium", "Belgien", "Belgium/facts", "Administrative divisions of Belgium", "Belgium facts"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Shonali Bose's occupation?", "answer": "[\"film director\", \"movie director\", \"director\", \"motion picture director\", \"screenwriter\", \"scenarist\", \"writer\", \"screen writer\", \"script writer\", \"scriptwriter\"]", "source": "popqa", "difficulty": "simple"} {"input": "Harry Weinstein became a world champion under which name?", "answer": ["Garry Kasparoff", "Garry Kasparov", "Gary Kimovich Kasparov", "Garry Kazparov", "Garry Kimovich", "Kazparov", "Kasparow", "Gary Kasparov", "Га́рри Ки́мович Каспа́ров", "Garri Kasparow", "Garry Weinstein", "Garri Kasparov", "Garry Kimovich Kasparov", "Harry Kasparov", "Kasparovian", "Kasparov", "Gari Weinstein", "Gary Kasparoff", "Gari Kasparov"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which hit starting with the word Rock took over NO 1 from Rock The Boat?", "answer": "Rock Your Baby", "source": "triviaqa", "difficulty": "simple"} {"input": "Are both Qaleh Dokhtar, Kohgiluyeh And Boyer-Ahmad and Bokat located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the place of birth of Jacques Cassini's father?", "answer": "Perinaldo", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which air force base is the headquarters for the Eastern Air Defense Sector and located 12 mi east of Panama City, Florida?", "answer": "Tyndall Air Force Base", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where did Christopher Chaplin's mother graduate from?", "answer": "Brearley School", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the name of Kate Winslet's character in Titanic?", "answer": ["Hulthemia", "The Roses", "Long stemmed roses", "Rose bush", "Rose", "Rose bushes", "Culture of rose", "Roses (song)", "Roses", "Zephirine Drouhin", "Rosa (plant)", "RoSe", "🌹", "Rose bud", "Rosa (genus)"], "source": "triviaqa", "difficulty": "simple"} {"input": "the four noble truths presupposed what three characteristics of reality", "answer": ["impermanence", "unsatisfactoriness or suffering", "non-self"], "source": "nq", "difficulty": "simple"} {"input": "What has been won by Australia II and America 3?", "answer": ["International Cup Race", "RYS £100 Cup", "America Cup", "America's cup", "Auld Mug", "America’s Cup", "America's Cup Race", "£100 Cup", "America's Cup", "Americas Cup"], "source": "triviaqa", "difficulty": "simple"} {"input": "Editors and Working for a Nuclear Free City, is of which nationality?", "answer": "English", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which character did Tom Hanks play in early episodes of Family Ties?", "answer": "Ned Keaton", "source": "triviaqa", "difficulty": "simple"} {"input": "Where do you find the gila monsters in the country Gustavo Macías Zambrano's party represents?", "answer": "Sonora", "source": "musique", "difficulty": "multi_hop"} {"input": "Jack Harvey was born in a civil parish that as of 2011 had a population of what?", "answer": "1,425", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who guested in Happy Days where his daughter was playing Jenny Piccalo?", "answer": "Phil Silvers", "source": "triviaqa", "difficulty": "simple"} {"input": "Which composer was Hungarian, Béla Bartók or Johann Christoph Pepusch?", "answer": "Béla Viktor János Bartók", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Toni Tecuceanu born?", "answer": "[\"Bucharest\", \"Little Paris\", \"Paris of the East\", \"București\", \"Bucureşti\", \"Bucuresti\", \"Буцуреșти\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did the composer of song I'M Crazy Over Every Girl In France die?", "answer": "April 7, 1974", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Hellenikon international airport is in which country?", "answer": ["Yunanistan", "Griekenland", "Hellenic republic", "Elláda", "Graecia", "The Hellenic Republic", "Ελλάς", "Eládha", "Yananistan", "Republic of Greece", "Elliniki Dimokratía", "Picki u dusa", "République hellénique", "Social issues in Greece", "Hellas", "Hellenic Republic", "Republique hellenique", "Eladha", "Ελλάδα", "Grèce", "Elliniki Dimokratia", "Greece", "Temporary Government of National Defence", "Griechenland", "Grcija", "Ellada", "Hellada", "Greek Republic", "Grece", "Ελληνική Δημοκρατία", "Grcka", "Political history of Greece", "Ellīnikī́ Dīmokratía", "Macedonian Greece", "History of North Greece", "ISO 3166-1:GR", "Grecce", "Elás", "Hellás", "Ελλας", "Greek law (Hellenic Republic)"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Viator of Lyons born?", "answer": "[\"Lyon\", \"Lyons\", \"Commune-Affranchie\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Hailey McCann born?", "answer": "[\"Riverside\", \"Riverside, California\", \"City of Riverside\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Ryūzaburō Ōtomo born?", "answer": "[\"Tokyo\", \"Tōkyō\", \"Tôkyô\", \"Tokyo-to\", \"Tokyo Metropolitan prefecture\", \"Tōkyō-to\", \"Tôkyô-to\", \"Tokyo Metropolis\", \"Tokio\", \"Tokyo Prefecture\"]", "source": "popqa", "difficulty": "simple"} {"input": "The Colts' first ever draft pick was a halfback who won the Heisman Trophy in what year?", "answer": "1952", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where was the director of film Heroes Of Fort Worth born?", "answer": "Rome", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "which hindu god was known as the preserver", "answer": "Vishnu", "source": "nq", "difficulty": "simple"} {"input": "What is the phrase that is commonly used on the day which is observed on 25 April each year?", "answer": "\"Lest we forget\"", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function to convert camel case string to snake case string by using regex.", "answer": "import re\r\ndef camel_to_snake(text):\r\n str1 = re.sub('(.)([A-Z][a-z]+)', r'\\1_\\2', text)\r\n return re.sub('([a-z0-9])([A-Z])', r'\\1_\\2', str1).lower()", "source": "mbpp", "task_id": "933", "test_cases": "assert camel_to_snake('GoogleAssistant') == 'google_assistant'\nassert camel_to_snake('ChromeCast') == 'chrome_cast'\nassert camel_to_snake('QuadCore') == 'quad_core'", "difficulty": "code"} {"input": "Where did the director of film The Right Of The Strongest die?", "answer": "Los Angeles", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Eduard Looijenga's occupation?", "answer": "[\"mathematician\"]", "source": "popqa", "difficulty": "simple"} {"input": "1 kilohertz is equal to how many hertz", "answer": "103 Hz", "source": "nq", "difficulty": "simple"} {"input": "What is the name of the character in Quantico played by the same actor who starred in Tower Block?", "answer": "Harry Doyle", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "With which instrument was Charlie Christian associated?", "answer": ["Saddle (guitar)", "Guitar tone", "Guitar music", "Geetar", "Guitar components", "Belly Fiddler", "The guitar", "Gitarre", "Guitar history", "Gitfiddle", "Kinds of guitars", "Gutiar", "Guitar", "Guiatar", "🎸", "Gitiar", "Strap lock system", "Types of guitars", "Guitar Lessons", "Parts of the guitar", "Guitar lesson", "Archguitar", "Guitars", "6-string guitar", "Guiatr", "Left handed guitar", "Playing guitars", "Guitariste", "Guitar instruction", "Six-string guitar", "Black Plastic Guitar Case", "Rock guitar", "Gitar", "Usa Guitar", "Giutar", "Guitar strap", "Strap Lock System", "Gatar"], "source": "triviaqa", "difficulty": "simple"} {"input": "Where is the Blue Mosque located in the nation where Myra is found?", "answer": "Istanbul", "source": "musique", "difficulty": "multi_hop"} {"input": "Who is younger, James Spearman Winter or Arrigo Miglio?", "answer": "Arrigo Miglio", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which comedian starred in the ABC sitcom Chicken Soup?", "answer": ["Goldberg - P.I.", "Jackie Mason Freshly Squeezed", "Jackie Goldberg: Private Dick", "Jackie Mason", "Jackie Mason, The Ultimate Jew", "Yacov Moshe Maza", "Jacky Mason", "Jacob Maza"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Luciano Vincenzoni's occupation?", "answer": "[\"screenwriter\", \"scenarist\", \"writer\", \"screen writer\", \"script writer\", \"scriptwriter\"]", "source": "popqa", "difficulty": "simple"} {"input": "where is the movie cargo based out of", "answer": "Australia", "source": "nq", "difficulty": "simple"} {"input": "The Porcaro Brothers featured in which group?", "answer": ["Toto (disambiguation)", "Toto"], "source": "triviaqa", "difficulty": "simple"} {"input": "what is the another name of sahara desert", "answer": "the Great Desert", "source": "nq", "difficulty": "simple"} {"input": "where are most of the world's earthquakes located", "answer": "The Ring of Fire", "source": "nq", "difficulty": "simple"} {"input": "What is Gregory Peck's real first name?", "answer": ["Eldred (disambiguation)", "Eldred"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to find the minimum difference in the tuple pairs of given tuples.", "answer": "def min_difference(test_list):\r\n temp = [abs(b - a) for a, b in test_list]\r\n res = min(temp)\r\n return (res)", "source": "mbpp", "task_id": "875", "test_cases": "assert min_difference([(3, 5), (1, 7), (10, 3), (1, 2)]) == 1\nassert min_difference([(4, 6), (12, 8), (11, 4), (2, 13)]) == 2\nassert min_difference([(5, 17), (3, 9), (12, 5), (3, 24)]) == 6", "difficulty": "code"} {"input": "What job did the creator of Atlas Slave have?", "answer": "Italian painter", "source": "musique", "difficulty": "multi_hop"} {"input": "What nationality is the director of film Lease Wife?", "answer": "Chinese", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In Makin' It, who was the John Travolta-type character?", "answer": "Billy Manucci", "source": "triviaqa", "difficulty": "simple"} {"input": "What vehicle, introduced for model year 2006, does Patrick Carpentier currently drive in the NASCAR Sprint Cup Series?", "answer": "Ford Fusion", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "high blood glucose levels stimulate the release of", "answer": "insulin", "source": "nq", "difficulty": "simple"} {"input": "when was if you were coming in the fall written", "answer": "1890", "source": "nq", "difficulty": "simple"} {"input": "Where is the country that the owner of Virgin Holiday Cruises is from located on the map?", "answer": "Lying off the north - western coast of the European mainland", "source": "musique", "difficulty": "multi_hop"} {"input": "how many premier league trophies have man city won", "answer": "5", "source": "nq", "difficulty": "simple"} {"input": "Who was Theodore Roosevelt's Vice President between 1901 and 1905?", "answer": ["No One (song)", "No one", "No-One", "No One (disambiguation)", "No One", "No-one"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what county was Johannes Junius when he became deceased?", "answer": "Bamberg County", "source": "musique", "difficulty": "multi_hop"} {"input": "The song \"Good Life\" recorded by G-Eazy and Kehlani appeared on the soundtrack for what 2017 action film directed by F. Gary Gray?", "answer": "The Fate of the Furious", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who was the first woman to make a solo flight across the Atlantic?", "answer": ["Amelia airheart", "Amelia Airhardt", "Disappearance of Amelia Earhart", "Amelia Airhart", "Amelia Erhart", "Emelia Earhart", "Amelia Mary Earhart", "Amelia Aerhart", "Amelia Erhardt", "Amelia Earheart", "Amelia Earnhart", "Amelia Earhart Putnam", "Emelia Airheart", "Amelia earhart", "Amielia Earhart", "Amelia airhart", "Amelia Earhardt", "Amelia Earhart Life Summary", "Amelia Earhart", "Amelia Airheart"], "source": "triviaqa", "difficulty": "simple"} {"input": "when does the great christmas light fight 2017 start", "answer": "December 4, 2017", "source": "nq", "difficulty": "simple"} {"input": "Who was in charge of Azize Tanrıkulu's birthplace?", "answer": "Melih Gökçek", "source": "musique", "difficulty": "multi_hop"} {"input": "Which 1997 movie equaled Ben Hur's record 11 Oscars?", "answer": ["S.S. Titanic", "HMS Titanic", "Rms titanic", "R. M. S. Titanic", "Titanic (ship)", "Provisioning of the RMS Titanic", "John van Billard", "RMS %22Titanic%22", "Royal Mail Steamer Titanic", "H.M.S. Titanic", "RMS TITANIC", "SS Titanic", "RMS Titanik", "Titanicc", "Eliza Gladys Milvina Dean", "Barbara Joyce West", "Titanick", "RMS titanic", "Titanic", "Titantic", "Provisioning (RMS Titanic)", "R.M.S Titanic", "S. S. Titanic", "Titanic victim", "Titanic Related Films", "RMS Titanick", "August Weikman", "Rms Titanic", "RMS Titanic", "RMS TITANTIC", "TitaniC", "Titanic passenger", "3909 04", "100th anniversary of the sinking of the RMS Titanic", "The Titanic", "R.M.S. Titanic"], "source": "triviaqa", "difficulty": "simple"} {"input": "Were both Eddie Kelly (Hurler) and Marciano Norman, born in the same place?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are Thums Up and Mott's based in the same country?", "answer": "no", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when was puerto rico added to the usa", "answer": "1950", "source": "nq", "difficulty": "simple"} {"input": "how long is the halftime at the super bowl", "answer": "around 30 minutes", "source": "nq", "difficulty": "simple"} {"input": "Which team lost the most Super Bowls in the 1970s?", "answer": ["Viqueens", "Logos and uniforms of the Minnesota Vikings", "Vikings Radio Network", "MN Vikings", "Vikes", "The Minnesota Vikings", "Minnesota Viking", "Minnesota Vikings", "Viktor the Viking"], "source": "triviaqa", "difficulty": "simple"} {"input": "Between 1952 and 1954 did the number of TV stations in the USA double, triple or quadruple?", "answer": ["Thricefold", "Triple (disambiguation)", "Triples", "Triple"], "source": "triviaqa", "difficulty": "simple"} {"input": "When was state of emergency declared in the country Milcah Chemos Cheywa is from?", "answer": "20 October 1952", "source": "musique", "difficulty": "multi_hop"} {"input": "Are In A World... and Strangler Of The Swamp from the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the date of birth of the director of film Welcome To Hard Times (Film)?", "answer": "September 3, 1922", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "The largest city in the country of the exhibit has a coat of arms. What is that coat of arms based on?", "answer": "Saint George and the Dragon", "source": "musique", "difficulty": "multi_hop"} {"input": "Did Eric Dover and Lamberto Giorgis have the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to find the longest common subsequence for the given three string sequence.", "answer": "def lcs_of_three(X, Y, Z, m, n, o): \r\n\tL = [[[0 for i in range(o+1)] for j in range(n+1)] \r\n\t\tfor k in range(m+1)] \r\n\tfor i in range(m+1): \r\n\t\tfor j in range(n+1): \r\n\t\t\tfor k in range(o+1): \r\n\t\t\t\tif (i == 0 or j == 0 or k == 0): \r\n\t\t\t\t\tL[i][j][k] = 0\r\n\t\t\t\telif (X[i-1] == Y[j-1] and\r\n\t\t\t\t\tX[i-1] == Z[k-1]): \r\n\t\t\t\t\tL[i][j][k] = L[i-1][j-1][k-1] + 1\r\n\t\t\t\telse: \r\n\t\t\t\t\tL[i][j][k] = max(max(L[i-1][j][k], \r\n\t\t\t\t\tL[i][j-1][k]), \r\n\t\t\t\t\t\t\t\t\tL[i][j][k-1]) \r\n\treturn L[m][n][o]", "source": "mbpp", "task_id": "747", "test_cases": "assert lcs_of_three('AGGT12', '12TXAYB', '12XBA', 6, 7, 5) == 2\nassert lcs_of_three('Reels', 'Reelsfor', 'ReelsforReels', 5, 8, 13) == 5 \nassert lcs_of_three('abcd1e2', 'bc12ea', 'bd1ea', 7, 6, 5) == 3", "difficulty": "code"} {"input": "The album named after the lead guitar player on While My Guitar gently Weeps was produced by whom?", "answer": "Eric Clapton", "source": "musique", "difficulty": "multi_hop"} {"input": "where is the movie peace love and misunderstanding filmed", "answer": "Woodstock, New York", "source": "nq", "difficulty": "simple"} {"input": "who was islands in the stream written for", "answer": "Marvin Gaye", "source": "nq", "difficulty": "simple"} {"input": "who does jessica marry in the merchant of venice", "answer": "Lorenzo", "source": "nq", "difficulty": "simple"} {"input": "What is Charlotte von Hagn's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "The Vince Lombardi Trophy is awarded to winners of what?", "answer": ["Superb owl", "AFL-NFL Championship Game", "List of Super Bowl venues", "Super Bowl on TV", "The superbowl", "Super bowl", "Super-bowl", "NFL superbowls", "Super Bowl party", "AFL-NFL World Championship Game", "Super Bowls", "Super Bowl 55", "Suberb Owl", "Super Bowl LV", "Super Bowl", "Super-Bowl", "NFL-AFL World Championship Game", "The Super Bowl", "NFL Super Bowl"], "source": "triviaqa", "difficulty": "simple"} {"input": "when did wrath of the lich king release", "answer": "November 13, 2008", "source": "nq", "difficulty": "simple"} {"input": "what was the first year in which a men's team played basketball at the university where George Greenamyer was educated?", "answer": "1898", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a python function to find maximum possible value for the given periodic function.", "answer": "def floor_Max(A,B,N):\r\n x = min(B - 1,N)\r\n return (A*x) // B", "source": "mbpp", "task_id": "968", "test_cases": "assert floor_Max(11,10,9) == 9\nassert floor_Max(5,7,4) == 2\nassert floor_Max(2,2,1) == 1", "difficulty": "code"} {"input": "When did the river on which the Palo Verde Dam is located start forming the Grand Canyon?", "answer": "about 5 to 6 million years ago", "source": "musique", "difficulty": "multi_hop"} {"input": "Teri W. Odom is a member of a scientific journal first published in 2007 by who?", "answer": "the American Chemical Society", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the date of death of the composer of film Veedu Theda?", "answer": "15 December 2014", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Was the president who appointed Thomas C. Mann a democrat or a republican?", "answer": "Democrat", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who was the overall british commander of the gallipoli campaign", "answer": "Roger Keyes", "source": "nq", "difficulty": "simple"} {"input": "The ancient Roman town near Fusaro Lake is now the commune of what?", "answer": "Bacoli", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who was 'man of the match' in india's 1983 world cup winning final", "answer": "Amarnath", "source": "nq", "difficulty": "simple"} {"input": "Who is the General Treasurer of the state where Awashonks resided?", "answer": "Seth Magaziner", "source": "musique", "difficulty": "multi_hop"} {"input": "who plays jem in to kill a mockingbird", "answer": "Phillip Alford", "source": "nq", "difficulty": "simple"} {"input": "What is Levi P. Powers's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who was in charge of the country where Wisil is located?", "answer": "Hassan Sheikh Mohamud", "source": "musique", "difficulty": "multi_hop"} {"input": "When did the military branch of the XXX Corps invade the island?", "answer": "1773", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Piotr Balcerzak born?", "answer": "[\"Warsaw\", \"Warszawa\", \"Varshe\", \"Warschau\", \"Varshava\", \"Varšava\", \"Varsó\", \"Varsavia\", \"Varsovie\", \"Varsovia\", \"Varšuva\"]", "source": "popqa", "difficulty": "simple"} {"input": "President Kennedy was shot on 22nd November; what day was Lee Harvey Oswald shot?", "answer": ["November 24", "Nov 24", "November 24th", "24th November", "24 November"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Michael Radford's occupation?", "answer": "[\"film director\", \"movie director\", \"director\", \"motion picture director\", \"screenwriter\", \"scenarist\", \"writer\", \"screen writer\", \"script writer\", \"scriptwriter\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who is younger Mary Ramsey or Lee Ranaldo ?", "answer": "Mary Ramsey", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Glenn Gould's occupation?", "answer": "[\"composer\", \"pianist\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the maximum weight permitted for calves in rodeo calf-roping competition?", "answer": "350 pounds. The minimum is 200 pounds", "source": "triviaqa", "difficulty": "simple"} {"input": "Which British political figure became Baroness Kesteven?", "answer": ["Baroness Margaret Thatcher", "Lady Thatcher", "Margret thatcher", "The Baroness Thatcher", "Margret Thatcher", "The Lady Thatcher", "Margaret Tatcher", "Margaret Thatcher", "Mrs T", "Mrs Thatcher", "Margaret Hilda Thatcher, Baroness Thatcher", "Mrs. T", "Baroness Thatcher of Kesteven", "Margaret Thatcer", "Margaret Thatcher's", "Mrs Finchley", "Prime Minister Margaret Thatcher", "Thatcherian", "Margaret Thacher", "Margaret Thatcher bibliography", "Margaret Thatcher Day", "M thatcher", "Lady T", "Maggie Thatcher", "Margaret Hilda Thatcher", "Milk snatcher", "Baroness The Margaret Thatcher", "Margaret Thatcher, Baroness Thatcher", "Margaret Hilda Roberts Thatcher", "Margeret Thatcher", "Margareth Thatcher", "Mrs Denis Thatcher", "Margaret Hilda Roberts", "Mrs. Thatcher", "Milk Snatcher", "Margaret Thatcher Library", "Margaret thatcher", "Baroness Thatcher", "Margeret thatcher"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to count the number of elements in a list which are within a specific range.", "answer": "def count_range_in_list(li, min, max):\r\n\tctr = 0\r\n\tfor x in li:\r\n\t\tif min <= x <= max:\r\n\t\t\tctr += 1\r\n\treturn ctr", "source": "mbpp", "task_id": "700", "test_cases": "assert count_range_in_list([10,20,30,40,40,40,70,80,99],40,100)==6\nassert count_range_in_list(['a','b','c','d','e','f'],'a','e')==5\nassert count_range_in_list([7,8,9,15,17,19,45],15,20)==3", "difficulty": "code"} {"input": "In which country was Julie Christie born?", "answer": ["ഭാരത മഹാരാജ്യം", "هندستانڀارت،", "भारतीय गणराज्याच्या", "Bhārtiya Prajāsattāk", "Indian Republic", "ভারতরাষ্টৃ", "Indian republic", "ಭಾರತ ಗಣರಾಜ್ಯ", "Union of India", "இந்தியக் குடியரசு", "भारतीय प्रजासत्ताक", "India (country)", "ISO 3166-1:IN", "Indea", "Etymology of India", "ভারত গণরাজ্য", "Republic Of India", "INDIA", "ભારતીય ગણતંત્ર", "ভারত", "Republic of India", "Les Indes", "Bhārat Gaṇarājya", "جمہوٗرِیت بًارت", "भारतमहाराज्यम्", "Indya", "Bharat Ganrajya", "جمہوریہ بھارت", "இந்திய", "ଭାରତ ଗଣରାଜ୍ଯ", "भारत गणराज्य", "Republic of india", "जुम्हूरियत भारत", "Hindio", "The Republic of India", "భారత గణతంత్ర రాజ్యము", "India's", "Hindistan", "ਭਾਰਤ ਗਣਤੰਤਰ", "Bhart", "India", "భారత రిపబ్లిక్", "India.", "ভাৰত গণৰাজ্য", "Indian State", "ISO 3166-1 alpha-3/IND", "ভারতীয় প্রজাতন্ত্র"], "source": "triviaqa", "difficulty": "simple"} {"input": "What range is Humboldt peak in the state where Range Creek flow into a part of?", "answer": "Sangre de Cristo Range", "source": "musique", "difficulty": "multi_hop"} {"input": "When was the start of the fall of the empire that, around AD 43, conquered the nation where the \"chilling out\" concept in music began?", "answer": "in 376", "source": "musique", "difficulty": "multi_hop"} {"input": "Who is the spouse of the director of film Three Monkeys?", "answer": "Ebru Ceylan", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When was the director of film The Pointing Finger (1919 Film) born?", "answer": "December 10, 1885", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function which accepts an arbitrary list and converts it to a heap using heap queue algorithm.", "answer": "import heapq as hq\r\ndef raw_heap(rawheap):\r\n hq.heapify(rawheap)\r\n return rawheap", "source": "mbpp", "task_id": "854", "test_cases": "assert raw_heap([25, 44, 68, 21, 39, 23, 89])==[21, 25, 23, 44, 39, 68, 89]\nassert raw_heap([25, 35, 22, 85, 14, 65, 75, 25, 58])== [14, 25, 22, 25, 35, 65, 75, 85, 58]\nassert raw_heap([4, 5, 6, 2])==[2, 4, 6, 5]", "difficulty": "code"} {"input": "What popular drink did a Dutch medical professor produce in his laboratory while trying to come up with a blood cleanser that could be sold in drugstores?", "answer": ["Mothers ruin", "List of gins", "List of gin brands", "London Dry Gin", "GIN", "Gins", "Gin"], "source": "triviaqa", "difficulty": "simple"} {"input": "who discovered sandwich (now hawaiian) isles", "answer": "James Cook", "source": "nq", "difficulty": "simple"} {"input": "When did the capitol of Virginia move from the city sharing a name with Willie Ramsdell's birthplace to the city sharing a border with Laurel's county?", "answer": "1779", "source": "musique", "difficulty": "multi_hop"} {"input": "What year was Curious George released along with the record company that produced the soundtrack for the movie?", "answer": "2006", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "what are the supporters of scuderia ferrari in f1", "answer": "the tifosi", "source": "nq", "difficulty": "simple"} {"input": "who played pai mei in kill bill 2", "answer": "Gordon Liu", "source": "nq", "difficulty": "simple"} {"input": "When did the person with the famous quote we came we saw we conquered die?", "answer": "March 44 BC", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Paris's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "What does the Transalaska Pipeline System transport?", "answer": ["Oily", "Oil", "ATCvet code QA06AG06", "🝆", "Oil (liquid)", "Heat transfer oil", "Fixed oils", "Petro", "Oils", "ATC code A06AG06", "Thermal oil", "Diathermal oil", "Heat-transfer oil"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which daughter of the last Tsar of Russia was said to have escaped to America?", "answer": ["Anastazja", "Anastasia", "Anastatia", "Anastasya"], "source": "triviaqa", "difficulty": "simple"} {"input": "What suicide attack was located inside the Forward Operating Base Chapman?", "answer": "Camp Chapman attack", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Moment by Moment was from the movie that starred which actress, comedian, and producer?", "answer": "Mary Jean \"Lily\" Tomlin", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Do both directors of films The Mouth of the Wolf (2009 film) and Town Without Pity share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a python function to left rotate the string.", "answer": "def left_rotate(s,d):\r\n tmp = s[d : ] + s[0 : d]\r\n return tmp", "source": "mbpp", "task_id": "973", "test_cases": "assert left_rotate(\"python\",2) == \"thonpy\" \nassert left_rotate(\"bigdata\",3 ) == \"databig\" \nassert left_rotate(\"hadoop\",1 ) == \"adooph\" ", "difficulty": "code"} {"input": "when did the baseball player jackie robinson die", "answer": "October 24, 1972", "source": "nq", "difficulty": "simple"} {"input": "In which jumping event did Carl Lewis win Olympic gold's?", "answer": ["Longjumper", "Running long jump", "Farthest jumper", "Long jumping", "Long-jumping", "Long jumper", "Broad jump", "Long-jumper", "Longjump", "Long jump", "Long jump (sport)", "Long Jump"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who has been appointed new Prime Minister of the country where Poboru is located?", "answer": "Mihai Tudose", "source": "musique", "difficulty": "multi_hop"} {"input": "When was the last time the Olympics were held in the country where the game chuck-guk is from?", "answer": "1988", "source": "musique", "difficulty": "multi_hop"} {"input": "Which song came out earlier, Do The Bartman or Blue Skies (Noah And The Whale Song)?", "answer": "Do The Bartman", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "what was the last year they made the gmc envoy", "answer": "2008", "source": "nq", "difficulty": "simple"} {"input": "What year was the composed of Lux Aurunque born?", "answer": "1970", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What church is the diocese located in the birthplace of Hugh Havelock McLean a part of?", "answer": "Anglican Church of Canada", "source": "musique", "difficulty": "multi_hop"} {"input": "The Curragh is in which country?", "answer": ["Irlanda", "Island ireland", "Ireland (region)", "Irlandia", "Erin's Isle", "Airlan", "Ireland", "West Coast of Ireland", "The island of Ireland", "Island Ireland", "Ireland (island)", "Irland", "HÉireann", "Ireland Ulster", "Population of Ireland", "Irelander", "Ireland and Ulster", "Ireland (Island)", "IRELAND", "Symbol of Ireland", "Scotia major", "Island of Ireland", "Airlann", "Mikra Britannia", "Irelanders", "Auld Sod", "Ierne (placename)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Where was the composer of film The Last Picture Show born?", "answer": "Mount Olive", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which oil tanker disastrously ran aground off 'Brittany in 1987?", "answer": ["Amoco Cadiz", "MV Amoco Cadiz", "The Amoco Cadiz", "IMO 7336422", "MV Amaco Cadiz"], "source": "triviaqa", "difficulty": "simple"} {"input": "In the 13th Century, what empire dominated the south of the country containing the city where Flora Steiger-Crawford was born?", "answer": "Vijayanagar Empire", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Serjik Teymourian born?", "answer": "[\"Tehran\", \"Teheran\"]", "source": "popqa", "difficulty": "simple"} {"input": "who is in the band 4 non blondes", "answer": ["Wanda Day", "Linda Perry", "Roger Rocha", "Dawn Richardson", "Christa Hillhouse", "Shaunna Hall"], "source": "nq", "difficulty": "simple"} {"input": "What is the biggest studio in Hollywood called?", "answer": ["Universal City", "Universal City (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "when did the children's act came into force", "answer": "2005", "source": "nq", "difficulty": "simple"} {"input": "Are Bir Ma'in and Shahrestan, Khoshk-e Bijar located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who died first, Dallas Pratt or Arthur James Armstrong?", "answer": "Dallas Pratt", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to find the maximum sum of subsequences of given array with no adjacent elements.", "answer": "def max_sum_subseq(A):\r\n n = len(A)\r\n if n == 1:\r\n return A[0]\r\n look_up = [None] * n\r\n look_up[0] = A[0]\r\n look_up[1] = max(A[0], A[1])\r\n for i in range(2, n):\r\n look_up[i] = max(look_up[i - 1], look_up[i - 2] + A[i])\r\n look_up[i] = max(look_up[i], A[i])\r\n return look_up[n - 1]", "source": "mbpp", "task_id": "895", "test_cases": "assert max_sum_subseq([1, 2, 9, 4, 5, 0, 4, 11, 6]) == 26\nassert max_sum_subseq([1, 2, 9, 5, 6, 0, 5, 12, 7]) == 28\nassert max_sum_subseq([1, 3, 10, 5, 6, 0, 6, 14, 21]) == 44", "difficulty": "code"} {"input": "What football club has won 3 UFEA Super Cups, and has also employed Scottish footballer Hugh \"Hughie\" Clifford?", "answer": "Liverpool Football Club", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a python function to count the number of equal numbers from three given integers.", "answer": "def test_three_equal(x,y,z):\r\n result= set([x,y,z])\r\n if len(result)==3:\r\n return 0\r\n else:\r\n return (4-len(result))", "source": "mbpp", "task_id": "801", "test_cases": "assert test_three_equal(1,1,1) == 3\nassert test_three_equal(-1,-2,-3) == 0\nassert test_three_equal(1,2,2) == 2", "difficulty": "code"} {"input": "Qwirkle and Evo, are which type of entertainment?", "answer": "game", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Kirk Douglas supplemented his acting earnings in his early years as what type of professional sportsman?", "answer": ["Wrestlers", "Wrestling at the Summer Paralympics", "Wrestle", "Mud Wrestling", "Mud wrestling", "Jello wrestling", "Wrestling", "Show wrestling", "Wrassle", "Jelly wrestling", "Beach wrestling", "Wrestler", "Mud wrestler", "Jell-O wrestling", "Traditional wrestling", "Wrestling is Awesome", "Messy Wrestling"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Florence Marie Harsant born?", "answer": "[\"New Plymouth\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who wrote the novel Evening Class?", "answer": "Maeve Binchy", "source": "triviaqa", "difficulty": "simple"} {"input": "Were Up and The Watercolor released in the same year?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Richard Harris's occupation?", "answer": "[\"composer\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which drink did the Coca Cola Company launch in 1982?", "answer": ["Diet Coke (Coca-Cola Light)", "Diet Coke Sweetened with Splenda", "Diet coke sweetened with splenda", "Coca cola light", "Coca-cola light", "Diet Coke with Lemon", "Diet Coca-Cola", "Diet Coke", "Caffeine Free Diet Coca-Cola", "Diet Coke with Splenda", "Diet Coke flavors", "Coca-Cola light", "Coke Light", "Coca Cola Light", "Coca-Cola Light", "Diet coke", "Light Coke", "Diet Coke With Lime", "Cola light", "Coke Lite", "Coca light", "DIET COKE", "Diet Coke sweetened with Splenda"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Donald Robert Macgregor's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "2006 best picture nominees that lost to the departed", "answer": ["Little Miss Sunshine", "Babel", "Letters from Iwo Jima", "The Queen"], "source": "nq", "difficulty": "simple"} {"input": "What is the place of birth of the director of film No Man'S Land (1987 Film)?", "answer": "New York", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In Top Cat, who was the voice of Choo Choo?", "answer": "Marvin Kaplan", "source": "triviaqa", "difficulty": "simple"} {"input": "Who was the President of the country Michael Mbabuike is from?", "answer": "Goodluck Jonathan", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the former name of the People's Republic of Venin?", "answer": ["Dahomey kingdom", "Dohomey", "Danhome", "Dahomey", "Kingdom of Dahomey", "DHY", "Dahomeyan"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who is the father of the performer of song The House That Jack Built (Song)?", "answer": "C. L. Franklin", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where was the place of death of the director of film Under The Same Skin?", "answer": "Buenos Aires", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when is mom and dad movie coming out", "answer": "January 19, 2018", "source": "nq", "difficulty": "simple"} {"input": "What was Elton John's first album to enter the US charts at No 1?", "answer": ["Captain Fantastic and the Brown Dirt Cowboy", "Captain Fantastic And The Brown Dirt Cowboy", "Tower of Babel (song)", "Captain Fantastic & The Brown Dirt Cowboy", "Captain fantastic and the brown dirt cowboy", "Captain Fantastic and the Brown Dirt Cowboy (Part I)", "Captain Fantastic & the Brown Dirt Cowboy"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who is the father-in-law of Eleanor Of Castile (Died 1244)?", "answer": "Peter II of Aragon", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Giovanni Grasso's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the place of birth of the composer of film Anjali (1977 Film)?", "answer": "Paravoor", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When does monsoon season end in the location where the movie Just Getting Started was filmed?", "answer": "mid-September", "source": "musique", "difficulty": "multi_hop"} {"input": "The boxer that won the silver medal in the men's super heavyweight event at the 2016 Summer Olympics was born in what year?", "answer": "1985", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "The world's biggest what was made in Seymour, Wisconsin in August 1989?", "answer": ["Hamburgers (food)", "Bickyburger", "Dirty burger", "Turkey burger", "Liberty steak", "Gōyā burger", "California burger", "Goya burger", "Hamburger (food)", "Curry burger", "Hamberger", "The hamburger", "Nūyaru burger", "Porkburger", "Liberty sandwich", "Butter burger", "Hamburger sandwich", "HAMBURGER", "The National Hamburger Festival", "Bacon Burger", "Hamburger", "Pork burger", "Beefburgers", "Beefburger", "Hamburgers", "🍔"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Johann Heinrich Lambert's occupation?", "answer": "[\"astronomer\", \"physicist\", \"mathematician\"]", "source": "popqa", "difficulty": "simple"} {"input": "What language was the radio station which played oldies from artists such as Leopoldo Dante Tévez, broadcasted in?", "answer": "Spanish", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function to check if the given array represents min heap or not.", "answer": "def check_min_heap(arr, i):\r\n if 2 * i + 2 > len(arr):\r\n return True\r\n left_child = (arr[i] <= arr[2 * i + 1]) and check_min_heap(arr, 2 * i + 1)\r\n right_child = (2 * i + 2 == len(arr)) or (arr[i] <= arr[2 * i + 2] \r\n and check_min_heap(arr, 2 * i + 2))\r\n return left_child and right_child", "source": "mbpp", "task_id": "751", "test_cases": "assert check_min_heap([1, 2, 3, 4, 5, 6], 0) == True\nassert check_min_heap([2, 3, 4, 5, 10, 15], 0) == True\nassert check_min_heap([2, 10, 4, 5, 3, 15], 0) == False", "difficulty": "code"} {"input": "Are Alberto Rivera Pizarro and William G. Rohrer from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When did the player with the most expensive contract in the NBA get his first ring?", "answer": "2015", "source": "musique", "difficulty": "multi_hop"} {"input": "Do filmmakers Chris Carter and Theo van Gogh share the same nationality?", "answer": "no", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Vera Dua born?", "answer": "[\"Ghent\", \"Gent\", \"Gand\"]", "source": "popqa", "difficulty": "simple"} {"input": "According to Dateline figures, the highest percentage of male clients are in which profession?", "answer": ["Ledger balance ogf a business", "Accounitng", "Accountancy/Archive 2", "Ledger balance", "Accounting entry", "Accountancy/Archive 1", "Public accountancy", "Accounting profession", "Beancounter", "Accountancy", "Language of business", "Accounting", "Graduate Diploma in Accountancy", "Accounting function", "Tax advice", "The language of business", "Accounting and Bookkeeping", "Tabulations"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who was the leader of the band that appeared in The Brady Bunch Movie?", "answer": ["Davey Jones", "Davy Jones (disambiguation)", "Davy Jones", "Davi Jones"], "source": "triviaqa", "difficulty": "simple"} {"input": "Do both Bait (1954 Film) and Dharm Adhikari films have the directors from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which country does the airline LACSA come from?", "answer": ["Countries: Costa Rica", "Costarrica", "Republic of Costa Rica", "Sport in Costa Rica", "Costarica", "The Republic of Costa Rica", "Costa rica", "Rich Coast", "Costa-Rica", "Climate of Costa Rica", "Costa Rica", "Costa Rican", "República de Costa Rica", "Climate of costa rica", "Cosat Rica", "Tiquicia", "Coasta rica", "List of Costa Ricans", "ISO 3166-1:CR", "America/Costa Rica", "Coast Rice"], "source": "triviaqa", "difficulty": "simple"} {"input": "Where did Hurricane Maria hit the country where Wilfredo Maisonave is a citizen?", "answer": "just south of Yabucoa", "source": "musique", "difficulty": "multi_hop"} {"input": "Which baseball player and manager was born in Ellisville, Mississippi, home of 4448 people?", "answer": "Harry Francis Craft", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function to find the previous palindrome of a specified number.", "answer": "def previous_palindrome(num):\r\n for x in range(num-1,0,-1):\r\n if str(x) == str(x)[::-1]:\r\n return x", "source": "mbpp", "task_id": "909", "test_cases": "assert previous_palindrome(99)==88\nassert previous_palindrome(1221)==1111\nassert previous_palindrome(120)==111", "difficulty": "code"} {"input": "When was the first coup attempt in the city where Delain Sasa was born?", "answer": "28 March 2004", "source": "musique", "difficulty": "multi_hop"} {"input": "What are the international registration letters of a vehicle from Brunei?", "answer": ["BRU", "BRU (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "who plays molly in big momma house 2", "answer": "Kat Dennings", "source": "nq", "difficulty": "simple"} {"input": "What is José Feliciano's occupation?", "answer": "[\"composer\"]", "source": "popqa", "difficulty": "simple"} {"input": "Westfield Culver City is owned by what Australian shopping centre company that existed from 1960 to 2014", "answer": "Westfield Group", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who was the first chemist to be Britain's Prime Minister?", "answer": ["Baroness Margaret Thatcher", "Lady Thatcher", "Margret thatcher", "The Baroness Thatcher", "Margret Thatcher", "The Lady Thatcher", "Margaret Tatcher", "Margaret Thatcher", "Mrs T", "Mrs Thatcher", "Margaret Hilda Thatcher, Baroness Thatcher", "Mrs. T", "Baroness Thatcher of Kesteven", "Margaret Thatcer", "Margaret Thatcher's", "Mrs Finchley", "Prime Minister Margaret Thatcher", "Thatcherian", "Margaret Thacher", "Margaret Thatcher bibliography", "Margaret Thatcher Day", "M thatcher", "Lady T", "Maggie Thatcher", "Margaret Hilda Thatcher", "Milk snatcher", "Baroness The Margaret Thatcher", "Margaret Thatcher, Baroness Thatcher", "Margaret Hilda Roberts Thatcher", "Margeret Thatcher", "Margareth Thatcher", "Mrs Denis Thatcher", "Margaret Hilda Roberts", "Mrs. Thatcher", "Milk Snatcher", "Margaret Thatcher Library", "Margaret thatcher", "Baroness Thatcher", "Margeret thatcher"], "source": "triviaqa", "difficulty": "simple"} {"input": "In which country is the administrative territorial entity for the city where Charlie Harper was born?", "answer": "United Kingdom", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the date of death of Wolf Rüdiger Hess's mother?", "answer": "7 September 1995", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "On which novel is the 1965 film with a character Agent Zeke Kelso based?", "answer": "Undercover Cat", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What were Gary Gilmore's final words before his execution in 1977?", "answer": ["Let's do It", "Let's Do It (disambiguation)", "Let's do it", "Let's Do It"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who produced the first Jetliner in 1957?", "answer": ["Boeing Aircraft of Canada", "Boeing Information Services, Inc.", "The Boeing Company", "Boeing Aircraft", "Pacific Aero Products", "Continental DataGraphics", "Boeing Electronics, Inc.", "The Boeing Co.", "Boeing Aircraft Corp", "Boeing Company", "Boeing Aircraft Company", "Pacific Aero Products Company", "William Boeing Jr.", "Boeng", "Boeing", "Boeing Commercial Airlines", "Boeing Information Services", "BOEING Company", "Boeing International", "NYSE:BA", "Boeing Co.", "Boeing Aircraft Corporation", "Www.boeing.com", "Pacific Aero Products Co.", "X-vehicles", "Boeing Electronics", "Boeing Corporation", "Boeing Computer Services", "List of Boeing Factories", "Beoing"], "source": "triviaqa", "difficulty": "simple"} {"input": "how many episodes are in american crime season 2", "answer": "10", "source": "nq", "difficulty": "simple"} {"input": "What is Frequency's occupation?", "answer": "[\"disc jockey\", \"DJ\", \"dee jay\", \"dj\", \"D.J.\", \"disk jockey\", \"dee-jay\", \"deejay\", \"disquaire\", \"discaire\", \"record producer\", \"music producer\"]", "source": "popqa", "difficulty": "simple"} {"input": "Whose position was it that the person presented at the Temple in Jerusalem was the son of God?", "answer": "the Arian position", "source": "musique", "difficulty": "multi_hop"} {"input": "What is P. Palaniappan's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "In which year did Alcock and Brown make their Atlantic crossing?", "answer": ["1919", "one thousand, nine hundred and nineteen"], "source": "triviaqa", "difficulty": "simple"} {"input": "The US signed a treaty with which country to allow the construction of the Panama Canal?", "answer": ["Columbia", "Columbia (municipality)", "Columbia (song)", "Columbia automobile", "Columbia (yacht)", "Columbia (disambiguation)", "Columbia (town)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Tripel was the strongest beer in their range, in 1956, served at a Trappist brewery in what country?", "answer": "Belgium", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the highest ranking court where Yola's performer is a citizen?", "answer": "The Supreme Court", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Jeremiah Smith's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the new tallest building in the city Amy Prentiss lives?", "answer": "Salesforce Tower", "source": "musique", "difficulty": "multi_hop"} {"input": "when did sri lanka leave the british empire", "answer": "February 4, 1948", "source": "nq", "difficulty": "simple"} {"input": "How many people with the same name that new students were once called by others live in the country that borders Peru on the east?", "answer": "196,000-600,000", "source": "musique", "difficulty": "multi_hop"} {"input": "Do Mark White and Drusilla Dunjee Houston have the same nationality?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Edward Drinker Cope's occupation?", "answer": "[\"geologist\"]", "source": "popqa", "difficulty": "simple"} {"input": "who is known as the super fast boy in the series the incredible", "answer": "Dash", "source": "nq", "difficulty": "simple"} {"input": "What is Mr. Porter's occupation?", "answer": "[\"record producer\", \"music producer\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Harold Reetz born?", "answer": "[\"Watseka\", \"Watseka, Illinois\"]", "source": "popqa", "difficulty": "simple"} {"input": "Do Lorraine Rosenberg and James Gossland share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Joseph Patrick Addabbo born?", "answer": "[\"Queens\", \"Queens, New York City\", \"Queens, New York\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who is the leader of opposition in the country where Count Lasher is a citizen?", "answer": "Peter Phillips", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Carl Linnaeus's occupation?", "answer": "[\"physician\", \"physicians\", \"medical doctor\", \"medical practitioner\", \"doctor\", \"medical doctors\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who was Oliver North's secretary during the Irangate scandal?", "answer": "Fawn Hall", "source": "triviaqa", "difficulty": "simple"} {"input": "who died from the movie fast and furious", "answer": "Paul Walker", "source": "nq", "difficulty": "simple"} {"input": "Write a function to calculate the geometric sum of n-1.", "answer": "def geometric_sum(n):\r\n if n < 0:\r\n return 0\r\n else:\r\n return 1 / (pow(2, n)) + geometric_sum(n - 1)", "source": "mbpp", "task_id": "738", "test_cases": "assert geometric_sum(7) == 1.9921875\nassert geometric_sum(4) == 1.9375\nassert geometric_sum(8) == 1.99609375", "difficulty": "code"} {"input": "In what city was Frederick Mackenzie born?", "answer": "[\"Montreal\", \"Montréal\", \"City of Montreal\", \"Montreal, Quebec\", \"Ville de Montréal\", \"Ville de Montreal\"]", "source": "popqa", "difficulty": "simple"} {"input": "what's the legal marriage age in new york", "answer": "18", "source": "nq", "difficulty": "simple"} {"input": "In which country did he widespread use of ISDN begin in 1988?", "answer": ["日本國", "State of Japan", "Ja-pan", "Nihon", "Nippon", "Japang", "Modern–era Japan", "Etymology of Japan", "Japan (country)", "Republic of Japan", "Japanese financial sector", "Nihon-koku", "ISO 3166-1:JP", "日本", "Japian", "Japan", "JapaN", "The State of Japan", "Riben", "Nippon-koku", "JPN", "Jpan", "Rìběn", "日本国", "Japao", "JAPAN", "Japoa", "🗾"], "source": "triviaqa", "difficulty": "simple"} {"input": "who developed what is considered to be the industry standard for assessing and diagnosing sociopathy", "answer": "Robert D. Hare", "source": "nq", "difficulty": "simple"} {"input": "How many square miles is the state where Elihu yale was born?", "answer": "10,565", "source": "musique", "difficulty": "multi_hop"} {"input": "Fritz von Brodowski was killed during what global war that lasted from 1939 to 1945?", "answer": "World War II", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "how many pirates of the carribean movies are there", "answer": "5 films", "source": "nq", "difficulty": "simple"} {"input": "What was the name of Drew Barrymore's character in E.T.?", "answer": ["Gertie (disambiguation)", "Gertie"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who played the onscreen husband of a variety show banjo player?", "answer": "banjo player and former member of the television variety show \"Hee Haw\" gang having played the role of Ida Lee Nagger, the ironing, nagging wife of Laverne Nagger (Gordie Tapp).", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the undergraduate enrollment at the university of the owner of the gold spike in the city where Albert Edmunds Cahlan died?", "answer": "7,200", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Robley Dunglison Evans born?", "answer": "[\"Floyd County\", \"Floyd County, Virginia\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to find the number which occurs for odd number of times in the given array.", "answer": "def get_odd_occurence(arr, arr_size):\r\n for i in range(0, arr_size):\r\n count = 0\r\n for j in range(0, arr_size):\r\n if arr[i] == arr[j]:\r\n count += 1\r\n if (count % 2 != 0):\r\n return arr[i]\r\n return -1", "source": "mbpp", "task_id": "842", "test_cases": "assert get_odd_occurence([2, 3, 5, 4, 5, 2, 4, 3, 5, 2, 4, 4, 2], 13) == 5\nassert get_odd_occurence([1, 2, 3, 2, 3, 1, 3], 7) == 3\nassert get_odd_occurence([5, 7, 2, 7, 5, 2, 5], 7) == 5", "difficulty": "code"} {"input": "What is the lengthier version of the name of the university which awarded Lee an honorary doctorate in 2006?", "answer": "University of Notre Dame du", "source": "musique", "difficulty": "multi_hop"} {"input": "Andover, located in Essex County, Massachusetts, is an example of a basic unit of local government and local division of state authority in each of the six New England states, commonly referred to in other states as what?", "answer": "cities", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "where did the us get the statue of liberty", "answer": "the people of France", "source": "nq", "difficulty": "simple"} {"input": "What is the sports team the person played for who scored the first touchdown in Superbowl 1?", "answer": "Green Bay Packers", "source": "musique", "difficulty": "multi_hop"} {"input": "Are both villages, Biezelinge and Larzian, located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "As of 2016, which band released more albums, The Last Shadow Puppets or The Classic Crime?", "answer": "The Classic Crime", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when was the last time cinco de mayo fell on a saturday", "answer": "2012", "source": "nq", "difficulty": "simple"} {"input": "In what city was Hansi Niese born?", "answer": "[\"Vienna\", \"Wien\", \"Vienna, Austria\", \"W\"]", "source": "popqa", "difficulty": "simple"} {"input": "What major department store operates in the city where the creator of The Vegetative Sculpture I died?", "answer": "KaDeWe", "source": "musique", "difficulty": "multi_hop"} {"input": "What German automotive marque does the high-performance aftermarket tuning company Brabus specialize in?", "answer": "Smart", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What percent of people in Svetlana Zalevskaya's country use Russian as their main language?", "answer": "46%", "source": "musique", "difficulty": "multi_hop"} {"input": "Where was the place of death of the composer of film Kalippattam?", "answer": "Chennai", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where did teenager Matthias Rust land his plane in 1987 much to the surprise of the country's authorities?", "answer": ["ЯЕD SQЦАЯЕ", "Red Square (Moscow)", "Red Square", "Red Square, Moscow", "Kremlin Square"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Pierre Petit born?", "answer": "[\"Paris\", \"City of Light\", \"Paris, France\"]", "source": "popqa", "difficulty": "simple"} {"input": "When was the band for which Bob Welch was a guitarist formed ?", "answer": "1967", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Archibald Thomas Pechey's occupation?", "answer": "[\"lyricist\", \"singer-lyricist\"]", "source": "popqa", "difficulty": "simple"} {"input": "The central character of \"The Adventures of Brer Rabbit\" was later adapted into which 1946 Walt Disney Company motion picture film?", "answer": "\"Song of the South\".", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who wrote the song may the good lord bless and keep you", "answer": "Meredith Willson", "source": "nq", "difficulty": "simple"} {"input": "the aleutian islands are part of which state", "answer": "Alaska", "source": "nq", "difficulty": "simple"} {"input": "Which country does the airline Pluna come form?", "answer": ["Cruzada Libertadora", "Uraguay", "Uruguayan", "Uruguay", "Health care in Uruguay", "Uruguayo", "Urú", "Republic East of the Uruguay", "Eastern Republic of the Uruguay", "República Oriental del Uruguay", "ISO 3166-1:UY", "Etymology of Uruguay", "Eastern Republic of Uruguay", "Uruguai", "Uruguayan (disambiguation)", "Uruguay (country)", "Oriental Republic of Uruguay", "Name of Uruguay", "Health in Uruguay", "Media of Uruguay"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who was born later, Jörg Helmdach or Edmund Hanson?", "answer": "Jörg Helmdach", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Serhiy Zayets born?", "answer": "[\"Berdychiv\", \"Berdichev\", \"Barditchev\", \"Berdyczów\", \"Berdyczow\", \"Berdicev\", \"Berditchev\", \"Berditchov\", \"Berditschew\", \"Berdytschiw\", \"Berdyciv\", \"Berdychiv (Ukraine)\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are both villages, Batar Chakhar and Tang-E Esmail, located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which film has the director born earlier, Ek Paheli or When Father Was Away On Business?", "answer": "Ek Paheli", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When was the 15th pick of the 2011 NFL born ?", "answer": "July 24, 1989", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which film has the director born first, Twilight On The Rio Grande or Sound Of The Desert?", "answer": "Twilight On The Rio Grande", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What was The Zaire River called before 27th October 1971.", "answer": ["African Congo", "The Kongos", "Congo (disambiguation)", "Congo (country)", "Lower Congo", "Kongo", "Kongo (disambiguation)", "The Congo", "Kongô", "Congo", "Congos", "Kongou"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Giovanni Speranza born?", "answer": "[\"Gießen\", \"Giessen\"]", "source": "popqa", "difficulty": "simple"} {"input": "Marion is approximately 50 mi north of a city that is the third-most populous what in the U.S.?", "answer": "state capital", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Eduard Bargheer born?", "answer": "[\"Finkenwerder\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which film has the director born first, Last Plane Out or The Negro (Film)?", "answer": "Last Plane Out", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Quorey Payne born?", "answer": "[\"Clewiston\", \"Clewiston, Florida\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which record company signed Fabian?", "answer": ["Chancellier fédéral", "Chancelier federal", "Chancellier federal", "Chancellor", "Great Chancellor", "Deputy Chancellor", "Chancellors", "Great chancellor", "Chancellour", "Staatskanzler", "Chingsang", "Temporal chancellor", "Chancelier fédéral"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which country the performer of song I'Ve Found A New Baby is from?", "answer": "American", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What was the real first name of the silent Marx Brother?", "answer": ["Adolf", "Adalwolf", "Adolph", "Adolf (given name)", "Adolphus", "Adolf (name)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to find the perimeter of a rectangle.", "answer": "def rectangle_perimeter(l,b):\r\n perimeter=2*(l+b)\r\n return perimeter", "source": "mbpp", "task_id": "654", "test_cases": "assert rectangle_perimeter(10,20)==60\nassert rectangle_perimeter(10,5)==30\nassert rectangle_perimeter(4,2)==12", "difficulty": "code"} {"input": "What is a small network appliance and entertainment device that serves as a the media player for the iTunes Store?", "answer": "Apple TV", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "How did Jock die in Dallas?", "answer": "Helicopter accident", "source": "triviaqa", "difficulty": "simple"} {"input": "When did Bell return to the capital city of the state where Georges Doriot was educated?", "answer": "March 7, 1876", "source": "musique", "difficulty": "multi_hop"} {"input": "Are Incheh Salah-E Olya and Ameixial located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which movie director was born on exactly the same day as actor Tommy Lee Jones?", "answer": ["Stones Law", "Oliver Stone", "Stone's Law"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the date of death of the director of film Angela (1955 Film)?", "answer": "August 31, 1968", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "The man that had a single titled \"That's My Pa\" played what character in the film \"High Noon\"?", "answer": "Ben Miller", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who wrote the song kind of a drag", "answer": "Jim Holvay", "source": "nq", "difficulty": "simple"} {"input": "When was free education introduced in the birth country of Virodaya Cinkaiariyan?", "answer": "1 October 1945", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Greg Windsperger born?", "answer": "[\"Minneapolis\", \"Minneapolis, Minnesota\", \"Minneapolis, MN\", \"the 612\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Apurba Kishore Bir's occupation?", "answer": "[\"cinematographer\", \"director of photography\", \"DOP\", \"screenwriter\", \"scenarist\", \"writer\", \"screen writer\", \"script writer\", \"scriptwriter\"]", "source": "popqa", "difficulty": "simple"} {"input": "What era was the man associated with Fanny Talbot the leading art critic of?", "answer": "Victorian era", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who was the famous great-great-grandfather of San Francisco 49er quarterback Steve Young?", "answer": "Mormon leader Brigham Young", "source": "triviaqa", "difficulty": "simple"} {"input": "What is Enos Thompson Throop's occupation?", "answer": "[\"diplomat\", \"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Mark T. Vande Hei's occupation?", "answer": "[\"astronaut\", \"spacionaut\", \"astronauts\", \"space traveller\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a python function to find the length of the last word in a given string.", "answer": "def length_Of_Last_Word(a): \r\n l = 0\r\n x = a.strip() \r\n for i in range(len(x)): \r\n if x[i] == \" \": \r\n l = 0\r\n else: \r\n l += 1\r\n return l", "source": "mbpp", "task_id": "868", "test_cases": "assert length_Of_Last_Word(\"python language\") == 8\nassert length_Of_Last_Word(\"PHP\") == 3\nassert length_Of_Last_Word(\"\") == 0", "difficulty": "code"} {"input": "Are the bands Chateaux (Band) and Stormy Six, from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Tuomo Suomalainen born?", "answer": "[\"Gogland\", \"Suursaari\", \"Hogland\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which African-American composer co-wrote Air?", "answer": "Scott Joplin", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who did the performer of See Yourself write the song Something for?", "answer": "his wife, Pattie Boyd", "source": "musique", "difficulty": "multi_hop"} {"input": "How is Tenzin Gyatso better known?", "answer": ["Dalai-lama", "Dalli lama", "HHDL", "Dali Lama", "Taa-la'i bla-ma", "Dalai-Lama", "Dálài Lǎmā", "Dali lamma", "Sku mdun", "Taa-la’i bla-ma", "Dali lama", "Dalai Lamas", "Dalai lama", "The Dalai Lama", "Dalai Llama", "Dali Llama", "His Holiness the XIVth Dalai Lama", "Sku-mdun", "Dalai Lama", "The Dali Lama", "Dolly Llama", "ཏཱ་ལའི་བླ་མ་", "Dalaï-lama", "Dalai Blama", "H.H. Dalai Lama"], "source": "triviaqa", "difficulty": "simple"} {"input": "What was the nationality of Marco Garibaldi's former partner?", "answer": "American", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who played bill cosby's son on the cosby show", "answer": "Malcolm-Jamal Warner", "source": "nq", "difficulty": "simple"} {"input": "Who is the new president of the country which controlled the country where Parita is located before the US stepped in?", "answer": "Iván Duque", "source": "musique", "difficulty": "multi_hop"} {"input": "Are a Brandy Alexander and a Paloma both Tequila based?", "answer": "no", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When did Sang Nila Utama come to the country that released The Wedding Game?", "answer": "1299", "source": "musique", "difficulty": "multi_hop"} {"input": "Where did George IV of the country the company Virgin Galactic is part of is from die?", "answer": "Windsor Castle", "source": "musique", "difficulty": "multi_hop"} {"input": "\"Who said, \"\"Married men live longer than single men, but married men are more willing to die\"\"?\"", "answer": ["Earn Your Vacation", "Johnny Carson", "Jonny Carson", "John William “Johnny” Carson", "Joanne Carson", "Johny carson", "John William %22Johnny%22 Carson", "The Squirrel's Nest", "Johnny carson", "King of Late Night", "John William Carson"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the date of death of the director of film That Sweet Word: Liberty!?", "answer": "12 November 1996", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Reinaldo Dalcin born?", "answer": "[\"Canoas\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did the director of film Redheads On Parade die?", "answer": "January 27, 1964", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "The Last Of The Really Great Whangdoodles and Mandy are children's books written by what well-known Oscar-winning actress?", "answer": ["Julia Elizabeth Wells", "Julie Elizabeth Andrews, DBE", "Julie Andrews Edwards", "Julie Wells", "Julie Elizabeth Wells", "Julie Elizabeth Andrews", "Dame Julie Andrews", "Julie Elizabeth Andrews DBE", "Julie andrews", "Julie Andrews"], "source": "triviaqa", "difficulty": "simple"} {"input": "What was Prince's last No 1 of the 80s?", "answer": "Batdance", "source": "triviaqa", "difficulty": "simple"} {"input": "where did the loaves and fishes come from", "answer": "a boy", "source": "nq", "difficulty": "simple"} {"input": "In what year did the performers of Everytime You Sleep form their band?", "answer": "1985", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Bruce Crowder born?", "answer": "[\"Essex\", \"Essex, Ontario\"]", "source": "popqa", "difficulty": "simple"} {"input": "Since what year have voters leaned Republican, in the state where the candidate who won the 2004 South Carolina Democratic primary was a senator?", "answer": "1976", "source": "musique", "difficulty": "multi_hop"} {"input": "What show helped launched the career of the performer of Heartbeat Song?", "answer": "American Idol", "source": "musique", "difficulty": "multi_hop"} {"input": "who plays robin's mom in how i met your mother", "answer": "Tracey Ullman", "source": "nq", "difficulty": "simple"} {"input": "What is the name for the regulatory body of over 25,000 football clubs in Germany?", "answer": "The DFB Sports Court", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Rodrigo Cortés's occupation?", "answer": "[\"film director\", \"movie director\", \"director\", \"motion picture director\", \"screenwriter\", \"scenarist\", \"writer\", \"screen writer\", \"script writer\", \"scriptwriter\"]", "source": "popqa", "difficulty": "simple"} {"input": "who won the last food network star 2017", "answer": "Jason Smith", "source": "nq", "difficulty": "simple"} {"input": "Which country celebrated its bicentenary in 1988?", "answer": ["Australia (Commonwealth realm)", "AustraliA", "Continental Australia", "Australias", "Peace of Australia", "Australian city life", "City life in Australia", "Australocentrist", "Mainland Australia", "Australiia", "Straya", "Australia (commonwealth)", "Austraila", "Ausrtalia", "Australia (nation)", "Australien", "New Australian", "Australia (dominion)", "Australia (federation)", "Australia (country)", "Aussieland", "Federal Australia", "Country life in Australia", "Orstraya", "Australia (nation state)", "Australia (commonwealth realm)", "Australia", "Australocentrism", "Austraya", "Australie", "AUSTRALIA", "Geopolitics of Australia", "Australia (nation-state)", "Australia's", "Australian mainland", "Australian country life", "Australian Woman's Day", "Imperial Australia", "United States of Australia", "Australia (realm)", "Australia (constitutional monarchy)", "Austalia", "Etymology of Australia", "Philosophy in Australia", "Commonwealth of Australia", "Australija", "Australia (monarchy)", "Dominion of Australia", "Empire of Australia", "Ostralia", "Modern Australia", "Commonwealth of australia", "Australia (empire)", "Australo", "The Commonwealth of Australia", "Australia.", "Austrlia", "Australlia", "AUSTRALIAN", "Australia (state)", "ISO 3166-1:AU", "Austrailia", "Commonwealth Australia", "Pax Australiana", "Australian Commonwealth", "Australocentric", "Austrlaia", "Technology in Australia", "Australia (Commonwealth)", "Australai", "Australian geopolitics", "Asutralia", "Australo-", "Australian's", "Science in Australia"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who had a 60s No 1 hit with Johnny Angel?", "answer": ["Shelley Fabares", "Shelly Fabares", "Michele Fabares", "Michele Ann Marie Fabares"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Ge You born?", "answer": "[\"Beijing\", \"Peking\", \"Beiping\", \"Peiping\", \"Yanjing\", \"Zhongdu\", \"Khanbaliq\", \"BJ\", \"Shun Tian Fu\", \"Pekin\", \"beijing\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Aina Kusuda born?", "answer": "[\"Chiba Prefecture\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which faith is designated to the University of Providence, private university accredited by the NW association of Schools and Colleges and located in a third largest city in Montana after being passed by Missoula?", "answer": "Roman Catholic", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a python function to find the minimum sum of absolute differences of two arrays.", "answer": "def find_Min_Sum(a,b,n): \r\n a.sort() \r\n b.sort() \r\n sum = 0 \r\n for i in range(n): \r\n sum = sum + abs(a[i] - b[i]) \r\n return sum", "source": "mbpp", "task_id": "656", "test_cases": "assert find_Min_Sum([3,2,1],[2,1,3],3) == 0\nassert find_Min_Sum([1,2,3],[4,5,6],3) == 9\nassert find_Min_Sum([4,1,8,7],[2,3,6,5],4) == 6", "difficulty": "code"} {"input": "What is the hockey club in the birthplace of George Fiott Day named?", "answer": "Southampton Hockey Club", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Adele Capell, Countess of Essex's occupation?", "answer": "[\"socialite\", \"prominent person\"]", "source": "popqa", "difficulty": "simple"} {"input": "which river takes its name from loess soil", "answer": "the Yellow River", "source": "nq", "difficulty": "simple"} {"input": "Canton Road Station was a planned railway station on the Kowloon Southern Link of West Rail Line, that was to run beneath a large shopping mall located where?", "answer": "Tsim Sha Tsui, Hong Kong", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Thomas Widdrington's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "In which year did Count Basie die?", "answer": ["1984", "one thousand, nine hundred and eighty-four"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the place of birth of the director of film Faust: Love Of The Damned?", "answer": "Filipino", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who is the actor who plays captain america", "answer": "Christopher Robert Evans", "source": "nq", "difficulty": "simple"} {"input": "who wrote nanny mcphee and the big bang", "answer": "Emma Thompson", "source": "nq", "difficulty": "simple"} {"input": "What is Neville Ashenheim's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which Disney film had the theme tune A Whole New World?", "answer": ["'Ala' ad Din", "'Ala' ad-Din", "Alad-Din", "Aladdin", "'Ala' addin", "アラジン", "Aladdin's lamp", "Alladdin", "Ali ibn ad-Din", "Ala addin", "Alaad Din", "Alad Din", "علاء الدين", "ʻAlāʼ ad-Dīn", "Ala ad-Din", "Alaaddin", "Aladdin and the magic lamp", "Arajin", "Alaad-Din", "Aladdin and the Magic Lamp", "'Ala addin"], "source": "triviaqa", "difficulty": "simple"} {"input": "Do both directors of films The Piano Tuner Has Arrived and The Young Philadelphians share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who was born first, Martin Heidegger or Lydia Davis?", "answer": "Martin Heidegger", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Jörg A. Eggers's occupation?", "answer": "[\"film director\", \"movie director\", \"director\", \"motion picture director\", \"screenwriter\", \"scenarist\", \"writer\", \"screen writer\", \"script writer\", \"scriptwriter\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the cause of death of Elizabeth Thorndike's husband?", "answer": "hanged", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Harvey born?", "answer": "[\"Philadelphia\", \"Philly\", \"City of Brotherly Love\", \"Cradle of Liberty\", \"Philadelphia, Pennsylvania\", \"City of Philadelphia\", \"Philadelphia, PA\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which county shares a border with the county in which Wayne is located?", "answer": "Waukesha County", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the name of the volcanic valley that runs from the Sinai peninsula to central Mozambique?", "answer": ["Syrian-African rift", "Great rift valley", "Great Rift Valley", "Syrian-East African Rift", "Great Rift Valley (geographical concept)", "Syrian-African Rift Valley", "Great Rift Valley, geographical concept", "Great Rift valley", "The Great Rift Valley"], "source": "triviaqa", "difficulty": "simple"} {"input": "When did the island, that the Royal Decree of Grace caused immigration to, become a commonwealth of the United States?", "answer": "February 4, 1952", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a python function to find the sum of non-repeated elements in a given array.", "answer": "def find_Sum(arr,n): \r\n arr.sort() \r\n sum = arr[0] \r\n for i in range(0,n-1): \r\n if (arr[i] != arr[i+1]): \r\n sum = sum + arr[i+1] \r\n return sum", "source": "mbpp", "task_id": "777", "test_cases": "assert find_Sum([1,2,3,1,1,4,5,6],8) == 21\nassert find_Sum([1,10,9,4,2,10,10,45,4],9) == 71\nassert find_Sum([12,10,9,45,2,10,10,45,10],9) == 78", "difficulty": "code"} {"input": "Banting and Best pioneered the use of what?", "answer": ["Insulin antagonists", "Human Mixtard", "Insulin recombinant purified human", "INS (gene)", "Insulin Human", "C65R", "Insulin recombinant human", "C257H383N65O77S6", "Insulin purified pork", "Actraphane", "Insulin zinc susp recombinant human", "Insuline", "Insulin zinc susp prompt beef", "Insullin", "Insulin zinc susp semisynthetic purified human", "Insulin aspart recombinant", "B10H", "Insulin purified beef", "Insulin gene", "Insulin zinc susp extended recombinant human", "Aktrapid", "Oral insulin", "Insulin zinc susp purified pork", "Human mixtard", "Insulin zinc susp extended beef", "Insulin zinc susp extended purified beef", "Insulin release", "Insulin zinc susp purified beef", "Actrapid", "Insulin glargine recombinant", "Insulin zinc susp prompt purified pork", "Insulin pork", "Iletin i (beef-pork)", "Iletin II", "Insulin zinc susp beef", "Mixtard", "Insulin, porcine", "Insulin"], "source": "triviaqa", "difficulty": "simple"} {"input": "When did Louis-Abraham Van Loo's father die?", "answer": "26 November 1670", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are Crandon, Wisconsin and Gorno Egri both located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What nationality is the director of film Swing Shift Maisie?", "answer": "American", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Petrus Camper's occupation?", "answer": "[\"physician\", \"physicians\", \"medical doctor\", \"medical practitioner\", \"doctor\", \"medical doctors\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are Fernand Backes and Tom Carew both from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who was the Prime Minister of Australia from 1983 - 1991?", "answer": ["Robert Hawke", "Bob Hawke", "Robert J. L. Hawke", "Bob hawke", "Robert James Lee Hawke"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who plays the individual who spoke in the sermon on the mount in the film The Passion of the Christ?", "answer": "James Patrick Caviezel", "source": "musique", "difficulty": "multi_hop"} {"input": "In basketball where do the Celtics come from?", "answer": ["City of Boston", "Boston,MA", "Economy of Boston", "Boston, Massachussets", "Boston's", "Boston, ma", "Boston, Massachusets", "Boston Massachusetts", "Boston, United States", "Wahstoronòn:ke", "Boston, Massachusetts, USA", "Boston Mass", "Boston, Massachessets", "Boston, Massachussetts", "Boston, Massachusetts, US", "Bosotn", "The weather in Boston", "Boston,Massachusetts", "Boston, Mass", "Boston, Massachusettes", "Boston, Massachussettes", "Boston, Massachusetts", "The hub of the universe", "Boston mass", "Boston massachusetts", "Boston Weather", "Beantown", "Bofton", "Boston, USA", "Boston, mass", "Education in Boston", "Boston ma", "Boston, MA", "Boston, US", "Boston (Mass.)", "Boston MA", "Demographics of Boston", "Geography of Boston", "Religion in Boston", "Boston (MA)", "Capital of Massachusetts", "Puritan City", "Boston, Massachusetts, United States of America", "Politics of Boston", "Boston", "Boston, Mass.", "The Hub of the Universe", "Boston, Massachusetts, United States", "Bean Town", "Bawstun", "UN/LOCODE:USBOS", "Massachusetts/Boston"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is John Strohmayer's birthplace the capital of?", "answer": "Butte County", "source": "musique", "difficulty": "multi_hop"} {"input": "Are both Kord Khil-E Valam and Novoabzakovo located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when is the new season of el chapo coming out", "answer": "December 15, 2017", "source": "nq", "difficulty": "simple"} {"input": "What is Michael Hutchings's occupation?", "answer": "[\"chef\", \"chef de cuisine\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who wrote The Picture Of Dorian Gray?", "answer": ["Oscar Wild", "Flahertie", "C. 3. 3. 3", "Oscar Wilde", "O'Flahertie", "C. 3. 3. 3.", "O Wilde", "Oscar O'Flahertie Wills Wilde", "Oscar O'flaherty Wilde", "Oscar wilde", "Sebastian Melmoth", "Oscar Fingal O'Flaherty Wills Wilde", "Theocritus: a villanelle", "Oscar Wilde/Biblio", "Oscar Fingal O'Flahertie Wills Wilde", "Cyril Wilde"], "source": "triviaqa", "difficulty": "simple"} {"input": "What was the screenplay novelist, Caroline Thompson, base in an Victorian era village for Victor and Emily?", "answer": "Corpse Bride", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who is the mother of Vyvyan Holland's father?", "answer": "Jane Wilde", "source": "musique", "difficulty": "multi_hop"} {"input": "Peter Thomas Ward played for a team that was offically renamed in what year?", "answer": "1913", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What time constitutes the Modern Period in the country where Samsung originated?", "answer": "from the rising of Joseon Dynasty to the enthronement of King Gojong", "source": "musique", "difficulty": "multi_hop"} {"input": "who has highest number of subscribers on youtube", "answer": "PewDiePie", "source": "nq", "difficulty": "simple"} {"input": "Hall of Fame Racing is a team created by a joint venture of a number of players including the quarterback who was the #1 overall draft pick in what year?", "answer": "1989", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What male actor starred in The Messenger?", "answer": "Robert Sheehan", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who played a piano player in the sci-fi series with a first episode called \"33\"?", "answer": "Roark Critchlow", "source": "musique", "difficulty": "multi_hop"} {"input": "What show helped launched the career of the singer of the opening of Sunday Night Football?", "answer": "American Idol", "source": "musique", "difficulty": "multi_hop"} {"input": "who was the comic book series amar chitra katha created", "answer": "Anant Pai", "source": "nq", "difficulty": "simple"} {"input": "Are the directors of both films Rembrandt (1936 Film) and Her Fatal Millions from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are Kaga, Republic Of Bashkortostan and Qezmazari located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When was the Taj Mahal built in the place where WAYV is located?", "answer": "1983", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Aleksandra Socha born?", "answer": "[\"Pabianice\", \"Pabianitz\", \"Burgstadt\"]", "source": "popqa", "difficulty": "simple"} {"input": "When was the spring training home of the team Scott Sheldon was a member of built?", "answer": "1976", "source": "musique", "difficulty": "multi_hop"} {"input": "What movement was the painter of Regentesses of the Old Men's Almshouse part of?", "answer": "Baroque", "source": "musique", "difficulty": "multi_hop"} {"input": "Who founded the maker of the Dacia Sandero?", "answer": "Louis Renault", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Isobel Pravda's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "How many episodes about the Menendez Brothers are in the show Anita Van Buren is from?", "answer": "eight", "source": "musique", "difficulty": "multi_hop"} {"input": "when did prohibition start and end in america", "answer": "1920 to 1933", "source": "nq", "difficulty": "simple"} {"input": "Are both villages, Khalti and Chah-E Chaheh, located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are both the Aşiyan Museum and Sultan Ahmed Mosque located in Istanbul?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Claudio Costamagna born?", "answer": "[\"Milan\", \"Milano\", \"Milan, Italy\", \"Milano, Italy\", \"Milano, Italia\", \"Mailand\", \"Milan Records\"]", "source": "popqa", "difficulty": "simple"} {"input": "What language is spoken by the choreographer of Chopiniana?", "answer": "Russian", "source": "musique", "difficulty": "multi_hop"} {"input": "The USS LST-510 is a ferry between New London and Orient but what is the population of Orient?", "answer": "743", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "The 2016 Washington State Cougars were led by the coach who previously helmed which other team?", "answer": "Texas Tech Red Raiders", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the place of birth of the director of film Ruang Talok 69?", "answer": "Bangkok", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who is the spouse of the performer of song Flight 643?", "answer": "Annika Backes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Do both directors of films Watchman Vadivel and The Green Archer (1961 Film) share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to remove multiple spaces in a string by using regex.", "answer": "import re\r\ndef remove_multiple_spaces(text1):\r\n return (re.sub(' +',' ',text1))", "source": "mbpp", "task_id": "693", "test_cases": "assert remove_multiple_spaces('Google Assistant') == 'Google Assistant'\nassert remove_multiple_spaces('Quad Core') == 'Quad Core'\nassert remove_multiple_spaces('ChromeCast Built-in') == 'ChromeCast Built-in'", "difficulty": "code"} {"input": "What is Edward F. Cox's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Where was the peace treaty signed that brought World War I to an end?", "answer": ["Palais de Versailles", "Palace of versailles", "Musee national du chateau de Versailles et des Trianons", "Palace and Park of Versailles", "Chateau of Versailles", "Versailles", "Museum of the History of France, Versailles", "City of Versailles", "Palace of Versailles", "Musée de Versailles", "Musée national du Château de Versailles", "Versailles Castle", "Musée d’Histoire de France", "Palais Versailles", "Château de Versailles", "Residence of Versailles", "Schloss Versailles", "Musée national du château de Versailles et des Trianons", "Versailles Museum", "Galerie de Versailles", "Chateau de Versailles", "Château of Versailles", "PalaceofVersailles", "Musée national du château et des Trianons", "Musée d'Histoire de France", "Chateau Versailles", "Versailles Palace", "The Palace of Versailles", "Musée historique de Versailles"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Alistair Cooke's real first name?", "answer": ["Alferd", "Alfred (disambiguation)", "Alfred (fictional character)", "Alfred (character)", "Alfred"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Heinrich Hofmann's occupation?", "answer": "[\"composer\", \"pianist\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who was Pope for the shortest length of time in the 20th century?", "answer": ["Albino Luciani", "Albino Luciano", "Albino Cardinal Luciani", "263rd pope", "Pope john paul 1", "Ioannes Paulus PP. I", "The September Pope", "John Paul I", "The Smiling Pope", "Pope John Paul I", "The smile of God", "John Paul I of Rome", "John-Paul I", "Edoardo Luciani", "September Pope"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Nosrat Karimi's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which team in the 70s won the Super Bowl by the biggest margin?", "answer": ["Oakland Senors", "LA Raiders", "List of Oakland Raiders Coaches", "Oakland raiders", "San Antonio Raiders", "Oakland Raiders(Football Team)", "Da Raidahs", "Los Angeles/Oakland Raiders", "Oakland Raiders", "Raidahs", "Oakland Señors", "Logos and uniforms of the Oakland Raiders", "Just win, baby", "Oakland Raider", "Los Angeles Raiders", "List of Oakland Raiders first-round draft picks", "L.A. Raiders"], "source": "triviaqa", "difficulty": "simple"} {"input": "Biographic is a weekly comics feature by award-winning cartoonist and illustrator Steve McGarry, the feature is syndicated by Universal Uclick and appears in such publications as The Toronto Sun, an English-language daily tabloid newspaper published in Toronto, Ontario, in which country?", "answer": "Canada", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Robert Florey's occupation?", "answer": "[\"screenwriter\", \"scenarist\", \"writer\", \"screen writer\", \"script writer\", \"scriptwriter\", \"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Alan Mauritz Swanson's occupation?", "answer": "[\"composer\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who is Julian Lennon's step-mother?", "answer": ["Yoko Lennon", "Yoko ono", "Yoko Ono (Singer)", "Kyoko Cox", "Second wife of John Lennon", "Kyoko Chan Cox", "ヨーコ・オノ", "Yoko Ono", "小野 洋子", "Ono Yōko", "Yôko Ono", "Angel (Yoko Ono song)", "John Lennon's 2nd spouse", "2nd spouse of John Lennon", "小野洋子", "Onochord", "Cut Piece", "Yoko Ono Lennon", "Ono Yoko", "2nd wife of John Lennon", "Yohko Ono", "Angel (Yoko Ono Song)", "John Ono Lennon II", "John Lennon's second spouse", "Yes, I'm a Witch Too", "Second spouse of John Lennon", "John Lennon's second wife", "オノ・ヨーコ", "Yoko Ono: Objects, Films", "Ono Yôko", "John Lennon's 2nd wife"], "source": "triviaqa", "difficulty": "simple"} {"input": "The character portrayed in \"Giuliani Time\" is a real-life informal adviser to the White House in which area?", "answer": "cybersecurity", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Robert Antoine's occupation?", "answer": "[\"missionary\", \"Christian missionary\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the least popular official language of where the villages of Wengen and the place of birth of Otto Furrer are located?", "answer": "Romansh", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the highest point where the Green-breasted pitta can be found in the country where the neighborhood of Makerere is located?", "answer": "1,400 metres", "source": "musique", "difficulty": "multi_hop"} {"input": "where is the saracens rugby union team based", "answer": "London,[1] England", "source": "nq", "difficulty": "simple"} {"input": "What is a staple food in the country where the BBC is banned from reporting?", "answer": "yak meat", "source": "musique", "difficulty": "multi_hop"} {"input": "Which team in the 80s won the Super Bowl by the biggest margin?", "answer": ["Chicago Bears", "Chicago Staleys", "Decatur Staleys", "Chicago Bears football", "Chicago bears", "Save Da Planet", "Chicago Gators"], "source": "triviaqa", "difficulty": "simple"} {"input": "who is in charge of public schools in america", "answer": "State governments", "source": "nq", "difficulty": "simple"} {"input": "How many people of the nationality that contributed the most immigrants at the start of the 20th Century live in the country who won the 2002 World Cup in Japan?", "answer": "5 million", "source": "musique", "difficulty": "multi_hop"} {"input": "who sings the original king of the road", "answer": "country singer Roger Miller", "source": "nq", "difficulty": "simple"} {"input": "What was the student enrollment at all campuses in the Fall of 2014 for the University where Danny Manning played?", "answer": "26,968", "source": "musique", "difficulty": "multi_hop"} {"input": "On what date did the publisher of Chick Chick Boom unveil its new systems?", "answer": "October 18, 1985", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the capital of Sierra Leone?", "answer": ["Freetown Colony", "Freetown", "History of Freetown, Sierra Leone", "Free Town", "Freetown settlement", "Freetown, Sierra Leone", "Capital of Sierra Leone"], "source": "triviaqa", "difficulty": "simple"} {"input": "Bob Dole trained for which profession although he didn't qualify?", "answer": ["The doctor (film)", "The Doctor (film)", "List of doctors", "Doctor (disambiguation)", "Doctor", "The Doctor (album)", "The Doctor (song)", "The Doctor", "Doctors", "The Doctor (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Barbu Ștefănescu Delavrancea born?", "answer": "[\"Bucharest\", \"Little Paris\", \"Paris of the East\", \"București\", \"Bucureşti\", \"Bucuresti\", \"Буцуреșти\"]", "source": "popqa", "difficulty": "simple"} {"input": "In the 90s how many points have been awarded for finishing second in a Grand Prix?", "answer": ["six", "6"], "source": "triviaqa", "difficulty": "simple"} {"input": "In the 2016 romantic drama \"Me Before You\" directed by Thea Sharrock, Sam Claflin (who also appears in The Hunger Games) stars as which character?", "answer": "Will Traynor", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In which year was CNN founded?", "answer": ["one thousand, nine hundred and eighty", "1980"], "source": "triviaqa", "difficulty": "simple"} {"input": "With which track and field even was Geoff Capes particularly associated?", "answer": ["Shot (unit)", "Shot", "Shot (drink)", "Shot (beverage)", "Shot (disambiguation)", "Shot (alcohol)", "SHOT"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what year was the person whose ideas influenced the Declaration of Independence born?", "answer": "1632", "source": "musique", "difficulty": "multi_hop"} {"input": "how long is a tracking number for ups", "answer": "18 characters", "source": "nq", "difficulty": "simple"} {"input": "In which country was Ursula Andrews born?", "answer": ["ISO 3166-1:CH", "Svissland", "Etymology of Switzerland", "Confederation Helvetia", "Swizerland", "Confederatio Helvetica", "Environmental Integrity Group", "Confoederatio Helvetica", "Svizra", "SWITZERLAND", "Confédération suisse", "SwissEnergy", "Schweitz", "Švýcarsko", "Die Schweiz", "Schwitzerland", "Confederation suisse", "Der Schweiz", "Swiss Confederated States", "Suiza", "Switz", "Switzeland", "Schweiz", "Confederation Helvetica", "Switserland", "Suisse", "Schweizerische Eidgenossenschaft", "Switzerland information", "Confederaziun Svizra", "Switzer land", "Switzerland", "Land of the Switzers", "Swiss confederation", "Confœderatio Helvetica", "Swiss", "Confederation Suisse", "Confederation of Helvatia", "Land of the Swiss", "Confederaziun svizra", "Svizzera", "Swissland", "Swizterland", "Confédération Suisse", "Confederazione Svizzera", "Swiss Confederation"], "source": "triviaqa", "difficulty": "simple"} {"input": "Choi Min-sik, is a South Korean actor, he also starred alongside Scarlett Johansson in Lucy, an English-language French science fiction action film written and directed by who?", "answer": "Luc Besson", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function to count the same pair in two given lists using map function.", "answer": "from operator import eq\r\ndef count_same_pair(nums1, nums2):\r\n result = sum(map(eq, nums1, nums2))\r\n return result", "source": "mbpp", "task_id": "723", "test_cases": "assert count_same_pair([1, 2, 3, 4, 5, 6, 7, 8],[2, 2, 3, 1, 2, 6, 7, 9])==4\nassert count_same_pair([0, 1, 2, -1, -5, 6, 0, -3, -2, 3, 4, 6, 8],[2, 1, 2, -1, -5, 6, 4, -3, -2, 3, 4, 6, 8])==11\nassert count_same_pair([2, 4, -6, -9, 11, -12, 14, -5, 17],[2, 1, 2, -1, -5, 6, 4, -3, -2, 3, 4, 6, 8])==1", "difficulty": "code"} {"input": "where does the ultimate power reside in a democracy", "answer": "in its citizens", "source": "nq", "difficulty": "simple"} {"input": "Have James Agee and Nelly Sachs both won a Nobel Prize in Literature?", "answer": "no", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function to get the length of a complex number.", "answer": "import cmath\r\ndef len_complex(a,b):\r\n cn=complex(a,b)\r\n length=abs(cn)\r\n return length", "source": "mbpp", "task_id": "688", "test_cases": "assert len_complex(3,4)==5.0\nassert len_complex(9,10)==13.45362404707371\nassert len_complex(7,9)==11.40175425099138", "difficulty": "code"} {"input": "What is Alfred Mombert's occupation?", "answer": "[\"poet\", \"poetess\", \"bard\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to count the elements in a list until an element is a tuple.", "answer": "def count_elim(num):\r\n count_elim = 0\r\n for n in num:\r\n if isinstance(n, tuple):\r\n break\r\n count_elim += 1\r\n return count_elim", "source": "mbpp", "task_id": "941", "test_cases": "assert count_elim([10,20,30,(10,20),40])==3\nassert count_elim([10,(20,30),(10,20),40])==1\nassert count_elim([(10,(20,30,(10,20),40))])==0", "difficulty": "code"} {"input": "Write a python function to check whether an array can be sorted or not by picking only the corner elements.", "answer": "def check(arr,n): \r\n g = 0 \r\n for i in range(1,n): \r\n if (arr[i] - arr[i - 1] > 0 and g == 1): \r\n return False\r\n if (arr[i] - arr[i] < 0): \r\n g = 1\r\n return True", "source": "mbpp", "task_id": "899", "test_cases": "assert check([3,2,1,2,3,4],6) == True\nassert check([2,1,4,5,1],5) == True\nassert check([1,2,2,1,2,3],6) == True", "difficulty": "code"} {"input": "what are the four stars on the chicago flag", "answer": "symbolize historical events", "source": "nq", "difficulty": "simple"} {"input": "Are the bands Cinematic Sunrise and Kingston Falls, from the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when was the last time the kansas city chiefs won the superbowl", "answer": "January 11, 1970", "source": "nq", "difficulty": "simple"} {"input": "Which American politician did Donahue replaced", "answer": "Kelli Ward", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Nina Dittrich born?", "answer": "[\"Vienna\", \"Wien\", \"Vienna, Austria\", \"W\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Alleppey Vincent's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "The Rossendale Free Press serves the town how far north of Manchester?", "answer": "19 mi", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Was Cian O'Sullivan or Sexy Cora born first?", "answer": "Sexy Cora", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who played the young Obi-Wan Kenobi in the Star Wars prequel?", "answer": ["Ewan McGregor", "Eve Mavrakis", "Ewan mcgregor", "Euan Mcgregor", "Ewen McGregor", "Evan Macgregor", "Filmography of Ewan McGregor", "Ewan Mcgregor", "Euan Macgregor", "Evan Mcgregor", "Euan Macgreggor", "Ewan MacGregor", "Evan Mcgreggor", "Ewen MacGregor", "Euan Mcgreggor", "Evan Macgreggor", "The Great Pretender film", "Ewan Macgregor", "Ewan Gordon McGregor", "Ewan Macgreggor", "Ewan mcgreggor", "Ewan magregor", "Ewan McGregor filmography", "Euan McGregor"], "source": "triviaqa", "difficulty": "simple"} {"input": "Oran international airport is in which country?", "answer": ["Popular Democratic Republic of Algeria", "AlgeriA", "Name of Algeria", "Algerian People's Democratic Republic", "Al-Jumhūrīyah al-Jazā’irīyah", "الجزائر", "Algeria country", "Algerie", "ISO 3166-1:DZ", "Algeria", "Algerian Peoples Democratic Republic", "Dzayer", "Administrative divisions of Algeria", "People’s Democratic Republic of Algeria", "People's Democratic Algerian Republic", "Ad-Dīmuqrāṭīyah ash-Sha’bīyah", "Subdivision of Algeria", "Al Jumhuriyah al Jaza'iriyah ad Dimuqratiyah ash Shabiyah", "Subdivisions of Algeria", "Algérie", "Etymology of Algeria", "Algerian State", "République algérienne démocratique et populaire", "Republic of Algeria", "People's Republic of Algeria", "Algery", "Al-Jumhuriyah al-Jaza'iriyah", "People's Democratic Republic of Algeria", "الجمهورية الجزائرية الديمقراطية الشعبية", "Ad-Dimuqratiyah ash-Sha'biyah"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is William Lescaze's occupation?", "answer": "[\"architect\"]", "source": "popqa", "difficulty": "simple"} {"input": "In the 1990's, who built one of the three mills landmarks in California?", "answer": "Petrie Dierman Kughn in 1994.", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When did the director of film Catherine & Co. die?", "answer": "10 November 2002", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Amoene van Haersolte born?", "answer": "[\"Utrecht\", \"Utreg\", \"Utrecht (city)\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did the composer of film Charulata die?", "answer": "23 April 1992", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which pop star did model Iman marry in 1992?", "answer": ["Hermione Farthingale", "Ziggy Stardust (persona)", "The Berlin Trilogy", "Berlin Trilogy", "Bowiesque", "David Bowie", "David bowie filmography", "Davie Jones and the King Bees", "Bowiean", "David bowie", "Tao Jones Index", "Bowie, David", "The Konrads", "Davie Jones with the King Bees", "David Bowie's", "David Bowi", "Davis bowie", "The Manish Boys", "David Robert Hayward-Jones", "Ziggy stardust (persona)", "The King of Glitter Rock", "David Hayward-Jones", "The Lower Third", "Davy Jones and the Lower Third"], "source": "triviaqa", "difficulty": "simple"} {"input": "who plays olivia benson on law and order", "answer": "Mariska Magdolna Hargitay", "source": "nq", "difficulty": "simple"} {"input": "Were Sam Faust and Kermet Apio of the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which country the composer of film Miss 420 is from?", "answer": "India", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the population of the city in India the headquarters of the Northern Railway are located?", "answer": "249,998", "source": "musique", "difficulty": "multi_hop"} {"input": "The performer of On the Avenue Live: Cookin' with the record label of Tokyo Live's performer at Montreux is a genre of what?", "answer": "jaz", "source": "musique", "difficulty": "multi_hop"} {"input": "Who wrote The Turn Of The Screw in the 19th century and The Ambassadors in the 20th?", "answer": ["The Finer Grain", "Henry james", "James, Henry", "Henry James"], "source": "triviaqa", "difficulty": "simple"} {"input": "who play the role of draupadi in mahabharat", "answer": "Pooja Sharma", "source": "nq", "difficulty": "simple"} {"input": "What is James Cook's occupation?", "answer": "[\"sailor\", \"seaman\", \"mariner\", \"seafarer\", \"merchant sailor\", \"merchant seaman\", \"merchant mariner\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which film has the director who is older, Smiley Gets A Gun or Frankenstein And The Monster From Hell?", "answer": "Smiley Gets A Gun", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What was the name of the orphanage where The Blues Brothers were brought up?", "answer": "Saint Helen of the Blessed Shroud", "source": "triviaqa", "difficulty": "simple"} {"input": "What is Matthew McKay's occupation?", "answer": "[\"dentist\", \"dentists\", \"dental surgeon\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Dean Alfange's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did the ocean where Sidmouth Rock is located become a thing?", "answer": "the 1770s", "source": "musique", "difficulty": "multi_hop"} {"input": "How many weeks did the lead single from Culture Beat's second studio album spend at number one on the \"RPM\" Dance chart in Canada?", "answer": "ten weeks", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Klaus Rainer Röhl's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Alexander Bogdanov's occupation?", "answer": "[\"economist\", \"economists\", \"journalist\", \"journo\", \"journalists\", \"physician\", \"physicians\", \"medical doctor\", \"medical practitioner\", \"doctor\", \"medical doctors\", \"philosopher\"]", "source": "popqa", "difficulty": "simple"} {"input": "On what did the publisher of EarthBound primarily rely on for support?", "answer": "first-party games", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Franky Zapata born?", "answer": "[\"Marseille\", \"Massaliotes\", \"Massalia\", \"Marsailles\", \"Marseilles\", \"Marsielles\", \"Marsielle\", \"City of Marseille\", \"Marsaille\", \"Marsiglia\", \"Marseille, France\", \"Ville-sans-Nom\", \"Sans-Nom\"]", "source": "popqa", "difficulty": "simple"} {"input": "What South Korean singer-songwriter, actor, writer, and fashion designer, was in the rock band F.T. Island that released their 5th album The Mood?", "answer": "Lee Hong-gi", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who was first indian governor general of india", "answer": "C. Rajagopalachari", "source": "nq", "difficulty": "simple"} {"input": "Write a function to print the first n lucky numbers.", "answer": "def lucky_num(n):\r\n List=range(-1,n*n+9,2)\r\n i=2\r\n while List[i:]:List=sorted(set(List)-set(List[List[i]::List[i]]));i+=1\r\n return List[1:n+1]", "source": "mbpp", "task_id": "907", "test_cases": "assert lucky_num(10)==[1, 3, 7, 9, 13, 15, 21, 25, 31, 33] \nassert lucky_num(5)==[1, 3, 7, 9, 13]\nassert lucky_num(8)==[1, 3, 7, 9, 13, 15, 21, 25]", "difficulty": "code"} {"input": "In which country did King Hassan II ascend the throne in 1961?", "answer": ["ISO 3166-1:MA", "Al-Mamlakah al-Maġribiyya", "Maroc", "Royaume du Maroc", "Norocco", "Moraco", "Sultanate of Fez", "Etymology of Morocco", "المغرب", "Al-Mamlaka al-Maġribiyya", "Maroc (disambiguation)", "Morroco", "Al-Maġrib", "Lmaġrib", "Sherifian Empire", "Maroco", "Name of Morocco", "Morrocco", "Moroccan Kingdom", "Morocco", "Morrocan", "Al-Mamlakah al-Maġribiyah", "Moroco", "Marokko", "المملكة المغربية", "Marocko", "Sultanate of Morocco", "Al-Mamlaka al-Maghrebia", "Kingdom of Morocco"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Friedrich Carl von Savigny's occupation?", "answer": "[\"jurist\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to zip two given lists of lists.", "answer": "def zip_list(list1,list2): \r\n result = list(map(list.__add__, list1, list2)) \r\n return result", "source": "mbpp", "task_id": "696", "test_cases": "assert zip_list([[1, 3], [5, 7], [9, 11]] ,[[2, 4], [6, 8], [10, 12, 14]] )==[[1, 3, 2, 4], [5, 7, 6, 8], [9, 11, 10, 12, 14]]\nassert zip_list([[1, 2], [3, 4], [5, 6]] ,[[7, 8], [9, 10], [11, 12]] )==[[1, 2, 7, 8], [3, 4, 9, 10], [5, 6, 11, 12]]\nassert zip_list([['a','b'],['c','d']] , [['e','f'],['g','h']] )==[['a','b','e','f'],['c','d','g','h']]", "difficulty": "code"} {"input": "What nationality is the director of film Arcade (Film)?", "answer": "America", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In the 70s which gangster film won an Oscar as did its sequel?", "answer": ["The Godfather trilogy", "Salvatorre Stracci", "Captain McCluskey", "Frankie Falcone", "The Godfather (movie)", "THE GODFATHER", "The Godfather: The Coppola Restoration", "The Godfather I", "Il Padrino", "Godfather (movie)", "The godfather", "The Godfather", "The godfather 1", "Tony Bianchi", "It's not personal. It's strictly business.", "TGP1", "The Godfather (film)", "The Godfather Part I", "Paulie gatto", "Der Pate", "I'm going to make him an offer he can't refuse"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Salvador Allende's occupation?", "answer": "[\"physician\", \"physicians\", \"medical doctor\", \"medical practitioner\", \"doctor\", \"medical doctors\", \"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are Saul N. Ramirez Jr. and Tayler Hill both from the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "The Time: Night, is a novella by which Russian writer, novelist and playwright?", "answer": "Lyudmila Stefanovna Petrushevskaya", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who was the Super Bowl MVP in 1979 and 1980.", "answer": ["Terri bradshaw", "Terry Bradshaw", "Terry Paxton Bradshaw"], "source": "triviaqa", "difficulty": "simple"} {"input": "who plays noah in the boy next door", "answer": "Ryan Guzman", "source": "nq", "difficulty": "simple"} {"input": "Cyril Briggs was dedicated to advancing what worldwide intellectual movement that aims to encourage and strengthen bonds of solidarity between all people of African descent", "answer": "Pan-Africanism", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when did significant amounts of oxygen appear in the earths atmosphere", "answer": "541 million years ago", "source": "nq", "difficulty": "simple"} {"input": "Are Alamdeh-E Gharbi and Amir Bekandeh located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who directed Back To The Future?", "answer": ["Robert Zemeckis", "To Walk the Clouds''", "Robert Zemekis", "Zemeckis", "Bob Zemeckis"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Ava Deluca-Verley's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Baruch Steinberg's occupation?", "answer": "[\"rabbi\", \"Rav\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what year was the Kellogg Company set up to manufacture cornflakes?", "answer": ["1906", "one thousand, nine hundred and six"], "source": "triviaqa", "difficulty": "simple"} {"input": "Under the Arab Empire, what subject was studied in the city that Abu Hassan was in?", "answer": "Islamic mathematics", "source": "musique", "difficulty": "multi_hop"} {"input": "What New York county is Hartland Swamp Wildlife Management Area located in?", "answer": "Niagara County", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when do we need to revisit bcp plan and strategy", "answer": "Biannual or annual", "source": "nq", "difficulty": "simple"} {"input": "Enterprise Car Sales was established in 1962 by founder Jack Taylor, which American car rental company headquartered in Clayton, Missouri, United States in Greater St. Louis?", "answer": "Enterprise Rent-A-Car", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who released the live album titled Fantasy Land Tour 2004 in the city where Shihlin Electric is based?", "answer": "S.H.E", "source": "musique", "difficulty": "multi_hop"} {"input": "highest goal scorer in nigeria premier league 2017", "answer": "Anthony Okpotu", "source": "nq", "difficulty": "simple"} {"input": "Who became leader of the Bosnian Serbs in 1992?", "answer": ["Dragan David Dabić", "Radovan Karadzik", "Dragan David Dabic", "Радован Караџић", "Radovan Karadzic", "Dr Dragan David Dabic", "Radovan karadzic", "Dr Dragan David Dabić", "Petar Glumac", "Dragan Dabic", "Dr. Dragan David Dabic", "Dragan Dabić", "Radovan Karadžic", "Radovan Karadic", "Dr. Dragan David Dabić", "Radovan Karadjic", "Radovan Karadžić", "Radovan karadžić", "Dragan Davic"], "source": "triviaqa", "difficulty": "simple"} {"input": "Where is the Peace Palace Library located?", "answer": "It is located in The Hague, Netherlands, and was established to support the Permanent Court of Justice", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "how many episodes in american horror story season 1", "answer": "12", "source": "nq", "difficulty": "simple"} {"input": "What is the Edsa Shangri-La an instance of in the birthplace of the person who made The Oddventures of Mr. Cool?", "answer": "hotels", "source": "musique", "difficulty": "multi_hop"} {"input": "Which film has the director who is older, Behind Prison Gates or The Lady Owner?", "answer": "The Lady Owner", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What was the name of NASA's manned space project whose astronauts were chosen in 1959?", "answer": ["List of manned Mercury flights", "Mercury Space Project", "Mercury program", "Mercury-Atlas 11", "Mercury-Atlas 12", "Project Mercury", "Mercury space program", "Mercury Capsule", "Mercury spacecraft", "List of unmanned Mercury flights", "McDonnell Mercury Capsule", "Mercury flights", "Summary of Project Mercury manned missions", "Mercury space capsule"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the cause of death of director of film Call Her Savage?", "answer": "heart attack", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Teri DeSario born?", "answer": "[\"Miami\", \"City of Miami\", \"Miami, Florida\", \"Miami, FL\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which country the director of film Punk: Attitude is from?", "answer": "British", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are Samalá River and Itter (Eder) located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the genre of the record label of the band that performed Because We Can?", "answer": "jaz", "source": "musique", "difficulty": "multi_hop"} {"input": "who is the current president of france today", "answer": "Emmanuel Macron", "source": "nq", "difficulty": "simple"} {"input": "Write a python function to count the total unset bits from 1 to n.", "answer": "def count_Unset_Bits(n) : \r\n cnt = 0; \r\n for i in range(1,n + 1) : \r\n temp = i; \r\n while (temp) : \r\n if (temp % 2 == 0) : \r\n cnt += 1; \r\n temp = temp // 2; \r\n return cnt;", "source": "mbpp", "task_id": "903", "test_cases": "assert count_Unset_Bits(2) == 1\nassert count_Unset_Bits(5) == 4\nassert count_Unset_Bits(14) == 17", "difficulty": "code"} {"input": "How many seats does bjp have in the political body responsible for electing the speaker of lok sabha?", "answer": "282 seats", "source": "musique", "difficulty": "multi_hop"} {"input": "Does Franklin A. Long have the same nationality as Clayton Landey?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are Helter Skelter Publishing and Beaudley located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Tyler, the Creator's occupation?", "answer": "[\"record producer\", \"music producer\", \"actor\", \"actress\", \"actors\", \"actresses\", \"graphic designer\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which architect designed the Seagram Building, New York City?", "answer": ["Philip Cortelyou Johnson", "Philip Johnson", "Philip Johnson (architect)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Where was the 1990s version of Dickens' Great Expectations set?", "answer": ["New Yourk State", "State of N.Y.", "US-NY", "N Y", "The state of NY", "NewYork", "NYS", "Neo York", "NY state", "Nova York", "State of new york", "Ny", "New york", "Nueva York (estado)", "N Y state", "New York (state)", "U.S. state of New York", "New York state", "New York, U.S.", "State New York", "Nýja-Jórvík", "Newyork", "NEW YORK", "State of N. Y.", "N. Y. state", "NY", "The state of N.Y.", "NY (state)", "New York's", "N.Y. (U.S. state)", "State of new yourk", "New York State", "New York (U.S. state)", "New york state", "New Yrok", "11th State", "New York (USA State)", "State of N Y", "New-York", "The State of New York", "State of New York", "US state of New York", "N Y (U.S. state)", "N.Y. state", "N.Y.", "The state of N. Y.", "N. Y. (state)", "The state of N Y", "New York, US", "N.Y. (state)", "Nyja-Jorvik", "Religion in New York", "New Yourk", "N. Y.", "New York State's", "Estado Nueva York", "New York (USA state)", "New york population", "New York, U.S.A", "New York", "NY (U.S. state)", "Estado de Nueva York", "N. Y. (U.S. state)", "Eleventh State", "N Y (state)", "State of NY", "New York (State)", "New York (U.S. state"], "source": "triviaqa", "difficulty": "simple"} {"input": "What year did the cast member of Captive win best Actress?", "answer": "2001", "source": "musique", "difficulty": "multi_hop"} {"input": "What abolished slavery throughout the nation the country that does not use filtering software gain independence from?", "answer": "The Slavery Abolition Act", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Fidel Antuña Batista's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What was the 2013 population of the country Fujairah College is located in?", "answer": "9.2 million", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "shmuel the boy in the striped pajamas actor", "answer": "Jack Charles Scanlon", "source": "nq", "difficulty": "simple"} {"input": "What is Jorge Traverso's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\"]", "source": "popqa", "difficulty": "simple"} {"input": "in the bible who was thrown into the fiery furnace", "answer": ["Meshach", "Abednego", "Shadrach"], "source": "nq", "difficulty": "simple"} {"input": "where did the braves play during the olympics", "answer": "Atlanta–Fulton County Stadium", "source": "nq", "difficulty": "simple"} {"input": "In which decade did Berry Gordy set up Tamla Motown?", "answer": ["The Fifties", "1950s", "1950-1959", "50's", "1950’s", "1950–1959", "Nineteen-fifties", "1950s (decade)", "1950ies", "1950's", "'50s", "195%3F", "Fifties"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who developed the prototype pacemaker used by the 34th President of the USA?", "answer": "R Adams Cowley", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are both villages, Javadiyeh, Markazi and Visak, located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "where is the olympics going to be in 2020", "answer": "Tokyo", "source": "nq", "difficulty": "simple"} {"input": "Who is older, Pavel Gizgizov or Angela Mudge?", "answer": "Angela Mudge", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is David M. Westcott's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "when did the story to kill a mockingbird take place", "answer": "1936,", "source": "nq", "difficulty": "simple"} {"input": "what do you call a person from lebanon", "answer": "Lebanese", "source": "nq", "difficulty": "simple"} {"input": "What is Joseph Weydemeyer's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\", \"revolutionary\", \"insurrectionist\", \"revolutionist\", \"revolutioner\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did the first restaurant, that the phenomenon of McDonaldization is named after, open in the nation where Freemasonry first spread?", "answer": "1974", "source": "musique", "difficulty": "multi_hop"} {"input": "Does Frank Adcock have the same nationality as Mickey Guyton?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Beth Hart's occupation?", "answer": "[\"singer-songwriter\", \"singer songwriter\", \"singer/songwriter\", \"singersongwriter\", \"singer-songwriter\"]", "source": "popqa", "difficulty": "simple"} {"input": "what is the full name of nigerian president", "answer": "Muhammadu Buhari", "source": "nq", "difficulty": "simple"} {"input": "What is the name of this policy of favoring members of a disadvantaged group who suffer or have suffered from discrimination within a culture of which Black Economic Empowerment is a form?", "answer": "Affirmative action", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when did come and get your love come out", "answer": "1974", "source": "nq", "difficulty": "simple"} {"input": "Where is the base of one of the three main British intelligence agencies?", "answer": "Cheltenham", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Warren Beatty was offered full college scholarships in which sport?", "answer": ["FOOTBALL", "History of football", "Games called football", "FootBall", "Football games", "Modern codes of football", "Football", "Footbal", "Foot ball", "Foot Ball", "Foot-ball", "Football move", "Football's", "Football rules", "History of football games", "Football code", "Foot-Ball", "Football (Group of Sports)", "Football (elliptical)", "Football codes"], "source": "triviaqa", "difficulty": "simple"} {"input": "In 1971 Leonard Bernstein wrote a Mass in whose memory?", "answer": ["JFK", "J.F.K", "J.F.K. Administration", "Kennedy administration", "JFK (President)", "J.F. Kennedy", "J. F. Kennedy", "John f kennedy", "John fitzgerald kennady", "John Kennedy", "My God, I'm hit", "John F.Kennedy", "Kennedyesque", "JFK administration", "President John F. Kennedy", "Jack Kennedy", "John F Kennedy", "35th President of the United States", "JF Kennedy", "Kennedy Administration", "President John Kennedy", "John f kenedy", "John F. Kennedy", "J.F.K.", "JFK (president)", "Jfk", "Jhon F Kennedy", "John F. Kennedy and civil rights", "John f. kennedy", "J F Kennedy", "J. F. K.", "John Fitzgerald %22Jack%22 Kennedy", "Camelot era", "John f. kenedy", "John Fitzgerald Kennedy", "Kennedy, John F.", "John f k", "Kennedy era", "President Kennedy", "Early years of john f. kennedy", "John F. %22Jack%22 Kennedy", "J F K", "Eponyms of John F. Kennedy", "U.S. President J.F. Kennedy", "President John F Kennedy", "John F. Kennedie", "Kennedyism", "Senator John F. Kennedy"], "source": "triviaqa", "difficulty": "simple"} {"input": "What are the biggest terrorist attacks by the group with which Bush said the war on terror begins against the country where Henry Benbridge lived when he died?", "answer": "the 9/11 attacks", "source": "musique", "difficulty": "multi_hop"} {"input": "Do Cédric Garcia and Amrit Bhattarai share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What was the highest rank Charles Lindbergh attained?", "answer": ["Brigadier General (United Kingdom)", "Brigadier generals", "Brigadier-General (Canada)", "Brigadier General", "Brig Gen", "Brig-Gen", "Brig gen", "Général de brigade", "Brigadier general (Turkey)", "Brig. Gen.", "Brigadier general (United Kingdom)", "Brig.Gen", "General de Brigada", "Brig general", "Brigadier-general (France)", "General de Brigade", "Brigadier general (Canada)", "Général de Brigade", "General-Major", "Brigadier-General", "General of Brigade", "General de brigade", "Brigadier General (Australia)", "Brigadier General (Canada)", "Junjang", "Brig. General", "Brigadier general (Poland)", "Brigadier-general", "General of brigade", "Brigadier general", "Brigadier general (France)", "Brigadier general (Australia)", "Br. Gen.", "Brigadier-general (British Army)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a python function to calculate the product of all the numbers of a given tuple.", "answer": "def mutiple_tuple(nums):\r\n temp = list(nums)\r\n product = 1 \r\n for x in temp:\r\n product *= x\r\n return product", "source": "mbpp", "task_id": "925", "test_cases": "assert mutiple_tuple((4, 3, 2, 2, -1, 18)) == -864\nassert mutiple_tuple((1,2,3)) == 6\nassert mutiple_tuple((-2,-4,-6)) == -48", "difficulty": "code"} {"input": "When was the last time that the team Hakan plays winger for won Serie A?", "answer": "2010 -- 11", "source": "musique", "difficulty": "multi_hop"} {"input": "Where in the country where the creator of Asi is a citizen would you find the monsters?", "answer": "Sonora", "source": "musique", "difficulty": "multi_hop"} {"input": "Who was deputy commander of the 1983 US invasion of Grenada?", "answer": ["General H. Norman Schwarzkopf Jr.", "General Schwartzkopf", "Norman Schwarzkopf Jr.", "Norman schwartzkopf", "Norman Schwarzkopf, Jr", "General swartzkoff", "General swartzkof", "H. Norman Schwarzkopf", "Gen. Norman Schwarzkopf", "Norman Schwarzkopf Jr", "Norman Schwartzkopf", "Herbert Norman Schwarzkopf, Jr.", "It Doesn't Take a Hero : The Autobiography of General H. Norman Schwarzkopf", "H. Norman, Jr. Schwarzkopf", "Schwarzkopf, H. Norman, Jr.", "Norman Schwarzkopf", "General Schwarzkopf", "General Norman Schwarzkopf", "Norman Shwarzkopf", "It Doesn't Take a Hero", "General H. Norman Schwarzkopf, Jr.", "General Norman Schwartzkopf", "Norman Schwarzkopf, Jr.", "H. Norman Schwarzkopf, Jr."], "source": "triviaqa", "difficulty": "simple"} {"input": "In the 90s how many points have been awarded for finishing first in a Grand Prix?", "answer": ["10", "ten"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which UK pop singer an environmental campaigner appeared in Dune?", "answer": ["Sting (pain)", "Sting (disambiguation)", "Stings", "Stinging", "Sting"], "source": "triviaqa", "difficulty": "simple"} {"input": "who sang since you've been gone by rainbow", "answer": "Graham Bonnet", "source": "nq", "difficulty": "simple"} {"input": "Who was the president of the United States following the war the Battle of Kostiuchnówka was part of?", "answer": "Thomas Woodrow Wilson", "source": "musique", "difficulty": "multi_hop"} {"input": "Signet Jewelers owns what Delaware based retailer, along with Kay and Jared?", "answer": "Zale Corporation", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "How many winter days reach freezing in the city where the band who performed In Hiding was formed?", "answer": "28 annual days", "source": "musique", "difficulty": "multi_hop"} {"input": "Who died later, Chuck Turner or Mohamed Abdelaziz (Sahrawi Politician)?", "answer": "Chuck Turner", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are the directors of both films Naukar Biwi Ka and Rising To The Bait from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which department is Douré in the country Lago is located part of?", "answer": "Zimtenga Department", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Alfredo Ramos Martínez born?", "answer": "[\"Monterrey\", \"Monterrey, Nuevo Leon\", \"Monterrey, Mexico\", \"La sultana del norte\", \"La ciudad de las montañas\"]", "source": "popqa", "difficulty": "simple"} {"input": "what books are in the lord of the rings series", "answer": ["The Fellowship", "The Fellowship of the Ring", "The Return of the King"], "source": "nq", "difficulty": "simple"} {"input": "What was the name of the butler in The Rocky Horror Picture Show?", "answer": ["Riffraff", "Riff Raff", "Riff Raff (magazine)", "Riff-raff", "Riff Raff (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the date of death of the director of film Land Of The Outlaws?", "answer": "July 5, 1969", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Brent Huff's occupation?", "answer": "[\"film director\", \"movie director\", \"director\", \"motion picture director\", \"model\", \"fashion model\", \"sitter\", \"poser\"]", "source": "popqa", "difficulty": "simple"} {"input": "Jolen is a member of the race of what type of people created by Marvel Comics?", "answer": "superhumans", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Mark Holzemer born?", "answer": "[\"Littleton\", \"LIttleton, Colorado\", \"Littleton, Colorado\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the biggest terrorist attack by the Islamic terrorist group that Bush said the 'war on terror' began against, on the country with the largest GDP in the world?", "answer": "the 9/11 attacks", "source": "musique", "difficulty": "multi_hop"} {"input": "who plays donna ladonna in the carrie diaries", "answer": "Chloe Suazo", "source": "nq", "difficulty": "simple"} {"input": "What is the birth date of the coach of the 2014-15 Michigan Wolverines men's basketball team?", "answer": "February 5, 1953", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the date of death of Bandar Bin Saud Bin Abdulaziz Al Saud's father?", "answer": "23 February 1969", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What year saw the founding of the baseball team where Hal McRae played from 1973-87?", "answer": "1969", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who was jailed for her 'obscene' stage play Sex?", "answer": ["Mae West", "Mae west", "Is that a gun in your pocket, or are you just happy to see me%3F", "When I'm Bad, I'm Better", "Jane Mast", "When I'm good, I'm very good...", "Mae West filmography"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who developed the game with whom the man who created the C programming language was incorrectly cited as a co-author?", "answer": "Bell Labs", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Carlo Giustini's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Whose poems returned to the bestsellers list after Four Weddings and a Funeral?", "answer": ["W.H Auden", "W Auden", "W.H.Auden", "W.H. Auden's", "WH Auden", "Auden, Wystan Hugh", "Tell Me the Truth About Love", "Wh auden", "Wystan. H. Auden", "W.H. Auden", "WH auden", "W H Auden", "W. H. Auden", "Wystan Hugh Auden", "Wystan Auden", "W h auden", "Fleet Visit"], "source": "triviaqa", "difficulty": "simple"} {"input": "UCL Partners is the largest type of what facility in the continent Tikhaya Sosna is located?", "answer": "academic health science centres", "source": "musique", "difficulty": "multi_hop"} {"input": "Where was golf's 1977 US Open held?", "answer": ["Tulsa oklahoma", "Tulsa, Okla.", "KWMJ", "Tulsa, ok", "Tulsa,Oklahoma", "Tulsa", "Tulsa Oklahoma", "Tulsa, United States", "Downtown Tulsa, Oklahoma", "Tulsa, OK", "City of Tulsa", "Tulsa, Oklahoma, USA", "Tulsa, Oklahoma", "Tulsa (OK)", "Tollsa", "Tulsa, USA", "UN/LOCODE:USTUL", "Tulsa ok"], "source": "triviaqa", "difficulty": "simple"} {"input": "how many episodes of sea patrol are there", "answer": "68", "source": "nq", "difficulty": "simple"} {"input": "who plays kiki in queen of the south", "answer": "Michel Duval", "source": "nq", "difficulty": "simple"} {"input": "What region does the area encompassing Washington Township share border with?", "answer": "Indiana County", "source": "musique", "difficulty": "multi_hop"} {"input": "In which year was the performer of Secrets formed?", "answer": "1995", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Everett Glass born?", "answer": "[\"Bangor\", \"Bangor, Maine\"]", "source": "popqa", "difficulty": "simple"} {"input": "when did sophia the robot get her citizenship", "answer": "October 25", "source": "nq", "difficulty": "simple"} {"input": "when does season 4 of the ranch on netflix come out", "answer": "December 15, 2017", "source": "nq", "difficulty": "simple"} {"input": "where does the rio grande start and finish", "answer": "Gulf of Mexico", "source": "nq", "difficulty": "simple"} {"input": "Who is the spouse of the director of film Fighting Man Of The Plains?", "answer": "Ann Morriss", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Hans-Jörg Voigt born?", "answer": "[\"Dresden\", \"Elbflorenz\", \"Drezda\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Sven Alkalaj's occupation?", "answer": "[\"diplomat\"]", "source": "popqa", "difficulty": "simple"} {"input": "In which country is the Embassy of France located in the city where most of the academic institutions are located?", "answer": "Czech Republic", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to calculate wind chill index.", "answer": "import math\r\ndef wind_chill(v,t):\r\n windchill = 13.12 + 0.6215*t - 11.37*math.pow(v, 0.16) + 0.3965*t*math.pow(v, 0.16)\r\n return int(round(windchill, 0))", "source": "mbpp", "task_id": "638", "test_cases": "assert wind_chill(120,35)==40\nassert wind_chill(40,70)==86\nassert wind_chill(10,100)==116", "difficulty": "code"} {"input": "how many times has the us constitution been changed", "answer": "Twenty-seven", "source": "nq", "difficulty": "simple"} {"input": "When was the record producer that produced Love Has Come for You born?", "answer": "22 June 1944", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which explorer accurately mapped the coasts of the continent Schreckhorn is on and the region WINEP bundled the countries of Northwest Africa?", "answer": "Piri Reis", "source": "musique", "difficulty": "multi_hop"} {"input": "Where was the place of death of the director of film The Private Life Of Louis Xiv?", "answer": "Berlin", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are Shenandoah Valley Regional Airport and Santa Barbara Municipal Airport both in the United States?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "what did the animals turn into in cinderella", "answer": "horses", "source": "nq", "difficulty": "simple"} {"input": "Where did the country who won the 2014 event, that the FIFA Considerations Cups is usually considered a warm-up for, finish in the 2006 World Cup?", "answer": "third place", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Glenn Albrecht's occupation?", "answer": "[\"philosopher\"]", "source": "popqa", "difficulty": "simple"} {"input": "By what pseudonym is writer Frederick Dannay Manfred Bennington Lee better known?", "answer": ["Manfred B. Lee", "Frederic Dannay", "Manfred Bennington Lee", "Manfred Lee", "Barnaby Ross", "Pseud. Ellery Queen", "Lee, Manfred Bennington", "Dannay, Frederic", "Ellery Queen"], "source": "triviaqa", "difficulty": "simple"} {"input": "first person to reach the top of mt everest", "answer": ["Sir Edmund Percival Hillary", "Tenzing Norgay"], "source": "nq", "difficulty": "simple"} {"input": "Write a function to locate the left insertion point for a specified value in sorted order.", "answer": "import bisect\r\ndef left_insertion(a, x):\r\n i = bisect.bisect_left(a, x)\r\n return i", "source": "mbpp", "task_id": "736", "test_cases": "assert left_insertion([1,2,4,5],6)==4\nassert left_insertion([1,2,4,5],3)==2\nassert left_insertion([1,2,4,5],7)==4", "difficulty": "code"} {"input": "Which Andre built the first factory to mass-produce rubber tires?", "answer": ["Michelin Tire Company", "Compagnie Générale des Établissements Michelin", "Michelin", "Kleber (tire)", "Michelin Group", "Michelin CGDE B Brown", "Michelin Tires", "Compagnie Generale des Etablissements Michelin", "Michelin et Cie", "Michilen"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which rock star featured in Marvel's 50th issue of Marvel Premiere in 1979?", "answer": ["Humanary Stew: A tribute to Alice Cooper", "Vince Furnier", "ALICE COOPER", "Vincent D. Furnier", "Humanary Stew: A Tribute to Alice Cooper", "The beast of alice cooper", "Vincent Furnier", "Mascarra & Monsters : The Best Of Alice Cooper", "The Beast of Alice Cooper", "Norma Byrne", "Alice Cooper", "Alice Coper", "Calico Cooper", "Poison (Alice Cooper album)", "Vincent Damon Furnier", "The Beast Of Alice Cooper", "Sheryl Cooper"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who is the spouse of the composer of song It Goes Like It Goes?", "answer": "Didi Conn", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who is the father of the person who directed Mahapurush?", "answer": "Sukumar Ray", "source": "musique", "difficulty": "multi_hop"} {"input": "Brooks Robinson and Carl Yastrzemski hold the major league baseball record for playing the greatest number of seasons with the same team. How many years did they play-- and with what teams?", "answer": "23 years. Third baseman Robinson played with the Baltimore Orioles from 1955 to 1977; Carl Yastrzemski, outfielder/first baseman, played with the Boston Red Sox from 1961 to 1983", "source": "triviaqa", "difficulty": "simple"} {"input": "Bill Berry retired through ill health as a drummer in which band?", "answer": ["REM", "R. E. M.", "R. E. M", "Rem", "Rem (disambiguation)", "R E M", "REM (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Formally the Games of the XXX Olympiad what sports event did Dirkie Chamberlain represent her country?", "answer": "2012 Summer Olympics", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When did the people who had strong support in Posen come to the place where andy sailed to in the office?", "answer": "1625", "source": "musique", "difficulty": "multi_hop"} {"input": "What was the date of death of Catherine, formerly of the city that used to be the capital of the department of Gênes?", "answer": "15 September 1510", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a python function to convert a string to a list.", "answer": "def Convert(string): \r\n li = list(string.split(\" \")) \r\n return li", "source": "mbpp", "task_id": "708", "test_cases": "assert Convert('python program') == ['python','program']\nassert Convert('Data Analysis') ==['Data','Analysis']\nassert Convert('Hadoop Training') == ['Hadoop','Training']", "difficulty": "code"} {"input": "Write a function to pack consecutive duplicates of a given list elements into sublists.", "answer": "from itertools import groupby\r\ndef pack_consecutive_duplicates(list1):\r\n return [list(group) for key, group in groupby(list1)]", "source": "mbpp", "task_id": "778", "test_cases": "assert pack_consecutive_duplicates([0, 0, 1, 2, 3, 4, 4, 5, 6, 6, 6, 7, 8, 9, 4, 4])==[[0, 0], [1], [2], [3], [4, 4], [5], [6, 6, 6], [7], [8], [9], [4, 4]]\nassert pack_consecutive_duplicates([10, 10, 15, 19, 18, 18, 17, 26, 26, 17, 18, 10])==[[10, 10], [15], [19], [18, 18], [17], [26, 26], [17], [18], [10]]\nassert pack_consecutive_duplicates(['a', 'a', 'b', 'c', 'd', 'd'])==[['a', 'a'], ['b'], ['c'], ['d', 'd']]", "difficulty": "code"} {"input": "who is the female driver on grand tour", "answer": "Abigail \"Abbie\" Eaton", "source": "nq", "difficulty": "simple"} {"input": "When did the country where Bentota was located leave the British Empire?", "answer": "February 4, 1948", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the date of death of Helen F. Holt's husband?", "answer": "February 8, 1955", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "what degree do you get out of medical school", "answer": "Doctor of Medicine (MD", "source": "nq", "difficulty": "simple"} {"input": "Write a python function to check whether the product of numbers is even or not.", "answer": "def is_Product_Even(arr,n): \r\n for i in range(0,n): \r\n if ((arr[i] & 1) == 0): \r\n return True\r\n return False", "source": "mbpp", "task_id": "804", "test_cases": "assert is_Product_Even([1,2,3],3) == True\nassert is_Product_Even([1,2,1,4],4) == True\nassert is_Product_Even([1,1],2) == False", "difficulty": "code"} {"input": "Are both movies, The Little Thing (1923 Film) and Call Girl (2007 Film), from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In which direction would you travel from the city whose team Matt Reilly played for to reach Southampton?", "answer": "north-west", "source": "musique", "difficulty": "multi_hop"} {"input": "Elwyn McRoy is an American college basketball coach and current men's basketball assistant coach at Coppin State University, a historically black college located in Baltimore, Maryland, in which country?", "answer": "United States", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who was born first out of Jóhann Gunnar Sigurðsson and Dirck Van Os?", "answer": "Dirck Van Os", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Howard Fowles's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Does Mukasa Mbidde have the same nationality as Erich Maas?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who had a 70s No 1 hit with Billy, Don't Be A Hero?", "answer": ["Bo donaldson and the heywoods", "Bo Donaldson and the Heywoods", "Bo Donaldson and The Heywoods", "The Heywoods", "Bo Donaldson & the Haywoods", "Bo Donaldson & the Heywoods", "Bo Donaldson & The Heywoods", "Bo Donaldson", "Rick Joswick", "Bo Donaldson and the Haywoods"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which university did Cheryl Miller attend?", "answer": ["USC Song Girls", "Resident Honors Program", "Southern Cal.", "Campus of the university of southern california", "University Of Southern California", "The University of Southern California", "University of Southern California Press", "SCions", "University of Southern California, California", "Usc.edu", "University of Southern California", "Delta Phi Kappa", "Southern California Review", "University of Southern California at Los Angeles", "El Rodeo (yearbook)", "U$C", "Southern Cal", "University of Southern California Health Sciences Campus", "Traditions and student activities at the University of Southern California", "'SC", "Campus of the University of Southern California", "University of southern california", "El Rodeo Yearbook", "U Southern California"], "source": "triviaqa", "difficulty": "simple"} {"input": "Gary Harrison, began his career in the 1970s and has written over how many major-label recorded songs including several number-one hits, another artist who have recorded his work include Bryan White, an American country music artist?", "answer": "300", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "where is the rio grande river located in jamaica", "answer": "parish of Portland", "source": "nq", "difficulty": "simple"} {"input": "What type of drug is Sherman Klump trying to perfect in The Nutty Professor?", "answer": ["Weightloss", "Weight reduction", "Fat loss", "Lose weight", "Unintentional weight loss", "Involuntary weight loss", "Abnormal loss of weight", "Abnormal weight loss", "Weight Loss", "Natural weight loss", "Slimming", "Weight loss", "Weight-loss", "Loss of weight", "Weight loss pills", "Loses weight", "Losing weight", "Losing Weight"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to join the tuples if they have similar initial elements.", "answer": "def join_tuples(test_list):\r\n res = []\r\n for sub in test_list:\r\n if res and res[-1][0] == sub[0]:\r\n res[-1].extend(sub[1:])\r\n else:\r\n res.append([ele for ele in sub])\r\n res = list(map(tuple, res))\r\n return (res)", "source": "mbpp", "task_id": "969", "test_cases": "assert join_tuples([(5, 6), (5, 7), (6, 8), (6, 10), (7, 13)] ) == [(5, 6, 7), (6, 8, 10), (7, 13)]\nassert join_tuples([(6, 7), (6, 8), (7, 9), (7, 11), (8, 14)] ) == [(6, 7, 8), (7, 9, 11), (8, 14)]\nassert join_tuples([(7, 8), (7, 9), (8, 10), (8, 12), (9, 15)] ) == [(7, 8, 9), (8, 10, 12), (9, 15)]", "difficulty": "code"} {"input": "Which American nuclear submarine was the first to sail across the North Pole under the ice cap?", "answer": ["Nautilus", "Nautilid", "Nautili", "Nautilidae", "Eutrephoceratidae", "Nautilus (zoology)"], "source": "triviaqa", "difficulty": "simple"} {"input": "who won last year's women's ncaa tournament", "answer": "South Carolina", "source": "nq", "difficulty": "simple"} {"input": "What is the area code for the state where Kanye based himself to create his next album?", "answer": "808", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Pamela Winslow's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Do Danny Shirley and James Dean Bradfield play in the same band?", "answer": "no", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Richard Rishi's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Dinesh Singh's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is John Bell's occupation?", "answer": "[\"surgeon\", \"surgeons\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the enrolment at Brooks D. Simpson's employer?", "answer": "72,000", "source": "musique", "difficulty": "multi_hop"} {"input": "Are the directors of both films When A Man'S A Man and Familien Gyldenkål from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Alex Krieps's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "In 2011, who became the CEO of the record label that released Why Not Me?", "answer": "Peter Edge", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Billy Ocean's real name?", "answer": ["Leslie Charles", "Pressure (Billy Ocean song)", "Billy ocean", "Billy Ocean", "Calypso Crazy (Billy Ocean song)", "Les Sebastian Charles", "Leslie Sebastian Charles", "Bittersweet (Billy Ocean song)", "Licence To Chill (Billy Ocean song)", "Red Light Spells Danger", "The Colour Of Love (Billy Ocean song)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Where was the place of burial of the director of film Gold In The Street?", "answer": "Forest Lawn Memorial Park", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Do Juan Pablo Magallanes and Bud Shrake share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What was the name of the first weather satellite?", "answer": "Tiros", "source": "triviaqa", "difficulty": "simple"} {"input": "What were the first two names of 'Cannonball' Adderley?", "answer": "Julian Edwin", "source": "triviaqa", "difficulty": "simple"} {"input": "who plays the younger sister in what's eating gilbert grape", "answer": "Mary Kate Schellhardt", "source": "nq", "difficulty": "simple"} {"input": "Former player Darius Maskoliūnas coaches for which of the oldest Lithuanian basketball teams?", "answer": "Žalgiris Kaunas.", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which First Lady had to give evidence over the Whitewater scandal?", "answer": ["Hillary R. Clinton", "Hilary Rodham Clinton", "Public image of Hillary clinton", "Hillary Diane Rodham Clinotn", "Secretary Clinton", "HilaryRodhamClinton", "Hillary Rodham Clinton", "Clinton, Hilary Rodham", "RodhamClinton", "First Lady Clinton", "Ms. Clinton", "Hillary (politician)", "Controversies surrounding Hillary Clinton", "Hilary Diane Rodham Clinton", "Hillary Rodham", "Hillary Klinton", "Cultural Matters of Hillary Clinton", "Hillery clinton", "Rodham Clinton", "Senator Clinton", "Hillary Clinton", "H Clinton", "Senator Hillary Rodham Clinton", "HillaryRodhamClinton", "Clinton, Hillary Rodham", "Rodham,Hillary", "Hilary D. R. Clinton", "Cultural matters related to Hilary Rodham Clinton", "Mrs. Bill Clinton", "Hilary R. Clinton", "New College Compact", "Hillary Diane Clinton", "Rodham, Hilary", "MsRodham", "Ms Rodham", "Hillary Clinton-Rodham", "Clinton, Hillary", "Hillary Diane Rodham Clinton", "Hillary Diane Rodham", "Hillary Cliton", "Hillary-Rodham-Clinton", "Hillary!", "Senator Hilary Clinton", "Rodham, Hillary", "Hilary clinton", "Hilary Diane Rodham", "HIllary Rodham Clinton", "Hillary D. R. Clinton", "Rodham, Hillary Diane", "H. Clinton", "Mrs. Clinton", "Senator Hillary Clinton", "H.R. Clinton", "Hillary Diane R. Clinton", "Hilary Diane R. Clinton", "HillaryRodham", "Hillary-Rodham", "Controversies surrounding Hillary Rodham Clinton", "Mrs Clinton", "Hillary clinton", "Rodham-Clinton", "Hilary Rodham Clinton controversies", "Ms. Rodham", "Hillery Clinton", "List of Hillary Rodham Clinton Controversies", "HR Clinton", "Secretary of State Hillary Clinton", "Clinton, Rodham", "MissRodham", "Rodham, Hilary Diane", "Cultural matters related to Hillary Rodham Clinton", "Hillary Rodham Clintion", "Mrs Bill Clinton", "Hillary Rodham-Clinton", "Hilary Rodham-Clinton", "Clinton hillary", "Miss Rodham", "Hillary Diane", "Clinton, Hilary", "Clinton Rodham", "Rodham Hillary", "Clinton-Rodham", "Hilliary Clinton", "Ms.Rodham", "Hilary Clinton", "Hillary Rodham Clinton controversies", "Hillary Rodham Klinton", "Hilary Rodham"], "source": "triviaqa", "difficulty": "simple"} {"input": "SMA Negeri 68 is located in what region of the city where Funeral Inception was founded?", "answer": "Central Jakarta", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Herman Hertzberger born?", "answer": "[\"Amsterdam\", \"Mokum\", \"Amsterdam, NL\", \"Amsterdam, Netherlands\", \"A'dam\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Arafan Camara's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "when did ginny weasley join the quidditch team", "answer": "Half-Blood Prince", "source": "nq", "difficulty": "simple"} {"input": "What is the largest football stadium in the world in the country neighboring the country with the best internet in the world?", "answer": "The Rungrado 1st of May Stadium, also known as the May Day Stadium", "source": "musique", "difficulty": "multi_hop"} {"input": "which u.s. supreme court case required states to use the exclusionary rule", "answer": "Mapp v. Ohio", "source": "nq", "difficulty": "simple"} {"input": "In what city was George Tintle born?", "answer": "[\"Harrison\", \"Harrison, New Jersey\", \"Harrison, Hudson County, New Jersey\"]", "source": "popqa", "difficulty": "simple"} {"input": "What was the subtitle of Terminator 2?", "answer": ["Judgment day", "The Day of Judgement", "Day of judgement", "The Last Judgement", "Universal Judgment", "Judgment Day", "Last judgement", "Last judgment", "Last Trump of Doom", "Judgment date", "Judgment, Last", "Final judgment", "2012 Judgement Day", "Final judgement", "Last Judgement", "Last Judgment", "Day of Judgment", "Judgement Day", "Final Judgment", "The Last Judgment", "Day of judgment", "Final Judgement", "Day of Judgement", "Signs of the Judgement Day", "Judgement day", "Last Judgment, The", "Day Of Judgment"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which city is in the same county as Jonesville?", "answer": "Belle Fourche", "source": "musique", "difficulty": "multi_hop"} {"input": "what is the function of the proteins secreted by cells of the ventral midline of the spinal cord", "answer": "patterning the ventral axis", "source": "nq", "difficulty": "simple"} {"input": "Write a function to group a sequence of key-value pairs into a dictionary of lists using collections module.", "answer": "from collections import defaultdict\r\ndef grouping_dictionary(l):\r\n d = defaultdict(list)\r\n for k, v in l:\r\n d[k].append(v)\r\n return d", "source": "mbpp", "task_id": "653", "test_cases": "assert grouping_dictionary([('yellow', 1), ('blue', 2), ('yellow', 3), ('blue', 4), ('red', 1)])== ({'yellow': [1, 3], 'blue': [2, 4], 'red': [1]})\nassert grouping_dictionary([('yellow', 10), ('blue', 20), ('yellow', 30), ('blue', 40), ('red', 10)])== ({'yellow': [10, 30], 'blue': [20, 40], 'red': [10]})\nassert grouping_dictionary([('yellow', 15), ('blue', 25), ('yellow', 35), ('blue', 45), ('red', 15)])== ({'yellow': [15, 35], 'blue': [25, 45], 'red': [15]})", "difficulty": "code"} {"input": "Márcio Borges was from the second most populous municipality in what country?", "answer": "Brazil", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Did Kip Janvrin and Serhiy Priz have the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who played freddy eynsford hill in my fair lady", "answer": "Jeremy Brett", "source": "nq", "difficulty": "simple"} {"input": "What was the vote percentage of bjp in 2009 election in the Indian governing body electing its own speaker?", "answer": "24.63", "source": "musique", "difficulty": "multi_hop"} {"input": "The Canada Memorial in Green Park, London, United Kingdom, commemorates members of the Canadian Forces killed during the First and Second World Wars, the memorial was the result of lobbying and fund raising, much of it in Canada, by the former Canadian media tycoon Conrad Moffat Black, his title is what, of this British former newspaper publisher and author?", "answer": "Lord Black of Crossharbour", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function to display sign of the chinese zodiac for given year.", "answer": "def chinese_zodiac(year):\r\n if (year - 2000) % 12 == 0:\r\n sign = 'Dragon'\r\n elif (year - 2000) % 12 == 1:\r\n sign = 'Snake'\r\n elif (year - 2000) % 12 == 2:\r\n sign = 'Horse'\r\n elif (year - 2000) % 12 == 3:\r\n sign = 'sheep'\r\n elif (year - 2000) % 12 == 4:\r\n sign = 'Monkey'\r\n elif (year - 2000) % 12 == 5:\r\n sign = 'Rooster'\r\n elif (year - 2000) % 12 == 6:\r\n sign = 'Dog'\r\n elif (year - 2000) % 12 == 7:\r\n sign = 'Pig'\r\n elif (year - 2000) % 12 == 8:\r\n sign = 'Rat'\r\n elif (year - 2000) % 12 == 9:\r\n sign = 'Ox'\r\n elif (year - 2000) % 12 == 10:\r\n sign = 'Tiger'\r\n else:\r\n sign = 'Hare'\r\n return sign", "source": "mbpp", "task_id": "950", "test_cases": "assert chinese_zodiac(1997)==('Ox')\nassert chinese_zodiac(1998)==('Tiger')\nassert chinese_zodiac(1994)==('Dog')", "difficulty": "code"} {"input": "Are Pam Veasey and Jon Jost both American?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Gyula Czimra born?", "answer": "[\"Budapest\", \"Buda Pest\", \"Buda-Pest\", \"Budapešť\", \"Budapesta\", \"Budapeszt\", \"Buda\", \"Ofen\", \"Budín\", \"Budim\", \"Budon\", \"Pest\", \"Pešť\", \"Pešta\", \"Óbuda\", \"Alt-Ofen\", \"Kőbánya\"]", "source": "popqa", "difficulty": "simple"} {"input": "Lendley C. Black is Chancellor of a university offering how many majors?", "answer": "85", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a python function to check whether an array contains only one distinct element or not.", "answer": "def unique_Element(arr,n):\r\n s = set(arr)\r\n if (len(s) == 1):\r\n return ('YES')\r\n else:\r\n return ('NO')", "source": "mbpp", "task_id": "760", "test_cases": "assert unique_Element([1,1,1],3) == 'YES'\nassert unique_Element([1,2,1,2],4) == 'NO'\nassert unique_Element([1,2,3,4,5],5) == 'NO'", "difficulty": "code"} {"input": "Where did the spouse of the Wind Quintet composer die?", "answer": "Copenhagen", "source": "musique", "difficulty": "multi_hop"} {"input": "who has the best batting average in odi", "answer": "Ryan ten Doeschate", "source": "nq", "difficulty": "simple"} {"input": "when did wireless charging come out for samsung", "answer": "March 15, 2013", "source": "nq", "difficulty": "simple"} {"input": "When did the director of film Radha Kalyanam (1981 Film) die?", "answer": "31 August 2014", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When did the country where Pieter van Abeele was born refuse to surrender to Namibia?", "answer": "1946", "source": "musique", "difficulty": "multi_hop"} {"input": "Where did the director of film Skinner Steps Out die?", "answer": "Hollywood", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are both villages, Yamn and Galinheiro, located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When did sang nila utama came to the country where Senoko was located?", "answer": "1299", "source": "musique", "difficulty": "multi_hop"} {"input": "In which decade did Billboard magazine first publish and American hit chart?", "answer": ["30's", "30’s", "30s", "30s AD", "30-39"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which Oscar-nominated film was written by the screenwriter who wrote a 1991 romantic drama based upon a screenplay by Sooni Taraporevala?", "answer": "Salaam Bombay", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Alexandre-Marie Colin born?", "answer": "[\"Paris\", \"City of Light\", \"Paris, France\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are the directors of films My Sister Eileen (1955 Film) and The Gun That Won The West both from the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who is the Chief of Police of the city where the performer of Happiness died?", "answer": "Charles L. Beck", "source": "musique", "difficulty": "multi_hop"} {"input": "what type of economic system does thailand have", "answer": "heavily export-dependent", "source": "nq", "difficulty": "simple"} {"input": "Where was the place of death of Archduchess Anna Of Austria's husband?", "answer": "Munich", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who became Queen of the Netherlands in 1980?", "answer": ["Beatrix (disambiguation)", "Beatrix", "Viatrix", "Trixi"], "source": "triviaqa", "difficulty": "simple"} {"input": "Do both directors of films Lure Of The Gold and Nocturne Of Love (1919 Film) have the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In which film did Jodie Foster play FBI agent Clarice Starling?", "answer": ["Silence of the lams", "The silence of the lambs", "Silence of the lambs", "Silence of the Lamb", "Silence Of The Lambs", "Silence of the Lambs", "The Silence Of The Lambs", "The Silence of the Lambs", "The Silence of the Lambs (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Andranik Migranyan born?", "answer": "[\"Yerevan\", \"Erivan\", \"Erevan\", \"The Pink City\", \"Irevan\", \"Iravan\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which film was released first, Different From The Others or Connecting Rooms?", "answer": "Different From The Others", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is George Rankin's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who wrote the story upon which Alfred Hitchcock based his 1963 suspense film The Birds?", "answer": "Daphne du Maurier, best known for Rebecca", "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was James M. Bingham born?", "answer": "[\"Perry\", \"Town of Perry\"]", "source": "popqa", "difficulty": "simple"} {"input": "Jinchang and Liling, are located in which country?", "answer": "China", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "what the real name of the welsh electronic music producer DJ who have been visited the night club called Flex in vienna hundreds of times?", "answer": "Lincoln Barrett", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the date of birth of the director of film The Vintage?", "answer": "October 15, 1926", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who was the head of the country where Laako is located?", "answer": "Hassan Sheikh Mohamud", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Joe English born?", "answer": "[\"Newtownabbey\"]", "source": "popqa", "difficulty": "simple"} {"input": "On what dates was the 2018 WGC-Bridgestone Invitational in Akron, in the state where the Adena Court Apartments are located?", "answer": "August 2 -- 5", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Jack Culcay-Keth born?", "answer": "[\"Ambato\", \"Juan Bautista de Ambato\", \"San Juan de Ambato\", \"San Juan Bautista de Ambato\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which golfer became only the fifth in history to win both the British and US Open championships in the same year, in 1982?", "answer": ["Tommy Watson", "Tom Watson (politician)", "Tom Watson MP", "Tommy Watson (footballer)", "Thomas Watson", "Thomas Watson (disambiguation)", "Thomas Watson (MP)", "Tom Watson", "Watson, Thomas"], "source": "triviaqa", "difficulty": "simple"} {"input": "who does the voice of the food critic in ratatouille", "answer": "Peter O'Toole", "source": "nq", "difficulty": "simple"} {"input": "Italy leads the world in pasta consumption with 61.7 pounds eaten per person per year. What country is second?", "answer": "Venezuela, where the annual pasta consumption is 27.9 pounds", "source": "triviaqa", "difficulty": "simple"} {"input": "Blake Alexander Carrington is a fictional character on the ABC television series \"Dynasty\", created by Richard and Esther Shapiro whose role was portrayed by John Forsythe, and also appeared as a guest on several talk and variety shows and as a panelist on what type of television show?", "answer": "game shows", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Robert Creamer born?", "answer": "[\"Bronxville\"]", "source": "popqa", "difficulty": "simple"} {"input": "Where was the director of film Un Extraño En La Escalera born?", "answer": "Buenos Aires", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Shahrzad Sepanlou born?", "answer": "[\"Tehran\", \"Teheran\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Richard Marles's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did the Ford plant close in the city where WJAG is located?", "answer": "2007", "source": "musique", "difficulty": "multi_hop"} {"input": "Which film has the director who died earlier, Betty (Film) or Lady Behave!?", "answer": "Lady Behave!", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which major Russian city is located next to the sea where the Battle of Karuse occurred?", "answer": "Saint Petersburg", "source": "musique", "difficulty": "multi_hop"} {"input": "Who wrote the national anthem of the birth country of Vira Narendra Sinha, from the kingdom where James Taylor died?", "answer": "Ananda Samarakoon", "source": "musique", "difficulty": "multi_hop"} {"input": "What type of vegetation does Cerastium and Pavonia have in common?", "answer": "plants", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who is the father of the director of film Missing Women (Film)?", "answer": "Francis Ford", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which country the director of film End Of A Priest is from?", "answer": "Czech", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which film has the director born later, A Yank In Korea or The Tunnel (1933 French-Language Film)?", "answer": "A Yank In Korea", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "what type of song did schubert specialize in", "answer": "Lieder", "source": "nq", "difficulty": "simple"} {"input": "Geoffrey Rush won an Oscar for Shine, as what type of musician?", "answer": ["Painoist", "Classical pianist", "Painist", "Pianists", "Pianoist", "Concert pianist", "Pianist"], "source": "triviaqa", "difficulty": "simple"} {"input": "who has the most finals rings in the nba", "answer": "Bill Russell", "source": "nq", "difficulty": "simple"} {"input": "Frederic de Hoffmann assisted which Hungarian-American physicist in the development of the hydrogen bomb?", "answer": "Edward Teller", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When is the performer of song Behind The Ritual 's birthday?", "answer": "31 August 1945", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who is younger, Guy De Rothschild or Dmytro Parfenov?", "answer": "Dmytro Parfenov", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Tolis Voskopoulos's occupation?", "answer": "[\"composer\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Anders Orvin born?", "answer": "[\"Hattfjelldal\"]", "source": "popqa", "difficulty": "simple"} {"input": "when was the last province added to canada", "answer": "April 1, 1999", "source": "nq", "difficulty": "simple"} {"input": "who sings what's my name in descendants 2", "answer": "China Anne McClain", "source": "nq", "difficulty": "simple"} {"input": "the point of concurrence of medians is called", "answer": "centroid", "source": "nq", "difficulty": "simple"} {"input": "who wins season 2 of americas next top model", "answer": "Saleisha Stowers", "source": "nq", "difficulty": "simple"} {"input": "who is announcing tonight's world series game", "answer": "Joe Buck", "source": "nq", "difficulty": "simple"} {"input": "What was Dorothy Parker's maiden name?", "answer": ["Rothchild", "Rothschild", "Rotshild", "Rothshield", "Rotshield", "Rotschield", "Rotschild", "Rothschield"], "source": "triviaqa", "difficulty": "simple"} {"input": "who won the darts in shanghai last night", "answer": "Michael Smith", "source": "nq", "difficulty": "simple"} {"input": "Are both Ingur Railway Station and Colo Vale Railway Station, New South Wales located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What character did Pam Ferris play in the film based on a J.K Rowling novel?", "answer": "Aunt Marge", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Khalid bin Barghash of Zanzibar born?", "answer": "[\"Zanzibar\", \"Menuthias\"]", "source": "popqa", "difficulty": "simple"} {"input": "when was don't ask don't tell established", "answer": "February 28, 1994", "source": "nq", "difficulty": "simple"} {"input": "what is the wage base for social security", "answer": "$128,400", "source": "nq", "difficulty": "simple"} {"input": "Who is the mother of the composer of film Todo Es Mentira?", "answer": "Amparo Valle", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "The 1950 BRDC International Trophy included what entrant from Bourne, Lincolnshire, England?", "answer": "Raymond Mays", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where was the director of film Rubber Racketeers born?", "answer": "Portland, Oregon", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are both Bal Tabarin (Film) and Tag Und Nacht (Film) from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "which chef has got the most michelin stars", "answer": "Joël Robuchon", "source": "nq", "difficulty": "simple"} {"input": "What is Philip Rosenberg's occupation?", "answer": "[\"production designer\", \"art director\", \"artistic coordinator\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who founded the facility where Robert John Godfrey received his education?", "answer": "Edward Fisher", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the date of birth of the director of film Just Like Heaven (Film)?", "answer": "June 30, 1964", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "which pm of pakistan had the shortest tenure", "answer": "I.I. Chundrigar", "source": "nq", "difficulty": "simple"} {"input": "In what decade were video recorders first developed?", "answer": ["The Fifties", "1950s", "1950-1959", "50's", "1950’s", "50s", "1950–1959", "Nineteen-fifties", "1950s (decade)", "1950ies", "1950's", "'50s", "195%3F", "Fifties"], "source": "triviaqa", "difficulty": "simple"} {"input": "what type of tissue is the uppermost layer of the skin", "answer": "epidermis", "source": "nq", "difficulty": "simple"} {"input": "In what city was Joachim Zachris Duncker born?", "answer": "[\"Ristiina\", \"Kristina\", \"Kristina kommun\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who was the goalkeeper who blocked the most decorated English footballer player of all time?", "answer": "Jens Lehmann", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "The song \"Boom\" features an artist born on January 17, 1971 with what legal name?", "answer": "Jonathan Smith", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Do both films, Nammanna Don and Love Me No More (Film), have the directors who are from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a python function to access multiple elements of specified index from a given list.", "answer": "def access_elements(nums, list_index):\r\n result = [nums[i] for i in list_index]\r\n return result", "source": "mbpp", "task_id": "825", "test_cases": "assert access_elements([2,3,8,4,7,9],[0,3,5]) == [2, 4, 9]\nassert access_elements([1, 2, 3, 4, 5],[1,2]) == [2,3]\nassert access_elements([1,0,2,3],[0,1]) == [1,0]", "difficulty": "code"} {"input": "What U.S Highway gives access to Zilpo Road, and is also known as Midland Trail?", "answer": "US 60", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which Nick won an Oscar for The Wrong Trousers?", "answer": ["Park of culture and recreation", "Recreation ground", "Public parks", "Public reserve", "Park", "Parks", "The kingling-park", "Tree park", "Private park", "Public Park"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Pierre Pansu's occupation?", "answer": "[\"mathematician\"]", "source": "popqa", "difficulty": "simple"} {"input": "On what day did Alexander Graham Bell return to the city, that is the capital of the state where Wellesley College is in Mona Lisa Smile?", "answer": "March 7, 1876", "source": "musique", "difficulty": "multi_hop"} {"input": "Have Peter Cetera and Jeremy McKinnon both been members of a band?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who wrote and directed the film in which Adam Beach played Slipknot?", "answer": "David Ayer", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which The Bridges of Madison County star became a father again aged 65?", "answer": ["Crint Eastwood", "Eastwood, Clinton Jr.", "Clinton Eastwood Jr.", "Clinton %22Clint%22 Eastwood, Jr.", "Clinton Eastwood, Jr.", "Francesca Ruth Eastwood", "Clint Eastwood characters", "Clint Eastwood", "Don Runner", "Clint eastwood", "Clinton Eastwood"], "source": "triviaqa", "difficulty": "simple"} {"input": "when was the salary cap introduced to the nba", "answer": "1984–85 season", "source": "nq", "difficulty": "simple"} {"input": "How old was Ronald Reagan when he became US President?", "answer": ["sixty-nine", "69"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Paris born?", "answer": "[\"San Francisco\", \"San Francisco, California\", \"The City by the Bay\", \"SF\", \"SFO\", \"The Golden City\", \"Paris of the West\", \"Baghdad by the Bay\", \"San Francisco County\", \"San Francisco County, California\", \"San Fran\", \"Frisco\", \"City and County of San Francisco\"]", "source": "popqa", "difficulty": "simple"} {"input": "when was the last time the panthers were in the superbowl", "answer": "2015", "source": "nq", "difficulty": "simple"} {"input": "Approximately what percentage of the global population is made up of the ethnic group Princess Fragrant was produced to improve relations with?", "answer": "17%", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Was Beyond the Gates of Splendor or Jesus Camp released first?", "answer": "Beyond the Gates of Splendor", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Maurice Le Boucher's occupation?", "answer": "[\"composer\", \"organist\", \"organ player\"]", "source": "popqa", "difficulty": "simple"} {"input": "what direction does the earth spin around the sun", "answer": "eastward, in prograde motion", "source": "nq", "difficulty": "simple"} {"input": "When did the first eatery after which McDonaldization is named open in the country where Faceby is located?", "answer": "1974", "source": "musique", "difficulty": "multi_hop"} {"input": "Which film came out first, Could It Happen Here? or Forgotten Babies?", "answer": "Forgotten Babies", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are both director of film Gaja Donga and director of film Nude Per L'Assassino from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Leobardo Soto born?", "answer": "[\"Puebla\", \"Free and Sovereign State of Puebla\", \"Estado de Puebla\"]", "source": "popqa", "difficulty": "simple"} {"input": "who won season 2 of the next iron chef", "answer": "Jose Garces", "source": "nq", "difficulty": "simple"} {"input": "What is Michael's occupation?", "answer": "[\"priest\", \"reverend\", \"priestess\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are Berkeh-Ye Khalaf and Rostam Beyg located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which artist created the Katzenjammer Kids?", "answer": "Rudolph Dirks", "source": "triviaqa", "difficulty": "simple"} {"input": "What is Siegfried Czapski's occupation?", "answer": "[\"physicist\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to compute maximum product of three numbers of a given array of integers using heap queue algorithm.", "answer": "def maximum_product(nums):\r\n import heapq\r\n a, b = heapq.nlargest(3, nums), heapq.nsmallest(2, nums)\r\n return max(a[0] * a[1] * a[2], a[0] * b[0] * b[1])", "source": "mbpp", "task_id": "911", "test_cases": "assert maximum_product( [12, 74, 9, 50, 61, 41])==225700\nassert maximum_product([25, 35, 22, 85, 14, 65, 75, 25, 58])==414375\nassert maximum_product([18, 14, 10, 9, 8, 7, 9, 3, 2, 4, 1])==2520", "difficulty": "code"} {"input": "What is Jack Mackenzie's occupation?", "answer": "[\"civil engineer\"]", "source": "popqa", "difficulty": "simple"} {"input": "who is in the group why don't we", "answer": ["Jonah Marais Roth Frantzich", "Daniel James Seavey", "Jack Robert Avery", "Corbyn Matthew Besson", "Zachary Dean Herron"], "source": "nq", "difficulty": "simple"} {"input": "Tess Asplund fought against the Neo-Nazi movement that existed in which countries?", "answer": "Sweden, Finland, and Norway", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which character did Betty White play in The Betty White Show?", "answer": "Joyce Whitman", "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Oi Va Voi born?", "answer": "[\"London\", \"London, UK\", \"London, United Kingdom\", \"London, England\", \"Modern Babylon\"]", "source": "popqa", "difficulty": "simple"} {"input": "when was the peace treaty signed in ww2", "answer": "10 February 1947", "source": "nq", "difficulty": "simple"} {"input": "what actor played dave in alvin and the chipmunks", "answer": "Jason Michael Lee", "source": "nq", "difficulty": "simple"} {"input": "What is T. P. Poonatchi's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the date of birth of Sudheer Karamana's father?", "answer": "25 July 1936", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which movie was released first, The Hunchback of Notre Dame or Saludos Amigos?", "answer": "Saludos Amigos", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which form of death penalty was abolished by Francois Mitterrand?", "answer": ["Guillitine", "Use of the Guillotine in Paris", "Henri Languille", "The Guillotine", "Gullotine", "Guilotine", "Guilottine", "Gillotine", "Guillotines", "Use of the guillotine in Paris", "Guillotine", "Guillotined", "Fallbeil", "Louisette"], "source": "triviaqa", "difficulty": "simple"} {"input": "Do both films That Night In Varennes and Den Starkaste have the directors from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where was the first battle with US involvement in the Korean War?", "answer": ["水原", "Suwon, Puwan", "Suwŏn", "Suwon Airfield", "Suwon", "Suweon", "수원", "Suwon City", "Sannam Elementary School"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which actress was voted Miss Burbank 1948?", "answer": ["Debbie Reynolds", "Reynolds, Debbie"], "source": "triviaqa", "difficulty": "simple"} {"input": "When did the person who called Hillhouse Avenue the most beautiful street in America in the 1840's start writing books?", "answer": "1836", "source": "musique", "difficulty": "multi_hop"} {"input": "In 1985 Terry Waite returned to Beirut after securing the release of four British hostages where?", "answer": ["Free Democratic Libya", "LIBYA", "Islamic Republic of Libya", "Libya (National Transitional Council)", "Republic of Libya", "Libya", "State of Libya", "Libyan Republic (2011)", "Libyan Republic", "ⵍⵉⴱⵢⴰ", "ليبيا", "Libiyah", "LBY", "Etymology of Libya", "Al-Jamahiriya al-%60Arabiyah al-Libiyah ash-Sha%60biyah al-Ishtirakiyah al-Uzma", "Largest cities in Libya", "Lībiyā", "Lybya", "Free Libya", "Libiya", "ISO 3166-1:LY"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Roger Gaudry born?", "answer": "[\"Quebec City\", \"Quebec\", \"Ville de Québec\", \"Québec\", \"City of Québec\", \"City of Quebec\", \"Ville de Quebec\", \"3rd Summit of the Americas\"]", "source": "popqa", "difficulty": "simple"} {"input": "Knocked Up starred the actor and filmmaker of what dual nationality?", "answer": "American-Canadian", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who founded the off-Broadway theater where Hair had its premier?", "answer": ["Joe Papp", "Joseph Papp", "Joseph Papirofsky"], "source": "triviaqa", "difficulty": "simple"} {"input": "who won the national title in college football last year", "answer": "Clemson\n1", "source": "nq", "difficulty": "simple"} {"input": "In what city was Leena Peisa born?", "answer": "[\"Vantaa\", \"Vanda\", \"Helsingin maalaiskunta\", \"Helsinge kommun\", \"Helsinge\", \"Helsingin pitäjä\"]", "source": "popqa", "difficulty": "simple"} {"input": "when does new bob's burgers come out", "answer": "on October 1, 2017", "source": "nq", "difficulty": "simple"} {"input": "What is the population of the largest city in Iraq, who's 1956–57 Iraq FA Cup Championship was open to teams from the capital?", "answer": "8,765,000", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Tor Aulin's occupation?", "answer": "[\"composer\"]", "source": "popqa", "difficulty": "simple"} {"input": "What famous comic strip character was inspired by the 1936 Henry Fonda film Trail of the Lonesome Pine?", "answer": "Al Capp's Li'l Abner", "source": "triviaqa", "difficulty": "simple"} {"input": "who is the starting kicker for the atlanta falcons", "answer": "Steven Matt Bryant", "source": "nq", "difficulty": "simple"} {"input": "Which Wisconsin salesman developed a safety razor in 1901?", "answer": ["King Gillette", "King C. Gillette", "King Camp Gillette", "Gillette's Razor", "King C Gillette", "King Gillette Ranch", "K. C. Gillette", "K.C. Gillette"], "source": "triviaqa", "difficulty": "simple"} {"input": "Do Cliff Cook and John Drawbridge have the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What was the opening date of the museum dedicated to the war that, after it occurred, Boston became one of the wealthiest international ports?", "answer": "April 19, 2017", "source": "musique", "difficulty": "multi_hop"} {"input": "What is John Andrew Martin's occupation?", "answer": "[\"lawyer\", \"attorney\", \"solicitor\", \"barrister\", \"lawyers\", \"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was György Kárpáti born?", "answer": "[\"Budapest\", \"Buda Pest\", \"Buda-Pest\", \"Budapešť\", \"Budapesta\", \"Budapeszt\", \"Buda\", \"Ofen\", \"Budín\", \"Budim\", \"Budon\", \"Pest\", \"Pešť\", \"Pešta\", \"Óbuda\", \"Alt-Ofen\", \"Kőbánya\"]", "source": "popqa", "difficulty": "simple"} {"input": "How many districts are in the city where Religare is headquartered?", "answer": "11", "source": "musique", "difficulty": "multi_hop"} {"input": "According to legend, who fired the arrow that hit Achilles in the heel, his only vulnerable spot?", "answer": ["Paříž", "FRPAR", "Paris", "Name of paris and its inhabitants", "Paname", "Paris France", "Ville Lumière", "Leucetia", "Rue de Ménilmontant", "Paris agglomeration", "France Paris", "Sports in Paris", "Departement de Paris", "Paris, Ile-De-France", "Rue de Menilmontant", "UN/LOCODE:FRPAR", "Paříži", "Ville Lumiere", "Paris, France", "Paris, Île-de-France", "Paris, Île-de-France, France", "Parijs", "Parisien", "Cuisine of Paris", "Suburbs of Paris", "Sport in Paris", "The weather in Paris", "Parisian (person)", "Parizi", "París", "Name of Paris and its inhabitants", "Paree", "Paris, Europe", "Paris, Banks of the Seine", "Paris (etymology)", "Paris (France)", "The City of Love (city)", "Département de Paris"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who was the spouse of the Russian Republic president during the disintegration of the country winning in the early days of the space race?", "answer": "Raisa Maximovna Gorbacheva", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Charles Harrison's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Where was the place of death of the director of film De Blaa Drenge?", "answer": "Copenhagen", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who played hillary on the fresh prince of bel-air", "answer": "Karyn Parsons–Rockwell", "source": "nq", "difficulty": "simple"} {"input": "Are Marc Dutroux and Joaquim Pimentel of the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which country Georgina Chapman's husband is from?", "answer": "American", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "\"Who said, \"\"A man is only as old as the woman he feels?\"\"\"", "answer": ["I don't want to belong to any club that will accept me as a member", "Julius Henry Marx", "Grouchu", "Groucho Marxist", "Groucho Marx", "I would never join any club that would accept me as a member", "Julius Marx", "I refuse to join any club that would have me as a member", "Groucho", "I wouldn't join any club that would have me as a member", "I prefer not to join any club that would have me as a member", "I don't want to belong to any club that will accept people like me as a member", "Groucho marx", "Julius Henry %22Groucho%22 Marx", "Marxist of the groucho variety", "I don't care to belong to a club that accepts people like me as members", "Groucho Marxism"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to find average value of the numbers in a given tuple of tuples.", "answer": "def average_tuple(nums):\r\n result = [sum(x) / len(x) for x in zip(*nums)]\r\n return result", "source": "mbpp", "task_id": "615", "test_cases": "assert average_tuple(((10, 10, 10, 12), (30, 45, 56, 45), (81, 80, 39, 32), (1, 2, 3, 4)))==[30.5, 34.25, 27.0, 23.25]\nassert average_tuple(((1, 1, -5), (30, -15, 56), (81, -60, -39), (-10, 2, 3)))== [25.5, -18.0, 3.75]\nassert average_tuple( ((100, 100, 100, 120), (300, 450, 560, 450), (810, 800, 390, 320), (10, 20, 30, 40)))==[305.0, 342.5, 270.0, 232.5]", "difficulty": "code"} {"input": "Where did the director of film The Enchanted Barn die?", "answer": "Santa Barbara, California", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what region did the WWI German campaign occur in the country where Pavilhão do Tafe is located?", "answer": "Portuguese Angola", "source": "musique", "difficulty": "multi_hop"} {"input": "Which nation was the first to ratify the United Nations charter in 1945?", "answer": ["Nicarugua", "Nicuragua", "Administrative divisions of Nicaragua", "Bibliography of nicaragua", "Subdivisions of Nicaragua", "Health in Nicaragua", "Republica De Nicaragua", "Etymology of Nicaragua", "República de Nicaragua", "Sport in Nicaragua", "ISO 3166-1:NI", "Republic of Nicaragua", "The Republic of Nicaragua", "Nicaraguan", "Nicaragua", "Nicaragua, Central America"], "source": "triviaqa", "difficulty": "simple"} {"input": "who was the movie american sniper based on", "answer": "Chris Kyle", "source": "nq", "difficulty": "simple"} {"input": "How did the Japanese win the country where Tongxia is located?", "answer": "First Sino-Japanese", "source": "musique", "difficulty": "multi_hop"} {"input": "Which word used to be in the name of The San Francisco Ballet?", "answer": ["Operatics", "Baroque opera", "Opera singers", "Opera", "Opera basic topics", "Operatic scene", "Opera (Music)", "Opera eroica", "The Opera", "Operas", "Opera company", "Operatic", "Opera singer"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which country the director of film The Girl Of The Golden West (1923 Film) is from?", "answer": "American", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "The Volkswagen Golf Estate is the estate/station wagon version a the compact car which was the best selling car in Europe in what year?", "answer": "2001", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What year was the Montgomery based school that Mabel Murphy Smythe-Haith's father taught at founded?", "answer": "1867", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which verse in Luke states that Mary had \"no relations with man\" before the birth of the participant in the appearance on the road to Emmaus?", "answer": "1:34", "source": "musique", "difficulty": "multi_hop"} {"input": "What year did the author of Underwoods die?", "answer": "1894", "source": "musique", "difficulty": "multi_hop"} {"input": "The leader of the Luftwaffe aligned with Germany with a country that is what constituent of a supranational organisation?", "answer": "European Union member state", "source": "musique", "difficulty": "multi_hop"} {"input": "Which national park in Tennessee sees more visitors than any other in the country where the organization that recognizes the sovereignty of The Republic of Cyprus is headquartered?", "answer": "Great Smoky Mountains National Park", "source": "musique", "difficulty": "multi_hop"} {"input": "Did John Agoglia and John E. Toews have the same nationality?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the name of this American multinational corporation that provides IT services, headquartered in New Jersey, that acquired Mirabeau?", "answer": "Cognizant", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What language was used by the people of the British Isles under the empire that, in the 1st Century B.C., acquired the sunniest country in the world as a colony?", "answer": "Celtic dialects of the Insular Celtic group", "source": "musique", "difficulty": "multi_hop"} {"input": "who played jade on days of our lives", "answer": "Gabrielle Haugh", "source": "nq", "difficulty": "simple"} {"input": "Which actress had roles in the movies \"Janie Jones\" and \"Signs\"?", "answer": "Abigail Breslin", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a python function to check whether the given two arrays are equal or not.", "answer": "def are_Equal(arr1,arr2,n,m):\r\n if (n != m):\r\n return False\r\n arr1.sort()\r\n arr2.sort()\r\n for i in range(0,n - 1):\r\n if (arr1[i] != arr2[i]):\r\n return False\r\n return True", "source": "mbpp", "task_id": "650", "test_cases": "assert are_Equal([1,2,3],[3,2,1],3,3) == True\nassert are_Equal([1,1,1],[2,2,2],3,3) == False\nassert are_Equal([8,9],[4,5,6],2,3) == False", "difficulty": "code"} {"input": "What is the distance between bases on a little league baseball field?", "answer": ["60 distance", "60 feet", "sixty distance"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who is the oldest of the Van Dyke family?", "answer": "Dick Van Dyke", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When did the director of film Namma Veettu Lakshmi die?", "answer": "8 October 1974", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which country does the airline Ansett come from?", "answer": ["Australia (Commonwealth realm)", "AustraliA", "Continental Australia", "Australias", "Peace of Australia", "Australian city life", "City life in Australia", "Australocentrist", "Mainland Australia", "Australiia", "Straya", "Australia (commonwealth)", "Austraila", "Ausrtalia", "Australia (nation)", "Australien", "New Australian", "Australia (dominion)", "Australia (federation)", "Australia (country)", "Aussieland", "Federal Australia", "Country life in Australia", "Orstraya", "Australia (nation state)", "Australia (commonwealth realm)", "Australia", "Australocentrism", "Austraya", "Australie", "AUSTRALIA", "Geopolitics of Australia", "Australia (nation-state)", "Australia's", "Australian mainland", "Australian country life", "Australian Woman's Day", "Imperial Australia", "United States of Australia", "Australia (realm)", "Australia (constitutional monarchy)", "Austalia", "Etymology of Australia", "Philosophy in Australia", "Commonwealth of Australia", "Australija", "Australia (monarchy)", "Dominion of Australia", "Empire of Australia", "Ostralia", "Modern Australia", "Commonwealth of australia", "Australia (empire)", "Australo", "The Commonwealth of Australia", "Australia.", "Austrlia", "Australlia", "AUSTRALIAN", "Australia (state)", "ISO 3166-1:AU", "Austrailia", "Commonwealth Australia", "Pax Australiana", "Australian Commonwealth", "Australocentric", "Austrlaia", "Technology in Australia", "Australia (Commonwealth)", "Australai", "Australian geopolitics", "Asutralia", "Australo-", "Australian's", "Science in Australia"], "source": "triviaqa", "difficulty": "simple"} {"input": "where does the heat from geothermal energy come from", "answer": "radioactive decay of minerals", "source": "nq", "difficulty": "simple"} {"input": "What country is located in the middle of the body of water where part of Sakalua is located in or next to?", "answer": "Caroline Islands", "source": "musique", "difficulty": "multi_hop"} {"input": "What type of vegetation does Fothergilla and Clerodendrum have in common?", "answer": "plants", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What block lettering is the language Haratch was published in, an instance of?", "answer": "Unicode block", "source": "musique", "difficulty": "multi_hop"} {"input": "when did the lyrics to o canada change", "answer": "1980", "source": "nq", "difficulty": "simple"} {"input": "what is the name of jacob tribe in twilight", "answer": "Quileute tribe", "source": "nq", "difficulty": "simple"} {"input": "In what country is Logan, in the county that shares a border with the county containing Hickory Corners, and the state where The Ozarks takes place?", "answer": "U.S.", "source": "musique", "difficulty": "multi_hop"} {"input": "Are Matraville Sports High School and Wabash High School both located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Jean Gabriel Marie's occupation?", "answer": "[\"composer\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who was runner-up when Jody Scheckter won motor racing's Formula One Championship?", "answer": "Gilles Villeneuve", "source": "triviaqa", "difficulty": "simple"} {"input": "What body of water is by Gustav Kaupert's place of birth?", "answer": "Fulda", "source": "musique", "difficulty": "multi_hop"} {"input": "Which film has the director who died later, Aaranya Kandam or One Hundred Nails?", "answer": "One Hundred Nails", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "How was writer William Sydney Porter better known?", "answer": ["O.henry books", "William Sidney Porter", "O. Henry", "Henry, O.", "Oliver Henry", "O.Henry", "O Henry", "William Sydeny Porter", "William Sydney Porter", "William S. Porter", "Heart of the West (O. Henry story)", "Sidney Porter", "O'Henry", "Sydney Porter"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which close friend of George Washington, Alexander Hamilton, and Thomas Jefferson, did a scion of the Huger family of South Carolina attempt to rescue?", "answer": "Gilbert du Motier, Marquis de Lafayette", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the place of birth of the director of film The Pointing Finger (1922 Film)?", "answer": "Woolwich", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who was in charge of Chris Nichting's birthplace?", "answer": "John Cranley", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Vincenzo Di Nicola's occupation?", "answer": "[\"psychiatrist\", \"alienist\", \"head-shrinker\", \"shrinker\", \"psychologist\", \"psychologists\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what year was the adventure film depicting the English sea captain and privateer of the Elizabethan era released?", "answer": "1962", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "real name of ginny weasley in harry potter", "answer": "Bonnie Francesca Wright", "source": "nq", "difficulty": "simple"} {"input": "Who was Anne Sullivan's most famous pupil?", "answer": ["Helen Keller", "Helen Keller Day", "Hellen Keller", "Hellen Cellar", "Hellen Kellar", "Hellen Celler", "Helen Adams Keller", "Helen keller", "Hellan Keller", "Hellen keller", "Polly Thompson", "Captain Arthur H. Keller", "Keller, Helen Adams"], "source": "triviaqa", "difficulty": "simple"} {"input": "When did the state where Daniel Brewster died make Anglicanism its established religion?", "answer": "April 21, 1649", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Bernard Peiffer's occupation?", "answer": "[\"pianist\"]", "source": "popqa", "difficulty": "simple"} {"input": "when did miss usa last win miss universe", "answer": "2012", "source": "nq", "difficulty": "simple"} {"input": "Which year was the first after 1927 that the USA lost the Ryder Cup on home soil?", "answer": ["1987", "one thousand, nine hundred and eighty-seven"], "source": "triviaqa", "difficulty": "simple"} {"input": "girl who plays in guardians of the galaxy", "answer": "Pom Klementieff", "source": "nq", "difficulty": "simple"} {"input": "When did East Germany and the country where Ricki Osterthun is a citizen unite?", "answer": "1990", "source": "musique", "difficulty": "multi_hop"} {"input": "What major department store operates in the city where the creator of Vegetative Sculpture I lived at the time of his death?", "answer": "KaDeWe", "source": "musique", "difficulty": "multi_hop"} {"input": "In which county is the birthplace of the author of A Short History of Nearly Everything?", "answer": "Warren County", "source": "musique", "difficulty": "multi_hop"} {"input": "When is Aline Mayrisch De Saint-Hubert's husband's birthday?", "answer": "10 October 1862", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "packed to the rafters season 5 episode 1", "answer": "Answering the Call", "source": "nq", "difficulty": "simple"} {"input": "when does the geological record indicate that the earth formed", "answer": "about 4.54 billion years ago", "source": "nq", "difficulty": "simple"} {"input": "Brian Keith \"Herbie\" Flowers, is an English musician specialising in electric bass, double bass and tuba, he has contributed to the recording Give My Regards to Broad Street is the fifth studio album by who, as well as the soundtrack album to his 1984 film of the same name?", "answer": "Paul McCartney", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where did the director of film Are All Men Alike? die?", "answer": "Hollywood", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who holds the record for most confirmed sniper kills in history", "answer": "Simo Häyhä", "source": "nq", "difficulty": "simple"} {"input": "Paper as we know it would not have been available in the continent where the mouth of Tikhaya Sosna exists until when?", "answer": "the 11th century", "source": "musique", "difficulty": "multi_hop"} {"input": "how long until a sunburn starts to peel", "answer": "3 to 8 days", "source": "nq", "difficulty": "simple"} {"input": "When was the by-election of a constituency represented in the House of Commons of the UK Parliament since 2010 by David Rutley held on?", "answer": "30 September 1971", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the highest point where the Green-breasted pitta is found, in the country where the town of Amuria is located?", "answer": "1,400 metres", "source": "musique", "difficulty": "multi_hop"} {"input": "\"What breakfast food gets its name from the German word for \"\"stirrup\"\"?\"", "answer": ["New York bagel", "American bagel", "Biegel", "Bagels", "Beygl", "The Bagel", "“everything” bagel", "Bagel", "New York-style bagel", "Water bagel", "%22Everything%22 Bagel", "Everything bagel", "Salt bagel", "BAGELS", "%22everything%22 bagel", "Beigel", "Bagles", "New York style bagel", "Everything Bagel"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which country does musician Alfred Brendel come from?", "answer": ["The Republic of Austria", "Oesterreich", "Eastreach", "Österrike", "Easterrealm", "Austurriki", "Republik Österreich", "Osterreich", "Austurríki", "Austrian Republic", "Republik Osterreich", "Avstria", "Österreich", "Republik Oesterreich", "Administrative divisions of Austria", "Ostria", "ISO 3166-1:AT", "Alpine Deutschen", "Austria", "Oostenrijk", "Architecture of Austria", "Republic of Austria", "Etymology of Austria", "Autriche", "Austrian architecture"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which country the director of film Death And Diamonds (Film) is from?", "answer": "Austria", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Mariví Bilbao's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Charles Joseph Bonaparte born?", "answer": "[\"Baltimore\", \"Baltimore, Maryland\", \"City of Baltimore\", \"Baltimore City\", \"Charm City\", \"B more\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Mariana Vicente's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Ilya Nikiforov born?", "answer": "[\"Saint Petersburg\", \"St. Petersburg\", \"Petrograd\", \"Leningrad\", \"Petersburg\", \"Sankt-Peterburg\", \"St Petersburg\"]", "source": "popqa", "difficulty": "simple"} {"input": "who is known as father of karnataka music", "answer": "Purandara Dāsa", "source": "nq", "difficulty": "simple"} {"input": "Who directed Good Morning Vietnam?", "answer": ["Barry Levinson", "Baltimore Pictures", "Levinson, Barry"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Michael Arad's occupation?", "answer": "[\"architect\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Domingo Eyzaguirre's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What was the profession of Thomas Eakins?", "answer": ["Photographist", "Photographer", "Freelance photographer", "Freelance Photography", "Photographr"], "source": "triviaqa", "difficulty": "simple"} {"input": "Where did the director of film Mr. Sampat die?", "answer": "Madras", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Richard Faith's occupation?", "answer": "[\"composer\", \"pianist\"]", "source": "popqa", "difficulty": "simple"} {"input": "Do director of film Duvvada Jagannadham and director of film The Man Behind The Mask have the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are the directors of films Creezy (Film) and Into The Fire (1988 Film) both from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "How many households were in the same city as Oak Tree Country Club?", "answer": "230,233", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to convert rgb color to hsv color.", "answer": "def rgb_to_hsv(r, g, b):\r\n r, g, b = r/255.0, g/255.0, b/255.0\r\n mx = max(r, g, b)\r\n mn = min(r, g, b)\r\n df = mx-mn\r\n if mx == mn:\r\n h = 0\r\n elif mx == r:\r\n h = (60 * ((g-b)/df) + 360) % 360\r\n elif mx == g:\r\n h = (60 * ((b-r)/df) + 120) % 360\r\n elif mx == b:\r\n h = (60 * ((r-g)/df) + 240) % 360\r\n if mx == 0:\r\n s = 0\r\n else:\r\n s = (df/mx)*100\r\n v = mx*100\r\n return h, s, v", "source": "mbpp", "task_id": "783", "test_cases": "assert rgb_to_hsv(255, 255, 255)==(0, 0.0, 100.0)\nassert rgb_to_hsv(0, 215, 0)==(120.0, 100.0, 84.31372549019608)\nassert rgb_to_hsv(10, 215, 110)==(149.26829268292684, 95.34883720930233, 84.31372549019608)", "difficulty": "code"} {"input": "Who played the title role in Emma?", "answer": ["Gwynyth Paltrow", "Gwneth Paltrow", "Gwyneth Paltro", "Gwynnyth Paltrow", "Apple Blythe Alison Martin", "Gwyneth paltrow", "Gwenneth Paltrow", "Gwenyth Paltrow", "Gwyneth K. Paltrow", "Gwyneth K Paltrow", "Gweneth Paltrow", "Goop.com", "Gwennyth Paltrow", "Gwyneth Kate Paltrow", "Gwyneth Paltrow", "Apple Martin", "Gwynneth Paltrow"], "source": "triviaqa", "difficulty": "simple"} {"input": "Do both films: The Island (2011 film) and The Insider (film) have the directors from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What was art-world guru Andy Warhol's name at birth?", "answer": ["Andy Warhaul", "Warhol", "Warholian Pop", "Andy Warhola", "Andrew warhola", "Andy Warhol Foundation for the Visual Arts", "Warholite", "Andy warhol", "Drella", "Andrew Warhol", "Andy Wahrol", "Andy worhol", "Andrew Warhola", "Andy Warhol Foundation", "Warholesque", "Warholian", "Warhol Foundation", "Andy Warhol", "Paul Warhola"], "source": "triviaqa", "difficulty": "simple"} {"input": "\"Yaamirukka Bayamey\" is based on which 1998 Korean film directed by Kim Jee-woon?", "answer": "The Quiet Family", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Mapy Cortés born?", "answer": "[\"Santurce\", \"San Mateo de Cangrejos\", \"Santurce Barrio\", \"Santurce, San Juan\", \"Santurce, Puerto Rico\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Jun Murai born?", "answer": "[\"Tokyo\", \"Tōkyō\", \"Tôkyô\", \"Tokyo-to\", \"Tokyo Metropolitan prefecture\", \"Tōkyō-to\", \"Tôkyô-to\", \"Tokyo Metropolis\", \"Tokio\", \"Tokyo Prefecture\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who was born later, Cliff Rankin or Shen Lihong?", "answer": "Shen Lihong", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When is the director of film Moon In Scorpio 's birthday?", "answer": "July 20, 1938", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Hunter Mountain is the second highest peak in the Catskills, in the south east area of which U.S. State?", "answer": "New York", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which was around longer in 2010, Miss Universe or Miss Perú?", "answer": "Miss Universe", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where is the University of New Hampshire located?", "answer": ["Durham (disambiguation)", "The weather in Durham", "Durham", "Durham (city)", "Durham City (county town)", "Durham (Amtrak station)", "DURHAM"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who is Wenceslaus Of Krosno's paternal grandfather?", "answer": "Henry V of Iron", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "\"Funnybot\" is the second episode of the fifteenth season of which American animated television series, created by Trey Parker and Matt Stone?", "answer": "South Park", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what year were women first admitted to Harvard?", "answer": ["one thousand, nine hundred and sixty-nine", "1969"], "source": "triviaqa", "difficulty": "simple"} {"input": "when did peru last qualify for world cup", "answer": "2018", "source": "nq", "difficulty": "simple"} {"input": "Write a python function to check whether the given strings are rotations of each other or not.", "answer": "def are_Rotations(string1,string2): \r\n size1 = len(string1) \r\n size2 = len(string2) \r\n temp = '' \r\n if size1 != size2: \r\n return False\r\n temp = string1 + string1 \r\n if (temp.count(string2)> 0): \r\n return True\r\n else: \r\n return False", "source": "mbpp", "task_id": "871", "test_cases": "assert are_Rotations(\"abc\",\"cba\") == False\nassert are_Rotations(\"abcd\",\"cdba\") == False\nassert are_Rotations(\"abacd\",\"cdaba\") == True", "difficulty": "code"} {"input": "What is Galina Starovoytova's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "When was the director of film Die Arche born?", "answer": "5 November 1880", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who was credited with popularizing the term rock 'n' roll?", "answer": ["Alan Freed and payola", "Allan freed", "Alan Freed and the Payola Scandal", "Alan Freed", "Freed, Alan"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who led the us movement to take over the island where Ekuan spent his childhood?", "answer": "John L. Stevens", "source": "musique", "difficulty": "multi_hop"} {"input": "The Centralia Massacre was committed by which pro-Confederate guerrilla leader?", "answer": "William T. Anderson", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who is younger, Dan Ceman or Joachim Fricker?", "answer": "Dan Ceman", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Natasha Leggero's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Walloon Legion, a collaborationist volunteer unit, that served on the Eastern Front, in which war?", "answer": "World War II", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What year did the namesake of Fort Davis, Alaska die?", "answer": "1879", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the date of death of the director of film Rhodes Of Africa?", "answer": "24 September 1953", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when do the red hot chili peppers tour", "answer": "March 2018", "source": "nq", "difficulty": "simple"} {"input": "Where was Che Guevara killed?", "answer": ["Bolivia, Plurinational State of", "Name of Bolivia", "Bolivia", "Etymology of Bolivia", "Bolivian Republic", "Republic of Bolivia", "ISO 3166-1:BO", "The Plurinational State of Bolivia", "Plan de Todos", "Estado Plurinacional de Bolivia", "Volivia", "Boliva", "Bolívia", "Plurinational State of Bolivia", "Volívia", "República de Bolivia", "Bolivia (Plurinational State of)"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Lord Frederick Spencer Hamilton's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "In 1992 who was elected president of the home country of the football club TP Molunge?", "answer": "Pascal Lissouba", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a python function to interchange first and last elements in a given list.", "answer": "def swap_List(newList): \r\n size = len(newList) \r\n temp = newList[0] \r\n newList[0] = newList[size - 1] \r\n newList[size - 1] = temp \r\n return newList", "source": "mbpp", "task_id": "625", "test_cases": "assert swap_List([1,2,3]) == [3,2,1]\nassert swap_List([1,2,3,4,4]) == [4,2,3,4,1]\nassert swap_List([4,5,6]) == [6,5,4]", "difficulty": "code"} {"input": "What is Ron Nyswaner's occupation?", "answer": "[\"film director\", \"movie director\", \"director\", \"motion picture director\", \"screenwriter\", \"scenarist\", \"writer\", \"screen writer\", \"script writer\", \"scriptwriter\"]", "source": "popqa", "difficulty": "simple"} {"input": "who ran on the democratic ticket in 2016", "answer": ["Bernie Sanders", "Hillary Clinton"], "source": "nq", "difficulty": "simple"} {"input": "What is Alex Reid's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are both Tim McIlrath and Spike Slawson American punk rock musicians?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "what are the ghost's name in pacman", "answer": ["Clyde", "Pinky", "Inky", "Blinky"], "source": "nq", "difficulty": "simple"} {"input": "what was the famous window called in the notre dame cathedral in paris france", "answer": "rose window", "source": "nq", "difficulty": "simple"} {"input": "around what year do we think sir gawain and the green knight was written", "answer": "late 14th-century", "source": "nq", "difficulty": "simple"} {"input": "When is the director of film Down Home (Film) 's birthday?", "answer": "November 18, 1890", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Nicoletta Mantovani hit the headlines through her relationship with which big figure in the entertainment world?", "answer": ["Pavrotti", "Pavaroti", "Pavorotti", "Pavarotti", "Luciano Pavoroti", "Luciano Paverotti", "Luciano Paveroti", "Luciano Pavarrotti", "Pavarotti and Friends", "Pavarrotti", "Nicoletta Mantovani", "Luciano Pavorotti", "Luciano Pavarroti", "Pavarotti Competition", "Luciano Pavaroti", "Povarotti", "Luciano Povarotti", "Luciano Pavarotti Cavaliere di Gran Croce OMRI", "Luciano Pavarotti", "Pavarroti"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who is Hormizd I's paternal grandfather?", "answer": "Ardashir I", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what conference is the University that had a coach born on September 9th, 1960?", "answer": "the Big 12 Conference", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which film came out first, The Love Route or Engal Aasan?", "answer": "The Love Route", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when did the shooting happen in greys anatomy", "answer": "May 20, 2010", "source": "nq", "difficulty": "simple"} {"input": "In what city was James Brown born?", "answer": "[\"Leith\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the name of the Los Angeles resident who directed a 2016 American superhero film about a surgeon who learns the mystic arts after a career-ending car accident?", "answer": "Scott Derrickson", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who was the first Muslim elected president of Abdul Rahim's political party?", "answer": "Badruddin Tayyab Ji", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a python function to count lower case letters in a given string.", "answer": "def lower_ctr(str):\r\n lower_ctr= 0\r\n for i in range(len(str)):\r\n if str[i] >= 'a' and str[i] <= 'z': lower_ctr += 1 \r\n return lower_ctr", "source": "mbpp", "task_id": "818", "test_cases": "assert lower_ctr('abc') == 3\nassert lower_ctr('string') == 6\nassert lower_ctr('Python') == 5", "difficulty": "code"} {"input": "What conflict happened in the country containing Mount Samkos during the Cold War?", "answer": "Cambodian Civil War", "source": "musique", "difficulty": "multi_hop"} {"input": "who does the voice of hogarth in the iron giant", "answer": "Eli Marienthal", "source": "nq", "difficulty": "simple"} {"input": "words made from the first letters of other words", "answer": "acronym", "source": "nq", "difficulty": "simple"} {"input": "Roy Browns running mate in the 2008 Montana gubernatorial election won his current senate seat by defeating what democrat?", "answer": "Amanda Curtis", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What video game published by Sierra Entertainment includes an antagonist figure who's mystery is the core of the series?", "answer": "F.E.A.R.", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "1979, is a song by American alternative rock band, the Smashing Pumpkins, the second single from their third studio album, was released on October 23, 1995 in the UK, is titled?", "answer": "Mellon Collie and the Infinite Sadness", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "during the rebuttal section of a formal debate which team speaks first", "answer": "the affirmative team", "source": "nq", "difficulty": "simple"} {"input": "Which country does the airline Tower Air come from?", "answer": ["The United States of America", "United States Of Amerca", "Us of a", "U.–S.–A.", "Americaland", "United States (U.S.A.)", "Amurika", "Unite states of america", "United States of America (redirect)", "The U S A", "Unietd States", "EE UU", "The U.S.A.", "U.-S.-A.", "Usa", "United Staets of America", "Unites States", "États-Unis d'Amérique", "Verenigde State", "U.–S.", "The United States of America.", "The U-S-A", "EEUU", "U. S. A.", "Nagkaisang mga Estado", "The U. S. of America", "The USA", "America (United States)", "The U. S. A.", "U S of America", "UNITED STATES", "Estados Unidos", "The U–S", "American United States", "US and A", "Unitd states", "The US of A", "EE.UU.", "U-S", "The U-S", "Etymology of the United States", "U.S.A.)", "EE. UU.", "United states of america", "US of america", "Verenigde State van Amerika", "Nited States", "United-States", "Unite States", "Estados Unidos de América", "UnitedStates", "Estaos Unios", "US of America", "The Usa", "United states of America", "Untied States of America", "The U S of America", "THE AMERICAN UNITED STATES", "The United-States", "U S A", "AmericA", "Estados Unidos de America", "United states", "The U.S. of America", "Amerka", "United–States", "U.s.a.", "United States of America", "United State of America", "United States (US)", "The U.S. of A", "America", "Amercia", "Stati Uniti d'America", "Los Estados Unidos de America", "United Stated", "U.S.", "United States (of America)", "United States", "States of America", "America-class", "Los Estados Unidos", "U,S,", "United States (country)", "Federal United States", "ISO 3166-1:US", "Untied States", "The U.–S.–A.", "VS America", "Amurica", "Etats-Unis d'Amerique", "US", "U.S. OF A", "USofA", "Etats-Unis", "U.S. of A", "United States of America (U.S.A.)", "Amarica", "The United States", "U-S-A", "United States/Introduction", "The Us", "Unitesd states", "The U S of A", "America class", "America magazine", "الولايات المتحدة الأمريكية", "The U. S. of A", "U S", "(USA)", "The United–States", "United States (U.S.)", "U.-S.", "United States of America (USA)", "'merica", "The US", "United States of America.", "UNited States", "The U.S.", "AMERICA", "United States of America/OldPage", "United+States", "The U S", "United Sates", "THE UNITED STATES OF AMERICA", "U–S–A", "United States Of America", "U.S. of America", "U–S", "Los Estados Unidos de América", "The U.-S.", "United sates", "The United States Of America", "America (country)", "United States of American", "United state of america", "The U.–S.", "Amurka", "U. S. of A", "The U. S.", "United States America", "US of A", "États-Unis", "USoA", "USA", "Estaos Uníos", "America, United States of", "U. S. of America", "U.S.American", "(US)", "The U–S–A", "U. S.", "U.S. America", "U.S. A", "Yankee land", "America (US)", "U.S", "America (United States of)", "US (country)", "UNITED STATES OF AMERICA", "U.S.A", "Estados unidos", "Americia", "The US of america", "Vereinigte Staaten", "US America", "These United States of America", "VS Amerika", "Name of the United States", "The united states of america", "Estatos Unitos", "America (USA)", "The U.-S.-A.", "United States of America/Introduction", "The US of America", "Americophile", "V.S. America", "U.S.A.", "U S of A", "V.S. Amerika", "United+States+of+America", "The Unites States of America"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who won the first men's US Tennis Open, in 1968?", "answer": ["Arthur James Richard Ash", "Ash, Arthur", "Arthur Ash"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which multi-millionaire was born the same day TV pioneer John Logie Baird died?", "answer": ["Donald J. Trump Sr.", "Donald Trump, Sr.", "Trumpian", "The Donald", "Trump family", "Barron William Trump", "Donald J. Trump Signature Collection", "Donald John Trump, Sr.", "Donald John Trump", "Donald J. Trump, Sr.", "Donald Trump's", "Donald Trump's Hair", "Barron Trump", "Donald Trump in the media", "Donald trump", "Donald J. Trump", "Donald J Trump", "Mary MacLeod Trump", "Donald J Trump Men's Collection", "Donald Trump in popular culture", "Tiffany Trump", "Trump Timepieces", "The Trumpster", "Donald John Trump I", "Donuld Trump", "Donald Drumpf", "Donald Trump", "Donald Trump I", "Donald Trump Sr.", "Donald J. Trump I", "Trump Vodka", "Donald J. Trump Men's Collection", "Donald John Trump, Sr", "Donald Trup", "Donald J Trump I", "Donald John Trump Sr."], "source": "triviaqa", "difficulty": "simple"} {"input": "What tribe what American Horse a part of?", "answer": "American Horse (Oglala Lakota: \"Wašíčuŋ Tȟašúŋke\" in Standard Lakota Orthography) (a/k/a \"American Horse the Elder\") (1830–September 9, 1876) was an Oglala Lakota warrior chief renowned for Spartan courage and honor.", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who developed the game which Folkenstal features weapons and armors in a cosplay?", "answer": "ZeniMax Online Studios", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function that matches a string that has an a followed by three 'b'.", "answer": "import re\r\ndef text_match_three(text):\r\n patterns = 'ab{3}?'\r\n if re.search(patterns, text):\r\n return 'Found a match!'\r\n else:\r\n return('Not matched!')", "source": "mbpp", "task_id": "787", "test_cases": "assert text_match_three(\"ac\")==('Not matched!')\nassert text_match_three(\"dc\")==('Not matched!')\nassert text_match_three(\"abbbba\")==('Found a match!')", "difficulty": "code"} {"input": "What was The original name of the Football club Samuel Johnson moved to in 1901?", "answer": "the club was founded as Newton Heath LYR", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "what do you call animals live in water", "answer": "aquatic animal", "source": "nq", "difficulty": "simple"} {"input": "where did the movie players club take place", "answer": "Players Club", "source": "nq", "difficulty": "simple"} {"input": "What is Ernst Timme's occupation?", "answer": "[\"farmer\", \"agriculturist\", \"grower\", \"raiser\", \"cultivator\", \"agriculturer\", \"farmer (occupation)\", \"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who is the one with the most wins at the masters?", "answer": "an American retired professional golfer", "source": "musique", "difficulty": "multi_hop"} {"input": "Pearl Lowe and Alison Goldfrapp, is of which nationality?", "answer": "English", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is John Finlay's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "what is the city in italy that is under water", "answer": "Venice", "source": "nq", "difficulty": "simple"} {"input": "In what city was Michele Aboro born?", "answer": "[\"London\", \"London, UK\", \"London, United Kingdom\", \"London, England\", \"Modern Babylon\"]", "source": "popqa", "difficulty": "simple"} {"input": "What was the name of Elizabeth Barrett Browning's pet golden cocker spaniel ?", "answer": ["Flush (disambiguation)", "Flush (song)", "Flush"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Michael Lynton's occupation?", "answer": "[\"chief executive officer\", \"CEO\", \"CE\", \"CEx\", \"chief executive\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Peter's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "who wrote the book 31 songs about his favourite music", "answer": "Nick Hornby", "source": "nq", "difficulty": "simple"} {"input": "What telenovela inspired the TV show that the band Eme 15 was formed on in 2012?", "answer": "Quinceañera", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "How is Joan Molinsky better known?", "answer": ["Queen of Comedy", "Heidi Abromowitz", "Joan Rivers (TV) Show", "Joan Alexandra Molinsky", "Diary of a Mad Diva", "Joan rivers", "Heidi abromowitz", "Joan River", "Joan Rivers Show", "Joan Rivers"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which film has the director died first, Convict 99 or Paradise For Two (1927 Film)?", "answer": "Convict 99", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What did Guinness adopt as its trademark in the 60s?", "answer": ["Harpist", "Triangular harp", "Harps", "Folk harp", "Nabla (instrument)", "Frame Harp", "Frame harp", "Harp museum", "Harp"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which was the first team to win three Super Bowls?", "answer": ["Pittsburgh Reelers", "Pittsburgh steelers", "Pittsburgh Steeler", "Pittsburgh Pirates (NFL)", "Eli Rogers", "Pittsburgh Steelers", "Steely Mcbeam", "Pittsburg Steelers", "The Steelers", "Pittsburgh Pirates (football)", "Pittsburgh Steelers Stadiums", "Steely McBeam", "Stillers", "Steelers", "List of Pittsburgh Steelers players who have been MVP", "Pittsburgh Steelers stadiums"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which film was released more recently, Pottu Amman (Film) or Raja Manthiri?", "answer": "Raja Manthiri", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Dumb Flesh is the third album by whom?", "answer": "Blanck Mass", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Shere Khan is a fictional Bengal tiger that was the main antagonist in Rudyard Kipling's book titled what?", "answer": "The Jungle Book", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Franklin Rosemont born?", "answer": "[\"Chicago\", \"Chicago, Illinois\", \"The Windy City\", \"City by the Lake\", \"The Queen of the West\", \"Chi-Town\", \"Chitown\", \"The Second City\", \"City of Chicago\", \"City of Broad Shoulders\", \"Chi-Raq\", \"Chicago, IL\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did dollars and cents start being used in the country herb McKenley is from?", "answer": "September 8, 1969", "source": "musique", "difficulty": "multi_hop"} {"input": "who sings are we human or are we dancer", "answer": "Flowers", "source": "nq", "difficulty": "simple"} {"input": "Write a function to extract year, month and date from a url by using regex.", "answer": "import re\r\ndef extract_date(url):\r\n return re.findall(r'/(\\d{4})/(\\d{1,2})/(\\d{1,2})/', url)", "source": "mbpp", "task_id": "906", "test_cases": "assert extract_date(\"https://www.washingtonpost.com/news/football-insider/wp/2016/09/02/odell-beckhams-fame-rests-on-one-stupid-little-ball-josh-norman-tells-author/\") == [('2016', '09', '02')]\nassert extract_date(\"https://www.indiatoday.in/movies/celebrities/story/wp/2020/11/03/odeof-sushant-singh-rajput-s-death-his-brother-in-law-shares-advice-for-fans-1749646/\") == [('2020', '11', '03')]\nassert extract_date(\"https://economictimes.indiatimes.com/news/economy/2020/12/29/finance/pension-assets-under-pfrda-touch-rs-5-32-lakh-crore/articleshow/79736619.cms\") == [('2020', '12', '29')]", "difficulty": "code"} {"input": "In what city was Shrichand Kriplani born?", "answer": "[\"Chittorgarh\", \"Chittaurgarh\", \"Chittor\"]", "source": "popqa", "difficulty": "simple"} {"input": "when is the next new episode of agents of shield", "answer": "March 9, 2018", "source": "nq", "difficulty": "simple"} {"input": "How many times have the Cowboys beat the team which Zac Diles was a member of?", "answer": "7", "source": "musique", "difficulty": "multi_hop"} {"input": "Do both films See Jack Run and Buena Vista Social Club (Film) have the directors that share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Ettore or Edoardo Ettore Forti was an Italian painter, who was prolific in depicting realistic Neo-Pompeian scenes of Ancient Roman life and events, these subjects were popular in the late-Victorian period, as exemplified by the popularity of Lawrence Alma-Tadema, born in Dronrijp, in which country?", "answer": "Netherlands", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who is the current world record holder in high jump and uncle of Lorenzo Sotomayor Collazo?", "answer": "Javier Sotomayor", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are Nomreh-Ye Do, Haftkel and Perekopskaya both located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where was the British singer-songwriter who composed The Princess Bride's soundtrack born?", "answer": "Glasgow", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which actor paid $93,500 for the baseball which rolled between Bill Buckner's legs in game six of the 1986 World Series?", "answer": ["Bi-winning", "Charlie Sheen", "Carlos Estevez", "Charlysheen", "Charles sheen", "WINNING!", "Carlos Estavez", "Charlie sheen", "Carlos irwin estevez", "Carlos estevez", "Charles Irwin Sheen", "Carlos Irwin Estévez", "Carlos Estévez", "Duh, winning", "Carlos Irwin Estevez"], "source": "triviaqa", "difficulty": "simple"} {"input": "Padgate is a suburb of an english town on the banks of the River Mersey whose population was estimated to be 208800 in 2016 but in which unitary authority area is it located?", "answer": "Cheshire", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who does cody zeller play for in the nba", "answer": "the Charlotte Hornets", "source": "nq", "difficulty": "simple"} {"input": "In what city was John Robinson born?", "answer": "[\"Mansfield\", \"Mansfield, Ohio\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who manages the station that serves a small town and civil parish in the Borough of Pendle Lancashire, England with a population of 8,200 as of 2011?", "answer": "Northern", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "what is the 3112 acre Pennsylvania state park that took over 11,000 to make due to the wave action of lake Erie called?", "answer": "Presque Isle", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which film has the director who was born earlier, Basic (Film) or Nine Hours To Rama?", "answer": "Nine Hours To Rama", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Eleanor Davis's occupation?", "answer": "[\"cartoonist\", \"graphic artist\", \"animator\", \"illustrator\"]", "source": "popqa", "difficulty": "simple"} {"input": "Do both directors of films City Of Ember and Oklahoma Blues share the same nationality?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What was Pierce Brosnan's first outing as 007?", "answer": ["Goldeneye 007 (Xbox Live Arcade)", "Goldeneye game", "GoldenEye 007 (video game)", "GoldenEye 007", "GoldenEye (video game)", "GoldenEye 007 (Virtual Boy)", "Goldeneye (Virtual Boy)", "GoldenEye Doom 2 Total Conversion", "Goldeneye", "Goldeneye 007", "Goldeneye007", "007: Golden Eye", "GoldenEye (Virtual Boy)", "GoldenEye (game)", "Goldeneye (game)", "Golden Eye 007", "GoldenEye (disambiguation)", "Ge 007", "Goldeneye (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Edward Francis Hutton's occupation?", "answer": "[\"financier\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which country the director of film City Beneath The Sea (1953 Film) is from?", "answer": "American", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which documentary was released earlier, Almost Sunrise or 51 Birch Street?", "answer": "51 Birch Street", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Jakob Kaiser born?", "answer": "[\"Hammelburg\"]", "source": "popqa", "difficulty": "simple"} {"input": "A 2005 French-language Canadian coming of age drama features artists including an American country music singer who died in the crash of a plane belonging to who?", "answer": "Randy Hughes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the date of birth of Countess Palatine Irmengard Of The Rhine's husband?", "answer": "1180", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When did Chopin return to the Polish city that shares its name with a city in Indiana, that is found in the county where Monroe Township is located?", "answer": "September 1829", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Bob Cremins born?", "answer": "[\"Pelham Manor\", \"Pelham Manor, New York\"]", "source": "popqa", "difficulty": "simple"} {"input": "What was first published on 21st December 1913 in the New York World?", "answer": ["A crossword puzzle", "Cross word", "Diagramless", "Codecracker", "Arrowords", "Crossword", "Fill in crossword", "Xword", "Crossword puzzles", "Cruciverbalism", "Crosswords", "Cruzadex", "Scandinavian crossword", "Cruciverbalist", "Crossword puzzle", "Arroword", "Cross Word", "Diagramless crossword"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who was born later, William Crump (Gardener) or Davit Khutsishvili?", "answer": "Davit Khutsishvili", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What Category 5 hurricane cause the Sqannanoa River to flood?", "answer": "Hurricane Ivan", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Eric Flynn's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Do both directors of films Public Enemies (1996 Film) and Secret Obsession share the same nationality?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which university did Tony Blair and Bill Clinton both attend in their younger days?", "answer": ["Oxford, england", "Oxeford", "Lion Brewery (U.K.)", "Oxford, UK", "Oxford astrophysics", "City of Dreaming Spires", "Oxford, England", "Oxford (England)", "Oxford", "Oxford, Oxfordshire", "The Dreaming Spires", "City of Oxford", "UN/LOCODE:GBOXF", "OXFORD", "City of dreaming spires", "Ford of the Oxen", "County Borough of Oxford", "The weather in Oxford", "Oxford, United Kingdom", "Morrells brewery", "The city of dreaming spires", "Oxenaforda"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the rate of interreligious marriage in the country that the sandwich, named for the successor of the National Rail, is from?", "answer": "53%", "source": "musique", "difficulty": "multi_hop"} {"input": "When she died how old was Karen Carpenter?", "answer": ["32", "thirty-two"], "source": "triviaqa", "difficulty": "simple"} {"input": "who won the gold medal for men's halfpipe", "answer": ["Gian Simmen", "Ross Powers", "Shaun White", "Iouri Podladtchikov"], "source": "nq", "difficulty": "simple"} {"input": "Write a function to get a lucid number smaller than or equal to n.", "answer": "def get_ludic(n):\r\n\tludics = []\r\n\tfor i in range(1, n + 1):\r\n\t\tludics.append(i)\r\n\tindex = 1\r\n\twhile(index != len(ludics)):\r\n\t\tfirst_ludic = ludics[index]\r\n\t\tremove_index = index + first_ludic\r\n\t\twhile(remove_index < len(ludics)):\r\n\t\t\tludics.remove(ludics[remove_index])\r\n\t\t\tremove_index = remove_index + first_ludic - 1\r\n\t\tindex += 1\r\n\treturn ludics", "source": "mbpp", "task_id": "603", "test_cases": "assert get_ludic(10) == [1, 2, 3, 5, 7]\nassert get_ludic(25) == [1, 2, 3, 5, 7, 11, 13, 17, 23, 25]\nassert get_ludic(45) == [1, 2, 3, 5, 7, 11, 13, 17, 23, 25, 29, 37, 41, 43]", "difficulty": "code"} {"input": "In what city was Henry C Bailey JR born?", "answer": "[\"Suffolk\", \"Suffolk, Virginia\", \"Suffolk, VA\"]", "source": "popqa", "difficulty": "simple"} {"input": "What was the record label of the songwriter for I've Done Everything For You?", "answer": "Capitol Records", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the language of the film A Kiss from the producer of Less Than the Dust?", "answer": "Russian", "source": "musique", "difficulty": "multi_hop"} {"input": "Amara Karan made her debut as the love interest in the film by the director of what nationality?", "answer": "American", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Alan Bjerga's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\"]", "source": "popqa", "difficulty": "simple"} {"input": "who was first roger moore or sean connery", "answer": "Sean Connery", "source": "nq", "difficulty": "simple"} {"input": "In which year was Nigel Mansell Indy Car Champion?", "answer": ["1993", "one thousand, nine hundred and ninety-three"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Axl Rose's real name?", "answer": ["William Bailey", "Billy Bailey (disambiguation)", "Bill Bailey (disambiguation)", "Bailey, William", "William Bailey (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who was born first, Louis Mhlanga or Rex Goudie?", "answer": "Louis Mhlanga", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "A Suitable Girl is an upcoming novel by Vikram Seth, which is a sequel to his 1993 book \"A Suitable Boy\", Vikram Seth ( born June 20, 1952) is an Indian novelist and what ?", "answer": "poet", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "On what day did the publisher of Internet Channel unveil the new systems?", "answer": "October 18, 1985", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Rick Gilmore's occupation?", "answer": "[\"economist\", \"economists\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which was founded first, Stellenbosch University or Wayne State University?", "answer": "Founded in 1868, WSU consists of 13 schools and colleges offering nearly 350 programs to more than 27,000 graduate and undergraduate students", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what year of the 1990s was baseball's World Series canceled?", "answer": ["one thousand, nine hundred and ninety-four", "1994"], "source": "triviaqa", "difficulty": "simple"} {"input": "How long is the term for a member of the body given authority in 1824 to choose the president by the document granting limited power to enact statutes to Congress?", "answer": "five-year term", "source": "musique", "difficulty": "multi_hop"} {"input": "Which country does boxer Vitali Klitschko come from?", "answer": ["Ukrainian territory", "Ukraˈjina", "Ukraine during World War II", "UKR", "Ukrayina", "Ukarine", "Ukraien", "The ukrane", "Ukrania", "Ukra'jina", "Kiev compromise", "Ucraine", "Ukraine", "Ukraina", "Ukrainia", "Ukrajina", "ISO 3166-1:UA", "Ukrane", "Ykpaiha", "Ukriane", "Украина", "The Ukraine", "Ukraïne", "Україна"], "source": "triviaqa", "difficulty": "simple"} {"input": "\"Which hairdresser said, \"\"\"\"The only place where success comes before work is in the dictionary?\"\"\"", "answer": ["Vidal sasson", "Vidal Sassoon: The Movie", "Vidal Sasoon", "Vidal Sassoon", "Vidal sassoon"], "source": "triviaqa", "difficulty": "simple"} {"input": "where is the most tobacco grown in the world", "answer": "China", "source": "nq", "difficulty": "simple"} {"input": "Who launched the short-lived Skytrain air service?", "answer": ["Fred Laker", "Freddie Laker", "Frederick Alfred Laker", "Sir Frederick Laker", "Freddy Laker", "Sr. Freddie Laker", "Sir Freddie Laker", "Frederick Laker", "Sir Frederick Alfred Laker"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who played Leroy Johnson in the movie Fame and on TV?", "answer": ["Gene A. Ray", "Gene Anthony Ray"], "source": "triviaqa", "difficulty": "simple"} {"input": "What 2001 novel by Britney Spears is dedicated to an American author and mother of film and television producer Bryan Spears and country singer Jamie Lynn Spears?", "answer": "A Mother's Gift", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Emil Marschalk von Ostheim born?", "answer": "[\"Bamberg\", \"Town of Bamberg\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which broadcasting company did Edward J Noble found?", "answer": ["ABCs", "ABC", "A B C", "A. B. C.", "A.B.C.", "ABC (channel)", "Abc", "ABC (album)", "ABC (TV)", "ABC (disambiguation)", "ABC (network)", "ABC (TV channel)", "ABC (broadcasting)"], "source": "triviaqa", "difficulty": "simple"} {"input": "president are allowed to issue which kind of orders without the approval of congress", "answer": "executive order", "source": "nq", "difficulty": "simple"} {"input": "fe is the chemical symbol for what element", "answer": "Iron", "source": "nq", "difficulty": "simple"} {"input": "In what city was Dick Calmus born?", "answer": "[\"Los Angeles\", \"Los Angeles, California\", \"Pink City\", \"The town of Our Lady the Queen of the Angels of the Little Portion\", \"La La Land\", \"Tinsel Town\", \"City of Angels\", \"City of Los Angeles\", \"LA, California\", \"L.A.\", \"LA\", \"Double Dubuque\", \"Los Ángeles\", \"Los Angeles, CA\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Xue Fei born?", "answer": "[\"Beijing\", \"Peking\", \"Beiping\", \"Peiping\", \"Yanjing\", \"Zhongdu\", \"Khanbaliq\", \"BJ\", \"Shun Tian Fu\", \"Pekin\", \"beijing\"]", "source": "popqa", "difficulty": "simple"} {"input": "When is the composer of film Sruthilayalu 's birthday?", "answer": "14 March 1918", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "\"Apocalypic\" is a song sung by Lizzy Hale from which group?", "answer": "Halestorm", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Jean-Marie-Victor Viel's occupation?", "answer": "[\"architect\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Johann Christian Brand born?", "answer": "[\"Vienna\", \"Wien\", \"Vienna, Austria\", \"W\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Mami Matsui's occupation?", "answer": "[\"seiyū\", \"Japanese voice actress\", \"seiyuu\", \"seiyu\", \"Japanese voice actor\"]", "source": "popqa", "difficulty": "simple"} {"input": "where did they film hot tub time machine", "answer": "Fernie Alpine Resort", "source": "nq", "difficulty": "simple"} {"input": "How many Billboard solo NO 1's did ex-Beatle Ringo Starr have?", "answer": ["2", "Two", "two"], "source": "triviaqa", "difficulty": "simple"} {"input": "Abraham Weinberg was a suspect in the killing of which Irish-American hitman?", "answer": "Vincent \"Mad Dog\" Coll", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Route 146, Interstate 890, and what other highway all run through Schenectady, New York?", "answer": "I-90", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "How many times did Albert Ferrer's team with Premier League?", "answer": "5", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Andrian Mardiansyah born?", "answer": "[\"Indonesia\", \"Republic of Indonesia\", \"id\", \"ID\", \"INA\", \"IDN\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who is the president of the country where Italé is located?", "answer": "Goodluck Jonathan", "source": "musique", "difficulty": "multi_hop"} {"input": "Who airs the cartoon developed by Nicholas Boshier?", "answer": "Australian Broadcasting Corporation", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When did the current central bank of the country Peterson is a top authority of a subject in start quantitative easing?", "answer": "during the Great Depression of the 1930s", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a python function to check whether a sequence of numbers has a decreasing trend or not.", "answer": "def decreasing_trend(nums):\r\n if (sorted(nums)== nums):\r\n return True\r\n else:\r\n return False", "source": "mbpp", "task_id": "670", "test_cases": "assert decreasing_trend([-4,-3,-2,-1]) == True\nassert decreasing_trend([1,2,3]) == True\nassert decreasing_trend([3,2,1]) == False", "difficulty": "code"} {"input": "Write a function to find the product of first even and odd number of a given list.", "answer": "def mul_even_odd(list1):\r\n first_even = next((el for el in list1 if el%2==0),-1)\r\n first_odd = next((el for el in list1 if el%2!=0),-1)\r\n return (first_even*first_odd)", "source": "mbpp", "task_id": "784", "test_cases": "assert mul_even_odd([1,3,5,7,4,1,6,8])==4\nassert mul_even_odd([1,2,3,4,5,6,7,8,9,10])==2\nassert mul_even_odd([1,5,7,9,10])==10", "difficulty": "code"} {"input": "starch based food to be made into plastic", "answer": "corn starch", "source": "nq", "difficulty": "simple"} {"input": "What is Akari Hayami's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Alastair Heathcote born?", "answer": "[\"Athens\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Robert Jonckheere's occupation?", "answer": "[\"astronomer\"]", "source": "popqa", "difficulty": "simple"} {"input": "Alamgir joined Meesha Shafi, Strings, Ali Azmat and Shahzad Hasan as a judge on which popular show?", "answer": "\"Music Icons\"", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In ancient Athens, what tree was considered sacred -- with all its fruit belonging to the state, and death the penalty for anyone caught cutting one down?", "answer": ["Olives", "Olivey", "Green olives", "European Olive", "Olive trees", "Olive wood", "Olive groves", "Olive (fruit)", "Olive Tree", "Olivetrees", "Black olive", "The olive tree", "Olea europea", "Olive-tree", "Olive tree", "Olive (tree)", "Olive grove", "Olive-wood", "Back olive", "Olivetree", "Olive", "Colossal olive", "Black olives", "Olive-trees", "Olive growing", "Olea europaea", "Green olive", "Kalamon (olive)", "The Olive Tree"], "source": "triviaqa", "difficulty": "simple"} {"input": "During Which debt crises did PIGS used to refer to the economies of Portugal, Ireland, Greece, and Spain, four EU member states", "answer": "The European debt crisis", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "what is the next song of ice and fire book", "answer": "The Winds of Winter", "source": "nq", "difficulty": "simple"} {"input": "What is Robert Carson's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Björn Böhning's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who replaced the Peabody Award winner, made famous for his NPR flagship program, in 2004?", "answer": "Renée Montagne", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What college did the performer of The Creator of the Universe go to?", "answer": "Syracuse University", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Joseph Urban born?", "answer": "[\"Vienna\", \"Wien\", \"Vienna, Austria\", \"W\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Arkady Chernetsky's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What was the name of the vet in Daktari?", "answer": "Marsh Tracy", "source": "triviaqa", "difficulty": "simple"} {"input": "When did the first restaurant that McDonaldization is named after open in the country of citizenship of the author of Doctrine and Discipline of Divorce?", "answer": "1974", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Honor Harger's occupation?", "answer": "[\"curator\", \"museum curator\", \"keeper\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are both movies, The Crescent (Film) and Little Ashes, from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when did the carolina panthers become a team", "answer": "October 26, 1993", "source": "nq", "difficulty": "simple"} {"input": "What is the current name of the Atlanta Mansion built for the daughter of the 41st Mayor of Atlanta, Georgia?", "answer": "Lullwater Estate", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are Antonio Del Rosario and Supriya Karnik both from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When Birdseye introduced the first frozen food in 1930, what did the company call it/", "answer": "Frosted food", "source": "triviaqa", "difficulty": "simple"} {"input": "Who is the senate president in the country with Africa's largest economy?", "answer": "Bukola Saraki", "source": "musique", "difficulty": "multi_hop"} {"input": "On what did the publisher of EarthBound primarily rely on for support?", "answer": "first-party games", "source": "musique", "difficulty": "multi_hop"} {"input": "The airline operating in Whitehorse, Yukon handled how many passengers in 2012?", "answer": "294,000", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who plays rory in my babysitter's a vampire", "answer": "Cameron Kennedy", "source": "nq", "difficulty": "simple"} {"input": "miss world japan 2016 is a great grand child of a former chief minister of", "answer": "West Bengal", "source": "nq", "difficulty": "simple"} {"input": "What is the genre of the composer of Le testament de la tante Caroline?", "answer": "opera", "source": "musique", "difficulty": "multi_hop"} {"input": "In The Muppet Movie what was the name of the restaurant Doc Hopper wanted to open?", "answer": ["Frog legs", "Frogs’ legs", "Frogs' legs", "Frogs' Legs", "Frog leg", "Frogslegs", "Frog's legs", "Frogs legs"], "source": "triviaqa", "difficulty": "simple"} {"input": "What was the name of Gene Autry's horse?", "answer": ["Champion", "Edric Egberuare", "Title match system", "Intercontinental Champion", "Champions", "Championship game", "Chåmpionship"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the ranking in population of the birthplace of Walter Parks in regards to the country that enacted the Judiciary Act of 1869?", "answer": "12th", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Rick Wilson's occupation?", "answer": "[\"farmer\", \"agriculturist\", \"grower\", \"raiser\", \"cultivator\", \"agriculturer\", \"farmer (occupation)\", \"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Thomas McMurtry's occupation?", "answer": "[\"test pilot\"]", "source": "popqa", "difficulty": "simple"} {"input": "Do both Delta Of Venus (Film) and Franco, Ese Hombre films have the directors from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Restoration literature is the English literature written during the historical period commonly referred to as the English Restoration (1660–1689), which corresponds to the last years of the direct Stuart reign, it saw Locke's \"Treatises of Government\", the founding of the Royal Society, the experiments and holy meditations of Robert William Boyle, was an Anglo-Irish natural philosopher, chemist, physicist and inventor born in Lismore, County Waterford, in which location?", "answer": "Ireland", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "How was Walker Smith Robinson better known?", "answer": ["Walker Smith Junior", "Walker Smith Jr.", "Walker Smith Jr", "Sugar Robinson", "%22Sugar%22 Ray Robinson", "Walker Smith Jnr.", "Sugar Ray Robinson", "Walker Smith Jnr"], "source": "triviaqa", "difficulty": "simple"} {"input": "Effie Crockett is credited with creating the song that was based on what English ballad?", "answer": "Lillibullero", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who is the father of the director of film Emilie Högquist (Film)?", "answer": "Harald Molander", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who made the city that used to be Khanbaliq his capital?", "answer": "Dorgon", "source": "musique", "difficulty": "multi_hop"} {"input": "Who won an Oscar wearing an eye patch in True Grit?", "answer": ["Michael Morris (John Wayne)", "Marion Morrison", "Marion Robert Morrison", "List of John Wayne films", "Marion Mitchell Morrison", "Michael Morrison (John Wayne)", "Marion Michael Morrison", "John wayne", "List of awards and nominations received by John Wayne", "List of John Wayne Films", "John Wayne"], "source": "triviaqa", "difficulty": "simple"} {"input": "When did Britain withdraw from Mina Salman's country?", "answer": "1971", "source": "musique", "difficulty": "multi_hop"} {"input": "when does beaty and the beast take place", "answer": "Rococo-era", "source": "nq", "difficulty": "simple"} {"input": "What are the international registration letters for a vehicle form Jordan?", "answer": ["Jordan (country)", "Al-Urdunn", "أردنّ", "JOrdan", "Urdun", "Hashemite Kingdom of Transjordan", "Urdunn", "The Hashemite Kingdom of Jordan", "Administrative divisions of Jordan", "HKJ", "State of Jordan", "Jordan", "Jordanian Kingdom", "Languages of Jordan", "Hashemite Kingdom of the Jordan", "Jordanie", "Al-Mamlakah al", "Al-'Urdun", "Hashemite Kingdom of Jordan", "ISO 3166-1:JO", "الأردن", "Kingdom of the Jordan", "Ottoman Jordon", "Al-Urdun", "H.K of Jordan", "Etymology of Jordan", "المملكة الأردنّيّة الهاشميّة", "Kingdom of Jordan"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Doris Bell Collier born?", "answer": "[\"Manchester\", \"Manchester, England\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was John Keating born?", "answer": "[\"Hobart\", \"Hobart Town\", \"Hobarton\", \"Hobart, Tasmania\", \"Hobart, Tas.\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who directed the movie La Dolce Vita?", "answer": ["Federico Fellini, Cavaliere di Gran Croce OMRI", "Felini", "Felliniesque", "Fellini", "Frederico Fellini", "Federico Fellini"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who founded the college attended by Thomas Balston, member of the Whatman paper-making family?", "answer": "William of Wykeham", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who was the husband of the first olympic gymnast to be awarded a perfect score of 10.0?", "answer": "Bart Conner", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when is season 7 of game of thrones being released", "answer": "August 27, 2017", "source": "nq", "difficulty": "simple"} {"input": "Which musician was born first, John Tardy or Tom Barman?", "answer": "John Tardy", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the airport called in the city where Truong Thanh Hang was born?", "answer": "Tân Sơn Nhất International Airport", "source": "musique", "difficulty": "multi_hop"} {"input": "Are both Spurgeon Neel and Henry Holden Huss from the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where was the place of death of the director of film There Was A Castle With Forty Dogs?", "answer": "Rome", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the body of water by the city where the author of What We Believe But Cannot Prove was born?", "answer": "Mystic River", "source": "musique", "difficulty": "multi_hop"} {"input": "To whom did the Bee Gees pay tribute in Tapestry Revisited?", "answer": ["Goffin and King", "The City (group)", "Now That Everything's Been Said", "Now That Everything's Been Said (The City Album)", "Carol Joan Klein", "Carole King", "Carole Klein"], "source": "triviaqa", "difficulty": "simple"} {"input": "What type of a scholar was the rabbi who asked Rabbi Dovid Povarsky to join the previous two heads of the institute?", "answer": "Torah and Talmudic scholar", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What year was the thesis supervisor of Jocelyn Bell Burnell awarded the Eddington Medal?", "answer": "1969", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who beat Jim Brown's rushing yards total of 12,312 yards in the 1980s?", "answer": ["Walter and Connie Payton Foundation", "Walter Peyton", "Sweetness (football player)", "Walter Payton Foundation", "Walter Payton", "Walter Eliot Peyton", "Walter Jerry Payton"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who helped to bolster house music in the country where government phonology is popular?", "answer": "underground Pirate Radio stations and DJs", "source": "musique", "difficulty": "multi_hop"} {"input": "Are these other languages learned in the country most of the oil in America comes from as popular as the language used in the country with the world's oldest navy?", "answer": "totals remain relatively small in relation to the total U.S population.", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Estevan Peléè born?", "answer": "[\"Brou-sur-Chantereine\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a python function to merge the first and last elements separately in a list of lists.", "answer": "def merge(lst): \r\n return [list(ele) for ele in list(zip(*lst))]", "source": "mbpp", "task_id": "612", "test_cases": "assert merge([['x', 'y'], ['a', 'b'], ['m', 'n']]) == [['x', 'a', 'm'], ['y', 'b', 'n']]\nassert merge([[1, 2], [3, 4], [5, 6], [7, 8]]) == [[1, 3, 5, 7], [2, 4, 6, 8]]\nassert merge([['x', 'y','z' ], ['a', 'b','c'], ['m', 'n','o']]) == [['x', 'a', 'm'], ['y', 'b', 'n'],['z', 'c','o']]", "difficulty": "code"} {"input": "What Famous play by shakespear have the phrase, \"Et tu, Brute\"?", "answer": "Shakespeare's play \"Julius Caesar\"", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who was the spouse of the performer of I Remember Tommy?", "answer": "Barbara Marx", "source": "musique", "difficulty": "multi_hop"} {"input": "Where was the place of burial of the performer of song Just Waitin'?", "answer": "Alabama", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What two skills do Lee Hong-gi and Dee Snider have in common?", "answer": "singer-songwriter, actor", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What goes after Love Will Never Do on Janet Jackson's 1990 hit?", "answer": ["Without You (disambiguation)", "Without You (album)", "Without you", "Without You", "Without You (Song)", "Without You (Fleetwood Mac song)", "Without You (single)", "Without You (song)", "Without You (Album)", "Without You (Fleetwood Mac Song)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who was the drummer for the recording of \"The Man Who Sold the World\" released in the US in 1970?", "answer": "Mick Woodmansey", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What do it yourself magazine does William Gurstelle write for?", "answer": "Make", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which company first manufactured the electric toothbrush?", "answer": ["Bristol Myers-Squibb", "Bristl-Myers Squibb", "Bristol-Myers Squib", "Bristol-Meyers", "E. R. Squibb and Sons", "Bristol Myers Squibb", "Bristol–Myers Squibb", "Bristol-Myers Squibb Company", "Bristol-Myers Squibb Epsilon Holdings", "Bristol Myers", "BMY", "Bristol-Myers", "Bristol Myer Squib", "Bristol Myers Squib", "E. R. Squibb & Sons", "Bristol-Myers Corporation", "Bristol Meyers-Squibb", "Bristol-Myers Squibb HIV", "Bristol-Myers-Squibb", "Squibb", "Bristol-Myers Corp.", "Bristol Meyers Squibb", "Bristol Myers Squibb Co.", "The Bristol-Myers Squibb Company", "Squibb Institute for Medical Research", "Bristol-Myers Squibb Luxembourg Sarl", "Bristol-Myers Squibb", "Bristol-Myers Squibb Pharmaceutical Research Institute"], "source": "triviaqa", "difficulty": "simple"} {"input": "Do director of film Chicago 10 (Film) and director of film Black Oxen share the same nationality?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When did cable cars start in the city where Can Ladies Kill? was located?", "answer": "1878", "source": "musique", "difficulty": "multi_hop"} {"input": "Do both directors of films The Cliff Of Sin and Little Jacques (1934 Film) share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "\"In Private \"\"Benjamin, what is the name of \"\"Benjamin's captain?\"", "answer": ["Lewis (Isle)", "Lewis, Scotland", "Lewis (Scottish Island)", "Island of Lewis", "Leòdhas", "Lewis", "Isle Of Lewis", "Eilean Leodhais", "Breasclete Primary School", "Leodhais", "Lewis (Scotland)", "Lewis, Outer Hebrides", "Isle of Lewis", "Leodhas"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which country the composer of song A Dreamer'S Holiday is from?", "answer": "American", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "At most, how many people have died from plague where the House of Wisdom was held?", "answer": "two-thirds of its population", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to remove the parenthesis area in a string.", "answer": "import re\r\ndef remove_parenthesis(items):\r\n for item in items:\r\n return (re.sub(r\" ?\\([^)]+\\)\", \"\", item))", "source": "mbpp", "task_id": "640", "test_cases": "assert remove_parenthesis([\"python (chrome)\"])==(\"python\")\nassert remove_parenthesis([\"string(.abc)\"])==(\"string\")\nassert remove_parenthesis([\"alpha(num)\"])==(\"alpha\")", "difficulty": "code"} {"input": "Who was Jermaine O'Neal playing against when he made his debut in 1996?", "answer": ["Denver Larks", "Jonathon Herrera", "Colorado nuggets", "Denver Rockets", "Denver nuggets", "Denver nuggetts", "Denver Nuggets"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who represents the government body with oversight of the group that issued the report in 1958 in Ann Arbor?", "answer": "Debbie Dingell", "source": "musique", "difficulty": "multi_hop"} {"input": "When did the country Just5 is from become a part of Soviet Union?", "answer": "5 August 1940", "source": "musique", "difficulty": "multi_hop"} {"input": "How many people with the same origin as those who sent families to concentration camps live in the former Portuguese colonial holding on the continent where The Mission was set?", "answer": "5 million", "source": "musique", "difficulty": "multi_hop"} {"input": "the office season 6 episode 1 guest stars", "answer": ["Elvy Yost", "Max Carver", "Keli'i"], "source": "nq", "difficulty": "simple"} {"input": "In Family Affair what was the butler called?", "answer": ["Français", "Francaise", "The French", "Frenchness", "French", "Francais", "French (disambiguation)", "Frrench"], "source": "triviaqa", "difficulty": "simple"} {"input": "Why did the director of film Thirst (1960 Film) die?", "answer": "heart attack", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the place of birth of the director of film Across The Pacific (1926 Film)?", "answer": "Delaware", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "membership in the european union requires countries to have which type of government", "answer": "democracy", "source": "nq", "difficulty": "simple"} {"input": "What region of the country is the state where Washington University can be found, in the city that hosted the 1904 Summer Olympics?", "answer": "Midwestern United States", "source": "musique", "difficulty": "multi_hop"} {"input": "when was guess who's coming to dinner made", "answer": "1967", "source": "nq", "difficulty": "simple"} {"input": "Stainby is a hamlet in the South Kesteven district of Lincolnshire, and is situated 2 mi west from the A1 road, the A1 is the longest numbered road in which country?", "answer": "UK", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who legalized the practice of christianity in the roman empire", "answer": "Constantine", "source": "nq", "difficulty": "simple"} {"input": "In what city was Sigrid D. Peyerimhoff born?", "answer": "[\"Rottweil\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are Umaru Musa Yar'adua University and Vishwa Vishwani Institute of Systems and Management located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Rafael Reyes born?", "answer": "[\"Cotija de la Paz\", \"Cotija\", \"Cotija de la Paz\"]", "source": "popqa", "difficulty": "simple"} {"input": "who plays madelines daughter in big little lies", "answer": "Kathryn Newton", "source": "nq", "difficulty": "simple"} {"input": "In which state is the Creighton University?", "answer": ["Education in Nebraska", "Transport in Nebraska", "Cornhusker state", "Religion in Nebraska", "Transportation in Nebraska", "The Cornhusker State", "Nebraska State Constitution", "37th State", "State of Nebraska", "US-NE", "Nebraska, United States", "Nebraska (U.S. state)", "Constitution of Nebraska", "Climate of Nebraska", "Culture of Nebraska", "Geography of Nebraska", "Demographics of Nebraska", "Nebraska Constitution", "Neb.", "Constitution of the State of Nebraska", "Nebrasca", "Thirty-seventh State", "Nebraska", "Politics of Nebraska", "Government of Nebraska", "Thirty-Seventh State", "Nebraska (state)", "Economy of Nebraska"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Will Smith's occupation?", "answer": "[\"screenwriter\", \"scenarist\", \"writer\", \"screen writer\", \"script writer\", \"scriptwriter\", \"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Sebastian Hofmann born?", "answer": "[\"Sinsheim\"]", "source": "popqa", "difficulty": "simple"} {"input": "what is the most important role of the flowers in a plant", "answer": "effect reproduction", "source": "nq", "difficulty": "simple"} {"input": "Who won the first all American French Open Men's Singles final for almost 40 years in the 90s?", "answer": "Jim Courier", "source": "triviaqa", "difficulty": "simple"} {"input": "When is the director of film The Voice In The Fog 's birthday?", "answer": "February 24, 1880", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "what type of snake is green and black", "answer": "mamba", "source": "nq", "difficulty": "simple"} {"input": "Write a function to find the n-th power of individual elements in a list using lambda function.", "answer": "def nth_nums(nums,n):\r\n nth_nums = list(map(lambda x: x ** n, nums))\r\n return nth_nums", "source": "mbpp", "task_id": "623", "test_cases": "assert nth_nums([1, 2, 3, 4, 5, 6, 7, 8, 9, 10],2)==[1, 4, 9, 16, 25, 36, 49, 64, 81, 100]\nassert nth_nums([10,20,30],3)==([1000, 8000, 27000])\nassert nth_nums([12,15],5)==([248832, 759375])", "difficulty": "code"} {"input": "Which Byron Edmund Walker founded institution was originally controlled by the Church of England?", "answer": "The University of Toronto", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In which stadium do the teams owned by Myra Kraft's husband play?", "answer": "Gillette Stadium", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Does Bill Wallace (Writer) have the same nationality as P.O?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What was the 70s No 1 hit for Hamilton, Joe Frank, & Reynolds?", "answer": ["Falling in Love (film)", "Fallin' In Love", "Falling in Love (album)", "Fallin' in Love (disambiguation)", "Falling in Love", "Fallin' in Love", "Falling in love (disambiguation)", "Falling in Love (song)"], "source": "triviaqa", "difficulty": "simple"} {"input": "What's Golden was included in an open world racing video game that was developed by Playground Games and published by who?", "answer": "Microsoft Studios", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Sam Storey born?", "answer": "[\"Belfast\", \"Béal Feirste\", \"Beal Feirste\", \"Belfast, Ireland\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which star of Hannah And Her Sisters has a child called Free?", "answer": ["Barbara Hershey", "Barbara seagull", "Barbara Lynn Herzstein", "Barbara Seagull"], "source": "triviaqa", "difficulty": "simple"} {"input": "When did weed become legal where marble for the lincoln memorial was sourced?", "answer": "January 2014", "source": "musique", "difficulty": "multi_hop"} {"input": "What was the first name at birth of the person who described the Anglican church as \"our beloved sister Church\"?", "answer": "Giovanni", "source": "musique", "difficulty": "multi_hop"} {"input": "Which film came out first, Sluttish (Film) or The Straight Way?", "answer": "The Straight Way", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Patrick Mulvany's occupation?", "answer": "[\"farmer\", \"agriculturist\", \"grower\", \"raiser\", \"cultivator\", \"agriculturer\", \"farmer (occupation)\", \"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Where did Soong Ching-Ling's husband die?", "answer": "Beijing", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "How many stores are in the major shopping centre that is served by the Garden City bus station?", "answer": "440", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In which theatre in Los Angeles did the late-night talk show host of \"Chelsea Lately\" host the 2010 MTV Video Music Awards?", "answer": "Nokia Theatre", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which film came out earlier, Mi Viudo Y Yo or El Siete Machos?", "answer": "El Siete Machos", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When was Ben Botica's father born?", "answer": "3 August 1963", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who was born first, Francis Nethersole or Elizabeth Stuart?", "answer": "Sir Francis Nethersole", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the name of Paul and Linda McCartney's only son?", "answer": ["James (film)", "James", "James City", "James (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who is the General Treasurer of the state The Conjuring takes place in?", "answer": "Seth Magaziner", "source": "musique", "difficulty": "multi_hop"} {"input": "who's hosting the super bowl in 2019", "answer": "Atlanta, Georgia", "source": "nq", "difficulty": "simple"} {"input": "What is Shirley Palmer's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "What suburban county on Long Island and the easternmost county in the U.S. state of New York is the location of a village called Lindenhurst?", "answer": "Suffolk County", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where did the director of film Taylor Mead'S Ass die?", "answer": "New York", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who is the father-in-law of Iset Ta-Hemdjert?", "answer": "Setnakhte", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "average life expectancy of a man in england", "answer": "79.4", "source": "nq", "difficulty": "simple"} {"input": "Which of the Friends cast has a son called Julian in real life?", "answer": ["Lisa Kudrow", "Lisa Valerie Kudrow"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which film tells of the exploits of singer Deco Duffe?", "answer": ["The Commitments (disambiguation)", "The Commitments"], "source": "triviaqa", "difficulty": "simple"} {"input": "what's the name of the latest james bond movie", "answer": "Spectre", "source": "nq", "difficulty": "simple"} {"input": "A country's city has both an Embassy of France and Pontus Segerström's team's home. When did the Alanders rejoin that country?", "answer": "December 1917", "source": "musique", "difficulty": "multi_hop"} {"input": "Spaceballs is a 1987 American comic science fiction film co-written, produced and directed by Mel Brooks, the film also features which American actor, businessman, and animal welfare advocate, best known for his role as patriarch Tom Bradford on the ABC television comedy-drama \"Eight Is Enough\"?", "answer": "Richard Vincent Van Patten", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Claire Adams's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the award that the director of film The River'S End (Film) earned?", "answer": "Academy Award for Best Adapted Screenplay", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What shares a border with Rivière-Verte in the province Les Hay Babies formed?", "answer": "Edmundston", "source": "musique", "difficulty": "multi_hop"} {"input": "who introduced the concept of providing alu in the computer system", "answer": "John von Neumann", "source": "nq", "difficulty": "simple"} {"input": "Which country the composer of song Songbird (Bernard Fanning Song) is from?", "answer": "Australia", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which country did Albert Einstein move to as the Nazis rose to power?", "answer": ["The United States of America", "United States Of Amerca", "Us of a", "U.–S.–A.", "Americaland", "United States (U.S.A.)", "Amurika", "Unite states of america", "United States of America (redirect)", "The U S A", "Unietd States", "EE UU", "The U.S.A.", "U.-S.-A.", "Usa", "United Staets of America", "Unites States", "États-Unis d'Amérique", "Verenigde State", "U.–S.", "The United States of America.", "The U-S-A", "EEUU", "U. S. A.", "Nagkaisang mga Estado", "The U. S. of America", "The USA", "America (United States)", "The U. S. A.", "U S of America", "UNITED STATES", "Estados Unidos", "The U–S", "American United States", "US and A", "Unitd states", "The US of A", "EE.UU.", "U-S", "The U-S", "Etymology of the United States", "U.S.A.)", "EE. UU.", "United states of america", "US of america", "Verenigde State van Amerika", "Nited States", "United-States", "Unite States", "Estados Unidos de América", "UnitedStates", "Estaos Unios", "US of America", "The Usa", "United states of America", "Untied States of America", "The U S of America", "THE AMERICAN UNITED STATES", "The United-States", "U S A", "AmericA", "Estados Unidos de America", "United states", "The U.S. of America", "Amerka", "United–States", "U.s.a.", "United States of America", "United State of America", "United States (US)", "The U.S. of A", "America", "Amercia", "Stati Uniti d'America", "Los Estados Unidos de America", "United Stated", "U.S.", "United States (of America)", "United States", "States of America", "America-class", "Los Estados Unidos", "U,S,", "United States (country)", "Federal United States", "ISO 3166-1:US", "Untied States", "The U.–S.–A.", "VS America", "Amurica", "Etats-Unis d'Amerique", "US", "U.S. OF A", "USofA", "Etats-Unis", "U.S. of A", "United States of America (U.S.A.)", "Amarica", "The United States", "U-S-A", "United States/Introduction", "The Us", "Unitesd states", "The U S of A", "America class", "America magazine", "الولايات المتحدة الأمريكية", "The U. S. of A", "U S", "(USA)", "The United–States", "United States (U.S.)", "U.-S.", "United States of America (USA)", "'merica", "The US", "United States of America.", "UNited States", "The U.S.", "AMERICA", "United States of America/OldPage", "United+States", "The U S", "United Sates", "THE UNITED STATES OF AMERICA", "U–S–A", "United States Of America", "U.S. of America", "U–S", "Los Estados Unidos de América", "The U.-S.", "United sates", "The United States Of America", "America (country)", "United States of American", "United state of america", "The U.–S.", "Amurka", "U. S. of A", "The U. S.", "United States America", "US of A", "États-Unis", "USoA", "USA", "Estaos Uníos", "America, United States of", "U. S. of America", "U.S.American", "(US)", "The U–S–A", "U. S.", "U.S. America", "U.S. A", "Yankee land", "America (US)", "U.S", "America (United States of)", "US (country)", "UNITED STATES OF AMERICA", "U.S.A", "Estados unidos", "Americia", "The US of america", "Vereinigte Staaten", "US America", "These United States of America", "VS Amerika", "Name of the United States", "The united states of america", "Estatos Unitos", "America (USA)", "The U.-S.-A.", "United States of America/Introduction", "The US of America", "Americophile", "V.S. America", "U.S.A.", "U S of A", "V.S. Amerika", "United+States+of+America", "The Unites States of America"], "source": "triviaqa", "difficulty": "simple"} {"input": "Where was the place of death of the director of film We Have Only One Life?", "answer": "Athens", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Scott McCuaig born?", "answer": "[\"Surrey\", \"Surrey, British Columbia\"]", "source": "popqa", "difficulty": "simple"} {"input": "What man, also known as mi Sde-Or, created a military self-defense system developed for the Israel Defense Forces?", "answer": "Emrich \"Imi\" Lichtenfeld", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who became the CEO of the record label of Til the End of Forever's performer?", "answer": "Peter Edge", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Zsuzsanna Németh born?", "answer": "[\"Budapest\", \"Buda Pest\", \"Buda-Pest\", \"Budapešť\", \"Budapesta\", \"Budapeszt\", \"Buda\", \"Ofen\", \"Budín\", \"Budim\", \"Budon\", \"Pest\", \"Pešť\", \"Pešta\", \"Óbuda\", \"Alt-Ofen\", \"Kőbánya\"]", "source": "popqa", "difficulty": "simple"} {"input": "When in 2017 did the chemical attack happen in one of the home countries of foreigners living in the country where Bengt Lagerberg's group comes from?", "answer": "4 April", "source": "musique", "difficulty": "multi_hop"} {"input": "The Flying Nun was based on which book?", "answer": ["Fifteenth Pelican", "Tere Rios", "Tere Ríos", "The Fifteenth Pelican", "Marie Teresa Ríos", "Marie Teresa Rios Versace", "Marie Teresa Rios"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Leigh Whannell's occupation?", "answer": "[\"screenwriter\", \"scenarist\", \"writer\", \"screen writer\", \"script writer\", \"scriptwriter\", \"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who was the first black man to receive the Nobel Peace Prize?", "answer": ["Dr. Ralph Bunche", "Ralph J Bunche", "Ralph Bunche", "Ralph J. Bunche", "Ralph Bunch", "Ralph Johnson Bunche"], "source": "triviaqa", "difficulty": "simple"} {"input": "Are the directors of films Nandanam (Film) and Safety Not Guaranteed both from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what political party was the man who officially opened he Royal Spa Centre in 1972?", "answer": "Conservative", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "\"Who did Mrs. Thatcher describe as \"\"a man we can do business with?\"\"\"", "answer": ["M. Gorbachev", "Gorbacheu", "Gorbachev", "Gorbačëv", "Gorbachoff", "Mihail Gorbacev", "Mikhail S. Gorbachev", "New thinking", "Michail Gorbatschow", "Gorbachav", "Mihail Sergeevic Gorbacev", "Gorbachevian", "M Gorbachev", "Mihail Gorbachev", "Gorbacev", "Mihail Gorbačëv", "Mikhael Gorbachev", "Mikael Gorbachev", "Mikhail Gorbachev", "January Proposal", "Irina Mihailovna Virganskaya", "Gorbatsiov", "Mihail Gorbaciov", "Mihail Gorbachyov", "Michail Gorbatsjov", "Михаил Сергеевич Горбачёв", "Mikhail Sergeyevich Gorbachev", "Mikhail Gorbačëv", "Irina Virganskaya", "Gorbatsof", "Mikhail Sergeyevich Gorbachov", "Gorbatschow", "Michael Gorbachev", "Mihail Sergeevič Gorbačëv", "Mihail Sergejevic Gorbacev", "Mikhail Gorbechev", "Gorbachyov", "Gorbachof", "Mihail Sergejevič Gorbačëv", "Михаил Горбачёв", "New Thinking", "Mikhail Gorbachyov", "Mikhail Gorbachov", "Gorbachov", "Mikhail Sergeyevich Gorbachyov"], "source": "triviaqa", "difficulty": "simple"} {"input": "when did justin bieber perform at madison square garden", "answer": "August 31, 2010", "source": "nq", "difficulty": "simple"} {"input": "When was the director of film Wings Of Glass born?", "answer": "10 March 1958", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are both villages, Khwein Elshaer and El Khoubna, located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Kristian Outinen born?", "answer": "[\"Copenhagen\", \"København\", \"CPH\", \"Köpenhamn\", \"Kööpenhamina\", \"Kopenhagen\", \"Kobenhavn\", \"Köbenhavn\", \"Hafnia\", \"Hafn\", \"Havn\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Julee Cruise born?", "answer": "[\"Creston\", \"Creston, Iowa\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what language was the New Testament originally written?", "answer": "In Greek", "source": "triviaqa", "difficulty": "simple"} {"input": "Lookwell was a television pilot written and produced by Conan O'rien and Robert Smigel, and was a personal favorite of what American television executive who was president of NBC from 1980-1991?", "answer": "Brandon Tartikoff", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when does star wars the last jedi play", "answer": "December 9, 2017", "source": "nq", "difficulty": "simple"} {"input": "who sings you say it best when you say nothing at all", "answer": ["Alison Krauss", "Ronan Keating", "Keith Whitley"], "source": "nq", "difficulty": "simple"} {"input": "What is Ivo Perilli's occupation?", "answer": "[\"screenwriter\", \"scenarist\", \"writer\", \"screen writer\", \"script writer\", \"scriptwriter\"]", "source": "popqa", "difficulty": "simple"} {"input": "what is the population of farmington new mexico", "answer": "41,629", "source": "nq", "difficulty": "simple"} {"input": "In what city was Marnus Labuschagne born?", "answer": "[\"Klerksdorp\"]", "source": "popqa", "difficulty": "simple"} {"input": "When was the first passport issued in the country that, along with the country of Eisenhower's VP, recognized Gaddafi's government early on?", "answer": "Between 1540 and 1685", "source": "musique", "difficulty": "multi_hop"} {"input": "What percentage of the country that Ferronigerite-2N1S is named after has HIV as of 2012?", "answer": "3.1 percent", "source": "musique", "difficulty": "multi_hop"} {"input": "How long was the rule of the dynasty that was active when the Rosetta Stone was inscribed?", "answer": "275 years", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Havergal Brian's occupation?", "answer": "[\"composer\"]", "source": "popqa", "difficulty": "simple"} {"input": "where is the common site for obtaining a pulse rate", "answer": ["the inside of the elbow", "on foot", "neck", "the groin", "behind the knee", "the wrist", "near the ankle joint"], "source": "nq", "difficulty": "simple"} {"input": "In what city was Grant Bramwell born?", "answer": "[\"Gisborne\", \"Gisborne, New Zealand\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who was the defending champion when Virginia Wade won the Wimbledon singles?", "answer": ["Chrissie Evert", "Chris Evert-Lloyd", "Christine Marie Evert", "Chris Evert", "Chris Evert Lloyd", "Christine Marie %22Chris%22 Evert", "Christine Evert", "Christine M. Evert"], "source": "triviaqa", "difficulty": "simple"} {"input": "monarch of canada date of entry into position", "answer": "6 February 1952", "source": "nq", "difficulty": "simple"} {"input": "Who wrote the song that was sung to the famous tune of the composer known as the Father of the Symphony?", "answer": "Ottokar Kernstock", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when was gst bill passed in the organization that elects the speaker of lok sabha?", "answer": "8 August 2016", "source": "musique", "difficulty": "multi_hop"} {"input": "What group of languages includes the old version of the language that the Quran was first translated in?", "answer": "Iranian languages", "source": "musique", "difficulty": "multi_hop"} {"input": "As of 2018, who is the minister of the state where hampi tourist place is located?", "answer": "H.D. Kumaraswamy", "source": "musique", "difficulty": "multi_hop"} {"input": "When did field hockey become an Olympic event for men?", "answer": ["one thousand, nine hundred and eight", "1908"], "source": "triviaqa", "difficulty": "simple"} {"input": "In which year was Bloody Sunday in Londonderry?", "answer": ["one thousand, nine hundred and seventy-two", "1972"], "source": "triviaqa", "difficulty": "simple"} {"input": "Henri Becquerel shared a Nobel prize for his work in discovering what?", "answer": ["Nuclear decay", "Atomic decay", "Nuclear Radiation", "Radioative process", "Decay law for radioactivity", "Activity (radioactivity)", "Radiation, Radioactivity", "Change of decay rate", "Radioactive decay law", "Atomic Decay", "Nuclear radiation", "Elements, radioactive", "Radio activity", "Radiation, nuclear", "Radioactive Decay", "Total activity", "Radioactivity", "Solar influence on radioactive decay", "Radioactive materials", "Radioactive decay", "Decay mode", "Quantum decay", "Decay, radioactive", "Radioactivite", "Nuclear Decay", "Decay rate", "Radioactive process", "Becquerel Rays", "Table of radioactive decay", "Subnuclear transformation", "Radioactive source", "Radioelement", "Radioactive"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who is Layla Bint Abi Murrah Al-Thaqafi's mother-in-law?", "answer": "Fatimah", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What nationality was James Henry Miller's wife?", "answer": "American", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are Lords Lake (South Dakota) and Lough Gill located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where was the director of film Ich Für Dich, Du Für Mich born?", "answer": "Berlin", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who starred in night of the living dead", "answer": ["Judith O'Dea", "Duane Jones"], "source": "nq", "difficulty": "simple"} {"input": "Do both films: Spain Again and Suburbicon have the directors from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Ebenezer Webster's occupation?", "answer": "[\"farmer\", \"agriculturist\", \"grower\", \"raiser\", \"cultivator\", \"agriculturer\", \"farmer (occupation)\", \"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Dominick Bellizzi's occupation?", "answer": "[\"jockey\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Billy McGinty born?", "answer": "[\"Glasgow\", \"Glasgow, Scotland\"]", "source": "popqa", "difficulty": "simple"} {"input": "where did the industrialization first begin in europe", "answer": "the United Kingdom", "source": "nq", "difficulty": "simple"} {"input": "Where did the director of film Malliswari (2004 Film) study?", "answer": "Sainik School", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Anti-Semetism in the 21st Century: The Resurgence was hosted by a journalist and writer who is an anchor of what show?", "answer": "PBS NewsHour", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "The leader of the Luftwaffe aligned with Germany with a country that is what constituent of a supranational organisation?", "answer": "European Union member state", "source": "musique", "difficulty": "multi_hop"} {"input": "who won cricket match between india and bangladesh", "answer": "India", "source": "nq", "difficulty": "simple"} {"input": "who led chinas naval exploration during the age of exploration", "answer": "Zheng He", "source": "nq", "difficulty": "simple"} {"input": "when did the green bay packers play in milwaukee", "answer": "from 1953 to 1994", "source": "nq", "difficulty": "simple"} {"input": "When was the composer of song I See Fire born?", "answer": "17 February 1991", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to caluclate the area of a tetrahedron.", "answer": "import math\r\ndef area_tetrahedron(side):\r\n area = math.sqrt(3)*(side*side)\r\n return area", "source": "mbpp", "task_id": "742", "test_cases": "assert area_tetrahedron(3)==15.588457268119894\nassert area_tetrahedron(20)==692.8203230275509\nassert area_tetrahedron(10)==173.20508075688772", "difficulty": "code"} {"input": "Who was born later, Lillian Lehman or Stanisław Niwiński?", "answer": "Lillian Lehman", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Elisa Bridges's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\", \"Playboy Playmate\", \"Playmate\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which liner launched in 1934 was the largest of her time?", "answer": ["Queen Mary (disambiguation)", "Mary (queen consort)", "Queen Mary of England", "Her Majesty Queen Mary", "Mary Regina", "Queen Marie", "Queen Mary", "Queen Maria"], "source": "triviaqa", "difficulty": "simple"} {"input": "Are both lakes, Lake Alice (Hubbard County, Minnesota) and Lai Da Ravais-Ch, located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who is the maternal grandfather of Countess Johanna Magdalene Of Hanau-Lichtenberg?", "answer": "Christian I", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Billy Flynn's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which King did Leonardo Di Caprio play in The Man in the Iron Mask?", "answer": ["Louis Xiv", "Louis Quatorze", "Louix XIV", "The King Sun", "Lewis Baboon", "Grand Monarque", "King Louis XIV of France", "L'etat c'est moi.", "King louis xiv", "Roi Soleil", "Mansour Al Cognosji XVI", "L'État, c'est moi", "Grand Roi", "Louis XIV", "L'Etat, c'est moi", "King Louis 14", "Louis Xiv Of France", "L'Etat c'est moi", "The Sun King", "L’état, c’est moi", "L'état, c'est moi", "King of France Louis XIV", "The Grand Monarque", "Louis the 14th", "I am the State", "Louis xiv", "King Louis XIV", "L'etat, c'est moi", "Louis 14", "Louis XIV, King of France", "Louis XIV of France", "Le Roi Soleil", "Sun King", "L'etat c'est moi", "Louis-Dieudonné", "Grand Siècle", "Ludvig XIV", "I am the state", "Louis-Dieudonne", "L'Etat c'est moi."], "source": "triviaqa", "difficulty": "simple"} {"input": "Do both directors of films The Troublemaker (1964 Film) and Father'S Doing Fine have the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "writer of the monk who sold his ferrari", "answer": "Robin Sharma", "source": "nq", "difficulty": "simple"} {"input": "What is the body of water by the city where Artur Mahraun was born?", "answer": "Fulda", "source": "musique", "difficulty": "multi_hop"} {"input": "Where does the eastern time zone change in the state where the Hello Love performer lived at the time of his death?", "answer": "Wayne County", "source": "musique", "difficulty": "multi_hop"} {"input": "how deep is ice in a hockey rink", "answer": "1 1/2\"", "source": "nq", "difficulty": "simple"} {"input": "Who was the first European to reach the country where the birthplace of Shi Na is located?", "answer": "A Roman diplomat or merchant", "source": "musique", "difficulty": "multi_hop"} {"input": "Which genus has more species, Fir or Chelone?", "answer": "Firs", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "last of the mohicans filming locations north carolina", "answer": ["Triple Falls", "DuPont State Recreational Forest", "Bridal Veil Falls", "Blue Ridge Mountains", "Lake James", "Hooker Falls", "High Falls", "Chimney Rock Park", "The Biltmore Estate", "Linville Falls"], "source": "nq", "difficulty": "simple"} {"input": "Which film was released first, Such Great Foolishness or Film Geek?", "answer": "Such Great Foolishness", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to abbreviate 'road' as 'rd.' in a given string.", "answer": "import re\r\ndef road_rd(street):\r\n return (re.sub('Road$', 'Rd.', street))", "source": "mbpp", "task_id": "812", "test_cases": "assert road_rd(\"ravipadu Road\")==('ravipadu Rd.')\nassert road_rd(\"palnadu Road\")==('palnadu Rd.')\nassert road_rd(\"eshwar enclave Road\")==('eshwar enclave Rd.')", "difficulty": "code"} {"input": "organic molecules that end in the suffix ase", "answer": "enzymes", "source": "nq", "difficulty": "simple"} {"input": "Write a function to remove all tuples with all none values in the given tuple list.", "answer": "def remove_tuple(test_list):\r\n res = [sub for sub in test_list if not all(ele == None for ele in sub)]\r\n return (str(res))", "source": "mbpp", "task_id": "920", "test_cases": "assert remove_tuple([(None, 2), (None, None), (3, 4), (12, 3), (None, )] ) == '[(None, 2), (3, 4), (12, 3)]'\nassert remove_tuple([(None, None), (None, None), (3, 6), (17, 3), (None,1 )] ) == '[(3, 6), (17, 3), (None, 1)]'\nassert remove_tuple([(1, 2), (2, None), (3, None), (24, 3), (None, None )] ) == '[(1, 2), (2, None), (3, None), (24, 3)]'", "difficulty": "code"} {"input": "who won the last triple crown in baseball", "answer": "Miguel Cabrera", "source": "nq", "difficulty": "simple"} {"input": "What is the record label for the performer of Blank Page?", "answer": "RCA Records", "source": "musique", "difficulty": "multi_hop"} {"input": "Who lived under the pseudonym of Harriet Brown in New York form the 40s to the 90s?", "answer": ["Garbo speaks", "Mona Gabor", "Garboesque", "Greta Gustafson", "Garbo, Greta", "Garbo Speaks", "Greta Garbo", "Greta Louisa Gustafsson", "Greta Lovisa Gustafsson", "Greta Garbo filmography", "Greta Gustafsson"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the passport-issuing authority in the country where S. Mahinda died?", "answer": "Department of Immigration and Emigration", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Koudai Tsukakoshi born?", "answer": "[\"Tochigi Prefecture\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who found the remains of the Titanic?", "answer": ["Bob Ballard", "Robert Duane Ballard", "Robert Ballard", "Robert %22Bob%22 Ballard", "Robert d. ballard"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to find length of the subarray having maximum sum.", "answer": "from sys import maxsize \r\ndef max_sub_array_sum(a,size): \r\n\tmax_so_far = -maxsize - 1\r\n\tmax_ending_here = 0\r\n\tstart = 0\r\n\tend = 0\r\n\ts = 0\r\n\tfor i in range(0,size): \r\n\t\tmax_ending_here += a[i] \r\n\t\tif max_so_far < max_ending_here: \r\n\t\t\tmax_so_far = max_ending_here \r\n\t\t\tstart = s \r\n\t\t\tend = i \r\n\t\tif max_ending_here < 0: \r\n\t\t\tmax_ending_here = 0\r\n\t\t\ts = i+1\r\n\treturn (end - start + 1)", "source": "mbpp", "task_id": "836", "test_cases": "assert max_sub_array_sum([-2, -3, 4, -1, -2, 1, 5, -3],8) == 5\nassert max_sub_array_sum([1, -2, 1, 1, -2, 1],6) == 2\nassert max_sub_array_sum([-1, -2, 3, 4, 5],5) == 3", "difficulty": "code"} {"input": "In what city was Vladimir Korotkov born?", "answer": "[\"Moscow\", \"Moskva\", \"Moscow, Russia\", \"Moskva Federal City, Russia\", \"Moscow, USSR\", \"Moskva, Russia\", \"City of Moscow\", \"Moscow, Russian Federation\", \"Moscow, Soviet Union\", \"Moscow, Russian SFSR\", \"Muscovite\", \"Moscovite\"]", "source": "popqa", "difficulty": "simple"} {"input": "who wrote the music for somewhere in time", "answer": "John Barry", "source": "nq", "difficulty": "simple"} {"input": "Write a function to merge two dictionaries into a single expression.", "answer": "import collections as ct\r\ndef merge_dictionaries(dict1,dict2):\r\n merged_dict = dict(ct.ChainMap({}, dict1, dict2))\r\n return merged_dict", "source": "mbpp", "task_id": "821", "test_cases": "assert merge_dictionaries({ \"R\": \"Red\", \"B\": \"Black\", \"P\": \"Pink\" }, { \"G\": \"Green\", \"W\": \"White\" })=={'B': 'Black', 'R': 'Red', 'P': 'Pink', 'G': 'Green', 'W': 'White'}\nassert merge_dictionaries({ \"R\": \"Red\", \"B\": \"Black\", \"P\": \"Pink\" },{ \"O\": \"Orange\", \"W\": \"White\", \"B\": \"Black\" })=={'O': 'Orange', 'P': 'Pink', 'B': 'Black', 'W': 'White', 'R': 'Red'}\nassert merge_dictionaries({ \"G\": \"Green\", \"W\": \"White\" },{ \"O\": \"Orange\", \"W\": \"White\", \"B\": \"Black\" })=={'W': 'White', 'O': 'Orange', 'G': 'Green', 'B': 'Black'}", "difficulty": "code"} {"input": "What is Ski Beatz's occupation?", "answer": "[\"record producer\", \"music producer\"]", "source": "popqa", "difficulty": "simple"} {"input": "Were Sonny Curtis and Archibald Douglas, 1St Duke Of Douglas of the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who was Super Bowl MVP the year after Joe Namath won it?", "answer": ["Len Dawson", "Lenny Dawson"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Germaine Aussey born?", "answer": "[\"Paris\", \"City of Light\", \"Paris, France\"]", "source": "popqa", "difficulty": "simple"} {"input": "What city holds the headquarters of the institute that gives out the IEEE Leon K. Kirchmayer Graduate Teaching Award award?", "answer": "Piscataway", "source": "musique", "difficulty": "multi_hop"} {"input": "Do both directors of films Adada and Fading Gigolo have the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who stars in the movie my cousin rachel", "answer": ["Rachel Weisz", "Holliday Grainger", "Pierfrancesco Favino", "Iain Glen", "Sam Claflin"], "source": "nq", "difficulty": "simple"} {"input": "Which city was the birthplace of the performer of Autobiography?", "answer": "Tampa", "source": "musique", "difficulty": "multi_hop"} {"input": "How many times did tennis legend Jimmy Connors win the US Open in the 1970s?", "answer": ["3", "Three", "three"], "source": "triviaqa", "difficulty": "simple"} {"input": "Benjamin Halfpenny was a footballer for a club that plays its home matches where?", "answer": "Select Security Stadium", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function to convert the given string of integers into a tuple.", "answer": "def str_to_tuple(test_str):\r\n res = tuple(map(int, test_str.split(', ')))\r\n return (res)", "source": "mbpp", "task_id": "715", "test_cases": "assert str_to_tuple(\"1, -5, 4, 6, 7\") == (1, -5, 4, 6, 7)\nassert str_to_tuple(\"1, 2, 3, 4, 5\") == (1, 2, 3, 4, 5)\nassert str_to_tuple(\"4, 6, 9, 11, 13, 14\") == (4, 6, 9, 11, 13, 14)", "difficulty": "code"} {"input": "Are the movies Riders Of The Sage and Moonwalker, from the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "The creation of Fontana Lake submerged Proctor, North Carolina and what other town?", "answer": "Judson", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where did Shannon Lee's father study?", "answer": "University of Washington", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which is currently more valuable, Temagami-Lorrain Mine or Meadowbank Gold Mine?", "answer": "Meadowbank Gold Mine", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Constantine of Kostenets born?", "answer": "[\"Kostenets\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Léon-Lévy Brunswick born?", "answer": "[\"Paris\", \"City of Light\", \"Paris, France\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which painter created the 'Beguiling of Merlin' and was closely associated with the later part of the Pre-Raphaelite movement?", "answer": "Edward Burne-Jones", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Aim's occupation?", "answer": "[\"disc jockey\", \"DJ\", \"dee jay\", \"dj\", \"D.J.\", \"disk jockey\", \"dee-jay\", \"deejay\", \"disquaire\", \"discaire\"]", "source": "popqa", "difficulty": "simple"} {"input": "In which category was Mrs. Doubtfire Oscar-nominated?", "answer": ["Best Editing", "Best Writing, Screenplay", "Best movie", "Best Adapted Screenplay", "Best Foreign Language Film", "Best Animated picture", "Best Movie", "Best Production Design", "Best Animated Film", "Best Original Song", "Best Makeup", "Best film", "Best Film Editing", "Best Animated Feature", "List of common film awards categories", "Best picture", "Best Sound Editing", "Best Cinematography", "Best Writing, Original Story", "Best Sound", "Best Film", "Best Sound Design", "Best Picture", "Best adapted screenplay", "Best Animated Feature Film", "Best Visual Effects"], "source": "triviaqa", "difficulty": "simple"} {"input": "Do both films Circle Of Friends (1995 Film) and Luponini From Chicago have the directors that share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to find the product of it’s kth index in the given tuples.", "answer": "def get_product(val) : \r\n\tres = 1\r\n\tfor ele in val: \r\n\t\tres *= ele \r\n\treturn res \r\ndef find_k_product(test_list, K):\r\n res = get_product([sub[K] for sub in test_list])\r\n return (res)", "source": "mbpp", "task_id": "645", "test_cases": "assert find_k_product([(5, 6, 7), (1, 3, 5), (8, 9, 19)], 2) == 665\nassert find_k_product([(6, 7, 8), (2, 4, 6), (9, 10, 20)], 1) == 280\nassert find_k_product([(7, 8, 9), (3, 5, 7), (10, 11, 21)], 0) == 210", "difficulty": "code"} {"input": "which two countries were the leading powers during the cold war", "answer": ["Soviet Union", "United States"], "source": "nq", "difficulty": "simple"} {"input": "Which film has the director died first, Eye Of The Eagle (1987 Film) or Tipi Da Spiaggia?", "answer": "Tipi Da Spiaggia", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "MindGamers is a 2015 Austrian science fiction film directed by who, the film stars Antonia Campbell-Hughes, a Northern Irish actress and former fashion designer, best known for appearing in Jack Dee's sitcom \"Lead Balloon\"?", "answer": "Andrew Goth", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Do director of film Chandirani and director of film Not Without Gisela have the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when was the birds nest stadium built for the beijing games", "answer": "September 2007", "source": "nq", "difficulty": "simple"} {"input": "Who was born earlier, Benjamin Abrams or Bobby Murdoch?", "answer": "Benjamin Abrams", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which country was the first to make catalytic converters compulsory?", "answer": ["ISO 3166-1:CH", "Svissland", "Etymology of Switzerland", "Confederation Helvetia", "Swizerland", "Confederatio Helvetica", "Environmental Integrity Group", "Confoederatio Helvetica", "Svizra", "SWITZERLAND", "Confédération suisse", "SwissEnergy", "Schweitz", "Švýcarsko", "Die Schweiz", "Schwitzerland", "Confederation suisse", "Der Schweiz", "Swiss Confederated States", "Suiza", "Switz", "Switzeland", "Schweiz", "Confederation Helvetica", "Switserland", "Suisse", "Schweizerische Eidgenossenschaft", "Switzerland information", "Confederaziun Svizra", "Switzer land", "Switzerland", "Land of the Switzers", "Swiss confederation", "Confœderatio Helvetica", "Swiss", "Confederation Suisse", "Confederation of Helvatia", "Land of the Swiss", "Confederaziun svizra", "Svizzera", "Swissland", "Swizterland", "Confédération Suisse", "Confederazione Svizzera", "Swiss Confederation"], "source": "triviaqa", "difficulty": "simple"} {"input": "what does the winner get of america's got talent", "answer": "one million dollars", "source": "nq", "difficulty": "simple"} {"input": "Do the bands Modest Mouse and Overseas (Band), originate from the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who plays glenn on the good doctor episode 7", "answer": "Titus Welliver", "source": "nq", "difficulty": "simple"} {"input": "Whose first hit was Maybellene in 1955?", "answer": ["Chuck Berrie", "Chuck Berry", "Charles Edward Anderson Berry", "Charles Edward Anderson %22Chuck%22 Berry", "Charles E. A. Berry", "Chuck Barry", "Charles Edward Berry", "Reelin' and Rockin", "Charles E. Berry"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who was the second American to win the Indianapolis 500 four times?", "answer": ["Al Unser Snr", "Al Unser", "Al Unser Senior", "Al Unser, Sr.", "Al Unser Sr.", "Al Unser Sr"], "source": "triviaqa", "difficulty": "simple"} {"input": "What country is in the middle of the source of the warm moist air mass over the Andes in the country of La Modelo de la calle Florida's director?", "answer": "Caroline Islands", "source": "musique", "difficulty": "multi_hop"} {"input": "For what event in February 1964 did evangelist Billy Graham break his strict rule against watching TV on Sunday?", "answer": "The Beatles' first appearance on The Ed Sullivan Show", "source": "triviaqa", "difficulty": "simple"} {"input": "Rakekniven was climbed in 1996 by a mountaineer that holds which nationality ?", "answer": "American", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function to count occurrence of a character in a string.", "answer": "def count_char(string,char):\r\n count = 0\r\n for i in range(len(string)):\r\n if(string[i] == char):\r\n count = count + 1\r\n return count", "source": "mbpp", "task_id": "666", "test_cases": "assert count_char(\"Python\",'o')==1\nassert count_char(\"little\",'t')==2\nassert count_char(\"assert\",'s')==2", "difficulty": "code"} {"input": "Where did the US side of the Band Aid concert take place?", "answer": ["Philedelphia", "City of brotherly love", "City of Brotherly Love", "The Quaker City", "Philadelphia", "Philadelphia, Pennsylvania", "Philadelphia, Pennsylvania, U.S.A.", "Philadelphia, Pa.", "List of nicknames for Philadelphia", "Philidalphia", "Philadelphia, United States", "Philadelphia, Pennsylvania, U.S.", "Philadelphia PA", "Philadelphia Suburban Rail", "Philadelphi", "Philadelphia, U.S.", "Philadelphia Regional Rail", "The City of Brotherly Love", "City of Philadelphia", "Philadelphia (Pennsylvania)", "Wiccacoa", "Philadelpia, Pennsylvania", "Philadelphia, USA", "Philadelphia, Philadelphia County, Pennsylvania", "Government of Philadelphia", "Philadelphia (PA)", "Philadelphia, Pennsylvania, USA", "Philadelphia (City)", "UN/LOCODE:USPHL", "The City That Loves You Back", "Philadelphia (Pa.)", "Phila.", "The Cradle of Liberty", "The city of brotherly love", "Philadelphia (city, Pennsylvania)", "Philidelphia", "Philadelphia, Pennsylvania, US", "Philadelphia Commuter Rail", "The City and County of Philadelphia, Pennsylvania", "Philadephia, Pennsylvania", "Philadelphia City", "Philadelphia Pennsylvania", "Philadelphia City Controller", "Philladelphia", "Political families of Philadelphia", "Philadelphia, Pa", "Philadelphia, PA", "The Birthplace of America", "Philadelpia, PA"], "source": "triviaqa", "difficulty": "simple"} {"input": "\"Touch\" is a song from an album released under which labels ?", "answer": "Syco Music and Columbia Records", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What American professional basketball player born in 1986 was awarded the Dave Gavitt Trophy during the 2007 Big East Men's Basketball Championship?", "answer": "Jeffrey Lynn Green", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Gloria Porras Valles born?", "answer": "[\"Baja California Sur\", \"South Lower California\", \"Free and Sovereign State of Baja California Sur\", \"South Territory of Baja California\", \"MX-BCS\", \"BCS\", \"MX03\", \"Estado de Baja California Sur\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Gerard Kennedy's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "who is the girl in transformers dark side of the moon", "answer": "Rosie Huntington-Whiteley", "source": "nq", "difficulty": "simple"} {"input": "What is Valgerður Bjarnadóttir's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "when is black lightning ep 6 coming out", "answer": "February 27, 2018", "source": "nq", "difficulty": "simple"} {"input": "Which film has the director who died earlier, A Night'S Adventure or Insaciable?", "answer": "A Night'S Adventure", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to find the frequency of each element in the given list.", "answer": "from collections import defaultdict \r\ndef freq_element(test_tup):\r\n res = defaultdict(int)\r\n for ele in test_tup:\r\n res[ele] += 1\r\n return (str(dict(res)))", "source": "mbpp", "task_id": "686", "test_cases": "assert freq_element((4, 5, 4, 5, 6, 6, 5, 5, 4) ) == '{4: 3, 5: 4, 6: 2}'\nassert freq_element((7, 8, 8, 9, 4, 7, 6, 5, 4) ) == '{7: 2, 8: 2, 9: 1, 4: 2, 6: 1, 5: 1}'\nassert freq_element((1, 4, 3, 1, 4, 5, 2, 6, 2, 7) ) == '{1: 2, 4: 2, 3: 1, 5: 1, 2: 2, 6: 1, 7: 1}'", "difficulty": "code"} {"input": "What was the autobiography of the first president of non-Apartheid South Africa called?", "answer": ["Long Walk to Freedom", "Long Walk To Freedom", "Long Walk to Freedom (book)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Leslie Nielsen trained in which of the armed services in WWII?", "answer": "Royal Canadian", "source": "triviaqa", "difficulty": "simple"} {"input": "How old was Harry Stevens when he married at the Caravilla Retirement Home, Wisconsin in 1984?", "answer": ["one hundred and four", "104"], "source": "triviaqa", "difficulty": "simple"} {"input": "When did the civil war start in the country that controlled the country Parita is located before the US stepped in?", "answer": "the mid-1960s", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Susan Soltero's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did the director of film A Whirlwind Of Whiskers die?", "answer": "June 19, 1981", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "6 Interpretations included the songwriter who performed in what band from 1985 to 1995?", "answer": "Requiem in White", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Clarence Beck born?", "answer": "[\"Harrisburg\", \"Capital of Pennsylvania\", \"Harrisburg, Pennsylvania\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are the movies For Better Or For Worse (Film) and Dance With Death (Film), from the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which country the director of film La Otra Y Yo is from?", "answer": "Spanish", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Manon born?", "answer": "[\"Bern\", \"Berne\", \"city of Bern\", \"Berna\"]", "source": "popqa", "difficulty": "simple"} {"input": "where does the blood in the pulmonary vein come from", "answer": "the lungs", "source": "nq", "difficulty": "simple"} {"input": "What is the population in the administrative territorial entity where Binh Hung Hoa Cemetery is located?", "answer": "8,426,100", "source": "musique", "difficulty": "multi_hop"} {"input": "WNP-3 and WNP-5 were constructed by the agency formed in which year?", "answer": "1957", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are Darband, Kurdistan and Alan, East Azerbaijan located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are both museums, Aksaray Museum and Jim Gatchell Memorial Museum, located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When was the island Luis Villafañe is from declared a U.S. territory?", "answer": "1898", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Richard Vaughan's occupation?", "answer": "[\"bishop\"]", "source": "popqa", "difficulty": "simple"} {"input": "Dean, from the same country as Samson, is located in which county?", "answer": "Halifax Regional Municipality", "source": "musique", "difficulty": "multi_hop"} {"input": "Which mountain range separates Kinnaur and Spiti from the manager of religious and regional political affairs?", "answer": "Himalaya mountains", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Sevil Atasoy born?", "answer": "[\"Istanbul\", \"İstanbul\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a python function to left rotate the bits of a given number.", "answer": "INT_BITS = 32\r\ndef left_Rotate(n,d): \r\n return (n << d)|(n >> (INT_BITS - d))", "source": "mbpp", "task_id": "799", "test_cases": "assert left_Rotate(16,2) == 64\nassert left_Rotate(10,2) == 40\nassert left_Rotate(99,3) == 792", "difficulty": "code"} {"input": "When did Britain withdraw from the country where Al Khawalid was from?", "answer": "1971", "source": "musique", "difficulty": "multi_hop"} {"input": "when did the golden knights join the nhl", "answer": "2017", "source": "nq", "difficulty": "simple"} {"input": "Lee Jun-fan played what character in \"The Green Hornet\" television series?", "answer": "Kato", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "How old is the female main protagonist of Catching Fire?", "answer": "16-year-old", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Do both films Happy Day (Film) and El Misterioso Señor Marquina have the directors from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "record amount of aces in a tennis match", "answer": "113", "source": "nq", "difficulty": "simple"} {"input": "What is Rose Beaudet's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which film has the director died first, King Solomon Of Broadway or Apaches Of Paris?", "answer": "Apaches Of Paris", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are both schools, Salt Brook Academy and Model Technical Higher Secondary Schools, located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when were the triplets born on this is us", "answer": "1980", "source": "nq", "difficulty": "simple"} {"input": "Who is the spouse of Seconda B's director?", "answer": "Anna Magnani", "source": "musique", "difficulty": "multi_hop"} {"input": "which second messenger molecule acts on the endoplasmic reticulum to release calcium ions", "answer": "Calcium ions", "source": "nq", "difficulty": "simple"} {"input": "who ran the first sub 4 minute mile", "answer": "Roger Bannister", "source": "nq", "difficulty": "simple"} {"input": "which delta is the largest delta in the world", "answer": "The Ganges-Brahmaputra Delta", "source": "nq", "difficulty": "simple"} {"input": "In what city was Joel Johnson born?", "answer": "[\"Elmore\", \"Elmore, Ohio\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which Confederate general failed to capture the Union Fort in the place where Charles I. Barber died?", "answer": "James Longstreet", "source": "musique", "difficulty": "multi_hop"} {"input": "When was the first significant city to lose its only daily paper founded?", "answer": "1824", "source": "musique", "difficulty": "multi_hop"} {"input": "when was the movie love me tender released", "answer": "November 15, 1956", "source": "nq", "difficulty": "simple"} {"input": "Which Hollywood star starred in the 50s show My Three Sons?", "answer": ["Fred McMurray", "Fred Macmurray", "Fred MacMurray"], "source": "triviaqa", "difficulty": "simple"} {"input": "Where in England was Dame Judi Dench born?", "answer": ["Park Grove (1895)", "York UA", "Yorkish", "UN/LOCODE:GBYRK", "York, UK", "Eoforwic", "Park Grove School", "York Ham", "The weather in York", "City of York", "York, England", "York, Yorkshire", "York ham", "County Borough of York", "YORK", "Eoferwic", "Park Grove Primary School", "York, North Yorkshire", "Yoisk", "York", "York (England)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which George invented the Kodak roll-film camera?", "answer": ["Eastman", "Eastman (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "What show helped launch the career of the performer of Sober?", "answer": "American Idol", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Yuriy Vernydub born?", "answer": "[\"Zhytomyr\", \"Zhitomir\", \"Žytómyr\", \"Žitómir\", \"Żytomierz\", \"Žitomir\"]", "source": "popqa", "difficulty": "simple"} {"input": "How many people are there in an official tug of war team?", "answer": ["8", "eight", "Eight"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who signed the Pacific Security Treaty with the USA in 1951?", "answer": ["Australia & New Zealand", "Australasia (continent)", "Austrailasia", "Australiasia", "Australiasian", "Australasia", "Australasians", "Austrailiasia", "A'asia", "Australia and New Zealand", "Australia and New Zealand (subregion)"], "source": "triviaqa", "difficulty": "simple"} {"input": "when was the original clash of the titans made", "answer": "1981", "source": "nq", "difficulty": "simple"} {"input": "Write a python function to check whether the roots of a quadratic equation are numerically equal but opposite in sign or not.", "answer": "def Check_Solution(a,b,c): \r\n if b == 0: \r\n return (\"Yes\") \r\n else: \r\n return (\"No\")", "source": "mbpp", "task_id": "840", "test_cases": "assert Check_Solution(2,0,-1) == \"Yes\"\nassert Check_Solution(1,-5,6) == \"No\"\nassert Check_Solution(2,0,2) == \"Yes\"", "difficulty": "code"} {"input": "who does the voice of chucky in seed of chucky", "answer": "Brad Dourif", "source": "nq", "difficulty": "simple"} {"input": "Was Howard Hawks a screenwriter of more productions than Arthur Berthelet", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when did the first ipod video come out", "answer": "September 12, 2006", "source": "nq", "difficulty": "simple"} {"input": "Which film has the director born first, Captain Phantom or Brasileirinho (Film)?", "answer": "Captain Phantom", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Do director of film Madness in the Method and director of film Pervert! share the same nationality?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is John Barnes's occupation?", "answer": "[\"monk\", \"monks\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which film has the director born earlier, Blonde Ice or Shadow (1956 film)?", "answer": "Blonde Ice", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "The American Aircraft Penetrator was modified from a helicopter produced by what nation's military?", "answer": "United States", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Babyface born?", "answer": "[\"Indianapolis\", \"Circle City\", \"Indy\", \"Naptown\", \"Crossroads of America\", \"Racing Capital of the World\", \"Amateur Sports Capital of the World\", \"INDPLS\", \"Indianapolis, Indiana\", \"India-no-place\", \"Railroad City\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which country the director of film Sleepless In New York is from?", "answer": "Swiss", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Rick Seibold has worked with what artist known for her role in \"Big Time Rush\"?", "answer": "Katelyn Tarver", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Everley Gregg's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "For which North American auto racing series launched by the Sports Car Club of America does Jack Baldwin drive a Porsche Cayman S?", "answer": "Pirelli World Challenge", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the actor who starred in School Spirit best known for?", "answer": "surgeon Major Frank Burns", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "where does the last name bermudez come from", "answer": "Spain", "source": "nq", "difficulty": "simple"} {"input": "What is the name of the business that George Dayton founded and later Bruce Dayton expanded?", "answer": "Target Corporation", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who was born first out of Axel Danielsson and David Tomblin?", "answer": "Axel Danielsson", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What are Spain and the country of citizenship of the singer of Be Someone Else collectively known as?", "answer": "Iberian Peninsula", "source": "musique", "difficulty": "multi_hop"} {"input": "When did humans begin living in the city George Treat is from?", "answer": "3000 BC", "source": "musique", "difficulty": "multi_hop"} {"input": "What latitude is defined as being the border of the continent where Holoviak Glacier is located?", "answer": "south of 60° S", "source": "musique", "difficulty": "multi_hop"} {"input": "Terry Pratchett's The Colour of Magic starred which star of Only Fools and Horses?", "answer": "Sir David John White", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the only major mountain ranged located between the Appalachian Mountains and the mountains higher than those which contain parts of the state where Icehouse Bottom is located?", "answer": "Interior Highlands", "source": "musique", "difficulty": "multi_hop"} {"input": "When was the largest growth by the Presbyterian Church in the country that the Manchu Dynasty expanded to from the country of the philosopher who accurately described evaporation?", "answer": "era of Guomindang", "source": "musique", "difficulty": "multi_hop"} {"input": "Who is the current chief justice in Amuria's country?", "answer": "Bart Magunda Katureebe", "source": "musique", "difficulty": "multi_hop"} {"input": "Sam Goody, who was run by Musicland Group, Inc., filed bankrupcy in which year?", "answer": "2006", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Derek Lamb born?", "answer": "[\"London\", \"London, UK\", \"London, United Kingdom\", \"London, England\", \"Modern Babylon\"]", "source": "popqa", "difficulty": "simple"} {"input": "Where did Axel Braun's father graduate from?", "answer": "University of Milan", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are the movies Commissioner Eyck and 3 Indian Tales, from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are director of film Sthree Sahasam and director of film That Malicious Age both from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where is the location of formation of Sanctuary's performer?", "answer": "Leyton", "source": "musique", "difficulty": "multi_hop"} {"input": "The 2000–01 NBA season was the Jazz's 27th season in the National Basketball Association, and 22nd season in Salt Lake City, Utah, after the retirement of Jeff Hornacek, the Jazz signed free agents John Starks, and who?", "answer": "Danny Manning", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are both The Barrier (1926 Film) and Hoboken Hollow from the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When did the state where Motley Slough Bridge is located become a right to work state?", "answer": "1954", "source": "musique", "difficulty": "multi_hop"} {"input": "Did both Carl Boese and Franco Zeffirelli direct and produce film?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who was the first Muslim elected president of the political party of Pradeep Tamta?", "answer": "Badruddin Tayyab Ji", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a python function to get the last element of each sublist.", "answer": "def Extract(lst): \r\n return [item[-1] for item in lst]", "source": "mbpp", "task_id": "893", "test_cases": "assert Extract([[1, 2, 3], [4, 5], [6, 7, 8, 9]]) == [3, 5, 9]\nassert Extract([['x', 'y', 'z'], ['m'], ['a', 'b'], ['u', 'v']]) == ['z', 'm', 'b', 'v']\nassert Extract([[1, 2, 3], [4, 5]]) == [3, 5]", "difficulty": "code"} {"input": "What major Albanian musical event did Aurela Gaçe win?", "answer": "Kënga Magjike", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who sings done for me with charlie puth", "answer": "American singer Kehlani", "source": "nq", "difficulty": "simple"} {"input": "Ardele Lister's employer is an instance of what?", "answer": "land-grant university", "source": "musique", "difficulty": "multi_hop"} {"input": "when did the price is right first air", "answer": "November 26, 1956", "source": "nq", "difficulty": "simple"} {"input": "Boxer Jack Dempsey hailed from which state?", "answer": ["Colorado (State)", "Colorful Colorado", "Special districts of Colorado", "Insignia of the State of Colorado", "List of military facilities in Colorado", "Coloradan", "Cuisines of Colorado", "Colorado (U.S. state)", "List of professional sports teams in Colorado", "Religion in Colorado", "Professional sport teams of Colorado", "Rocky Mountain Empire", "Thirty-eighth State", "38th State", "Coloradans", "Colorado, United States", "The Centennial State", "Colo.", "List of professional sports teams of Colorado", "Protected areas of Colorado", "Education in Colorado", "State of Colorado", "Columbine State", "Thirty-Eighth State", "Colorado (state)", "List of former professional sports teams of Colorado", "US-CO", "Colorado protected areas", "Mother of Rivers", "List of Colorado state insignia", "Fine arts in Colorado", "Climate of Colorado", "Professional sports in Colorado", "Colorado state nickname", "Emblems of the State of Colorado", "Colorado", "Colorado military facilities", "Demographics of Colorado", "Colorada", "Kolorado", "Culture of Colorado", "Colarado", "Centennial State", "CO (state)", "Buffalo Plains State", "Military facilities in Colorado"], "source": "triviaqa", "difficulty": "simple"} {"input": "When did the British/Irish digital television channel, which features Spliced, first launch?", "answer": "22 July 2002", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are Camassia and Chelone both native to North America?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who wrote take it easy by the eagles", "answer": ["Glenn Frey", "Jackson Browne"], "source": "nq", "difficulty": "simple"} {"input": "In what year does Demolition Man take place?", "answer": ["2032", "two thousand and thirty-two"], "source": "triviaqa", "difficulty": "simple"} {"input": "Are director of film Summer Bachelors and director of film Albeli (1955 Film) both from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who was the father of the president during the Sherman anti-trust act?", "answer": "John Scott Harrison", "source": "musique", "difficulty": "multi_hop"} {"input": "What agency owns Interstate 95 in the state where Prolyphic was born?", "answer": "Rhode Island Department of Transportation", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Rodrigo Arocena's occupation?", "answer": "[\"mathematician\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to add two lists using map and lambda function.", "answer": "def add_list(nums1,nums2):\r\n result = map(lambda x, y: x + y, nums1, nums2)\r\n return list(result)", "source": "mbpp", "task_id": "729", "test_cases": "assert add_list([1, 2, 3],[4,5,6])==[5, 7, 9]\nassert add_list([1,2],[3,4])==[4,6]\nassert add_list([10,20],[50,70])==[60,90]", "difficulty": "code"} {"input": "Tothill Fields was an 18th-century area of Westminster in the county of Middlesex, a historic county in south-east region of which country?", "answer": "England", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Wayne's World featured the actor who was a member of what Chicago comedy troupe?", "answer": "Second City Theatre", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What was Phil Collins' last UK No 1 of the 80s?", "answer": ["Another Day in Paradise (Jam Tronix song)", "Another day in paradise", "Another Day in Paradise"], "source": "triviaqa", "difficulty": "simple"} {"input": "star cast of kuch tum kaho kuch hum kahein", "answer": ["Mukesh Tiwari", "Govind Namdeo", "Richa Pallod", "Farida Jalal", "Fardeen Khan"], "source": "nq", "difficulty": "simple"} {"input": "What is Firaq Gorakhpuri's occupation?", "answer": "[\"poet\", \"poetess\", \"bard\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Montxu Miranda born?", "answer": "[\"Santurtzi\", \"Santurce\"]", "source": "popqa", "difficulty": "simple"} {"input": "what does ar stand for in a rifle", "answer": "ArmaLite Rifle", "source": "nq", "difficulty": "simple"} {"input": "Are The Great Commandment and The Night Is My Kingdom from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who plays al pacino in jack and jill", "answer": "Al Pacino", "source": "nq", "difficulty": "simple"} {"input": "Who initiated the General Strike of 1934 in the city Chen lived in 2005?", "answer": "longshoremen in every West Coast port", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Christopher Butson's occupation?", "answer": "[\"priest\", \"reverend\", \"priestess\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which University of Wisconsin has the highest enrolment figure?", "answer": ["Madison", "List of places named for James Madison", "Madison (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to find maximum of two numbers.", "answer": "def max_of_two( x, y ):\r\n if x > y:\r\n return x\r\n return y", "source": "mbpp", "task_id": "924", "test_cases": "assert max_of_two(10,20)==20\nassert max_of_two(19,15)==19\nassert max_of_two(-10,-20)==-10", "difficulty": "code"} {"input": "When was the director of film Without Fear Or Blame born?", "answer": "4 May 1951", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Jürgen W. Falter born?", "answer": "[\"Heppenheim\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Charles Hyder born?", "answer": "[\"Albuquerque\", \"Albuquerque, New Mexico\", \"ABQ\", \"Albuquerque, NM\", \"Albiuquerque, NM\", \"The Duke City\", \"Burque\", \"La Villa de Alburquerque\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which is the progenitor of the dingo, the Indian pariah dog or the Anglo-Français de Petite Vénerie?", "answer": "Indian pariah dog", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where was the Rumble in the Ali v Foreman fight in Zaire in 1974?", "answer": ["जंगल", "Jungle (terrain)", "Tropical jungle", "Jungle", "Jungles"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who directed the movie that Olympia Dukakis won an Academy Award for?", "answer": "Norman Jewison", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the place of birth of the director of film Magic Man (Film)?", "answer": "Hoboken", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was William Jack born?", "answer": "[\"Aberdeen\", \"Aiberdeen\", \"Granite City\", \"The Silver City\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which duo had a 60s No 1 with A World Without Love?", "answer": ["Peter and Gordon", "Peter & Gordon"], "source": "triviaqa", "difficulty": "simple"} {"input": "British band The Wanted's third album includes a song with a title about which Barbadian superstar?", "answer": "Rihanna", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Does Donald Heiney have the same nationality as Song Binbin?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In which school was the fictional character in \"The Simpsons\" which was voice by Marcia Wallace a teacher?", "answer": "Springfield Elementary School", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "what is the tallest building in baltimore city", "answer": "Transamerica Tower", "source": "nq", "difficulty": "simple"} {"input": "What was the first movie western called?", "answer": ["Josefa Jamarillo Carson", "Rope Thrower", "Christopher Carson", "Christopher Houston Carson", "Kit Carson", "Waa-Nibe", "Christopher %22Kit%22 Carson"], "source": "triviaqa", "difficulty": "simple"} {"input": "Pete Mount was the father of the American Basketball Player who was the first high school athlete on the cover of which publication?", "answer": "Sports Illustrated", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "How detailed is the description of the death of the Biblical figure who is central to the Road to Emmaus appearance?", "answer": "hour-by-hour account", "source": "musique", "difficulty": "multi_hop"} {"input": "Who was the mother of the lyricist of Groovejet?", "answer": "Janet Ellis", "source": "musique", "difficulty": "multi_hop"} {"input": "Are Wicked Blood and It Follows both from the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Jack Kachkar born?", "answer": "[\"Damascus\", \"Sham city\", \"Jasmine city\"]", "source": "popqa", "difficulty": "simple"} {"input": "What record label does the lyrist of Ain't No Other Man belong to?", "answer": "RCA Records", "source": "musique", "difficulty": "multi_hop"} {"input": "What was Hank Aaron's first Major League team?", "answer": ["List of Atlanta Braves captains", "The Atlanta Braves", "Boston Doves", "Boston Beaneaters (NL)", "Milwaukee Braves", "Boston Rustlers", "Atlanta Braves 1990s pitching rotation", "Braves Roster", "Braves", "Atlanta Braves", "Boston Braves To Milwaukee", "Boston Red Caps", "Atlanta Braves (sports)", "Tlanta braves", "Atlanta Braves 1990's pitching rotation", "Boston Beaneaters", "Atl braves", "The braves", "Red Caps Baseball"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which country the director of film Imperative (Film) is from?", "answer": "Polish", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Raimonds Vilde born?", "answer": "[\"Riga\", \"Rīga\", \"Ryga\", \"Rige\", \"Riia\", \"Rija\", \"Rīgõ\"]", "source": "popqa", "difficulty": "simple"} {"input": "names of the metropolitan municipalities in south africa", "answer": ["Mangaung Metropolitan Municipality", "Nelson Mandela Bay Metropolitan Municipality", "eThekwini Metropolitan Municipality", "City of Tshwane Metropolitan Municipality", "City of Johannesburg Metropolitan Municipality", "Buffalo City Metropolitan Municipality", "City of Ekurhuleni Metropolitan Municipality"], "source": "nq", "difficulty": "simple"} {"input": "Crawford House, in the same city as MusiConnects' headquarters and same state as Wellesley College in Mona Lisa smile, is an instance of what?", "answer": "hotels", "source": "musique", "difficulty": "multi_hop"} {"input": "What country was Nikolaus Friedrich von Thouret born in?", "answer": "Germany", "source": "musique", "difficulty": "multi_hop"} {"input": "Which politician's wife was acquitted in 1990 of defrauding US banks?", "answer": ["Imelda Romuáldez Marcos", "Imelda Romualdez Marcos", "Steel Butterfly", "Imelda Romualdez", "Imelda Remedios Visitacion Romualdez", "Remedios Trinidad Romualdez", "Marcos, Imelda", "Imelda Trinidad Romuáldez-Marcos", "Imelda Marcos", "Steel butterfly", "Imeldific", "Remedios T. Romualdez", "Imelda Remedios Visitacion Trinidad Romuáldez", "Imelda Trinidad Romualdez-Marcos", "Conjugal dictatorship", "Imelda Romualdez-Marcos", "Emelda marcos", "Imelda Collection", "Imelda (given name)", "Imelda Remedios Visitacion Trinidad Romuáldez Marcos", "Conjugal Dictatorship", "Amelda Marcos", "Steal Butterfly"], "source": "triviaqa", "difficulty": "simple"} {"input": "Talking Smack is an American talk show whose past hosts have included the current Intercontinental Champion in his what?", "answer": "seventh reign", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the fifth studio album by English musician George Harrison released as the follow-up to The album that was certified gold by the Recording Industry Association of America two days after release?", "answer": "Dark Horse", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where are the badlands located in the state where Bob Stenehjem was born?", "answer": "western North Dakota", "source": "musique", "difficulty": "multi_hop"} {"input": "who sings the theme song for miami vice", "answer": "Jan Hammer", "source": "nq", "difficulty": "simple"} {"input": "Where was the director of film La Descarriada born?", "answer": "Madrid", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Hendrik Gerritsz Pot born?", "answer": "[\"Haarlem\", \"Haarlem, North Holland\", \"Haerlem\"]", "source": "popqa", "difficulty": "simple"} {"input": "What type of species is a Boreo-arctic Montane species found in the most northerly of the abstract five major circles of latitude as shown on maps of the Earth?", "answer": "beetle", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who is the leader of the opposition in the singer Protoje's country?", "answer": "Peter Phillips", "source": "musique", "difficulty": "multi_hop"} {"input": "What does the L stand for in Patriot Games star Samuel L. Jackson's name?", "answer": "Leroy", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "how many episode shokugeki no soma season 3", "answer": "12", "source": "nq", "difficulty": "simple"} {"input": "\"What is the actual title of Leonardo da Vinci's \"\"Mona Lisa\"\"?\"", "answer": ["La Gioconda (disambiguation)", "La Gioconda", "La gioconda", "La Giaconda"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Barbara Harris born?", "answer": "[\"Philadelphia\", \"Philly\", \"City of Brotherly Love\", \"Cradle of Liberty\", \"Philadelphia, Pennsylvania\", \"City of Philadelphia\", \"Philadelphia, PA\"]", "source": "popqa", "difficulty": "simple"} {"input": "In which country did General Jaruzelski impose marital law in 1981?", "answer": ["Etymology of Poland", "Polish state", "Poleand", "Rzeczpospolita Polska", "Polland", "ISO 3166-1:PL", "Polskor", "Republic of Poland", "POLAND", "Fourth Poland", "Country- Poland", "Poleland", "Polska", "Poland", "Poland.", "Pols Land", "Polnd", "Po land", "Lenkija", "Bastarnia", "Pologne", "PolanD", "Polija", "Pole land", "Architecture of Poland", "Ploand"], "source": "triviaqa", "difficulty": "simple"} {"input": "When was the director of film Twist And Shout (Film) born?", "answer": "9 November 1948", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Ingvild Bryn born?", "answer": "[\"Voss\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which country does marathon man Abel Anton come form?", "answer": ["Islands of Spain", "España", "Reino de España", "Name of Spain", "Espagna", "Espańa", "Reino de Espana", "Espana", "Kingdom of the Spains", "The Spanish Society", "Espainia", "Mountains of Spain", "Regne d'Espanya", "The kingdom of Spain", "SPAIN", "Regne d'Espanha", "Espanya", "Espainiako Erresuma", "Etymology of Spain", "Spane", "ISO 3166-1:ES", "Spain", "Spanish Kingdom", "Kingdom of Spain", "El Reino de España", "El Reino de Espana"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which singer-songwriter was born on the same day as actor Billy Dee Williams?", "answer": ["Merle Haggard & the Strangers", "Merl haggard", "Merle Haggard and the Strangers", "Merle Haggard", "Haggard, Merle", "Merle Ronald Haggard"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which innovation for the car was developed by Prince Henry of Prussia in 1911?", "answer": ["Rear-window wiper", "Headlight washer", "Windshield wiper", "Windshield wipers", "Wipers (car)", "Headlamp wiper", "Windscreen wipers", "MAGIC VISION CONTROL", "Intermittent windshield wiper", "Windscreen washer", "Headlight wiper", "Headlamp washer", "Wiper blade", "Windshield washer", "Windscreen wiper"], "source": "triviaqa", "difficulty": "simple"} {"input": "correct order to read game of thrones books", "answer": ["A Game of Thrones", "A Dance with Dragons", "A Feast for Crows", "A Storm of Swords", "A Clash of Kings"], "source": "nq", "difficulty": "simple"} {"input": "Where did the director of film Alex Holeh Ahavah graduate from?", "answer": "London Film School", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "longest win streak in major league baseball history", "answer": "26", "source": "nq", "difficulty": "simple"} {"input": "What is the date of death of the director of film Garibaldi (Film)?", "answer": "3 June 1977", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "The Sia song \"Never Give Up\" is from the soundtrack of a film that is based on what non-fiction book?", "answer": "\"A Long Way Home\"", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Paolo Pellizzari's occupation?", "answer": "[\"photographer\", \"photog\", \"photographers\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a python function to choose points from two ranges such that no point lies in both the ranges.", "answer": "def find_Points(l1,r1,l2,r2): \r\n x = min(l1,l2) if (l1 != l2) else -1\r\n y = max(r1,r2) if (r1 != r2) else -1\r\n return (x,y)", "source": "mbpp", "task_id": "660", "test_cases": "assert find_Points(5,10,1,5) == (1,10)\nassert find_Points(3,5,7,9) == (3,9)\nassert find_Points(1,5,2,8) == (1,8)", "difficulty": "code"} {"input": "What legendary fire-breathing female monster had a lion's head, a goat's body and a dragon's tail?", "answer": ["The Chimera", "Oceania (Smashing Pumpkins album)", "My Love is Winter", "Oceania (The Smashing Pumpkins album)", "Violet Rays (The Smashing Pumpkins song)"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what present day country was Mehmet Hayri Bey born?", "answer": "Turkey", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to find the greatest common divisor (gcd) of two integers by using recursion.", "answer": "def recur_gcd(a, b):\r\n\tlow = min(a, b)\r\n\thigh = max(a, b)\r\n\tif low == 0:\r\n\t\treturn high\r\n\telif low == 1:\r\n\t\treturn 1\r\n\telse:\r\n\t\treturn recur_gcd(low, high%low)", "source": "mbpp", "task_id": "687", "test_cases": "assert recur_gcd(12,14) == 2\nassert recur_gcd(13,17) == 1\nassert recur_gcd(9, 3) == 3", "difficulty": "code"} {"input": "who sang the super mario bros super show theme song", "answer": ["Lou Albano", "Lou Albano and Danny Wells"], "source": "nq", "difficulty": "simple"} {"input": "What book contains a poem which, along with \"Beowulf\" and the \"Anglo-Saxon Chronicle\", preserves a legendary list of the kings of the Angles?", "answer": "Exeter Book", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who is the mother of the emperor under whom the empire conquering at around AD 43 the country carrying out the swallows experiment reached its greatest extent?", "answer": "Marcia", "source": "musique", "difficulty": "multi_hop"} {"input": "When was the director of film Black Rose Is An Emblem Of Sorrow, Red Rose Is An Emblem Of Love born?", "answer": "25 August 1944", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who plays the creator of Better Than a Hallelujah in the move I Can Only Imagine?", "answer": "Nicole DuPort", "source": "musique", "difficulty": "multi_hop"} {"input": "Do director of film The Subject and director of film La Terrazza share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where is the company that built Woodvale Historic District located?", "answer": "Rockhill Furnace, Pennsylvania", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When did the director of film Maigret Voit Rouge die?", "answer": "27 April 1996", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who starred in the drama about a member of Rose-Chrétien de la Neuville's profession and a Marine sergeant?", "answer": "Anna Sten", "source": "musique", "difficulty": "multi_hop"} {"input": "Which state does the drug stores, of which the CEO is Warren Bryant, are located?", "answer": "Hawaii", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Joseph Bova born?", "answer": "[\"Cleveland\", \"Cleveland, Ohio\", \"Cleveland, OH\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the urdu name of Afghan citizens living as refugee in a country other than Iran?", "answer": "Afghan Muhajreen", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Why is the state where Don Ebert was born known as the Show Me State?", "answer": "Missourians are known for being skeptical.", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a python function to check whether the word is present in a given sentence or not.", "answer": "def is_Word_Present(sentence,word): \r\n s = sentence.split(\" \") \r\n for i in s: \r\n if (i == word): \r\n return True\r\n return False", "source": "mbpp", "task_id": "897", "test_cases": "assert is_Word_Present(\"machine learning\",\"machine\") == True\nassert is_Word_Present(\"easy\",\"fun\") == False\nassert is_Word_Present(\"python language\",\"code\") == False", "difficulty": "code"} {"input": "In what city was Huo Liang born?", "answer": "[\"Shanghai\", \"Hu\", \"Shang Hai\", \"Shanghai, China\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Karim Abdel Aziz born?", "answer": "[\"Cairo\", \"Cairo, Egypt\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the place of birth of the director of film Chivalrous Charley?", "answer": "Brooklyn", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Paul Singer born?", "answer": "[\"Berlin\", \"Berlin, Germany\", \"Berlin (Germany)\", \"DE-BE\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who is older, Shallum Pires or Peter Franco?", "answer": "Peter Franco", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What was the original name of the Kansas City Chiefs?", "answer": ["Dallas Texans", "Dallas Texans (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to find the second smallest number in a list.", "answer": "def second_smallest(numbers):\r\n if (len(numbers)<2):\r\n return\r\n if ((len(numbers)==2) and (numbers[0] == numbers[1]) ):\r\n return\r\n dup_items = set()\r\n uniq_items = []\r\n for x in numbers:\r\n if x not in dup_items:\r\n uniq_items.append(x)\r\n dup_items.add(x)\r\n uniq_items.sort() \r\n return uniq_items[1]", "source": "mbpp", "task_id": "755", "test_cases": "assert second_smallest([1, 2, -8, -2, 0, -2])==-2\nassert second_smallest([1, 1, -0.5, 0, 2, -2, -2])==-0.5\nassert second_smallest([2,2])==None", "difficulty": "code"} {"input": "The President of Egypt that changed the Hamayouni Decree was born in what year?", "answer": "1928", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when was disney the fox and the hound first released", "answer": "1981", "source": "nq", "difficulty": "simple"} {"input": "In what city was Lois Bancroft Long born?", "answer": "[\"Stamford\", \"Stamford, Connecticut\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Guy Joseph Bonnet's occupation?", "answer": "[\"major general\", \"major-general\", \"MG\", \"Maj.Gen.\", \"M.Gen.\", \"two-star general\", \"Major general\"]", "source": "popqa", "difficulty": "simple"} {"input": "When was the person on the back of the bicentennial quarter appointed general of the military branch that William Maxwell served in?", "answer": "June 15, 1775", "source": "musique", "difficulty": "multi_hop"} {"input": "Who co- satrred with the actor who starred in several television series over more than five decades, including such popular roles as Bret Maverick in a 1959 episode of the Western comedy television series where A mean killer becomes jealous?", "answer": "Clint Eastwood", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What was Rambo's first name?", "answer": ["John (disambiguation)", "John (European rulers)", "%22John%22", "John (bishop)", "John (song)", "John"], "source": "triviaqa", "difficulty": "simple"} {"input": "Great Briton fought which country over the Falkland Islands?", "answer": ["Arxintina", "Argintina", "Argentyna", "آرژانتین", "República Argentina", "Land of silver", "Argentina", "ארגנטינה", "Arghantina", "Republica Argentina", "Argentine republic", "Аргентына", "Nación Argentina", "Argentinien", "Nacion Argentina", "Argie", "アルゼンチン", "Airgintín", "Аржентина", "Argentína", "Argentine Republic", "Argentīna", "Argentinean", "Argentiina", "The Argentine Republic", "Arxentina", "Արգենտինա", "Arc'hantina", "Argies", "Antonia Merce Y Luque", "People of Argintina", "ISO 3166-1:AR", "Argentinië", "אַרגענטינע", "Arjantin", "अर्जेन्टीना", "الأرجنتين", "Argentina Information", "Republic of Argentina", "Ariannin", "Argentina Republic", "Argentinie", "Argentinia", "Airgintin", "Argjentina"], "source": "triviaqa", "difficulty": "simple"} {"input": "Are both Lesser Slave Lake and Medeweger See located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When was the host that Renee Montagne succeeded born?", "answer": "May 16, 1947", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "The era Morse was influenced by began in which area of the continent home to the Tikhaya Sosna?", "answer": "seemingly in Italy", "source": "musique", "difficulty": "multi_hop"} {"input": "who wrote the song born to be wild", "answer": "Mars Bonfire", "source": "nq", "difficulty": "simple"} {"input": "What was the profession of New Yorker Garry Winogrand?", "answer": ["Photographist", "Photographer", "Freelance photographer", "Freelance Photography", "Photographr"], "source": "triviaqa", "difficulty": "simple"} {"input": "When did the empire that provided many students to Strasbourg university dissolve?", "answer": "1806", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to calculate the sum of all digits of the base to the specified power.", "answer": "def power_base_sum(base, power):\r\n return sum([int(i) for i in str(pow(base, power))])", "source": "mbpp", "task_id": "724", "test_cases": "assert power_base_sum(2,100)==115\nassert power_base_sum(8,10)==37\nassert power_base_sum(8,15)==62", "difficulty": "code"} {"input": "Which Swiss-born Californian first used an amplifier with a guitar?", "answer": ["Adolph Rickenbacker", "Adolph Rickenbacher", "Adolf Rickenbacker"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the French name of the bay into which the Big Salon River flows?", "answer": "Baie de Fundy", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "To ten thousand square miles, what is the area of Pennsylvania?", "answer": ["forty-four thousand, eight hundred and twenty area", "44820 area", "44,820 square miles"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Hieronymous Francken I born?", "answer": "[\"Herentals\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Walter Gay born?", "answer": "[\"Boston\", \"Beantown\", \"The Cradle of Liberty\", \"The Hub\", \"The Cradle of Modern America\", \"The Athens of America\", \"The Walking City\", \"The Hub of the Universe\", \"Bostonia\", \"Boston, Massachusetts\", \"Boston, MA\", \"Boston, Mass.\", \"Puritan City\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a python function to count the number of digits in factorial of a given number.", "answer": "import math \r\ndef find_Digits(n): \r\n if (n < 0): \r\n return 0;\r\n if (n <= 1): \r\n return 1; \r\n x = ((n * math.log10(n / math.e) + math.log10(2 * math.pi * n) /2.0)); \r\n return math.floor(x) + 1;", "source": "mbpp", "task_id": "845", "test_cases": "assert find_Digits(7) == 4\nassert find_Digits(5) == 3\nassert find_Digits(4) == 2", "difficulty": "code"} {"input": "How far north from Salzburg is the Austrian village that shares a name with a controversial German Pilsner or pale lager?", "answer": "33 km", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "where does the prime minister of israel live", "answer": "Jerusalem", "source": "nq", "difficulty": "simple"} {"input": "do you have to show your id to police in va", "answer": "not required to provide identification", "source": "nq", "difficulty": "simple"} {"input": "In what city was Rose Bampton born?", "answer": "[\"Lakewood\", \"Lakewood, Ohio\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who succeeded Theodore Roosevelt as President?", "answer": ["W.H. Taft", "Chief Justice Taft", "HoWard TaFt", "Big Bill Taft", "William Taft", "Billy Possum", "Taft Administration", "Howard Taft", "WH Taft", "Presidency of William Howard Taft", "Howard TaFt", "W. H. Taft", "Willliam H. Taft", "William H Taft", "Justice Taft", "William Howard Taft", "President Taft", "Taft (president)", "W H Taft", "HoWard Taft", "William H. Taft", "Willliam Howard Taft", "27th President of the United States"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the date of birth of the director of film Zwemplaats Voor Jongelingen Te Amsterdam?", "answer": "5 November 1866", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who is the new girl on price is right", "answer": "Amanda Shiflett", "source": "nq", "difficulty": "simple"} {"input": "How many people whose names were once called by others on new students live in the South American country discovered by the country having Jorge Gabriel?", "answer": "196,000-600,000", "source": "musique", "difficulty": "multi_hop"} {"input": "The producer of The Wreckage of Stars also produced albums for Texas in July, Everclear, and what other American metalcore band from Lancaster, Pennsylvania?", "answer": "August Burns Red", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where did the director of film Jane Eyre (1996 Film) die?", "answer": "Rome", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who was born first, Erland Van Lidth De Jeude or David Tatham?", "answer": "David Tatham", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Catherine Louise Sagal (born January 19, 1954) is an American actress and singer-songwriter, she's know as well for starring in the role of Cate Hennessy, on the show \"8 Simple Rules\", is an American sitcom, originally starring who as the father?", "answer": "John Ritter", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Whitney Williams has a chair on the board of a non-profit with Ben Affleck and what other company?", "answer": "williamsworks", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when is game of thrones next book coming out", "answer": "2018 or later", "source": "nq", "difficulty": "simple"} {"input": "What is the best-seller by Ruta Sepetys?", "answer": "Between Shades of Gray", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What percentage was the country where Guárico was located?", "answer": "5.1", "source": "musique", "difficulty": "multi_hop"} {"input": "\"According to the modern Olympics founder Baron de Coubertin, \"\"The essential thing is not conquering but...\"\" what?\"", "answer": "Fighting well", "source": "triviaqa", "difficulty": "simple"} {"input": "who did romeo miller play college basketball for", "answer": "Merritt College", "source": "nq", "difficulty": "simple"} {"input": "What is David Joyce's occupation?", "answer": "[\"lawyer\", \"attorney\", \"solicitor\", \"barrister\", \"lawyers\", \"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Nickelodeon was founded in 1979 by which company?", "answer": "Warner Amex", "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was William Collins born?", "answer": "[\"London\", \"London, UK\", \"London, United Kingdom\", \"London, England\", \"Modern Babylon\"]", "source": "popqa", "difficulty": "simple"} {"input": "who sings the hell song in the south park movie", "answer": "Metallica lead singer James Hetfield", "source": "nq", "difficulty": "simple"} {"input": "A Little Night Music was based on which non-musical film?", "answer": ["Sommarnattens leende", "Smiles of a Summer Night"], "source": "triviaqa", "difficulty": "simple"} {"input": "who played friar tuck in prince of thieves", "answer": "Mike McShane", "source": "nq", "difficulty": "simple"} {"input": "Which American animated television series created by Trey Parker and Matt Stone features a character called Butters who thinks up schemes to take over the world in its 86th episode?", "answer": "South Park", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What was the name of the band that starred Belinda Carlisle and released the album, Germicide in 1977?", "answer": "The Go-Go's", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In which state did Michael Jordan play college basketball?", "answer": ["N. Carolina", "North Carolina Division of Parks and Recreation", "North Carolina (USA State)", "Old North State", "North carolina", "State of North Carolina", "The land of the pines", "US-NC", "From Murphy to Manteo", "The Tar Heel State", "Education in North Carolina", "The Old North State", "North Carolina, United States", "North Carolina (USA state)", "12th State", "North Cackalacky", "North Carolina (state)", "From Manteo to Murphy", "North Carolinian", "Rip Van Winkle State", "Tar Heel State", "Twelfth State", "Tuckasiegee", "North Carolina (State)", "North Cackalack", "North Carolina (U.S. state)", "Land of the pines", "Tarheel State", "Map of north carolina", "Religion in North Carolina", "North Calorina", "North Carolina", "NC (state)", "Eastern vs Western North Carolina barbecue", "Manteo to Murphy", "Murphy to Manteo", "Carolina del Norte"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which director is American, Mark L. Lester or Ken Loach?", "answer": "Mark L. Lester", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Both Martha Stewart Living and Tall Timber Short Lines are considered what?", "answer": "magazine", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When did Swedish become the official language of the country having Embassy of France in the death city of Ernst Trygger?", "answer": "20th century", "source": "musique", "difficulty": "multi_hop"} {"input": "Which prince is Queen Elizabeth II's youngest son?", "answer": ["Eadweard", "Edward"], "source": "triviaqa", "difficulty": "simple"} {"input": "Barclay Henley was born in a city whose population at the 2010 census was what?", "answer": "7,585", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Were Anton Šoltis and Rolf Berggren from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "the individual best known for his work on behavior theory is", "answer": "George Casper Homans", "source": "nq", "difficulty": "simple"} {"input": "The Zambesi and which other river define the borders of Matabeleland?", "answer": ["Northern Province, South Africa", "Limpopo Province", "Limpopo (South African province)", "Northern Province (South Africa)", "Limpopo", "Northern Transvaal", "Limpopo province"], "source": "triviaqa", "difficulty": "simple"} {"input": "What country are K. R. Kaushik and Narendra Modi from?", "answer": "India", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which Gloria co-founded Ms magazine?", "answer": ["G. Steinem", "Gloria Marie Steinem", "If Men Could Menstruate", "Steinem", "Gloria Steinem"], "source": "triviaqa", "difficulty": "simple"} {"input": "who claimed a homeland in parts of turkey, the country where Zakho is located, and the country where Shiraz is located?", "answer": "Kurdish people", "source": "musique", "difficulty": "multi_hop"} {"input": "When did the currencies of the country that encompassed Catandica first come in circulation?", "answer": "16 June 1980", "source": "musique", "difficulty": "multi_hop"} {"input": "When was the director of film .Com For Murder born?", "answer": "28 April 1941", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who did the choreography for the movie the greatest showman", "answer": "Ashley Wallen", "source": "nq", "difficulty": "simple"} {"input": "who played jill abbott on the young and the restless", "answer": "Bond Gideon (1980)", "source": "nq", "difficulty": "simple"} {"input": "Where in Italy did a US military aircraft slice through the steel wire of a cable car in 1998?", "answer": ["Cavalese, Italy", "Cavalese", "Gaßlöss"], "source": "triviaqa", "difficulty": "simple"} {"input": "who has won the most titles in wwe", "answer": "John Cena", "source": "nq", "difficulty": "simple"} {"input": "On what date did a Canadian politician born January 2, 1979, succeed as leader of the New Democratic Party in Canada?", "answer": "October 1st", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "\"Which writer said, \"\" An atheist is a man who has no invisible means of support?\"\"\"", "answer": ["John Scantlebury Blenkiron", "Buchan, John, Sir", "Buchanesque", "John Blenkiron", "John Buchan, Baron Tweedsmuir", "John Buchan", "John, Sir Buchan", "Sir John Buchan", "Buchan, John", "Lord Tweedsmuir", "John Buchan, 1st Baron Tweedsmuir", "Baron Tweedsmuir of Elsfield", "John S. Blenkiron"], "source": "triviaqa", "difficulty": "simple"} {"input": "St James Street appears as a segment of Whitecross Street on the 1610 map of the Monmouth by an English historian best known as a mapmaker of what perior?", "answer": "Stuart period", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When did the country in which Ira Madiyama is set, leave the British Empire?", "answer": "February 4, 1948", "source": "musique", "difficulty": "multi_hop"} {"input": "Who is the spouse of the director of film Twilight (1945 Film)?", "answer": "Rosenda Monteros", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are both Carmen Souza and Alida Withoos from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are both villages, Halvehhani and Aq Bolagh, Qazvin, located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when was the colosseum in rome italy built", "answer": "AD 80", "source": "nq", "difficulty": "simple"} {"input": "On a computer keyboard which letter is between A and D?", "answer": ["🅢", "Ess", "Ⓢ", "S (letter)", "S", "⒮", "🄢", "S", "ⓢ", "🆂", "🅂"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Norman Crowther Hunt, Baron Crowther-Hunt's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "who plays the she elf in hobbit 2", "answer": "Evangeline Lilly", "source": "nq", "difficulty": "simple"} {"input": "Where does the Columbia river meet the ocean that contains the atoll where a deep water berth is available on Tuvalu?", "answer": "Columbia Bar", "source": "musique", "difficulty": "multi_hop"} {"input": "The Prancing Horse was used by which top Italian fighter ace?", "answer": "Count Francesco Baracca", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "John Severin was an American comics artist who had a 45 year stint with the magazine Cracked that was founded in what year?", "answer": "1958", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who wrote close encounters of the third kind", "answer": "Steven Spielberg", "source": "nq", "difficulty": "simple"} {"input": "Who did Roy Oswalt's team play in the playoffs?", "answer": "Red Sox", "source": "musique", "difficulty": "multi_hop"} {"input": "Who died first, Phil Emmanuel or Matiu Dickson?", "answer": "Matiu Dickson", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In which decade of the 20th century was James Belushi born?", "answer": ["The Fifties", "1950s", "1950-1959", "50's", "1950’s", "1950–1959", "Nineteen-fifties", "1950s (decade)", "1950ies", "1950's", "'50s", "195%3F", "Fifties"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Herlyn Espinal's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Thomas R. Whitney's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who was once considered the best kick boxer in the world, however he has been involved in a number of controversies relating to his \"unsportsmanlike conducts\" in the sport and crimes of violence outside of the ring.", "answer": "Badr Hari", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a python function to count occurences of a character in a repeated string.", "answer": "def count_Char(str,x): \r\n count = 0\r\n for i in range(len(str)): \r\n if (str[i] == x) : \r\n count += 1\r\n n = 10\r\n repititions = n // len(str) \r\n count = count * repititions \r\n l = n % len(str) \r\n for i in range(l): \r\n if (str[i] == x): \r\n count += 1\r\n return count", "source": "mbpp", "task_id": "684", "test_cases": "assert count_Char(\"abcac\",'a') == 4\nassert count_Char(\"abca\",'c') == 2\nassert count_Char(\"aba\",'a') == 7", "difficulty": "code"} {"input": "who has most superbowl wins afc or nfc", "answer": "NFC/NFL", "source": "nq", "difficulty": "simple"} {"input": "who features in birds in the trap sing mcknight", "answer": ["Kendrick Lamar", "21 Savage", "The Weeknd", "Kid Cudi", "Blac Youngsta", "André 3000", "Nav", "Young Thug featuring Quavo", "K. Forest", "Bryson Tiller"], "source": "nq", "difficulty": "simple"} {"input": "How long is the biggest celebration in the birthplace of Frits Goedgedrag?", "answer": "a month", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a python function to check whether the given number is odd or not using bitwise operator.", "answer": "def is_odd(n) : \r\n if (n^1 == n-1) :\r\n return True; \r\n else :\r\n return False;", "source": "mbpp", "task_id": "887", "test_cases": "assert is_odd(5) == True\nassert is_odd(6) == False\nassert is_odd(7) == True", "difficulty": "code"} {"input": "In what city was Dennis Havig born?", "answer": "[\"Powell\", \"Powell, Wyoming\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Percy Scholes born?", "answer": "[\"Leeds\"]", "source": "popqa", "difficulty": "simple"} {"input": "when does the season finale of andi mack come on", "answer": "August 13, 2018", "source": "nq", "difficulty": "simple"} {"input": "Which sitcom with Vickie Lawrence was a spin-off from the Carol Burnett Show?", "answer": ["Food Circus", "Reverend Lloyd Meechum", "Iola Boyland", "Naomi Oates", "Mama’s Family", "Mamma's family", "Buzz Harper", "Eunice Harper", "Thelma %22Mama%22 Harper", "Ellen harper", "Vinton %22Vint%22 Harper", "Sonia Harper", "Mama's Family", "Naomi harper", "Alvin Tutwiller", "Raytown (Mama's Family)", "Vinton harper", "Iola Boylen", "Ellen Jackson"], "source": "triviaqa", "difficulty": "simple"} {"input": "On 10 September 2012, who was in charge of the country where the city of Dusmareb is found?", "answer": "Hassan Sheikh Mohamud", "source": "musique", "difficulty": "multi_hop"} {"input": "What was the name of the US army airplane which flew a record 150 hours non-stop in 1929?", "answer": ["Question point", "Question Mark (computer science)", "Interrogation mark", "%3F", "︖", "؟", "Question Mark", "?", "Eroteme", "Questionmark", "Question mark (punctuation)", "Erotimatiko", "Inverted question", "❓", "%3F%3F%3F", "❔", "﹖", "՞", "Interrogation point", "Question mark", "Greek question mark", "Mirrored question mark"], "source": "triviaqa", "difficulty": "simple"} {"input": "How did the Japanese win the country where Nan-ao is located?", "answer": "First Sino-Japanese", "source": "musique", "difficulty": "multi_hop"} {"input": "Who is the spouse of the individual who appeared on the $20 bill in 1875?", "answer": "Elizabeth Schuyler Hamilton", "source": "musique", "difficulty": "multi_hop"} {"input": "who played tita in like water for chocolate", "answer": "Lumi Cavazos", "source": "nq", "difficulty": "simple"} {"input": "When did the owner of SS Vedic go out of business?", "answer": "1934", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Lillian Lawrence's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which man, Ben Bagdikian or Eddie Mekka, is most famous for his role as Carmine \"The Big Ragu\" Ragusa on the sitcom \"Laverne & Shirley\"?", "answer": "Eddie Mekka", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where did the leader of the largest European country after the collapse of the country that denied anything more than an advisory role in the Korean war die?", "answer": "Moscow", "source": "musique", "difficulty": "multi_hop"} {"input": "Who wrote the song that caused the Columbia Kingsmen to change their name to Sha Na Na?", "answer": "Richard Berry", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Raju Kaji Shakya born?", "answer": "[\"Dharan\"]", "source": "popqa", "difficulty": "simple"} {"input": "What did Arthur Blessitt carry with him on an around-the-world walk taking in 277 nations?", "answer": "A wooden cross", "source": "triviaqa", "difficulty": "simple"} {"input": "what brings in more money nba or nfl", "answer": "National Football League", "source": "nq", "difficulty": "simple"} {"input": "Filming of Time after Time was in the city named after whom?", "answer": "Saint Francis", "source": "musique", "difficulty": "multi_hop"} {"input": "How old would Rocky Marciano have been had he lived to the end of the 20th century?", "answer": ["76", "seventy-six"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who won the Princess Cup in 1997 with Monica Seles?", "answer": ["Ánna Sergéyevna Kúrnikova", "Anna Sergeyevna Kurnikova", "Anna Kournicova", "Anna kournikova", "Анна Курникова", "Anna Kurnikova", "Anna Kournikova", "AnnaKournikova", "Kournikova", "Анна Сергеевна Курникова", "Anna Sergeyevna Kournikova", "Kurnikova"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who was the first boxer to twice regain the world heavyweight title?", "answer": ["Float like a butter fly sting like a bee", "Louisville lip", "Ali shuffle", "Float like a butterfly and sting like a bee", "Cassius Marcellus Clay Junior", "Muhummad Ali", "Maryum Ali", "Cassius X", "Cassius Marcellus Clay, Junior", "Louisville Lip", "Muhammad Ali", "Muhammud Ali", "Khalilah 'Belinda' Ali", "Cassius Clay Junior", "Float like a butterfly sting like a bee", "Muhammad Ali (boxer)", "Cassius Marcellus Clay, Jr.", "Sonji Roi", "Ale Muhammad", "Cassius Marcellus Clay, Jr", "Cassius Marcellus Clay Jr.", "Cassius Marcellus Clay (Muhammad Ali)", "Cassius Clay, Junior", "Mohammed Alì", "Cassius Marcellus Clay Jr", "Muhamad Ali", "Yolanda Williams", "I am the greatest!", "Ali, Muhammad", "Cassius Clay", "Muhammet ali", "Yolanda 'Lonnie' Ali", "I am the greatest", "Cassius Clay, Jr.", "Muhammed Ali", "Cassius Clay Jr", "Cassius clay", "Lonnie Ali", "Cassius Clay, Jr", "May May"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Ivan III Drašković's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What disability did singer Al Hibbler have?", "answer": "He was blind", "source": "triviaqa", "difficulty": "simple"} {"input": "Where was the director of film The Sporting Duchess (1915 Film) born?", "answer": "New York", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Do both films, Laali and Gayby, have the directors who are from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which film has the director born earlier, Songs And Saddles or The Poor Little Rich Girl?", "answer": "The Poor Little Rich Girl", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what year was Oliver Stone born?", "answer": ["one thousand, nine hundred and forty-six", "1946"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to list out the list of given strings individually using map function.", "answer": "def listify_list(list1):\r\n result = list(map(list,list1)) \r\n return result", "source": "mbpp", "task_id": "857", "test_cases": "assert listify_list(['Red', 'Blue', 'Black', 'White', 'Pink'])==[['R', 'e', 'd'], ['B', 'l', 'u', 'e'], ['B', 'l', 'a', 'c', 'k'], ['W', 'h', 'i', 't', 'e'], ['P', 'i', 'n', 'k']]\nassert listify_list(['python'])==[['p', 'y', 't', 'h', 'o', 'n']]\nassert listify_list([' red ', 'green',' black', 'blue ',' orange', 'brown'])==[[' ', 'r', 'e', 'd', ' '], ['g', 'r', 'e', 'e', 'n'], [' ', 'b', 'l', 'a', 'c', 'k'], ['b', 'l', 'u', 'e', ' '], [' ', 'o', 'r', 'a', 'n', 'g', 'e'], ['b', 'r', 'o', 'w', 'n']]", "difficulty": "code"} {"input": "What administrative territorial entity is the residence of Hands Clean's performer located?", "answer": "LaSalle County", "source": "musique", "difficulty": "multi_hop"} {"input": "how many episodes are there in the tv series yellowstone", "answer": "9", "source": "nq", "difficulty": "simple"} {"input": "the optic nerve is known also as what cranial nerve", "answer": "cranial nerve II", "source": "nq", "difficulty": "simple"} {"input": "When did the civil war in the country where Perquin is located start?", "answer": "October 15, 1979", "source": "musique", "difficulty": "multi_hop"} {"input": "In the 70s George Lee was a world champion in which sport?", "answer": ["Aero-tow", "Hill soaring", "Glider towplane", "Glider pilot", "Gliding", "Glided", "Auto-tow", "Glidedly", "Winch-launching", "Glider towing", "Ground launch", "Glidingly", "Car-tow", "Glider tug", "Thermalling", "Towplane", "Winch-launch", "Aerotowing", "Thermal soaring", "Bungee launch", "Aerotow", "Sailplane tug"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which film was released earlier, Major Payne or The Flyin' Cowboy?", "answer": "The Flyin' Cowboy", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "what are the nine forms of mother durga", "answer": ["Mahagauri", "Skandamata", "Siddhidhatri", "Kaalratri", "Kushmanda", "Shailaputri", "Chandraghanta", "Brahmacharini", "Katyayini"], "source": "nq", "difficulty": "simple"} {"input": "Who claimed a homeland in parts of Turkey, the nation Shiraz is in, and the birth country of Uday Hussein's mother?", "answer": "Kurdish people", "source": "musique", "difficulty": "multi_hop"} {"input": "In 1997 James Cameron won an Oscar for which blockbuster?", "answer": ["S.S. Titanic", "HMS Titanic", "Rms titanic", "R. M. S. Titanic", "Titanic (ship)", "Provisioning of the RMS Titanic", "John van Billard", "RMS %22Titanic%22", "Royal Mail Steamer Titanic", "H.M.S. Titanic", "RMS TITANIC", "SS Titanic", "RMS Titanik", "Titanicc", "Eliza Gladys Milvina Dean", "Barbara Joyce West", "Titanick", "RMS titanic", "Titanic", "Titantic", "Provisioning (RMS Titanic)", "R.M.S Titanic", "S. S. Titanic", "Titanic victim", "Titanic Related Films", "RMS Titanick", "August Weikman", "Rms Titanic", "RMS Titanic", "RMS TITANTIC", "TitaniC", "Titanic passenger", "3909 04", "100th anniversary of the sinking of the RMS Titanic", "The Titanic", "R.M.S. Titanic"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Jerrold Katz born?", "answer": "[\"Washington, D.C.\", \"Washington\", \"Washington DC\", \"Washington, DC\", \"DC\", \"D.C.\", \"District of Columbia\", \"Washington, District of Columbia\", \"Washington D.C.\", \"The District\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Ruby Rose's occupation?", "answer": "[\"disc jockey\", \"DJ\", \"dee jay\", \"dj\", \"D.J.\", \"disk jockey\", \"dee-jay\", \"deejay\", \"disquaire\", \"discaire\", \"actor\", \"actress\", \"actors\", \"actresses\", \"television presenter\", \"host\", \"hostess\", \"TV host\", \"television host\", \"TV presenter\", \"TV anchor\", \"television anchor\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which direction would you travel from Ian Champion's birthplace to reach Southampton?", "answer": "north-west", "source": "musique", "difficulty": "multi_hop"} {"input": "when was the last time kansas state university was in the elite 8", "answer": "2018", "source": "nq", "difficulty": "simple"} {"input": "Gabe Turner has collaborated with the actor and film director who won his first Academy Award in which 1995 crime thriller?", "answer": "The Usual Suspects", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function to sort the given array by using heap sort.", "answer": "def heap_sort(arr):\r\n heapify(arr) \r\n end = len(arr) - 1\r\n while end > 0:\r\n arr[end], arr[0] = arr[0], arr[end]\r\n shift_down(arr, 0, end - 1)\r\n end -= 1\r\n return arr\r\n\r\ndef heapify(arr):\r\n start = len(arr) // 2\r\n while start >= 0:\r\n shift_down(arr, start, len(arr) - 1)\r\n start -= 1\r\ndef shift_down(arr, start, end):\r\n root = start\r\n while root * 2 + 1 <= end:\r\n child = root * 2 + 1\r\n if child + 1 <= end and arr[child] < arr[child + 1]:\r\n child += 1\r\n if child <= end and arr[root] < arr[child]:\r\n arr[root], arr[child] = arr[child], arr[root]\r\n root = child\r\n else:\r\n return", "source": "mbpp", "task_id": "940", "test_cases": "assert heap_sort([12, 2, 4, 5, 2, 3]) == [2, 2, 3, 4, 5, 12]\nassert heap_sort([32, 14, 5, 6, 7, 19]) == [5, 6, 7, 14, 19, 32]\nassert heap_sort([21, 15, 29, 78, 65]) == [15, 21, 29, 65, 78]", "difficulty": "code"} {"input": "What is Heath's occupation?", "answer": "[\"songwriter\", \"song writer\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Alexander Butlerov born?", "answer": "[\"Çistay\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the date of birth of the director of film Law Of The Border?", "answer": "2 September 1916", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Did the bands Kool & The Gang and The Rej3Ctz, originate from the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which film has the director who was born earlier, Honor Of The West or A Esposa Do Solteiro?", "answer": "A Esposa Do Solteiro", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to find whether an array is subset of another array.", "answer": "def is_subset(arr1, m, arr2, n): \r\n\thashset = set() \r\n\tfor i in range(0, m): \r\n\t\thashset.add(arr1[i]) \r\n\tfor i in range(0, n): \r\n\t\tif arr2[i] in hashset: \r\n\t\t\tcontinue\r\n\t\telse: \r\n\t\t\treturn False\r\n\treturn True", "source": "mbpp", "task_id": "706", "test_cases": "assert is_subset([11, 1, 13, 21, 3, 7], 6, [11, 3, 7, 1], 4) == True\nassert is_subset([1, 2, 3, 4, 5, 6], 6, [1, 2, 4], 3) == True\nassert is_subset([10, 5, 2, 23, 19], 5, [19, 5, 3], 3) == False", "difficulty": "code"} {"input": "when does star trek discovery season 2 start", "answer": "2019", "source": "nq", "difficulty": "simple"} {"input": "Which actor bought the island of Tetiaroa?", "answer": ["Marlon Brando Jr.", "Marlon brando", "Marlon Brando Jr", "Marlin Brando", "Marlon Brando, Jr.", "Brandoesque", "Marlon Brando", "Brando family"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the main subject of biographies of the composer who had an effect named after him?", "answer": "Wolfgang Amadeus Mozart", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Maja Gojković born?", "answer": "[\"Novi Sad\", \"Нови Сад\", \"Újvidék\", \"Ujvidek\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to find a path with the maximum average over all existing paths for the given square matrix of size n*n.", "answer": "M = 100\r\ndef maxAverageOfPath(cost, N): \r\n\tdp = [[0 for i in range(N + 1)] for j in range(N + 1)] \r\n\tdp[0][0] = cost[0][0] \r\n\tfor i in range(1, N): \r\n\t\tdp[i][0] = dp[i - 1][0] + cost[i][0] \r\n\tfor j in range(1, N): \r\n\t\tdp[0][j] = dp[0][j - 1] + cost[0][j] \r\n\tfor i in range(1, N): \r\n\t\tfor j in range(1, N): \r\n\t\t\tdp[i][j] = max(dp[i - 1][j], \r\n\t\t\t\t\t\tdp[i][j - 1]) + cost[i][j] \r\n\treturn dp[N - 1][N - 1] / (2 * N - 1)", "source": "mbpp", "task_id": "721", "test_cases": "assert maxAverageOfPath([[1, 2, 3], [6, 5, 4], [7, 3, 9]], 3) == 5.2\nassert maxAverageOfPath([[2, 3, 4], [7, 6, 5], [8, 4, 10]], 3) == 6.2\nassert maxAverageOfPath([[3, 4, 5], [8, 7, 6], [9, 5, 11]], 3) == 7.2 ", "difficulty": "code"} {"input": "where does the movie great outdoors take place", "answer": "Wisconsin", "source": "nq", "difficulty": "simple"} {"input": "What is the place of birth of the director of film Secrets Of The Underground?", "answer": "London", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Steve McDonald born?", "answer": "[\"Birmingham\", \"Birmingham, England\", \"Birmingham, West Midlands\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to find a pair with the highest product from a given array of integers.", "answer": "def max_product(arr): \r\n arr_len = len(arr) \r\n if (arr_len < 2): \r\n return None \r\n x = arr[0]; y = arr[1] \r\n for i in range(0, arr_len): \r\n for j in range(i + 1, arr_len): \r\n if (arr[i] * arr[j] > x * y): \r\n x = arr[i]; y = arr[j] \r\n return x,y", "source": "mbpp", "task_id": "922", "test_cases": "assert max_product([1, 2, 3, 4, 7, 0, 8, 4])==(7, 8)\nassert max_product([0, -1, -2, -4, 5, 0, -6])==(-4, -6)\nassert max_product([1, 3, 5, 6, 8, 9])==(8,9)", "difficulty": "code"} {"input": "What is Stevie Cameron's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Alonso Cano born?", "answer": "[\"Granada\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did the country to which the person who gave Chopin a loan for an apartment in September invited Chopin gain its independence from England?", "answer": "1314", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Annie Oakley born?", "answer": "[\"Darke County\", \"Darke County, Ohio\"]", "source": "popqa", "difficulty": "simple"} {"input": "what is the official language in the dominican republic", "answer": "Spanish", "source": "nq", "difficulty": "simple"} {"input": "What county is Clinton Derricks-Carroll birth place the capital of?", "answer": "Knox County", "source": "musique", "difficulty": "multi_hop"} {"input": "What position did the president of the US when goals 2000 was initiated hold previously?", "answer": "Arkansas Attorney General", "source": "musique", "difficulty": "multi_hop"} {"input": "For which movie did Katherine Hepburn win her third Oscar?", "answer": ["The Lion In Winter", "The Lion in Winter", "The lion in winter", "Lion in winter"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the pyramid building in the city where Terence Hallinan held a position?", "answer": "Transamerica Pyramid", "source": "musique", "difficulty": "multi_hop"} {"input": "Allkpop is a blog based in what Bergen County, New Jersey borough?", "answer": "Edgewater", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When was the director of film Return Of The Seven born?", "answer": "September 3, 1922", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where was the place of death of the director of film The Countess Of Paris?", "answer": "Hollywood", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Karen Redman's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What roles does American actress which Manfish featured in the motion picture debut of do play", "answer": "comic roles", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who featured with Bobby Brown on the No 1 She Ain't Worth It?", "answer": ["Glenn Medeiros", "Glen Medeiros", "Glenn Medieros", "Glenn medeiros", "Glen Medieros"], "source": "triviaqa", "difficulty": "simple"} {"input": "What was the name of Jed's nephew in The Beverly Hillbillies?", "answer": ["Dash Riprock", "The Beverly Hillbillies", "Granny (Beverly Hillbillies character)", "Jed Clampett", "The Clampets", "Beverley hill billies", "The Beverly Hill billies", "Margaret Drysdale", "Milburn Drysdale", "The Clampetts", "Elly May Clampett", "Beverley Hillbillies", "Jethro Bodine", "Beverly Hillbillies, The", "Jed %22JD%22 Clampett", "Dr. Roy Clyburn", "Beverley Hill billies", "Granny Moses", "Mr. Brewster", "The Beverley Hill billies", "Daisy Moses", "Beverly Hillbillies", "Beverly Hill billies", "The Beverley Hillbillies", "Pearl Bodine", "Jasper DePew", "Jethrene Bodine", "Daisy %22Granny%22 Moses"], "source": "triviaqa", "difficulty": "simple"} {"input": "Are the directors of both films Jetpiloter and Life Itself (2018 film) from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to check for the number of jumps required of given length to reach a point of form (d, 0) from origin in a 2d plane.", "answer": "def min_Jumps(a, b, d): \r\n temp = a \r\n a = min(a, b) \r\n b = max(temp, b) \r\n if (d >= b): \r\n return (d + b - 1) / b \r\n if (d == 0): \r\n return 0\r\n if (d == a): \r\n return 1\r\n else:\r\n return 2", "source": "mbpp", "task_id": "617", "test_cases": "assert min_Jumps(3,4,11)==3.5\nassert min_Jumps(3,4,0)==0\nassert min_Jumps(11,14,11)==1", "difficulty": "code"} {"input": "Write a function to remove all the words with k length in the given string.", "answer": "def remove_length(test_str, K):\r\n temp = test_str.split()\r\n res = [ele for ele in temp if len(ele) != K]\r\n res = ' '.join(res)\r\n return (res)", "source": "mbpp", "task_id": "772", "test_cases": "assert remove_length('The person is most value tet', 3) == 'person is most value'\nassert remove_length('If you told me about this ok', 4) == 'If you me about ok'\nassert remove_length('Forces of darkeness is come into the play', 4) == 'Forces of darkeness is the'", "difficulty": "code"} {"input": "What county borders the county where Buckhorn is located?", "answer": "El Dorado County", "source": "musique", "difficulty": "multi_hop"} {"input": "sound is a form of what kind of energy", "answer": "kinetic and potential", "source": "nq", "difficulty": "simple"} {"input": "Write a function to find numbers divisible by m and n from a list of numbers using lambda function.", "answer": "def div_of_nums(nums,m,n):\r\n result = list(filter(lambda x: (x % m == 0 and x % n == 0), nums)) \r\n return result", "source": "mbpp", "task_id": "883", "test_cases": "assert div_of_nums([19, 65, 57, 39, 152, 639, 121, 44, 90, 190],2,4)==[ 152,44]\nassert div_of_nums([1, 2, 3, 5, 7, 8, 10],2,5)==[10]\nassert div_of_nums([10,15,14,13,18,12,20],10,5)==[10,20]", "difficulty": "code"} {"input": "What Golden Globe nominated American actor from Juilliard School played a role in the 1986 romantic drama film, Children of a Lesser God, directed by Randa Haines?", "answer": "William Hurt", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When did the director of film Trouble With Trixie die?", "answer": "23 July 2006", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Sir Thomas Clarges, 3rd Baronet's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who is the mother of the leader under whose leadership the empire the term west comes from reach its greatest extent?", "answer": "Marcia", "source": "musique", "difficulty": "multi_hop"} {"input": "Which genus has a name derives from Greek words, Micromeria or Pamianthe?", "answer": "Micromeria", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When did Japan finish invading the country where Gyeongju bread was first baked?", "answer": "1598", "source": "musique", "difficulty": "multi_hop"} {"input": "Vehicles from which country use the international registration letters KWT?", "answer": ["ISO 3166-1:KW", "Kuwayt", "State of Kuwait", "KUW", "Kuwait", "الكويت", "Kuait", "Koweit", "Languages of Kuwait", "Administrative divisions of Kuwait", "Kowait", "Subdivisions of Kuwait", "Kuwaitis", "Kuwet", "Koweït", "State Kuwait", "Quwait", "Kuweit", "دولة الكويت"], "source": "triviaqa", "difficulty": "simple"} {"input": "who plays lance salisbury in home and away", "answer": "Angus McLaren", "source": "nq", "difficulty": "simple"} {"input": "What latitude is defined as being the border of the continent where Leckie Range is located?", "answer": "south of 60° S", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Wayne Cooper born?", "answer": "[\"Milan\", \"Milan, Georgia\"]", "source": "popqa", "difficulty": "simple"} {"input": "The World's Best Prom and Shape of the Moon, are films of which genre?", "answer": "documentary", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which Scottish singer, songwriter, and guitarist included calypso music in his influences and wrote the song Hey Gyp?", "answer": "Donovan", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Bryan Abrams, Sam Walters, Mark Calderon and Kevin Thornton formed which group?", "answer": ["Byran Abrahms", "Color Me Bad", "Mark Calderon", "Kevin Thornton (singer)", "Color Me Badd", "Colour Me Badd", "Color me bad", "Bryan Abrams"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the mosaic known as in the church that is located where the OTE Tower is?", "answer": "Christ in majesty (or Ezekiel's Vision)", "source": "musique", "difficulty": "multi_hop"} {"input": "Where is the ark that was built in the state with the Confederate Memorial in Nicholasville?", "answer": "Grant County", "source": "musique", "difficulty": "multi_hop"} {"input": "In which state is Harrah's Auto Collection situated?", "answer": ["Silver State", "Nevada, United States", "Sports in Nevada", "Geography of Nevada", "US-NV", "Nevada's Southern Boundary 1861-1867", "Transportation in Nevada", "The Sagebrush State", "NV (state)", "Education in Nevada", "Religion in Nevada", "Nevadian", "36th State", "The Battle Born State", "Thirty-Sixth State", "Nev.", "Demographics of Nevada", "Navada", "Nevada Annulment", "Nevada, USA", "Climate of Nevada", "Economy of Nevada", "Thirty-sixth State", "State of Nevada", "Politics of Nevada", "Nevadan", "Silver state", "Nevada (U.S. state)", "The Silver State", "Tikaboo Valley", "Nevada (state)", "Battle Born State", "Transport in Nevada", "Nevada"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which film has the director died earlier, Sweepstakes Winner or The Rocket From Calabuch?", "answer": "Sweepstakes Winner", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which James Bond film features a song by Louis Armstrong?", "answer": ["Ohmss", "OHMSS", "On Her Majesty's Secret Service", "On Her Majestys Secret Service", "On Her Majesty's Secret Service (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "What nationality is the director of film The Greatest Power?", "answer": "American", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When is the performer of song In Ankhon Ki Masti Ke 's birthday?", "answer": "8 September 1933", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When was the last time there was an eclipse in the country that shares a border with the state they filmed Some Like It Hot?", "answer": "July 11, 1991", "source": "musique", "difficulty": "multi_hop"} {"input": "where did the edict of worms take place", "answer": "the Heylshof Garden in Worms", "source": "nq", "difficulty": "simple"} {"input": "What is the position of the minister to the country from which the 13 colonies declared independence who negotiated a treaty in 1795?", "answer": "Chief Justice of the United States", "source": "musique", "difficulty": "multi_hop"} {"input": "Are the New Orleans Outfall Canals the same length as the Augusta Canal?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Leonida Tonelli's occupation?", "answer": "[\"mathematician\"]", "source": "popqa", "difficulty": "simple"} {"input": "Where was the director of film Radio Stories born?", "answer": "Madrid", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What shopping mall is the largest in south Texas, Malle del Norte or La Plaza Mall?", "answer": "La Plaza Mall", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Seif Sharif Hamad's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What British comedy film starred Robin Weaver?", "answer": "The Inbetweeners 2", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where was the place of death of the director of film Vikramaditya (Film)?", "answer": "Mumbai", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Does Tim Reid have the same nationality as Devon Martinus?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when was to kill a mocking bird made", "answer": "1960", "source": "nq", "difficulty": "simple"} {"input": "Are both director of film The Victory Leaders and director of film Dangerous to Know from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to generate all sublists of a given list.", "answer": "from itertools import combinations\r\ndef sub_lists(my_list):\r\n\tsubs = []\r\n\tfor i in range(0, len(my_list)+1):\r\n\t temp = [list(x) for x in combinations(my_list, i)]\r\n\t if len(temp)>0:\r\n\t subs.extend(temp)\r\n\treturn subs", "source": "mbpp", "task_id": "859", "test_cases": "assert sub_lists([10, 20, 30, 40])==[[], [10], [20], [30], [40], [10, 20], [10, 30], [10, 40], [20, 30], [20, 40], [30, 40], [10, 20, 30], [10, 20, 40], [10, 30, 40], [20, 30, 40], [10, 20, 30, 40]]\nassert sub_lists(['X', 'Y', 'Z'])==[[], ['X'], ['Y'], ['Z'], ['X', 'Y'], ['X', 'Z'], ['Y', 'Z'], ['X', 'Y', 'Z']]\nassert sub_lists([1,2,3])==[[],[1],[2],[3],[1,2],[1,3],[2,3],[1,2,3]]", "difficulty": "code"} {"input": "In what city was Diana Estrada born?", "answer": "[\"Mexico City\", \"Mexico D.F.\", \"Ciudad de México\", \"City of Mexico\", \"Mexico City, Mexico\", \"CDMX\", \"Mexico\"]", "source": "popqa", "difficulty": "simple"} {"input": "Do the movies The 10th Victim and Bunker Bean, originate from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Maurice Reymond de Broutelles born?", "answer": "[\"Geneva\", \"Genève\", \"Geneva GE\", \"Geneve\", \"Genf\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Samantha James born?", "answer": "[\"Los Angeles\", \"Los Angeles, California\", \"Pink City\", \"The town of Our Lady the Queen of the Angels of the Little Portion\", \"La La Land\", \"Tinsel Town\", \"City of Angels\", \"City of Los Angeles\", \"LA, California\", \"L.A.\", \"LA\", \"Double Dubuque\", \"Los Ángeles\", \"Los Angeles, CA\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who is the manufacturer of the 747 aircraft, with the name of the company whose downturn drastically affected Seattle's economy?", "answer": "Boeing Commercial Airplanes", "source": "musique", "difficulty": "multi_hop"} {"input": "who starred in the movie scent of a woman", "answer": ["Chris O'Donnell", "Al Pacino"], "source": "nq", "difficulty": "simple"} {"input": "What body of water is located in or next to the island that is fought over by Denmark and the world's fourth largest country?", "answer": "Nares Strait", "source": "musique", "difficulty": "multi_hop"} {"input": "when were air brakes first used on trucks", "answer": "the early 20th century", "source": "nq", "difficulty": "simple"} {"input": "who were the shudras was dedicated to whom", "answer": "Jyotirao Phule", "source": "nq", "difficulty": "simple"} {"input": "Where is the artwork based on the person who had arrived after cultures were already present in the Americas located?", "answer": "Indiana Statehouse", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the date of birth of the director of film Katanga Business?", "answer": "13 October 1952", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who is younger, Peter Quill (Footballer) or Alonzo T. Washington?", "answer": "Alonzo T. Washington", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "how many super bowl wins does the pittsburgh steelers have", "answer": "six", "source": "nq", "difficulty": "simple"} {"input": "countries that have independence day on 15th august", "answer": ["Congo, Republic of the", "India", "Korea, North", "Korea, South"], "source": "nq", "difficulty": "simple"} {"input": "who is the ceo of t rowe price", "answer": "William Stromberg", "source": "nq", "difficulty": "simple"} {"input": "Who was the county sharing a border with New Richmond's county named after?", "answer": "Alexander Hamilton", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to validate a gregorian date.", "answer": "import datetime\r\ndef check_date(m, d, y):\r\n try:\r\n m, d, y = map(int, (m, d, y))\r\n datetime.date(y, m, d)\r\n return True\r\n except ValueError:\r\n return False", "source": "mbpp", "task_id": "910", "test_cases": "assert check_date(11,11,2002)==True\nassert check_date(13,11,2002)==False\nassert check_date('11','11','2002')==True", "difficulty": "code"} {"input": "In what city was Georg Baumann born?", "answer": "[\"Russian Empire\", \"Tsarist Russia\", \"Imperial Russia\", \"Russia\", \"Empire of Russia\"]", "source": "popqa", "difficulty": "simple"} {"input": "Dr Donald John Pinkava, is a botanist, specialising in cacti and succulents, and he is the discoverer of some of their varieties, at which public metropolitan research university on five campuses across the Phoenix metropolitan area, and four regional learning centers throughout Arizona, he has which position?", "answer": "Professor Emeritus", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "where does the colorado river end in texas", "answer": "Bay City", "source": "nq", "difficulty": "simple"} {"input": "What is Mike Flanagan's occupation?", "answer": "[\"screenwriter\", \"scenarist\", \"writer\", \"screen writer\", \"script writer\", \"scriptwriter\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Henry Campbell-Bannerman's occupation?", "answer": "[\"diplomat\", \"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What wrestling promotion was formed by the current NEVER Openweight Champion?", "answer": "Pro Wrestling Fujiwara Group", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "what is a natural source of salicylic acid", "answer": "willow tree", "source": "nq", "difficulty": "simple"} {"input": "Who played Batman immediately before George Clooney?", "answer": ["Val Kilmer", "Val Kilmer filmography"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who helped resolve the dispute between Virginia and the US state donating Washington, D.C.?", "answer": "William R. Day", "source": "musique", "difficulty": "multi_hop"} {"input": "How did Kanye draw inspiration from U2, Led Zeppelin, and the band that performed Sweet Black Angel?", "answer": "melody and chord progression", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Malcolm David Kelley's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Darley Waddilove born?", "answer": "[\"Boroughbridge\", \"Boroughbridge, North Yorkshire\", \"Boroughbridge, West Riding of Yorkshire\", \"Boroughbridge, Yorkshire\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the capital of the county where the community of Sherman Acres is found?", "answer": "San Andreas", "source": "musique", "difficulty": "multi_hop"} {"input": "naruto shippuden ultimate ninja storm 4 release date", "answer": "February 9, 2016", "source": "nq", "difficulty": "simple"} {"input": "who did loyola beat for the national championship in 1963", "answer": "University of Cincinnati", "source": "nq", "difficulty": "simple"} {"input": "In what city was Ian Rutherford born?", "answer": "[\"Dunedin\", \"Dunedin, NZ\", \"Dunedin, New Zealand\", \"Dunedin City\"]", "source": "popqa", "difficulty": "simple"} {"input": "A combat flight simulator video game published by Konami and released in 2012 features missions including the attack on this location by the Empire of Japan on December 7, 1941?", "answer": "Pearl Harbor", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What range is Garfield Peak in the state where Aims community College is located a part of?", "answer": "Sawatch Range", "source": "musique", "difficulty": "multi_hop"} {"input": "How long was the Underdog show presented by an English comedian Julian Clary?", "answer": "six-week television series", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "how much does it cost to renew a cuban passport", "answer": "US$500", "source": "nq", "difficulty": "simple"} {"input": "What is the capital of the county containing the community of Lone Hickory in the state where John Kerry's running mate was a senator?", "answer": "Yadkinville", "source": "musique", "difficulty": "multi_hop"} {"input": "The era during which musical forms for dance began standardization started in what area of the continent where the mouth of the Tikhaya Sosna is located?", "answer": "seemingly in Italy", "source": "musique", "difficulty": "multi_hop"} {"input": "who won the popular vote in 2012 us presidential election", "answer": "Obama", "source": "nq", "difficulty": "simple"} {"input": "Tenth Avenue Freeze-Out is the second song on which of Bruce Springsteen's breakthrough album, that is the third studio album by American singer-songwriter Bruce Springstee?", "answer": "Born to Run", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Leigh Silverman was nominated for the 2014 Tony Award, Best Direction for a musical based on which short story ?", "answer": "The Ugliest Pilgrim", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the year of the event which occurred first, Vessel was released, or Debut was released?", "answer": "1993", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Golf star Vijay Singh comes form where?", "answer": ["Fiji Islands", "Pacific/Fiji", "Fidji", "Matanitu Ko Viti", "Fijis", "Fijian Islands", "Feejee", "Ripablik ăph Phījī", "Cannibal Isles", "Sovereign Democratic Republic of Fiji", "ISO 3166-1:FJ", "Name of Fiji", "Etymology of Fiji", "Fiji Islander", "Holidays in fiji", "Fiji's", "Republic of the Fiji Islands", "Matanitu Tugalala o Viti", "Fiji Archipelago", "Fiji Island", "Fidji Islands", "Chikoba", "Holidays in Fiji", "Tourism in Fiji", "Fiji", "Republic of Fiji"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Adam Darr's occupation?", "answer": "[\"composer\"]", "source": "popqa", "difficulty": "simple"} {"input": "In which county is William Conway's birthplace?", "answer": "Camden County", "source": "musique", "difficulty": "multi_hop"} {"input": "One of the football forwards who plays for SC Pinkafeld is from which European country that borders Austria?", "answer": "Slovenia", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is AFSCME Local 77, at the school where Eduardo Bonilla-Silver is a Sociology professor, an instance of?", "answer": "labor union", "source": "musique", "difficulty": "multi_hop"} {"input": "what is the real name of sleeping beauty", "answer": "Aurora", "source": "nq", "difficulty": "simple"} {"input": "What band was formed earlier, Better Than Ezra or the Melvins?", "answer": "The Melvins", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What band is the performer of The Downeaster Alexa a member of?", "answer": "Billy Joel Band", "source": "musique", "difficulty": "multi_hop"} {"input": "Where was the place of burial of Christiane Eberhardine Of Brandenburg-Bayreuth's husband?", "answer": "Wawel Cathedral", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who was first commander in chief of the military branch the Army Service Corps was part of after independence?", "answer": "Rob Lockhart", "source": "musique", "difficulty": "multi_hop"} {"input": "Party Never Ends is an album by the Romanian singer who studied at what college?", "answer": "Ovidius University", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who did ava jerome kill on general hospital", "answer": "Connie Falconeri", "source": "nq", "difficulty": "simple"} {"input": "What is Thanasis Pafilis's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Olegarius born?", "answer": "[\"Barcelona\", \"BCN\", \"B'na\", \"Barcelona, Spain\", \"Tarragona\", \"Tarraco\", \"Tarqon\", \"Tarragona, Spain\", \"Tarragona Spain\"]", "source": "popqa", "difficulty": "simple"} {"input": "In which country is the Bendorf bridge?", "answer": ["United States of Germany", "Tyskland", "Nimska", "Bundesdeutsch", "Vokietija", "Deuchland", "Germny", "GermanY", "FR Germany", "Almanya", "Federal Republic of Germany", "Jermany", "Geramny", "Etymology of Germany", "Nemska", "Germany", "Niemcy", "GERMANY", "ISO 3166-1:DE", "Land der Dichter und Denker", "Federal Republic Of Germany", "F.R. Germany", "Deutschland", "Bundesrepublik Deutschland", "BR Deutschland", "Germanio", "Thyskaland", "GerMany", "Germeny", "Teutonica", "Deutchland", "Duitsland", "THyskaland", "Alemanha", "Němska", "Foederal Republic of Germany"], "source": "triviaqa", "difficulty": "simple"} {"input": "When was the country that Parita is located in colonized by the nation containing All Saints Church, in the city that Gaddafi's Libya supposedly bombed in a terror attack?", "answer": "1698", "source": "musique", "difficulty": "multi_hop"} {"input": "From which European country did Angola achieve independence in 1975?", "answer": ["Portogało", "Republic of Portugal", "PORTUGAL", "Portekiz", "Portugallu", "O Papagaio", "ISO 3166-1:PT", "Portunga", "Phu-to-ga", "Potigal", "Portûnga", "Portugul", "An Phortaingéil", "Portugāle", "Portugale", "Portingale", "Potiti", "Portugali", "Portugall", "Portekîz", "Bo Dao Nha", "Portuguese Republic", "Portogallo", "Portugaul", "Portogalo", "Portyngal", "Yn Phortiugal", "Portugalio", "Portugál", "Portugual", "Portuga", "Portgual", "Portugalsko", "Portugaleje", "Phû-tô-gâ", "Portugalujo", "Portugalija", "Pertual", "Pòtigal", "Portugal", "Bồ Đào Nha", "Portugalska", "República Portuguesa", "Portiwgal", "Portugalėjė", "Portúgal", "Portegal", "An Phortaingeil", "Republica Portuguesa"], "source": "triviaqa", "difficulty": "simple"} {"input": "In which county is the city Clayton in the state to the north of Missouri?", "answer": "Clayton County", "source": "musique", "difficulty": "multi_hop"} {"input": "Do both films New Dawn (Film) and The War Of The Oxen (1920 Film) have the directors from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "The plaintiff in the civil suit Paul v. Clinton was born in which year ?", "answer": "1948", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who directed The Cable Guy?", "answer": ["Benjamin Stiller", "Benjamin Edward Stiller", "BEN STIiller", "Ben Stiller", "Quinlin Dempsey Stiller"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Ivan Kulichenko's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "When was the performer of song Liberation (Lippy Lou Song) born?", "answer": "12 July 1975", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Mookychick is an independent daily online magazine and community with more than 100,000 readers a month and over 5,000 forum members, content includes analysis of current sociopolitical events, social and cultural trends, alternative fashion, movies, books, music and arts and crafts from a feminist perspective, in contrast with feminist publications and communities such as which women's lifestyle magazine that is published six times a year, and is published by Debbie Stoller and Laurie Henzel?", "answer": "BUST", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In which films does Disha Patani who starred in M.S. Dhoni: The Untold Story appear?", "answer": "Hindi and Telugu films", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When did the performer of song G.I. Jive die?", "answer": "June 25, 1976", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Jason Reitman's occupation?", "answer": "[\"film director\", \"movie director\", \"director\", \"motion picture director\", \"screenwriter\", \"scenarist\", \"writer\", \"screen writer\", \"script writer\", \"scriptwriter\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Robin Williams born?", "answer": "[\"Christchurch\", \"Christchurch, New Zealand\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which district is LaHave in the same province as Kemptville part of?", "answer": "Lunenburg Municipal District", "source": "musique", "difficulty": "multi_hop"} {"input": "Girard city is located in a county with how many inhabitants ?", "answer": "39,134", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a python function to check whether a sequence of numbers has an increasing trend or not.", "answer": "def increasing_trend(nums):\r\n if (sorted(nums)== nums):\r\n return True\r\n else:\r\n return False", "source": "mbpp", "task_id": "680", "test_cases": "assert increasing_trend([1,2,3,4]) == True\nassert increasing_trend([4,3,2,1]) == False\nassert increasing_trend([0,1,4,9]) == True", "difficulty": "code"} {"input": "Who first coined the term paradigm for all the factors that influence the scientist's research?", "answer": ["Thomas Kuhn", "Kuhn, Thomas", "Thomas Samuel Kuhn", "Samuel Kuhn", "Thomas Khun", "Thomas S. Kuhn", "T. Kuhn", "T.S. Kuhn", "TS Kuhn", "Kuhn, Thomas S.", "T. S. Kuhn", "Kuhnian"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was the rapper who released The Gift born?", "answer": "San Francisco", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the minimum age requirement to buy a handgun in the state where Wartburg College is located?", "answer": "21 or older.", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to find the length of the longest sub-sequence such that elements in the subsequences are consecutive integers.", "answer": "def find_longest_conseq_subseq(arr, n): \r\n\tans = 0\r\n\tcount = 0\r\n\tarr.sort() \r\n\tv = [] \r\n\tv.append(arr[0]) \r\n\tfor i in range(1, n): \r\n\t\tif (arr[i] != arr[i - 1]): \r\n\t\t\tv.append(arr[i]) \r\n\tfor i in range(len(v)): \r\n\t\tif (i > 0 and v[i] == v[i - 1] + 1): \r\n\t\t\tcount += 1\r\n\t\telse: \r\n\t\t\tcount = 1\r\n\t\tans = max(ans, count) \r\n\treturn ans", "source": "mbpp", "task_id": "863", "test_cases": "assert find_longest_conseq_subseq([1, 2, 2, 3], 4) == 3\nassert find_longest_conseq_subseq([1, 9, 3, 10, 4, 20, 2], 7) == 4\nassert find_longest_conseq_subseq([36, 41, 56, 35, 44, 33, 34, 92, 43, 32, 42], 11) == 5", "difficulty": "code"} {"input": "What is Tobias Lindholm's occupation?", "answer": "[\"film director\", \"movie director\", \"director\", \"motion picture director\", \"screenwriter\", \"scenarist\", \"writer\", \"screen writer\", \"script writer\", \"scriptwriter\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are the University of West Florida and FH Joanneum both American Universities ?", "answer": "no", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Do both Juniper and Indigofera belong to the cypress family Cupressaceae?", "answer": "no", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function to sort the given array without using any sorting algorithm. the given array consists of only 0, 1, and 2.", "answer": "def sort_by_dnf(arr, n):\r\n low=0\r\n mid=0\r\n high=n-1\r\n while mid <= high:\r\n if arr[mid] == 0:\r\n arr[low], arr[mid] = arr[mid], arr[low]\r\n low = low + 1\r\n mid = mid + 1\r\n elif arr[mid] == 1:\r\n mid = mid + 1\r\n else:\r\n arr[mid], arr[high] = arr[high], arr[mid]\r\n high = high - 1\r\n return arr", "source": "mbpp", "task_id": "815", "test_cases": "assert sort_by_dnf([1,2,0,1,0,1,2,1,1], 9) == [0, 0, 1, 1, 1, 1, 1, 2, 2]\nassert sort_by_dnf([1,0,0,1,2,1,2,2,1,0], 10) == [0, 0, 0, 1, 1, 1, 1, 2, 2, 2]\nassert sort_by_dnf([2,2,1,0,0,0,1,1,2,1], 10) == [0, 0, 0, 1, 1, 1, 1, 2, 2, 2]", "difficulty": "code"} {"input": "Where can you find the show Network A Tonight where Network A are the call letters of the network that broadcasted Business Tonight?", "answer": "CNBC Asia", "source": "musique", "difficulty": "multi_hop"} {"input": "who plays gwen stacy in into the spiderverse", "answer": "Hailee Steinfeld", "source": "nq", "difficulty": "simple"} {"input": "\"Psychologist William Moulton Marston, inventor of the polygraph, or lie detector, also created a famous comic book heroine,. Who was she?\"\"\"", "answer": ["Wonder-woman", "Wonder women", "Wonder Lady", "Wonder Woman (undeveloped film)", "Wonder Woman (comic book)", "Wonder-Woman", "Wonder Woman: Spirit of Truth", "Wonder Tot", "Wonder Woman (movie)", "Wonderwoman", "Wonder woman", "Princess Diana (comics)", "WonderWoman", "Wonder Woman"], "source": "triviaqa", "difficulty": "simple"} {"input": "Christa McAuliffe died in an accident in what type of vehicle in 1986?", "answer": ["SPACE SHUTTLE", "Spaceshuttle", "Space shuttle launch", "Rockwell Space Shuttle", "Space shuttle", "Space Shuttles", "Sci.space.shuttle", "مكوك الفضاء", "Space Shuttle", "Space Transport System", "NASA shuttle", "Space shutle", "Space shuttle in popular culture", "Sci.space.history", "Space shuttles", "U.S. Space Shuttle"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the genus of the thrush found in and named after the country where the Koswatte junction is located?", "answer": "Zoothera", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to calculate the discriminant value.", "answer": "def discriminant_value(x,y,z):\r\n discriminant = (y**2) - (4*x*z)\r\n if discriminant > 0:\r\n return (\"Two solutions\",discriminant)\r\n elif discriminant == 0:\r\n return (\"one solution\",discriminant)\r\n elif discriminant < 0:\r\n return (\"no real solution\",discriminant)", "source": "mbpp", "task_id": "963", "test_cases": "assert discriminant_value(4,8,2)==(\"Two solutions\",32)\nassert discriminant_value(5,7,9)==(\"no real solution\",-131)\nassert discriminant_value(0,0,9)==(\"one solution\",0)", "difficulty": "code"} {"input": "What is Walter Köbel's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the population of the area where the author of At Home: A Short History of Private Life was born?", "answer": "645,911", "source": "musique", "difficulty": "multi_hop"} {"input": "Who was the first white music star to record on Atlantic, through its sister label Atco?", "answer": ["Bobby Darrin", "Bobby Darren", "Gyp the Cat", "Robert Cassotto", "Bobby Darin", "Bobby darin", "The Rinky Dinks", "Bobby daren", "Walden Robert Cassotto"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which film was released more recently, Unbroken: Path To Redemption or Armored (Film)?", "answer": "Unbroken: Path To Redemption", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who won the champions trophy 2017 cricket tournament", "answer": "Pakistan", "source": "nq", "difficulty": "simple"} {"input": "Where was the place of death of the director of film Never Say Quit?", "answer": "Hollywood", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who plays earl on my name is earl", "answer": "Jason Michael Lee", "source": "nq", "difficulty": "simple"} {"input": "Daryl Dragon used which name when he formed a 70s duo?", "answer": ["Captain (military)", "Captains", "Capt.", "Captain (United Kingdom)", "Capt", "Chief officer", "Chief officer (disambiguation)", "Captain (non-naval)", "Captain (football)", "Captain (UK)", "Captain rank", "The Captain (song)", "Captain (United Kingdom) (disambiguation)", "Kapitaen", "Cap'n", "Kaptyn", "Acting Captain", "Captain (spacecraft)", "Captain (title)", "The Captain", "Captain (rank)", "Cpt.", "Captain (military rank)", "Captain"], "source": "triviaqa", "difficulty": "simple"} {"input": "The university who was led to six national championships by Paul \"Bear\" Bryant, had its first ever Heisman Trophy winner drafted by what NFL team?", "answer": "New Orleans Saints", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Virginia Haviland's occupation?", "answer": "[\"librarian\", \"library staff\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Leslie Douglas Jackson born?", "answer": "[\"Brisbane\", \"Brisbane, Queensland\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who had a big 50s No 1 with A Big Hunk O' Love?", "answer": ["Elvis Aron Presley", "Oh, How I Love Jesus", "Elvis Presley's political beliefs", "He's Only a Prayer Away", "Jesse Garon Presley", "Elvis Pressly", "Elvis Pressley", "Elvis Aaron Pressly", "The King (entertainer)", "Elvis A. Presley", "Elvis prestly", "(Keep Your) Hands Off (Of It)", "Presleyesque", "It's No Fun Being Lonely", "Elvis Presley", "Mr. Aaron", "Ginger Alden", "Gladys Presley", "Political beliefs of elvis presley", "Cattle Call/Yodel", "Dainty Little Moonbeams", "Elvis The Pelvis", "I Asked the Lord", "Elvis discography", "Elvis", "Show Me Thy Ways, O, Lord", "Gladys Love Presley", "Jesse Presley", "Lovely Mamie", "Elvis presley", "Mary Lou Brown", "Elvis Presely", "Elvis Pres;ey", "Long, Lonely Highway", "Elvis aaron", "Death of Elvis Presley", "Elvis Presley discography", "Apron Strings", "Elvis Pres", "Frank Page (radio)", "Vernon Presley", "Little Mama", "Elvis Aron Pressley", "Gladys love presley", "Elivs", "Vernon Elvis Presley", "I Ain't About to Sing", "Elvis Aaron Presley", "Elvisesque", "Elvis Extravaganza", "Political beliefs of Elvis Presley", "Gladys Love Smith", "Elvis aron", "Elvis Presly", "Elvis Aaron Pressley", "Elvis presley discography", "Elvis Aron Pressly", "I Didn't Make It On Playing Guitar", "The King (actor-singer)", "Elvis Presley Discography", "Vernon and Gladys Presley", "Presley, Elvis"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is G.E.M.'s occupation?", "answer": "[\"singer-songwriter\", \"singer songwriter\", \"singer/songwriter\", \"singersongwriter\", \"singer-songwriter\"]", "source": "popqa", "difficulty": "simple"} {"input": "The painting The Scream was stolen form which city in 1994?", "answer": ["Municipality of Oslo", "City of Oslo", "History of Oslo", "NOOSL", "Tigerstaden", "List of books about Oslo", "Oslo", "Christiania, Norway", "UN/LOCODE:NOOSL", "Oslo (county)", "The weather in Oslo", "Kristiania, Norway", "Christiana, Norway", "Kristiania", "Olso", "Oslo, Norway"], "source": "triviaqa", "difficulty": "simple"} {"input": "What year was the winner of the 2016 Marrakesh ePrix born?", "answer": "1988", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "On what vegetable did an ancient Egyptian place his right hand when taking an oath?", "answer": "The onion. Its round shape symbolized eternity", "source": "triviaqa", "difficulty": "simple"} {"input": "Are both Simon Wincer and Patrice Leconte film directors?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who's on the 20 dollar note australia", "answer": ["John Flynn", "Mary Reibey"], "source": "nq", "difficulty": "simple"} {"input": "What county named for a hero in the French and Indian War and a general in the American Revolutionary War is represented by Assemblyman Kevin Byrne?", "answer": "Putnam County", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who won Super Bowl XX?", "answer": ["Chicago Bears", "Chicago Staleys", "Decatur Staleys", "Chicago Bears football", "Chicago bears", "Save Da Planet", "Chicago Gators"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who sang the title song for the Bond film You Only Live Twice?", "answer": ["Nancy sinatra", "For My Dad", "Country, My Way", "Nancy Sinatra", "How Does It Feel (album)"], "source": "triviaqa", "difficulty": "simple"} {"input": "who plays the part of susan in days of our lives", "answer": ["Eileen Davidson", "Brynn Thayer"], "source": "nq", "difficulty": "simple"} {"input": "Who played the title role in the film version of Jesus Christ Superstar?", "answer": ["Ted Neeley", "Ted Neely"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Jon Eikemo's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to iterate over all pairs of consecutive items in a given list.", "answer": "def pair_wise(l1):\r\n temp = []\r\n for i in range(len(l1) - 1):\r\n current_element, next_element = l1[i], l1[i + 1]\r\n x = (current_element, next_element)\r\n temp.append(x)\r\n return temp", "source": "mbpp", "task_id": "766", "test_cases": "assert pair_wise([1,1,2,3,3,4,4,5])==[(1, 1), (1, 2), (2, 3), (3, 3), (3, 4), (4, 4), (4, 5)]\nassert pair_wise([1,5,7,9,10])==[(1, 5), (5, 7), (7, 9), (9, 10)]\nassert pair_wise([1,2,3,4,5,6,7,8,9,10])==[(1, 2), (2, 3), (3, 4), (4, 5), (5, 6), (6, 7), (7, 8), (8, 9), (9, 10)]", "difficulty": "code"} {"input": "What job did the creator of Atlas Slave have?", "answer": "Italian painter", "source": "musique", "difficulty": "multi_hop"} {"input": "When did the relations between Israel and the country having Ephesus take a downturn?", "answer": "after the 2008–09 Gaza War", "source": "musique", "difficulty": "multi_hop"} {"input": "Who was born earlier, Faizal Yusof or Lenore Glen Offord?", "answer": "Lenore Glen Offord", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who was born first, Pablo Trapero or Aleksander Ford?", "answer": "Aleksander Ford", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What state had its bi-centenary of joining the Union a year after North Carolina?", "answer": ["RhodeIsland", "Villages of rhode island", "Rogue's Island", "Rhode Island Treasurer", "Rhode Island (U.S. state)", "Education in Rhode Island", "Rhode Island General Treasurer", "Rhode island agriculture", "Rhode Island and the Providence Plantations", "Demographics of Rhode Island", "Rhode island and providence plantations", "Rhode Island (state)", "State of Rhode Island", "R.I.", "Little Rhody", "Rhode Island Governor's Mansion", "The Ocean State", "Rhode Islanders", "Rhode Islander", "Symbols of Rhode Island", "Transport in Rhode Island", "Villages of Rhode Island", "Rhode Island and Providence Plantations", "R I", "R.i.", "Rhode Island", "Geography of Rhode Island", "Rhode Island Villages", "Religion in Rhode Island", "13th State", "The State of Rhode Island and Providence Plantations", "Ocean State", "Culture of Rhode Island", "State of Rhode Island and Providence Plantations", "Rode Island", "Rhode Island, United States", "Sports in Rhode Island", "Economy of Rhode Island", "Rhode island", "Transportation in Rhode Island", "Climate of Rhode Island", "Thirteenth State", "US-RI", "Rhode Island cuisine", "RI", "Road Island"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Paul Walker born?", "answer": "[\"Kilwinning\", \"The Crossroads of Ayrshire\"]", "source": "popqa", "difficulty": "simple"} {"input": "How old was Macaulay Culkin when he was cast for his role in Home Alone?", "answer": ["9", "nine", "Nine"], "source": "triviaqa", "difficulty": "simple"} {"input": "what episode does angelina leave in season 2", "answer": "10", "source": "nq", "difficulty": "simple"} {"input": "who won the mens money in the bank match", "answer": "Braun Strowman", "source": "nq", "difficulty": "simple"} {"input": "In what show did Cynthia Nixon receive the 2004 Primetime Emmy Award for Outstanding Supporting Actress in a Comedy Series and a Screen Actors Guild Award for her performance?", "answer": "Sex and the City", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When was the person on the back of the bicentennial quarter appointed the general of the military branch James Mitchell Varnum served in?", "answer": "June 15, 1775", "source": "musique", "difficulty": "multi_hop"} {"input": "Who was the original host of The Price Is Right?", "answer": ["William Lawrence Cullen", "Bill Cullen"], "source": "triviaqa", "difficulty": "simple"} {"input": "what is it called when you have sudden mood changes", "answer": "A mood swing", "source": "nq", "difficulty": "simple"} {"input": "In 1978 US Masters, who was leading Gary Player by seven strokes, only to lose by a single stroke?", "answer": ["Hubie Green", "Hubert Green"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the date of death of the director of film Faustine Et Le Bel Été?", "answer": "9 April 2015", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which actor starring in \"Lisa Picard Is Famous\" was born in Douglas County?", "answer": "Laura Ellen Kirk", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "where did the vegas hockey team come from", "answer": "Vegas", "source": "nq", "difficulty": "simple"} {"input": "Write a function to flatten the given tuple matrix into the tuple list with each tuple representing each column.", "answer": "def matrix_to_list(test_list):\r\n temp = [ele for sub in test_list for ele in sub]\r\n res = list(zip(*temp))\r\n return (str(res))", "source": "mbpp", "task_id": "652", "test_cases": "assert matrix_to_list([[(4, 5), (7, 8)], [(10, 13), (18, 17)], [(0, 4), (10, 1)]]) == '[(4, 7, 10, 18, 0, 10), (5, 8, 13, 17, 4, 1)]'\nassert matrix_to_list([[(5, 6), (8, 9)], [(11, 14), (19, 18)], [(1, 5), (11, 2)]]) == '[(5, 8, 11, 19, 1, 11), (6, 9, 14, 18, 5, 2)]'\nassert matrix_to_list([[(6, 7), (9, 10)], [(12, 15), (20, 21)], [(23, 7), (15, 8)]]) == '[(6, 9, 12, 20, 23, 15), (7, 10, 15, 21, 7, 8)]'", "difficulty": "code"} {"input": "Who was born first out of Michelle Tong and Eugene Mcdowell?", "answer": "Eugene Mcdowell", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who achieved fame starring alongside John Richard Schneider in a television series?", "answer": "Tom Wopat", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who was the mermaid in pirates of the caribbean 4", "answer": "Àstrid Bergès-Frisbey", "source": "nq", "difficulty": "simple"} {"input": "Are both villages, Shakheh-Ye Sofla and Rig Sefid, Zagheh, located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Andy C's occupation?", "answer": "[\"disc jockey\", \"DJ\", \"dee jay\", \"dj\", \"D.J.\", \"disk jockey\", \"dee-jay\", \"deejay\", \"disquaire\", \"discaire\", \"record producer\", \"music producer\"]", "source": "popqa", "difficulty": "simple"} {"input": "What genre does the performer of Music of 18 Musicians operate in?", "answer": "opera", "source": "musique", "difficulty": "multi_hop"} {"input": "Where was the director of film You Can'T Get Away With Murder born?", "answer": "New York", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was H. Hugh Bancroft born?", "answer": "[\"Cleethorpes\"]", "source": "popqa", "difficulty": "simple"} {"input": "Did Jo Beth Taylor and Rudolf Wanner have the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are both director of film Code 8 (2016 film) and director of film Louise Dahl-Wolfe: Painting with Light from the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "El Nuevo Cojo and Golf Magazine are both special interest publications but which one is owned by Time Inc?", "answer": "Golf Magazine", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In which county was Mason Mathews Patrick born?", "answer": "Greenbrier County", "source": "musique", "difficulty": "multi_hop"} {"input": "Were Michael De La Pole, 3Rd Earl Of Suffolk and Sepp Wildgruber from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In the comic strips, what was the name of Mandrake the Magician's giant partner?", "answer": "Lothar", "source": "triviaqa", "difficulty": "simple"} {"input": "Where was the actress who starred in Trishna with Riz Ahmed born?", "answer": "Mumbai, India", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Them Crooked Vultures and The Vines are both part of what music genres?", "answer": "Rock", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When did the founder of Jehovah's Witnesses say the world would end?", "answer": ["one thousand, nine hundred and fourteen", "1914"], "source": "triviaqa", "difficulty": "simple"} {"input": "Do both films, Vivahitha and Silver River (Film), have the directors who are from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Until the 18th Century, on what day was the Annunciation traditionally celebrated, in the country of citizenship of the director of Battle of the Damned?", "answer": "New Year's Day", "source": "musique", "difficulty": "multi_hop"} {"input": "Who is the sibling of the artist who painted the Portrait of Baudouin de Lannoy?", "answer": "Hubert Van Eyck", "source": "musique", "difficulty": "multi_hop"} {"input": "Are Nychalakh and Kavalaq, West Azerbaijan both located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when did the 2nd generation ipad come out", "answer": "March 25, 2011", "source": "nq", "difficulty": "simple"} {"input": "Where was the place of death of the director of film Rave Un2 The Year 2000?", "answer": "Chanhassen, Minnesota", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "where is britain's got talent semi finals held", "answer": "Elstree Studios", "source": "nq", "difficulty": "simple"} {"input": "Which supermodel was married to Rod Stewart?", "answer": "Rachel Hunter", "source": "triviaqa", "difficulty": "simple"} {"input": "Dorval International airport is in which country?", "answer": ["Canada", "Canadá", "The Dominion of Canada", "Commonwealth of Canada", "Dominion of canada", "ISO 3166-1:CA", "Etymology of Canada", "CANADA", "Canadiophile", "Canada's", "ᑲᓇᑕ", "Canada/References", "America's top hat", "Canada.", "Cnada", "Čanada", "Canadian Federation", "Kenadian", "Canadialand", "Xanada", "Dominion of Canada", "Canadaa"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which city was called Leninakan until 1990?", "answer": ["Aleksandrapol", "Giumri", "A: Kumayri", "Battle of Aleksandropol", "Gumri", "Kyumri", "Aleksandropol", "Leninakan", "Kumri", "Kumayri", "Alexandrobol", "Gyumri", "Alek’pol", "Gumry", "Alexandropol’", "Alekpol", "Gumru", "Alexandropol", "Guemrue", "Treaty of Gyumri", "Aleksandropol’", "Gümrü", "Kyumayri", "Alexandrapol", "Alek’sandrapol", "Alexandropol, Armenia", "Gjumri", "Alek’sandrobol", "Kümri", "Aleksandrobol"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which country the director of film Silver Threads Among The Gold (1911 Film) is from?", "answer": "American", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the area code for the state where Halona Blowhole is located?", "answer": "808", "source": "musique", "difficulty": "multi_hop"} {"input": "Are the directors of both films Mamay (film) and Dark Mountain (film) from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are Prakanongpittayalai School and International School Of Koje located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "minimum age to contest for president in nigeria", "answer": "35", "source": "nq", "difficulty": "simple"} {"input": "In what city was Mohammad Esfahani born?", "answer": "[\"Tehran\", \"Teheran\"]", "source": "popqa", "difficulty": "simple"} {"input": "What did Warlocked's publisher rely on primarily for its support?", "answer": "first-party games", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Chris Brown born?", "answer": "[\"Tappahannock\", \"Tappahannock, Virginia\"]", "source": "popqa", "difficulty": "simple"} {"input": "In which decade was Charles Schulz born?", "answer": ["1930’s", "Thirties", "1930s literature", "Nineteen-thirties", "1930–1939", "1930-1939", "'30s", "1930s", "1930's", "%6030s", "1930s (decade)", "The Thirties"], "source": "triviaqa", "difficulty": "simple"} {"input": "K. Shivaram Karanth is what type of artist, which combines dance, costum, makeup, and dialogue?", "answer": "Yakshagana", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function to sort the tuples alphabetically by the first item of each tuple.", "answer": "def sort_tuple(tup): \r\n\tn = len(tup) \r\n\tfor i in range(n): \r\n\t\tfor j in range(n-i-1): \r\n\t\t\tif tup[j][0] > tup[j + 1][0]: \r\n\t\t\t\ttup[j], tup[j + 1] = tup[j + 1], tup[j] \r\n\treturn tup", "source": "mbpp", "task_id": "839", "test_cases": "assert sort_tuple([(\"Amana\", 28), (\"Zenat\", 30), (\"Abhishek\", 29),(\"Nikhil\", 21), (\"B\", \"C\")]) == [('Abhishek', 29), ('Amana', 28), ('B', 'C'), ('Nikhil', 21), ('Zenat', 30)]\nassert sort_tuple([(\"aaaa\", 28), (\"aa\", 30), (\"bab\", 29), (\"bb\", 21), (\"csa\", \"C\")]) == [('aa', 30), ('aaaa', 28), ('bab', 29), ('bb', 21), ('csa', 'C')]\nassert sort_tuple([(\"Sarala\", 28), (\"Ayesha\", 30), (\"Suman\", 29),(\"Sai\", 21), (\"G\", \"H\")]) == [('Ayesha', 30), ('G', 'H'), ('Sai', 21), ('Sarala', 28), ('Suman', 29)]", "difficulty": "code"} {"input": "How many prisoners were left in Alcatraz just before it closed?", "answer": ["27", "twenty-seven"], "source": "triviaqa", "difficulty": "simple"} {"input": "how many episodes in north and south book 1", "answer": "6", "source": "nq", "difficulty": "simple"} {"input": "Do both directors of films The Virgin and the Macho Man and Mr. Warmth: The Don Rickles Project have the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When did the director of film Poor Man'S Pudding die?", "answer": "November 28, 2009", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to check whether the given string is starting with a vowel or not using regex.", "answer": "import re \r\nregex = '^[aeiouAEIOU][A-Za-z0-9_]*'\r\ndef check_str(string): \r\n\tif(re.search(regex, string)): \r\n\t\treturn (\"Valid\") \r\n\telse: \r\n\t\treturn (\"Invalid\")", "source": "mbpp", "task_id": "737", "test_cases": "assert check_str(\"annie\") == 'Valid'\nassert check_str(\"dawood\") == 'Invalid'\nassert check_str(\"Else\") == 'Valid'", "difficulty": "code"} {"input": "Who's the dad of the sculptor who made The Sleeping Hermaphroditus?", "answer": "Pietro Bernini", "source": "musique", "difficulty": "multi_hop"} {"input": "In which decade did golfer Gary Player last win the British Open?", "answer": ["1970s (decade)", "The '70s", "1970's", "1970–1979", "Seventies", "1974-1975", "1970s", "‘70s", "The Seventies", "Nineteen-seventies", "Nineteen seventies", "'70s", "1973-1974", "'70's", "70's", "1970’s", "70s", "1970-1979"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who died earlier, John Friedmann or Thomas Seelye Arms?", "answer": "Thomas Seelye Arms", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "indian who taught the pilgrims how to fish and plant crops", "answer": "Squanto", "source": "nq", "difficulty": "simple"} {"input": "What is Robert Voisey's occupation?", "answer": "[\"composer\"]", "source": "popqa", "difficulty": "simple"} {"input": "What was the USA's biggest attack of the Vietnam War when it took place in February 1967?", "answer": ["Operation junction city", "Operation Junction City"], "source": "triviaqa", "difficulty": "simple"} {"input": "song how sweet it is to be loved by you lyrics", "answer": "Marvin Gaye", "source": "nq", "difficulty": "simple"} {"input": "who has won more oscars then anyone else", "answer": "Katharine Hepburn", "source": "nq", "difficulty": "simple"} {"input": "What nationality is the director of film The Ascent Of Little Lilian?", "answer": "Austrian", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When was the director of film Viva La Vie born?", "answer": "30 October 1937", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Elmas international airport is in which country?", "answer": ["Environment of Italy", "Italiën", "Subdivisions of Italy", "Republic of Italy", "ItalY", "ISO 3166-1:IT", "Etymology of Italy", "Itali", "Pollution in Italy", "Administrative divisions of Italy", "Austrian Empire (Italy)", "Italija", "Italie", "Italia", "Italian Republic", "Second Italian Republic", "Italy", "Italio", "Repubblica Italiana", "Itàlia", "The Italian republic"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who was born first out of Skip Hicks and Sergei Parajanov?", "answer": "Sergei Parajanov", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which film has the director born earlier, The Courageous Dr. Christian or Backdraft (Film)?", "answer": "The Courageous Dr. Christian", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "The mother of which Monkee invented typewriter correction fluid?", "answer": ["Mike Nesmith", "Michael Nesmith"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Uri Nakayama's occupation?", "answer": "[\"singer-songwriter\", \"singer songwriter\", \"singer/songwriter\", \"singersongwriter\", \"singer-songwriter\", \"hairdresser\", \"hairstylist\", \"hair stylist\", \"hair dresser\", \"beautician\", \"hairdressers\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Pierre Chatenet's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "who does annie work for attack on titan", "answer": "Marley", "source": "nq", "difficulty": "simple"} {"input": "Who captained the US Ryder Cup team in 1991?", "answer": "Dave Stockton", "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to iterate over elements repeating each as many times as its count.", "answer": "from collections import Counter\r\ndef count_variable(a,b,c,d):\r\n c = Counter(p=a, q=b, r=c, s=d)\r\n return list(c.elements())", "source": "mbpp", "task_id": "810", "test_cases": "assert count_variable(4,2,0,-2)==['p', 'p', 'p', 'p', 'q', 'q'] \nassert count_variable(0,1,2,3)==['q', 'r', 'r', 's', 's', 's'] \nassert count_variable(11,15,12,23)==['p', 'p', 'p', 'p', 'p', 'p', 'p', 'p', 'p', 'p', 'p', 'q', 'q', 'q', 'q', 'q', 'q', 'q', 'q', 'q', 'q', 'q', 'q', 'q', 'q', 'q', 'r', 'r', 'r', 'r', 'r', 'r', 'r', 'r', 'r', 'r', 'r', 'r', 's', 's', 's', 's', 's', 's', 's', 's', 's', 's', 's', 's', 's', 's', 's', 's', 's', 's', 's', 's', 's', 's', 's']", "difficulty": "code"} {"input": "Which member of the Monkees came from Washington DC?", "answer": ["Peter Thorkelson", "Peter Tork"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who is the maternal grandfather of Margaret Of Hungary (Saint)?", "answer": "Theodore I Laskaris", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In which country is the International College in the city where the creator of paintings named for the birthplace of Shurooq Amin was born?", "answer": "Lebanon", "source": "musique", "difficulty": "multi_hop"} {"input": "Which country has the rand as its currency?", "answer": ["South africa", "South Africa's", "Southafrica", "Third Republic (South Africa)", "Republiek van Suid-Afrika", "Sou'frica", "Zuid Afrika", "Zuid-Afrika", "ISO 3166-1:ZA", "South-African", "S Africa", "Zuid Africa", "Mzansi", "Afrique du sud", "Zuidafrika", "Ningizimu Afrika", "Capital of South Africa", "Suid-Afrika", "South-Africa", "Rep. of SOUTH AFRICA", "The Republic of South Africa", "Suid Africa", "Azania/South Africa", "S Afr", "Saffa", "South African", "Seth efrika", "South Africa", "Soufrica", "Republic of south africa", "South Africaà", "The Beloved Country", "S. Africa", "Rep. of South Africa", "South Africans", "Republic of South Africa"], "source": "triviaqa", "difficulty": "simple"} {"input": "What's the population of the Florida county where the city of South Pasadena is located?", "answer": "916,542", "source": "musique", "difficulty": "multi_hop"} {"input": "How many people visit the mountain range that is south to The Church of St. Leodegar every year?", "answer": "over 120 million", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the 2011 census population of this village and civil parish in Lincolnshire, England, where High Dyke road runs between it and Colsterworth?", "answer": "1,647", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Peter Bakovic played for which National Hockey League team?", "answer": "Vancouver Canucks", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who directed The Big Sleep and Gentlemen Prefer Blondes?", "answer": ["Howard Hawk", "Howard Winchester Hawks", "Howard Hawks"], "source": "triviaqa", "difficulty": "simple"} {"input": "By the end of the 20th century how many times had Meryl Streep been nominated for an Oscar?", "answer": ["9", "nine", "Nine"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who is played by an acclaimed role model business woman in A League of Their Own?", "answer": "taxi dancer ``All the Way ''Mae Mordabito", "source": "musique", "difficulty": "multi_hop"} {"input": "Are Wenling and Xinzheng both in China?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which country the performer of song Miss Brown To You is from?", "answer": "American", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Debbie Johnson's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "when is episode 10 of boruto coming out", "answer": "June 7, 2017", "source": "nq", "difficulty": "simple"} {"input": "Which film has the director who was born earlier, People To Each Other or Tali-Ihantala 1944?", "answer": "People To Each Other", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which country the director of film Cornered! (Film) is from?", "answer": "Belgium", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who has the most grand slams of all time", "answer": "Alex Rodriguez", "source": "nq", "difficulty": "simple"} {"input": "Who is the mother-in-law of Andrew Murray (Scottish Soldier)?", "answer": "Marjorie, Countess of Carrick", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Aloïs Boudry born?", "answer": "[\"Ypres\", \"leper\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Augustine Steward's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was David Holmes Black born?", "answer": "[\"Vancouver\", \"City of Vancouver\", \"Vancouver, BC\", \"Vancouver, British Columbia\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Otto Renner born?", "answer": "[\"Neu-Ulm\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did the military branch that Arthur Bliss served in invade the island?", "answer": "1773", "source": "musique", "difficulty": "multi_hop"} {"input": "Who is the father of the cast member in The Wall - Live in the city that hosted the 1936 Olympics?", "answer": "Eric Fletcher Waters", "source": "musique", "difficulty": "multi_hop"} {"input": "Do both films: Desde Que Amanece Apetece and Danton (1921 Film) have the directors from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a python function to check whether the count of divisors is even or odd.", "answer": "import math \r\ndef count_Divisors(n) : \r\n count = 0\r\n for i in range(1, (int)(math.sqrt(n)) + 2) : \r\n if (n % i == 0) : \r\n if( n // i == i) : \r\n count = count + 1\r\n else : \r\n count = count + 2\r\n if (count % 2 == 0) : \r\n return (\"Even\") \r\n else : \r\n return (\"Odd\")", "source": "mbpp", "task_id": "781", "test_cases": "assert count_Divisors(10) == \"Even\"\nassert count_Divisors(100) == \"Odd\"\nassert count_Divisors(125) == \"Even\"", "difficulty": "code"} {"input": "What is William Greaves's occupation?", "answer": "[\"film director\", \"movie director\", \"director\", \"motion picture director\"]", "source": "popqa", "difficulty": "simple"} {"input": "when does the school year start in france", "answer": "early September", "source": "nq", "difficulty": "simple"} {"input": "What is Maurizio Belpietro's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\", \"television presenter\", \"host\", \"hostess\", \"TV host\", \"television host\", \"TV presenter\", \"TV anchor\", \"television anchor\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are director of film Asukh and director of film Super Size Me 2: Holy Chicken! both from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who wrote the lyrics for the song form Notting Hill sung by Elvis Costello?", "answer": "Herbert Kretzmer", "source": "triviaqa", "difficulty": "simple"} {"input": "Produced by Jay Joyce, Celabraison is the debut album for which band?", "answer": "Sleeper Agent", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when did northern ireland last qualify for the world cup", "answer": "2018", "source": "nq", "difficulty": "simple"} {"input": "Who won the 2018 election in the country Ulu Kalumpang is located in?", "answer": "Pakatan Harapan", "source": "musique", "difficulty": "multi_hop"} {"input": "Which body of water is by the city where the director of Tomorrow Night resides?", "answer": "Mystic River", "source": "musique", "difficulty": "multi_hop"} {"input": "Plastic is a British-American action comedy-crime film starring an English actress best known for playing the role of Hannah Ashworth in what long-running soap opera?", "answer": "Hollyoaks", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who became US Vice President when Spiro Agnew resigned?", "answer": ["President Gerald R. Ford", "Gerald R. Ford Jr.", "Assassination attempts on Gerald Ford", "Leslie Lynch King Jr.", "Leslie L King", "Leslie King, Jr.", "Ford administration", "Gerald R Ford", "Leslie Lynch King, Jr", "Birth and life of Gerald Ford", "Leslie Lynch King", "Presidency of Gerald Ford administration", "Gerald fod", "Vice President Ford", "Nixon pardon", "Ford Administration", "Presidency of Gerald R. Ford", "Jerry Ford", "U.S. President Gerald Ford", "Gerald Rudolph Ford", "Gerald R. Ford", "Presidency of Gerald Ford", "Gerald ford", "Gerald R. Ford, Jr", "Gerald Rudolph Ford Jr.", "Presidency of gerald ford", "Gerald Rudolph, Jr. Ford", "President Gerald Ford", "Gerald Ford, Jr.", "Gerald R. Ford, Jr.", "Gerry Ford", "Leslie Lynch King Jr", "Gerald Ford", "Leslie L. King", "Leslie Lynch King, Jr.", "38th President of the United States", "Leslie King, Jr", "President Ford", "Gerald Rudolph Ford, Jr."], "source": "triviaqa", "difficulty": "simple"} {"input": "KKWQ-FM is a local radio station covering which area, that is a coextensive with Angle Township?", "answer": "The Northwest Angle", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are Farmaniyeh and Deh-E Bala, Zarand located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the period of revolution of the planet where Antoniadi Dorsum is located in earth years?", "answer": "88 days", "source": "musique", "difficulty": "multi_hop"} {"input": "Dixit Dominus is a psalm setting by who, which was a German, later British, baroque composer who spent the bulk of his career in London, becoming well known for his operas, oratorios, anthems, and organ concertos?", "answer": "George Frideric Handel", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who is the president of the senate in the country containing Aradhe?", "answer": "Bukola Saraki", "source": "musique", "difficulty": "multi_hop"} {"input": "Up to how far off can the Deal Timeball be from Coordinated Universal Time?", "answer": "0.9 s.", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who slew the philistines with a donkey jawbone", "answer": "Samson", "source": "nq", "difficulty": "simple"} {"input": "what is the name of the compound with the formula kclo", "answer": "Potassium chlorate", "source": "nq", "difficulty": "simple"} {"input": "Who accurately mapped the coast of the continent Armenia is found in and the region the WINEP bundled countries of Northwest Africa are called?", "answer": "Piri Reis", "source": "musique", "difficulty": "multi_hop"} {"input": "who plays the voice of joy in inside out", "answer": "Amy Poehler", "source": "nq", "difficulty": "simple"} {"input": "Are Lilies Handayani and Jan Maree Tennent of the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "what is the real name for rollie pollies", "answer": "Armadillidiidae", "source": "nq", "difficulty": "simple"} {"input": "In what city was Matt Hamilton born?", "answer": "[\"Hemel Hempstead\", \"Hemel\"]", "source": "popqa", "difficulty": "simple"} {"input": "What type of university is Sang-Wook Cheong's employer?", "answer": "land-grant university", "source": "musique", "difficulty": "multi_hop"} {"input": "Do Marcel Vonlanthen and Domenico Doardo share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what year was the woman whose former chief of staff was Rachel Noerdlinger born?", "answer": "1954", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write a function that matches a string that has an 'a' followed by anything, ending in 'b' by using regex.", "answer": "import re\r\ndef text_match(text):\r\n patterns = 'a.*?b$'\r\n if re.search(patterns, text):\r\n return ('Found a match!')\r\n else:\r\n return ('Not matched!')", "source": "mbpp", "task_id": "879", "test_cases": "assert text_match(\"aabbbbd\") == 'Not matched!'\nassert text_match(\"aabAbbbc\") == 'Not matched!'\nassert text_match(\"accddbbjjjb\") == 'Found a match!'", "difficulty": "code"} {"input": "What animal subject to the Foster's rule is the smallest North American deer?", "answer": "Key deer", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What year was the soundtrack to the Austrian-American comedy film, directed by Stephen Herek and starring Charlie Sheen, released?", "answer": "1993", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What was the title of Mac West's 1959 autobiography?", "answer": "Goodness Had Nothing to Do With It", "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function that matches a string that has an a followed by zero or one 'b'.", "answer": "import re\r\ndef text_match_zero_one(text):\r\n patterns = 'ab?'\r\n if re.search(patterns, text):\r\n return 'Found a match!'\r\n else:\r\n return('Not matched!')", "source": "mbpp", "task_id": "756", "test_cases": "assert text_match_zero_one(\"ac\")==('Found a match!')\nassert text_match_zero_one(\"dc\")==('Not matched!')\nassert text_match_zero_one(\"abbbba\")==('Found a match!')", "difficulty": "code"} {"input": "what was the number one song on april 20th 2000", "answer": "Maria Maria", "source": "nq", "difficulty": "simple"} {"input": "In which decade of the 20th century was Father's Day first celebrated?", "answer": ["1910s", "1910s (decade)", "Nineteen-tens", "1910s literature", "1910–1919", "1910-1919", "Music in the 1910's", "Nineteen tens", "1910's"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Antigoni Goni born?", "answer": "[\"Athens\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who was the woman sentenced to six years in jail after the murder of Stompei Seipi?", "answer": ["Nomzamo Winifred Zanyiwe Madikizela", "Winnie Madikizela-Mandela", "Winnie Mandela", "Nomzano Zaniewe", "Winnie Nomzamo Mandela", "Nomzamo Winnie Mandela", "Mandela, Winnie", "Winnie Madikizela Mandela", "Winnie Madikizela", "Winnifred Mandela"], "source": "triviaqa", "difficulty": "simple"} {"input": "On which Caribbean island did Princess Diana spend he first Christmas after her divorce was announced?", "answer": ["Barbuda Island, Antigua and Barbuda", "Barbuda Island", "Barbuda colony", "Dependency of Barbuda, Antigua and Barbuda", "Barbuda, Antigua and Barbuda", "Dependency of Barbuda", "Barbuda Dependency, Antigua and Barbuda", "Barbuda", "Island of Barbuda"], "source": "triviaqa", "difficulty": "simple"} {"input": "The multi-Oscar winning The Deer Hunter was about steelworkers who went to fight where?", "answer": ["Độc lập - tự do - hạnh phúc", "Cộng Hòa Xã Hội Chủ Nghĩa Việt Nam", "越南社會主義共和國", "ISO 3166-1:VN", "SRVN", "VIETNAM", "CHXHCN Vietnam", "Viet Nam Socialist Repub", "SRoV", "S.R. Vietnam", "Languages of Viet Nam", "Communist Vietnam", "Red Vietnam (modern)", "Doc lap, tu do, hanh phuc", "People's Republic of Vietnam", "VietNam", "Việtnam", "Socialist Republic of Viet Nam", "Yue Nan", "Viêtnam", "Độc lập, tự do, hạnh phúc", "SR Vietnam", "Yuenan", "Vietman", "Vietnarm", "Viet nam", "Veitnam", "Languages of Vietnam", "Viêt Nam", "Vietnam", "The Socialist Republic of Vietnam", "Cong Hoa Xa Hoi Chu Nghia Viet Nam", "Etymology of Vietnam", "Socialist Republic of Vietnam", "Doc lap - tu do - hanh phuc", "Cộng hòa Xã hội Chủ nghĩa Việt Nam", "Viet-Nam", "Viet Nam", "Vjet-Namo", "Cong hoa Xa hoi Chu nghia Viet Nam", "Vietnamese Republic", "Việt Nam"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to find the item with maximum occurrences in a given list.", "answer": "def max_occurrences(list1):\r\n max_val = 0\r\n result = list1[0] \r\n for i in list1:\r\n occu = list1.count(i)\r\n if occu > max_val:\r\n max_val = occu\r\n result = i \r\n return result", "source": "mbpp", "task_id": "658", "test_cases": "assert max_occurrences([2,3,8,4,7,9,8,2,6,5,1,6,1,2,3,4,6,9,1,2])==2\nassert max_occurrences([1, 3,5, 7,1, 3,13, 15, 17,5, 7,9,1, 11])==1\nassert max_occurrences([1, 2, 3,2, 4, 5,1, 1, 1])==1", "difficulty": "code"} {"input": "In what city was Pierre Charette born?", "answer": "[\"Masson-Angers\"]", "source": "popqa", "difficulty": "simple"} {"input": "where can the national guard be deployed to", "answer": "both at home and abroad", "source": "nq", "difficulty": "simple"} {"input": "when did the first cell phone with a camera come out", "answer": "2000", "source": "nq", "difficulty": "simple"} {"input": "Are Shaveh, Markazi and Brajićevići located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Do both films Passage West (1951 Film) and Musa (Film) have the directors from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are Shahrak-E Shomali and Taqiabad, Mazandaran both located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Robert B. Scarborough born?", "answer": "[\"Chesterfield\", \"Chesterfield, South Carolina\", \"Chesterfield, SC\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who has written the national anthem of the country filming Kaathirupaen Unakaaha?", "answer": "Ananda Samarakoon", "source": "musique", "difficulty": "multi_hop"} {"input": "When is the director of film Three Men And A Little Lady 's birthday?", "answer": "May 9, 1943", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who is associated with the term loknayak in india", "answer": "Jayaprakash Narayan", "source": "nq", "difficulty": "simple"} {"input": "What is Chiara Zanni's occupation?", "answer": "[\"voice actor\", \"voice artist\", \"voice actress\", \"voice-over performer\", \"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Ralph Campney born?", "answer": "[\"Picton\", \"Picton, Ontario\"]", "source": "popqa", "difficulty": "simple"} {"input": "when does episode 5 come out for batman the enemy within", "answer": "March 27, 2018", "source": "nq", "difficulty": "simple"} {"input": "Are the documentaries Welcome to Durham, USA and The Agronomist both about Durham, North Carolina?", "answer": "no", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Is Lysichiton and Ageratum geus in the same family?", "answer": "no", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was David Granger born?", "answer": "[\"New York City\", \"NYC\", \"New York\", \"the five boroughs\", \"Big Apple\", \"City of New York\", \"NY City\", \"New York, New York\", \"New York City, New York\", \"New York, NY\", \"New York City (NYC)\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who is the current chief justice in the country that contains Kaabong?", "answer": "Bart Magunda Katureebe", "source": "musique", "difficulty": "multi_hop"} {"input": "What forest is by the southern border of the place of death for Andrzej Strug?", "answer": "Kabaty", "source": "musique", "difficulty": "multi_hop"} {"input": "What is María Elena Marqués's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "when did Christianity become the official religion in the empire which colonized the country Belal Fadl is from in the 1st century?", "answer": "380", "source": "musique", "difficulty": "multi_hop"} {"input": "how many types of ion channels are there", "answer": "over 300", "source": "nq", "difficulty": "simple"} {"input": "\"Who wrote, \"\"What is this life if full of care, We have no time to stand and stare?\"\"\"", "answer": ["WH Davies", "Wh davies", "W H Davies", "William H. Davies", "W.H. Davies", "W. H. Davies"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Nadia Giosia's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "in the 2003-04 Wolfsburg signed a starlet from River Plate who plays in what position ?", "answer": "attacking midfielder", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "The metafamily of graphical operating systems developed, marketed, and sold by Microsoft offers what kind of help to musicians?", "answer": "software for singing training", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Joni Jenkins's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did Frédéric Boulanger's wife die?", "answer": "23 July 1850", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What nationality is the performer of song Go To The Mardi Gras?", "answer": "American", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is a term for the church which separated from the Roman Catholic Church during the Protestant reformation and churches that align with it?", "answer": "the Anglican Communion", "source": "musique", "difficulty": "multi_hop"} {"input": "who was required to have affirmative action programs", "answer": "countries that ratified the convention", "source": "nq", "difficulty": "simple"} {"input": "What is Tiffany Pollard's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "where are the world athletic championships being held", "answer": "London", "source": "nq", "difficulty": "simple"} {"input": "Which highway that has a junction at Cairo Junction is 1286 miles long?", "answer": "U.S. Route 51", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What was John Glenn/'s first spacecraft called?", "answer": ["Mercury 6", "Mercury Atlas 6", "Mercury-Atlas 6", "Friendship VII", "Friendship vii", "Mercury-Atlas (MA) 6", "Mercury Friendship 7", "Friendship Seven", "Friendship 7"], "source": "triviaqa", "difficulty": "simple"} {"input": "What part of the document in which Stewart could not find the phrase Wall of Separation is the basis for the implied powers of the body which has oversight of David Vladeck's employer?", "answer": "``general welfare clause ''and the`` necessary and proper clause''", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to generate a square matrix filled with elements from 1 to n raised to the power of 2 in spiral order.", "answer": "def generate_matrix(n):\r\n if n<=0:\r\n return [] \r\n matrix=[row[:] for row in [[0]*n]*n] \r\n row_st=0\r\n row_ed=n-1 \r\n col_st=0\r\n col_ed=n-1\r\n current=1 \r\n while (True):\r\n if current>n*n:\r\n break\r\n for c in range (col_st, col_ed+1):\r\n matrix[row_st][c]=current\r\n current+=1\r\n row_st+=1\r\n for r in range (row_st, row_ed+1):\r\n matrix[r][col_ed]=current\r\n current+=1\r\n col_ed-=1\r\n for c in range (col_ed, col_st-1, -1):\r\n matrix[row_ed][c]=current\r\n current+=1\r\n row_ed-=1\r\n for r in range (row_ed, row_st-1, -1):\r\n matrix[r][col_st]=current\r\n current+=1\r\n col_st+=1\r\n return matrix", "source": "mbpp", "task_id": "834", "test_cases": "assert generate_matrix(3)==[[1, 2, 3], [8, 9, 4], [7, 6, 5]] \nassert generate_matrix(2)==[[1,2],[4,3]]\nassert generate_matrix(7)==[[1, 2, 3, 4, 5, 6, 7], [24, 25, 26, 27, 28, 29, 8], [23, 40, 41, 42, 43, 30, 9], [22, 39, 48, 49, 44, 31, 10], [21, 38, 47, 46, 45, 32, 11], [20, 37, 36, 35, 34, 33, 12], [19, 18, 17, 16, 15, 14, 13]]", "difficulty": "code"} {"input": "In what city was Glover Morrill Allen born?", "answer": "[\"Walpole\", \"Walpole, New Hampshire\", \"Walpole N.H.\", \"Walpole NH\"]", "source": "popqa", "difficulty": "simple"} {"input": "Xiaogan and Mingguang, are located in which country?", "answer": "People's Republic of China", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who had a 60s No 1 with Lightnin' Strikes?", "answer": ["Luigi A.G. Sacco", "Luigi Giovanni Sacco", "Luigi Alfredo Giovanni Sacco", "Luigi Alfredo Sacco", "Luigi A. G. Sacco", "Lou Christie"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the capital of the country where Walnut Grove is located in the state that KUMM plays in?", "answer": "Redwood Falls", "source": "musique", "difficulty": "multi_hop"} {"input": "Do director of film Riders Of The Deadline and director of film Vaanam share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what year did the Britain Burma Society founded under the distinguished patronage of Earl Mountbatten of Burma, Sir Hubert Rance whose formal prefix Sir was strictly governed by law and custom as an honorific address?", "answer": "1957", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where in Europe was much of Evita filmed?", "answer": ["Maďarsko", "Magyarorszag", "Ungarn", "Magyar Köztársaság", "Hungarian Republic", "Hungarian Republic of 1989", "Hongarije", "Hungery", "Architecture of Hungary", "Magyar Koeztarsasag", "Magyarország", "Austrian Empire (Hungary)", "HUNGARY", "Hungría", "Hungray", "ISO 3166-1:HU", "Hongrie", "HUngary", "Republic of Hungary", "Ungheria", "Magyar Koztarsasag", "Hungary", "Hungarian holidays"], "source": "triviaqa", "difficulty": "simple"} {"input": "Are Mary Doria Russell and James Joyce both novelists?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What city in the province where Tobique-Mactaquac is located borders Riviere-Verte?", "answer": "Edmundston", "source": "musique", "difficulty": "multi_hop"} {"input": "What was the first sequel to Star Wars?", "answer": ["Star Wars Episode 5", "The battle of hoth", "Star Wars Episode V:The Empire Strikes Back", "The Empire Strikes Back", "Star Wars V", "Star Wars: Empire Strikes Back", "Star Wars: Episode V The Empire Strikes Back", "Star Wars Episode V: Empire Strikes Back", "Star Wars Episode V: The Empire Strikes Back", "Carbonite (Star Wars)", "Battle of Hoth", "Empire strikes back", "SWE5 (Star Wars Episode V: The Empire Strikes Back)", "Luke I am your father", "EG-6", "SWTESB", "EG-4", "STAR WARS V: The Empire Strikes Back", "Star Wars: The Empire Strikes Back", "No, Luke, I am your father", "Star Wars: Episode V - The Empire Strikes Back", "SW5 (Star Wars Episode V: The Empire Strikes Back)", "Battle of hoth", "Star Wars: Episode 5 - The Empire Strikes Back", "STAR WARS EPISODE 5", "Star Wars V: The Empire Strikes Back", "The Empire strikes Back", "Battle of Bespin", "Star Wars: Episode V", "Episode V: The Empire Strikes Back", "Empire Strikes Back", "Star Wars, Episode V - The Empire Strikes Back", "The empire striks back", "Star Wars Episode V", "I am your father", "TESB", "Star Wars 5", "Battle of Bespin (Galactic Civil War)", "Luke, I am your father", "Star Wars: Episode V: The Empire Strikes Back"], "source": "triviaqa", "difficulty": "simple"} {"input": "Where was the owner of the Gold Spike, located in the place where Chuck Wortman died, educated?", "answer": "Harvard", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Frits Castricum's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\", \"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Snow White is a Disney media franchise based on a German fairy tale by who?", "answer": "Brothers Grimm", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when was the election to the constituent assembly held in india", "answer": "1946", "source": "nq", "difficulty": "simple"} {"input": "Which country does the airline Ladeco come from?", "answer": ["ISO 3166-1:CL", "Cxilio", "Cile", "Etymology of Chile", "Republic of Chile", "Chilean Republic", "State of Chile", "Chile", "Name of Chile", "República de Chile", "Chilé"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which plant, Buddleja or Burchardia, is an herb named after a German botanist?", "answer": "Burchardia", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "dolce and gabbana based on which italian city", "answer": "Milan", "source": "nq", "difficulty": "simple"} {"input": "What is Per Risvik's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the highest point in Achwa's country?", "answer": "1,400 metres", "source": "musique", "difficulty": "multi_hop"} {"input": "What was Stanley Kubrick's final movie?", "answer": ["Eyes wide shut", "Eyes Wide Shut"], "source": "triviaqa", "difficulty": "simple"} {"input": "What was the first sequel to The Pink Panther called?", "answer": ["Shot in the dark", "Shot in the Dark", "A Shot in the Dark (song)", "Shot In the Dark", "A Shot in the Dark", "A Shot In The Dark", "Shot in the Dark (disambiguation)", "A Shot in the Dark (film)"], "source": "triviaqa", "difficulty": "simple"} {"input": "What nationality is the director of film Poor Little Sif?", "answer": "Austrian", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Were Rufino Tamayo and Sana Mersni from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "where have the olympics been in the us", "answer": ["Squaw Valley", "Lake Placid", "St. Louis", "Atlanta", "Los Angeles", "Salt Lake City"], "source": "nq", "difficulty": "simple"} {"input": "What is Nancy Landon Kassebaum's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which film has the director who died first, Sos Pacific or Amores De Ayer?", "answer": "Amores De Ayer", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Bala's occupation?", "answer": "[\"film director\", \"movie director\", \"director\", \"motion picture director\", \"screenwriter\", \"scenarist\", \"writer\", \"screen writer\", \"script writer\", \"scriptwriter\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Lucia de Berk born?", "answer": "[\"The Hague\", \"Den Haag\", \"'s-Gravenhage\", \"Haag\"]", "source": "popqa", "difficulty": "simple"} {"input": "when does new series of dr who start 2018", "answer": "7 October 2018", "source": "nq", "difficulty": "simple"} {"input": "Which mine in California, lasting from 1873 to 1883, became one of the most noted mercury producers in the world?", "answer": "Sulphur Bank Mine", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In square miles how big is lake Michigan?", "answer": ["twenty-two thousand, three hundred", "22300", "22,300"], "source": "triviaqa", "difficulty": "simple"} {"input": "Huddersfield Giants R.L.F.C. are an English professional rugby league club from Huddersfield, West Yorkshire, the birthplace of rugby league, who play in the Super League competition, they play their home games at the Kirklees Stadium which is shared with Huddersfield Town F.C., is a multi-use sports stadium in Huddersfield in West Yorkshire, in which country?", "answer": "England", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which is located in Hunan province, Huaihua or Qitaihe?", "answer": "Huaihua", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Jim Keller is a microprocessor engineer most well known for his work at AMD and Apple, he was involved in designing which 32-bit package on package (PoP) system-on-a-chip (SoC) designed by Apple Inc. and manufactured by Samsung?", "answer": "Apple A4", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "A radio comedy broadcast on BBC Radio 4 that satirizes the week's news, in its early days featured the voice of an English comedian born in what city in 1969?", "answer": "East Dulwich", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when will new tappan zee bridge be completed", "answer": "the end of 2018", "source": "nq", "difficulty": "simple"} {"input": "What region does the area encompassing Washington Township share border with?", "answer": "Indiana County", "source": "musique", "difficulty": "multi_hop"} {"input": "In which decade of the 20th century was the FBI set up?", "answer": ["1900s", "1900s (disambiguation)", "1900's", "Nineteen-hundreds"], "source": "triviaqa", "difficulty": "simple"} {"input": "who's won the league cup the most", "answer": "Liverpool", "source": "nq", "difficulty": "simple"} {"input": "Who is the child of the director of film Kaala Rathri?", "answer": "K. S. G. Venkatesh", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What year did the chairman of the Jenkins Commission die?", "answer": "2003", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when does perks of being a wallflower take place", "answer": "the early 1990s", "source": "nq", "difficulty": "simple"} {"input": "when did india participate in olympics for first time", "answer": "1900", "source": "nq", "difficulty": "simple"} {"input": "What is Martin Shapiro's occupation?", "answer": "[\"screenwriter\", \"scenarist\", \"writer\", \"screen writer\", \"script writer\", \"scriptwriter\"]", "source": "popqa", "difficulty": "simple"} {"input": "who wrote song say you wont let go", "answer": "James Arthur", "source": "nq", "difficulty": "simple"} {"input": "who does the voices for sofia the first", "answer": "Ariel Winter", "source": "nq", "difficulty": "simple"} {"input": "Are Chah Shirin, Fars and Krasnye Chetai both located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Both Corydalis and Cedrus are what level of classification in the naming system?", "answer": "genus", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which state was Peggy Lee born in?", "answer": ["N Dakota", "Dakota del Norte", "Government of North Dakota", "Nodak", "Norse Dakota", "North Dakota (state)", "Transport in North Dakota", "Peace Garden State", "US-ND", "Education in North Dakota", "Thirty-ninth State", "State of North Dakota", "Culture of North Dakota", "Economy of North Dakota", "Flickertail state", "Religion in North Dakota", "The Roughrider State", "North Dakota (USA State)", "North Dakota", "The Flickertail State", "Demographics of North Dakota", "North Dakota, United States", "North Dakota (USA state)", "North dakota", "Thirty-Ninth State", "North Dakota (U.S. state)", "North Dacota", "NoDak", "North Dakota (State)", "North Dakotan", "39th State", "Transportation in North Dakota", "The Peace Garden State"], "source": "triviaqa", "difficulty": "simple"} {"input": "Cadmium Chloride is slightly soluble in this chemical, it is also called what?", "answer": "alcohol", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which European won tennis's 1989 Men's Singles at the US Open?", "answer": ["Angela Ermakova", "Boris Becker"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who in the singing Jackson family appeared in Different Strokes?", "answer": ["Janet (disambiguation)", "Janet", "Janeth"], "source": "triviaqa", "difficulty": "simple"} {"input": "who sings don't call us we'll call you", "answer": "Sugarloaf.", "source": "nq", "difficulty": "simple"} {"input": "What is the date of death of Konstantin Kuzakov's father?", "answer": "5 March 1953", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is a song from the 1966 Broadway musical with music by Cy Coleman, lyrics by Dorothy Fields and book by Neil Simon directed and choreographed for Broadway by Bob Fosse starring his wife and muse Gwen Verdon alongside John McMartin, in which the character of Charity reflects on her marvellous luck as she spends time with Vittorio ?", "answer": "If My Friends Could See Me Now", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was William Marshall Craig born?", "answer": "[\"Manchester\", \"Manchester, England\"]", "source": "popqa", "difficulty": "simple"} {"input": "when did we start singing god save the queen", "answer": "September 1745", "source": "nq", "difficulty": "simple"} {"input": "when did pledge of allegiance added under god", "answer": "Flag Day in 1954", "source": "nq", "difficulty": "simple"} {"input": "What is the body of water by the city where Zvezda stadium is located?", "answer": "Kama River", "source": "musique", "difficulty": "multi_hop"} {"input": "When is the director of film Mon Amie Victoria 's birthday?", "answer": "24 December 1964", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "While both singer-songwriters have displayed incredible talent, what sets Robert Palmer apart from Wayne Coyne, causing him to gain populatiry in two continents?", "answer": "eclectic mix of musical styles", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Liz born?", "answer": "[\"Tarzana\", \"Tarzana, Los Angeles\", \"Tarzana, California\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are Qeshlaq-E Jafar Qoli and Avdarma both located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a python function to sort the given string.", "answer": "def sort_String(str) : \r\n str = ''.join(sorted(str)) \r\n return (str)", "source": "mbpp", "task_id": "877", "test_cases": "assert sort_String(\"cba\") == \"abc\"\nassert sort_String(\"data\") == \"aadt\"\nassert sort_String(\"zxy\") == \"xyz\"", "difficulty": "code"} {"input": "What is John Scurti's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which musical instrument was found in Bonnie & Clyde's car after they were shot?", "answer": ["Saxamophone", "Neckstrap", "Strich", "Saxaphone", "Neckstrap (Saxophone)", "Stritch (saxophone)", "Saxophone family", "Manzello", "Saxy", "Saxophones", "Conn-o-sax", "Conn-O-Sax", "🎷", "Saxello", "Saxist", "Saxophonist", "Neck Strap", "Saxphone", "Saxofone", "Saxophone", "Contralto saxophone", "Jazz Tube"], "source": "triviaqa", "difficulty": "simple"} {"input": "Musician and satirist Allie Goertz wrote a song about the \"The Simpsons\" character Milhouse, who Matt Groening named after who?", "answer": "President Richard Nixon", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who won the Oscar for directing It Happened One Night?", "answer": ["Frank Capra", "Francesco Rosario Capra", "The American Film Institute Salute to Frank Capra", "The american film institute salute to frank capra", "Capraesque", "Francesco Capra", "Lou Capra", "Frank R. Capra"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a python function to toggle bits of the number except the first and the last bit.", "answer": "def set_middle_bits(n): \r\n n |= n >> 1; \r\n n |= n >> 2; \r\n n |= n >> 4; \r\n n |= n >> 8; \r\n n |= n >> 16; \r\n return (n >> 1) ^ 1\r\ndef toggle_middle_bits(n): \r\n if (n == 1): \r\n return 1\r\n return n ^ set_middle_bits(n)", "source": "mbpp", "task_id": "735", "test_cases": "assert toggle_middle_bits(9) == 15\nassert toggle_middle_bits(10) == 12\nassert toggle_middle_bits(11) == 13", "difficulty": "code"} {"input": "Who was the Egyptian president who was assassinated in 1981?", "answer": "Sadat", "source": "triviaqa", "difficulty": "simple"} {"input": "The era during which the mosaic fell out of fashion started in what area of the continent where the mouth of the Tikhaya Sosna is located?", "answer": "seemingly in Italy", "source": "musique", "difficulty": "multi_hop"} {"input": "Which film came out earlier, In Again, Out Again or Free Willy 3: The Rescue?", "answer": "In Again, Out Again", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where was the director of film Clear The Decks born?", "answer": "Omaha, Nebraska", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when does the next part of the ranch come out", "answer": "December 15, 2017", "source": "nq", "difficulty": "simple"} {"input": "Are the bands \"Halestorm\" and \"Say Anything\" from different states?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What professor of mathematics authored the book Fashionable Nonsense?", "answer": "Alan Sokal", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who founded what became the birthplace of the director of Indian Summer?", "answer": "Antoine de la Mothe Cadillac", "source": "musique", "difficulty": "multi_hop"} {"input": "who played the preacher in inherit the wind", "answer": "Claude Akins", "source": "nq", "difficulty": "simple"} {"input": "The word anchorman was credited by Sig Michelson about which CBS News Legend?", "answer": ["Cronkite, Walter Leland, Jr.", "Old Ironpants", "Walter Cronkite Jr.", "And that's the way it is", "Walter Leland Cronkite, Jr.", "Walter conkrite", "Walter Cronkite", "Walter L. Cronkite Jr.", "Walter Leland Cronkite", "Walter Conkrite", "Walter Leland Cronkite Jr.", "Walter Kronkite"], "source": "triviaqa", "difficulty": "simple"} {"input": "Prior to being shut down for WWII, what was the final thing shown on the channel that aired Hugh and I?", "answer": "Mickey's Gala Premier", "source": "musique", "difficulty": "multi_hop"} {"input": "Stephen Williams is head coach of which Lutheran school located in Adelaide, South Australia?", "answer": "Immanuel College", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "How is seriously rich Percy Miller better known?", "answer": ["Percy Robert Miller", "Percy R. Miller", "Valentino Miller", "P.R. Miller", "P.Miller", "Valentino (rapper)", "P. Miller", "P. Robert Miller", "Young-V", "Al Capone (Master P album)", "Master P.", "Percy Miller", "Al Capone (mixtape)", "P. Miller (formerly Master P)", "Young V", "Master p", "Master P", "The Ghetto Is Trying to Kill Me!"], "source": "triviaqa", "difficulty": "simple"} {"input": "Between two tennis players Kim Clijsters and Mary Pierce, who is older?", "answer": "Mary Pierce", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Chris Lang's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "How many square miles is the city where Jawaharlal Nehru Stadium is located?", "answer": "16.5 sq mi", "source": "musique", "difficulty": "multi_hop"} {"input": "who was the first team to win the scottish cup", "answer": "Queen's Park", "source": "nq", "difficulty": "simple"} {"input": "When was the country where the groups not from the United States originated from in The Sing-Off annexed by the United States?", "answer": "1898", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Indians born?", "answer": "[\"Denmark\", \"DK\", \"Danmark\", \"DNK\", \"DEK\", \"dk\", \"Denmark proper\", \"metropolitan Denmark\", \"🇩🇰\", \"DEN\", \"TAN\", \"Realm of Denmark\", \"Kingdom of Denmark\"]", "source": "popqa", "difficulty": "simple"} {"input": "In which county was Sherry Mangan born?", "answer": "Essex County", "source": "musique", "difficulty": "multi_hop"} {"input": "Who is younger, John Oulton or Andrew Demetriou?", "answer": "Andrew Demetriou", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When did the drinking age change to 21 in the state where Agoston Haraszthy resided?", "answer": "September 1, 1986", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to find minimum k records from tuple list.", "answer": "def min_k(test_list, K):\r\n res = sorted(test_list, key = lambda x: x[1])[:K]\r\n return (res)", "source": "mbpp", "task_id": "753", "test_cases": "assert min_k([('Manjeet', 10), ('Akshat', 4), ('Akash', 2), ('Nikhil', 8)], 2) == [('Akash', 2), ('Akshat', 4)]\nassert min_k([('Sanjeev', 11), ('Angat', 5), ('Akash', 3), ('Nepin', 9)], 3) == [('Akash', 3), ('Angat', 5), ('Nepin', 9)]\nassert min_k([('tanmay', 14), ('Amer', 11), ('Ayesha', 9), ('SKD', 16)], 1) == [('Ayesha', 9)]", "difficulty": "code"} {"input": "When did the director of film Rathna Manjari die?", "answer": "13 February 1989", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What was population of the city where the Dutch retired footballer Foeke Booy born?", "answer": "108,249", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "how many keys are on microsoft windows standard keyboard", "answer": "104", "source": "nq", "difficulty": "simple"} {"input": "Who was America's first world chess champion?", "answer": ["Bobby Fischer (Chess career)", "Fisher's endgame", "Bob Fischer", "Bobby Fischer", "Bobby Fischer (chess career)", "Robert James Fischer", "Bobby Fischer (biography)", "Bobbie fischer", "Regina Wender", "Bobby fischer", "Robert J Fischer", "Bobby Ficsher", "Bobbie Fisher", "Fischer's endgame", "Bobby Fisher", "Robert J. Fischer"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which film actor became mayor of Carmel, California in 1986?", "answer": ["Crint Eastwood", "Eastwood, Clinton Jr.", "Clinton Eastwood Jr.", "Clinton %22Clint%22 Eastwood, Jr.", "Clinton Eastwood, Jr.", "Francesca Ruth Eastwood", "Clint Eastwood characters", "Clint Eastwood", "Don Runner", "Clint eastwood", "Clinton Eastwood"], "source": "triviaqa", "difficulty": "simple"} {"input": "Where is the continental limit of the continent encompassing Kusunoki Point?", "answer": "60th parallel south", "source": "musique", "difficulty": "multi_hop"} {"input": "Whose musical works included Composition For Orchestra and Philomel?", "answer": "Milton Babbit", "source": "triviaqa", "difficulty": "simple"} {"input": "where did spain colonize in the new world", "answer": ["half of South America", "most of Central America", "across the Caribbean Islands"], "source": "nq", "difficulty": "simple"} {"input": "What British man was was wrongly convicted of murdering Jill Dando?", "answer": "Barry George", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who played sloane in ferris bueller's day off", "answer": "Mia Sarapochiello", "source": "nq", "difficulty": "simple"} {"input": "Javier Mora, is a Mexican boxer in the Heavyweight division, he was defeated by Alexander Vladimirovich \"Sasha\" Povetkin, by a 5-round TKO, in which country?", "answer": "Germany", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "where does the reed go on a saxophone", "answer": "the mouthpiece", "source": "nq", "difficulty": "simple"} {"input": "When did the distributor of Compromising Positions announce the remastered release of Star Trek for TV?", "answer": "July 26, 2007", "source": "musique", "difficulty": "multi_hop"} {"input": "Who did Martina Navratilova beat to win her ninth Wimbledon title?", "answer": ["Zina Garrison-Jackson", "Zina Garrison Jackson", "Zina Garrison"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who is the performer of the Fantasy Land Tour 2004, recorded in the birthplace of Barney Cheng?", "answer": "S.H.E", "source": "musique", "difficulty": "multi_hop"} {"input": "Have the people of the country where Ephesus was located held any feeling towards the cloth symbol of the Greeks?", "answer": "ethnic tensions with the Turkish Cypriot minority", "source": "musique", "difficulty": "multi_hop"} {"input": "Panama proclaimed independence in 1903 from which country?", "answer": ["Columbia", "Columbia (municipality)", "Columbia (song)", "Columbia automobile", "Columbia (yacht)", "Columbia (disambiguation)", "Columbia (town)"], "source": "triviaqa", "difficulty": "simple"} {"input": "How many of the four Grand Slam trophies in tennis are gold; how many are silver?", "answer": "Only the Wimbledon trophy is gold; the others--for the U.S. Open, the French Open and the Australian Open--are sliver", "source": "triviaqa", "difficulty": "simple"} {"input": "What county borders the community of Dean which shares a county with New Germany?", "answer": "Colchester County", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Andrea di Alessandro born?", "answer": "[\"Brescia\", \"Lioness of Italy\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did the author of the The Cloud die?", "answer": "8 July 1822", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Javad Maroufi's occupation?", "answer": "[\"composer\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Giuseppe Demachi's occupation?", "answer": "[\"composer\"]", "source": "popqa", "difficulty": "simple"} {"input": "What South Korean sitcom starred a South Korean singer and actress who began her music career at the age of 15?", "answer": "The Producers", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Write function to find the sum of all items in the given dictionary.", "answer": "def return_sum(dict):\r\n sum = 0\r\n for i in dict.values():\r\n sum = sum + i\r\n return sum", "source": "mbpp", "task_id": "796", "test_cases": "assert return_sum({'a': 100, 'b':200, 'c':300}) == 600\nassert return_sum({'a': 25, 'b':18, 'c':45}) == 88\nassert return_sum({'a': 36, 'b':39, 'c':49}) == 124", "difficulty": "code"} {"input": "What was the position held by the person defeating the last song emperor of the country having Rao Shushi?", "answer": "Khagan", "source": "musique", "difficulty": "multi_hop"} {"input": "\"Under what assumed name did Oscar Wilde live out the last three years of his life, in \"\"France?\"", "answer": ["Oscar Wild", "Flahertie", "C. 3. 3. 3", "Oscar Wilde", "O'Flahertie", "C. 3. 3. 3.", "O Wilde", "Oscar O'Flahertie Wills Wilde", "Oscar O'flaherty Wilde", "Oscar wilde", "Sebastian Melmoth", "Oscar Fingal O'Flaherty Wills Wilde", "Theocritus: a villanelle", "Oscar Wilde/Biblio", "Oscar Fingal O'Flahertie Wills Wilde", "Cyril Wilde"], "source": "triviaqa", "difficulty": "simple"} {"input": "What country of origin does Nick Kroll and Get Him to the Greek have in common?", "answer": "American", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the nickname of the host for which \"Winner Take All\" is best known?", "answer": "\"Dean of Game Show Hosts\"", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Richard S. Bull born?", "answer": "[\"Wilkinsburg\"]", "source": "popqa", "difficulty": "simple"} {"input": "United 300 and 300 were both made in what country?", "answer": "American", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Yukio Mishima and Roberto Bolaño, are Chilean?", "answer": "no", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where did the director of film The Woman Dressed As A Man die?", "answer": "Rome", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where did Cecily Of York's father die?", "answer": "Westminster", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which film came out first, A Hill In Korea or Ek Anek Aur Ekta?", "answer": "A Hill In Korea", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Maarten Biesheuvel born?", "answer": "[\"Schiedam\"]", "source": "popqa", "difficulty": "simple"} {"input": "Where did the director of film Tarzan And The Jungle Boy die?", "answer": "Los Angeles", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which soap boasted a cafe called the Hot Biscuit?", "answer": ["Dallas Fire-Rescue", "Dallas, tx", "Sister cities of Dallas, Texas", "Dallas", "Sister cities of Dallas", "Dallas, TX/Draft", "Dallas, texas", "Dallas, Texas, U.S.A.", "Dallas, Tex.", "Dallas City Council", "Dallas,Texas", "Dallas, Texas/Draft", "Dallas Texas", "History of Dallas, TX", "Dallas, USA", "Dallas TX", "DALLAS", "Dallas, TX", "Dallas, United States", "Dalls", "UN/LOCODE:USDAL", "Dallas (TX)", "Dallas Fire-Rescue Department", "Dallas (AFL)", "Facts on Dallas, TX", "Dallas, Texas, United States of America", "Dallas, Texas, USA", "Dallas (City)", "Dallas, Texas, U.S.", "City of Dallas", "Dallas Fire Department", "The Big D (Texas)", "Dallas, Texas", "City of Dallas, Texas", "Dallas texas", "Dallas (Texas)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who chaired the ceremony in which the film written by Canet and Philippe Lefebvre won the award for Best Film?", "answer": "Isabelle Mergault", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where was the composer of film Pancha Thanthram born?", "answer": "Paravoor", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Albert Bates's occupation?", "answer": "[\"lawyer\", \"attorney\", \"solicitor\", \"barrister\", \"lawyers\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Paul Hindemith's occupation?", "answer": "[\"composer\", \"concertmaster\", \"principal violin\", \"principal violinist\", \"first chair\", \"leader\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are Sam Earle and Felix Luckeneder from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Do both films, The Port Of Doom and Big Daddy (1999 Film), have the directors who are from the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When did the Beatles become popular in the country where helicopters are based in the nation that recently voted to leave an example of a federal union?", "answer": "1963", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Brian Kerwin born?", "answer": "[\"Chicago\", \"Chicago, Illinois\", \"The Windy City\", \"City by the Lake\", \"The Queen of the West\", \"Chi-Town\", \"Chitown\", \"The Second City\", \"City of Chicago\", \"City of Broad Shoulders\", \"Chi-Raq\", \"Chicago, IL\"]", "source": "popqa", "difficulty": "simple"} {"input": "In which county is the city Ian Sharman is associated with located?", "answer": "Contra Costa County", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Kyriakos Mavronikolas's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Meg McCall's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Christianity become the official religion of the which foreign group that conquered where this experiment took place in?", "answer": "380", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the capital of the county where Ebbetts Pass Highlands is located?", "answer": "San Andreas", "source": "musique", "difficulty": "multi_hop"} {"input": "Where did the director of film Avalanche (1928 Film) die?", "answer": "Hollywood", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Antonio Calcagni born?", "answer": "[\"Recanati\"]", "source": "popqa", "difficulty": "simple"} {"input": "From 1903 to 1958, every Pope--bar one--took which name?", "answer": ["Pius", "Pius (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a function to extract all the adjacent coordinates of the given coordinate tuple.", "answer": "def adjac(ele, sub = []): \r\n if not ele: \r\n yield sub \r\n else: \r\n yield from [idx for j in range(ele[0] - 1, ele[0] + 2) \r\n for idx in adjac(ele[1:], sub + [j])] \r\ndef get_coordinates(test_tup):\r\n res = list(adjac(test_tup))\r\n return (res)", "source": "mbpp", "task_id": "630", "test_cases": "assert get_coordinates((3, 4)) == [[2, 3], [2, 4], [2, 5], [3, 3], [3, 4], [3, 5], [4, 3], [4, 4], [4, 5]]\nassert get_coordinates((4, 5)) ==[[3, 4], [3, 5], [3, 6], [4, 4], [4, 5], [4, 6], [5, 4], [5, 5], [5, 6]]\nassert get_coordinates((5, 6)) == [[4, 5], [4, 6], [4, 7], [5, 5], [5, 6], [5, 7], [6, 5], [6, 6], [6, 7]]", "difficulty": "code"} {"input": "At which stadium does the team, for which Baltimore's Marching Ravens is the official marching band, play its home games?", "answer": "M&T Bank Stadium", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "\"From Eden\" is a number 2 song from the Irish Singles Chart that came from what album that was released on September 19th?", "answer": "Hozier", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who led the military organization that the Northwestern Front was part of, and made it an effective fighting force?", "answer": "Marshal Mikhail Tukhachevsky", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Bastien Lecouffe-Deharme born?", "answer": "[\"Vannes\", \"Cité des Vénètes\", \"Gwened\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the senate of the state where Peter Norbeck is from part of?", "answer": "South Dakota State Legislature", "source": "musique", "difficulty": "multi_hop"} {"input": "Judi Dench won an Oscar as which Queen in Shakespeare in Love?", "answer": ["The Gloriana", "Queen Elisabeth of england", "Elizabeth the First", "Queene Elisabeth of England", "Bess of England", "Elizabeth I of Ireland", "Queen Elizabeth 1", "Queen Elisabeth I", "Elizabeth I (England)", "Elizabeth I of Great Britain", "Queen of England Elizabeth", "Queen Elizabeth the first", "Queen Elizabeth I of England", "Elizabeth the first", "Elizabeth I of the United Kingdom", "Queen of England Elizabeth I", "QEI", "Elizabeth I", "Queen Elizabeth of England", "Elisabeth 1st", "La Vita della Regina Elizabetta", "Elisabeth I of England", "Elisabeth of England", "Queen Elizabeth the First", "Elizabeth I of England", "Good Queen Bess", "Liz 1", "Virgin Queen", "Elizabeth 1", "Queen Elizabeth l", "Elizabeth of England", "Elizabeth I Tudor", "Elizabeth Tudor", "Elizabeth I, Queen of England", "Elizabeth the 1st", "Queen Elizabeth I", "Elizabeth i of england", "Elisabeth I"], "source": "triviaqa", "difficulty": "simple"} {"input": "Guitars for Wounded Warriors is an album that was recorded in the village in which New York county?", "answer": "Ulster County", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Fred Mundee attended the public high school that was built in what year?", "answer": "1909", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What was Hitchcock's first sound movie?", "answer": ["Blackmailer", "Blackmailing", "Blackmail", "R v Lawrence and Pomroy", "Blackmailed", "Blackmails", "Black mail"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Hiroyuki Arai's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What country holds both Fetteresso Castle and Cowie Castle?", "answer": "Scotland", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Doug Gwosdz born?", "answer": "[\"Houston\", \"Houston, Texas\", \"Space City\", \"H-Town\", \"City of Houston\", \"USHOU\", \"Houston, TX\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to find the sequences of one upper case letter followed by lower case letters.", "answer": "import re\r\ndef text_uppercase_lowercase(text):\r\n patterns = '[A-Z]+[a-z]+$'\r\n if re.search(patterns, text):\r\n return 'Found a match!'\r\n else:\r\n return ('Not matched!')", "source": "mbpp", "task_id": "917", "test_cases": "assert text_uppercase_lowercase(\"AaBbGg\")==('Found a match!')\nassert text_uppercase_lowercase(\"aA\")==('Not matched!')\nassert text_uppercase_lowercase(\"PYTHON\")==('Not matched!')", "difficulty": "code"} {"input": "Chang Ucchin was born in korea during a time that ended with the conclusion of what?", "answer": "World War II", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which President wrote Why England Slept about the rise of Fascism?", "answer": ["JFK", "J.F.K", "J.F.K. Administration", "Kennedy administration", "JFK (President)", "J.F. Kennedy", "J. F. Kennedy", "John f kennedy", "John fitzgerald kennady", "John Kennedy", "My God, I'm hit", "John F.Kennedy", "Kennedyesque", "JFK administration", "President John F. Kennedy", "Jack Kennedy", "John F Kennedy", "35th President of the United States", "JF Kennedy", "Kennedy Administration", "President John Kennedy", "John f kenedy", "John F. Kennedy", "J.F.K.", "JFK (president)", "Jfk", "Jhon F Kennedy", "John F. Kennedy and civil rights", "John f. kennedy", "J F Kennedy", "J. F. K.", "John Fitzgerald %22Jack%22 Kennedy", "Camelot era", "John f. kenedy", "John Fitzgerald Kennedy", "Kennedy, John F.", "John f k", "Kennedy era", "President Kennedy", "Early years of john f. kennedy", "John F. %22Jack%22 Kennedy", "J F K", "Eponyms of John F. Kennedy", "U.S. President J.F. Kennedy", "President John F Kennedy", "John F. Kennedie", "Kennedyism", "Senator John F. Kennedy"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Jaime de Angulo born?", "answer": "[\"Paris\", \"City of Light\", \"Paris, France\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who is the publisher of They Came to the birthplace of Oday Rasheed?", "answer": "Collins Crime Club", "source": "musique", "difficulty": "multi_hop"} {"input": "In the state where \"Careful What You Wish For\" was filmed, what is Lone Hickory's county capital?", "answer": "Yadkinville", "source": "musique", "difficulty": "multi_hop"} {"input": "\"Which song say, \"\"The words of the prophet are written on the subway walls?\"\"\"", "answer": ["The Sounds of Silence (song)", "The Sound Of Silence", "Sound of Silence", "The Sound of Silence", "En ton av tystnad", "The Sounds of Silence", "Hello Darkness My old Friend"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who directed a film that included Sarah Manninen?", "answer": "Martha Coolidge", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Gideon Olin's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which famous name was accused f the abduction of Stompie Seipei?", "answer": ["Nomzamo Winifred Zanyiwe Madikizela", "Winnie Madikizela-Mandela", "Winnie Mandela", "Nomzano Zaniewe", "Winnie Nomzamo Mandela", "Nomzamo Winnie Mandela", "Mandela, Winnie", "Winnie Madikizela Mandela", "Winnie Madikizela", "Winnifred Mandela"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is James Anderson's occupation?", "answer": "[\"physician\", \"physicians\", \"medical doctor\", \"medical practitioner\", \"doctor\", \"medical doctors\"]", "source": "popqa", "difficulty": "simple"} {"input": "Ferihegy international airport is in which country?", "answer": ["Maďarsko", "Magyarorszag", "Ungarn", "Magyar Köztársaság", "Hungarian Republic", "Hungarian Republic of 1989", "Hongarije", "Hungery", "Architecture of Hungary", "Magyar Koeztarsasag", "Magyarország", "Austrian Empire (Hungary)", "HUNGARY", "Hungría", "Hungray", "ISO 3166-1:HU", "Hongrie", "HUngary", "Republic of Hungary", "Ungheria", "Magyar Koztarsasag", "Hungary", "Hungarian holidays"], "source": "triviaqa", "difficulty": "simple"} {"input": "Silent Möbius is heavily influenced by the movie directed by whom?", "answer": "Ridley Scott", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Downton is a civil parish in Herefordshire, located in the north of the county and containing the village of Downton-on-the-Rock, in which manuscript record of the \"Great Survey\" of much of England and parts of Wales completed in 1086, Downton is referred to as \"Duntune\", meaning \"hill settlement\"?", "answer": "Domesday Book", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the date of birth of the director of film Pola X?", "answer": "22 November 1960", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When does monsoon season end in the state Toney Anaya was governor of?", "answer": "mid-September", "source": "musique", "difficulty": "multi_hop"} {"input": "what is the world record for remembering pi", "answer": "Akira Haraguchi", "source": "nq", "difficulty": "simple"} {"input": "In what city was Rolland Golden born?", "answer": "[\"New Orleans\", \"NOLA\", \"New Orleans, Louisiana\", \"New Orleans, LA\", \"The Big Easy\", \"Crescent City\"]", "source": "popqa", "difficulty": "simple"} {"input": "how many episodes in season 1 of the oc", "answer": "27", "source": "nq", "difficulty": "simple"} {"input": "What was Kevin Kline's first movie?", "answer": ["Sophie's Choice", "Sophie's Choice (disambiguation)", "Sophies Choice", "Sophie's choice"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who wrote the novel The Go Between?", "answer": ["L P Hartley", "L. P. Hartley", "Leslie Hartley", "L.P. Hartley", "The past is a foreign country", "Leslie Poles Hartley", "LP Hartley"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Russell Stokes's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which has the highest population, Rode island or South Dakota?", "answer": ["RhodeIsland", "Villages of rhode island", "Rogue's Island", "Rhode Island Treasurer", "Rhode Island (U.S. state)", "Education in Rhode Island", "Rhode Island General Treasurer", "Rhode island agriculture", "Rhode Island and the Providence Plantations", "Demographics of Rhode Island", "Rhode island and providence plantations", "Rhode Island (state)", "State of Rhode Island", "R.I.", "Little Rhody", "Rhode Island Governor's Mansion", "The Ocean State", "Rhode Islanders", "Rhode Islander", "Symbols of Rhode Island", "Transport in Rhode Island", "Villages of Rhode Island", "Rhode Island and Providence Plantations", "R I", "R.i.", "Rhode Island", "Geography of Rhode Island", "Rhode Island Villages", "Religion in Rhode Island", "13th State", "The State of Rhode Island and Providence Plantations", "Ocean State", "Culture of Rhode Island", "State of Rhode Island and Providence Plantations", "Rode Island", "Rhode Island, United States", "Sports in Rhode Island", "Economy of Rhode Island", "Rhode island", "Transportation in Rhode Island", "Climate of Rhode Island", "Thirteenth State", "US-RI", "Rhode Island cuisine", "RI", "Road Island"], "source": "triviaqa", "difficulty": "simple"} {"input": "An institution like a German Fachhochschule is referred to by what term in the country where Régis Ghesquière died and the country where paintings focused more on textures and surfaces?", "answer": "hogeschool", "source": "musique", "difficulty": "multi_hop"} {"input": "Who won the Best Actor and Best Director Oscar for Dances With Wolves?", "answer": ["Famous for Killing Each Other: Music from and Inspired By Hatfields & McCoys", "Kevin M. Costner", "Kevin Michael Costner", "The Explorers Guild (TV series)", "The Explorers Guild", "Kevin Kostner", "The Explorers Guild (film)", "Kevin Costner", "The Explorers Guild (franchise)", "List of awards and nominations received by Kevin Costner", "The Explorers Guild (2015 film)", "From Where I Stand (album)", "The Explorers Guild (2014 film)", "Kevin M Costner"], "source": "triviaqa", "difficulty": "simple"} {"input": "when did the rams move to saint louis", "answer": "April 12, 1995", "source": "nq", "difficulty": "simple"} {"input": "Are Tabu Ley Rochereau and Sheldon Rampton of the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to find maximum run of uppercase characters in the given string.", "answer": "def max_run_uppercase(test_str):\r\n cnt = 0\r\n res = 0\r\n for idx in range(0, len(test_str)):\r\n if test_str[idx].isupper():\r\n cnt += 1\r\n else:\r\n res = cnt\r\n cnt = 0\r\n if test_str[len(test_str) - 1].isupper():\r\n res = cnt\r\n return (res)", "source": "mbpp", "task_id": "806", "test_cases": "assert max_run_uppercase('GeMKSForGERksISBESt') == 5\nassert max_run_uppercase('PrECIOusMOVemENTSYT') == 6\nassert max_run_uppercase('GooGLEFluTTER') == 4", "difficulty": "code"} {"input": "What is Julia de Asensi's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\"]", "source": "popqa", "difficulty": "simple"} {"input": "who is the guy who voiced disney channel", "answer": ["\"Buzz\" Brainard", "Cameron"], "source": "nq", "difficulty": "simple"} {"input": "who produced it ain't hard to tell", "answer": "Large Professor", "source": "nq", "difficulty": "simple"} {"input": "Who played Aunt Bea on the show named for the actor of the old man in Waiting on a Woman?", "answer": "Frances Elizabeth Bavier", "source": "musique", "difficulty": "multi_hop"} {"input": "Are the bands Put The Rifle Down and The Grace Thrillers, from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the area code for Cincinnati, in the state that has the Cleveland Metroparks Zoo?", "answer": "513", "source": "musique", "difficulty": "multi_hop"} {"input": "On the border of which two countries is Victoria Falls?", "answer": "Zambia and Zimbabwe", "source": "triviaqa", "difficulty": "simple"} {"input": "What Chicago gang were Charles \"Chuckie\" Anthony Nicoletti and Salvatore \"Mooney Sam\" Giancana, better known as Sam Giancana, apart of?", "answer": "Outfit", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Leona Detiège's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Jennifer Jason Leigh's real name?", "answer": "Jennifer Morrow", "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Reinhard Jirgl born?", "answer": "[\"East Berlin\", \"Soviet zone of Berlin\", \"Berlin-Ost\", \"Ostberlin\", \"Soviet sector of Berlin\", \"Berlin, Hauptstadt der DDR\", \"Berlin Hauptstadt der DDR\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Kekko Fornarelli's occupation?", "answer": "[\"composer\", \"pianist\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a python function to print duplicants from a list of integers.", "answer": "def Repeat(x): \r\n _size = len(x) \r\n repeated = [] \r\n for i in range(_size): \r\n k = i + 1\r\n for j in range(k, _size): \r\n if x[i] == x[j] and x[i] not in repeated: \r\n repeated.append(x[i]) \r\n return repeated", "source": "mbpp", "task_id": "659", "test_cases": "assert Repeat([10, 20, 30, 20, 20, 30, 40, 50, -20, 60, 60, -20, -20]) == [20, 30, -20, 60]\nassert Repeat([-1, 1, -1, 8]) == [-1]\nassert Repeat([1, 2, 3, 1, 2,]) == [1, 2]", "difficulty": "code"} {"input": "In which country did Argentina first win soccer's World Cup?", "answer": ["Argentina 1978", "Argentina 78", "1978 Federation Internationale de Football Association World Cup", "WC 1978", "Argentina (1978)", "1978 FIFA World Cup", "1978 World Cup Finals", "Argentina '78", "Football World Cup 1978", "1978 Football World Cup", "1978 World Cup", "FIFA World Cup 1978", "World cup 1978", "1978 Fédération Internationale de Football Association World Cup", "World Cup 1978"], "source": "triviaqa", "difficulty": "simple"} {"input": "Ed Gagliardi, Al Greenwood and Dennis Elliot have all been in which group?", "answer": ["Foreigner (novel", "Foreigner (novel)", "Foreigner", "The Foreigner", "Foreigners", "Foreigner (disambiguation)", "Foreigner (album)"], "source": "triviaqa", "difficulty": "simple"} {"input": "What subset of the language used almost exclusively for building new information processing systems is employed by Windows?", "answer": "WGL-4 with 652 characters", "source": "musique", "difficulty": "multi_hop"} {"input": "Benji is an upcoming American drama film written, co-produced and directed by who, and is a reboot of the 1974 film of the same name?", "answer": "Brandon Camp", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the county for the city served by WBCO?", "answer": "Crawford County", "source": "musique", "difficulty": "multi_hop"} {"input": "who played bernardo in the movie west side story", "answer": "George Chakiris", "source": "nq", "difficulty": "simple"} {"input": "What is the diocese in the town where CJRI-FM is licensed?", "answer": "Anglican Church of Canada", "source": "musique", "difficulty": "multi_hop"} {"input": "who narrated the old man and the sea", "answer": "Spencer Tracy", "source": "nq", "difficulty": "simple"} {"input": "Are Lucas Tirigall Caste and Naphtali Hirz Wessely both from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who was the third wife of the leader of China's Long March?", "answer": ["李淑蒙", "蓝苹", "江青", "Lan P'ing", "Madam Mao", "Jiang Qing", "Jiang Cing", "Chiang Ching", "Li Yun-ho", "李润青", "Lan Ping", "Jiāng Qīng", "Li Shumeng", "Ching Chiang", "Li Yunhe", "李云鹤", "Madame Mao", "无产阶级文艺伟大旗手", "Jiang Ching", "李潤青", "李雲鶴", "Chiang Ch'ing", "Tschiang Tsching", "Qing Jiang", "Li Runqing", "Ching chiang"], "source": "triviaqa", "difficulty": "simple"} {"input": "Were both Sharm Scheuerman and Sixten Sild, born in the same place?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Steve Tom's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "What was the first year in which a men's team played basketball at the university Clay Christiansen attended?", "answer": "1898", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the new tallest building in the city where the RSA Security Conference was held?", "answer": "Salesforce Tower", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Charles Strachey, 4th Baron O'Hagan's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "The speaker of whom the priminister of india is responsible to is elected by what?", "answer": "members of the Lok Sabha", "source": "musique", "difficulty": "multi_hop"} {"input": "Who was President Reagan's Secretary for Defense from 1987 to 1989?", "answer": ["Frank Charles Carlucci", "Frank Charles Carlucci, III", "Frank Carlucci", "Frank Carlucci III", "Frank C. Carlucci", "Frank C. Carlucci III", "Frank Charles Carlucci III"], "source": "triviaqa", "difficulty": "simple"} {"input": "What was Bette Davis's real first name?", "answer": ["Ruth (crater)", "Ruth", "Ruth (disambiguation)", "Ruthian", "Ruthie"], "source": "triviaqa", "difficulty": "simple"} {"input": "where was the airport scene in dumb and dumber filmed", "answer": "Salt Lake City International Airport", "source": "nq", "difficulty": "simple"} {"input": "The mangalyaan of the country where Goa is located was sent to the planet where Padus Vallis is located by launching what?", "answer": "a Polar Satellite Launch Vehicle (PSLV) rocket C25", "source": "musique", "difficulty": "multi_hop"} {"input": "What was John Huston's last movie?", "answer": ["The Dead (1987 movie)", "The dead", "The Dead (film)", "The Dead (disambiguation)", "The Dead"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Edgar Allan Poe's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\", \"playwright\", \"dramatist\", \"playwrite\", \"scriptwriter\", \"poet\", \"poetess\", \"bard\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Fahd Ananta born?", "answer": "[\"Dhaka\", \"Dacca\", \"Dhaka City\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to check if the string is a valid email address or not using regex.", "answer": "import re \r\nregex = '^[a-z0-9]+[\\._]?[a-z0-9]+[@]\\w+[.]\\w{2,3}$'\r\ndef check_email(email): \r\n\tif(re.search(regex,email)): \r\n\t\treturn (\"Valid Email\") \r\n\telse: \r\n\t\treturn (\"Invalid Email\")", "source": "mbpp", "task_id": "774", "test_cases": "assert check_email(\"ankitrai326@gmail.com\") == 'Valid Email'\nassert check_email(\"my.ownsite@ourearth.org\") == 'Valid Email'\nassert check_email(\"ankitaoie326.com\") == 'Invalid Email'", "difficulty": "code"} {"input": "Are director of film Zamaana Deewana and director of film The Last Attraction from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who is the spouse of the director of film Henry Goes Arizona?", "answer": "Ann Morriss", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the date of birth of the director of film South Of The Border (1939 Film)?", "answer": "July 14, 1908", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who is an American journalist and has been Literary Editor of \"The Weekly Standard,\", Philip Terzian or Derek Sherinian", "answer": "Philip Henry Terzian", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who was the Egyptian king whose tomb an treasures were discovered in the Valley of the Kings in 1922?", "answer": ["King Tut", "Tutanhamon", "Tutankamun", "Tutankhamen", "Nebkheprure", "Tut-Anj-Amon", "King Tutankhamun", "Tutankhaten", "Tutankamen", "King tut", "Tutankhaumen", "Tutenkhamun", "King Tut's Death", "Tut-ankh-amun", "Tutankhamen's Death Mask", "Tutankamon", "Kingtut", "Tutenkamen", "Living Image of Amun", "Tutankhamum", "Tutankhamun", "Come on, Tutan", "Tuthankamun", "Tut Anj Amon", "Tutankhaton", "King Tutankhamen", "Pharaoh Tutankhamun", "The Boy King", "Living Image of Aten", "Tutankhamon", "Tuthankamen", "Nebkheperure Tutankhamun", "Tutenkhamen", "Nebkheperure", "Tutankhanum"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which Club featured in cabaret?", "answer": ["Kit-Kat", "Kit Kat Chunky", "Kit Kat Senses", "KitKat", "Kit Kat Duo", "Kit-kats", "Kit kat", "Chocolate Crisp", "Kitkat", "Kit kat duo", "Kit Kat", "Rowntree's Chocolate Crisp"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a python function to find the sum of all odd length subarrays.", "answer": "def Odd_Length_Sum(arr):\r\n Sum = 0\r\n l = len(arr)\r\n for i in range(l):\r\n Sum += ((((i + 1) *(l - i) + 1) // 2) * arr[i])\r\n return Sum", "source": "mbpp", "task_id": "782", "test_cases": "assert Odd_Length_Sum([1,2,4]) == 14\nassert Odd_Length_Sum([1,2,1,2]) == 15\nassert Odd_Length_Sum([1,7]) == 8", "difficulty": "code"} {"input": "Which great guitarist had the first names Aaron Thibodaux?", "answer": ["T–Bone Walker", "T Bone Walker", "Aaron Thibeaux Walker", "T. Bone Walker", "T-bone Walker", "Aaron T-Bone Walker", "T-Bone Walker"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Jacob Kraemer's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is John Williams Tobey's occupation?", "answer": "[\"architect\"]", "source": "popqa", "difficulty": "simple"} {"input": "when was the internet invented for home use", "answer": "the late 1980s", "source": "nq", "difficulty": "simple"} {"input": "Are Sang-E Vares and Ganjgah both located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who directed the 2004 film that featured \"Más\" by Kinky?", "answer": "Tony Scott", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the date of birth of the director of film You'Re My Everything (Film)?", "answer": "August 10, 1896", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to check if each element of the second tuple is greater than its corresponding index in the first tuple.", "answer": "def check_greater(test_tup1, test_tup2):\r\n res = all(x < y for x, y in zip(test_tup1, test_tup2))\r\n return (res)", "source": "mbpp", "task_id": "695", "test_cases": "assert check_greater((10, 4, 5), (13, 5, 18)) == True\nassert check_greater((1, 2, 3), (2, 1, 4)) == False\nassert check_greater((4, 5, 6), (5, 6, 7)) == True", "difficulty": "code"} {"input": "cities in washington state that start with o", "answer": ["Ocean Shores", "Oak Harbor", "Orting", "Othello", "Olympia", "Oroville", "Okanogan", "Omak", "Oakville"], "source": "nq", "difficulty": "simple"} {"input": "What is Charles Martin Smith's occupation?", "answer": "[\"film director\", \"movie director\", \"director\", \"motion picture director\", \"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Where was the composer of film The Young Magician (Film) born?", "answer": "Wałbrzych", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who is the finance minister of Balavant Apte's birthplace?", "answer": "Sudhir Mungantiwar", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a function to count those characters which have vowels as their neighbors in the given string.", "answer": "def count_vowels(test_str):\r\n res = 0\r\n vow_list = ['a', 'e', 'i', 'o', 'u']\r\n for idx in range(1, len(test_str) - 1):\r\n if test_str[idx] not in vow_list and (test_str[idx - 1] in vow_list or test_str[idx + 1] in vow_list):\r\n res += 1\r\n if test_str[0] not in vow_list and test_str[1] in vow_list:\r\n res += 1\r\n if test_str[-1] not in vow_list and test_str[-2] in vow_list:\r\n res += 1\r\n return (res)", "source": "mbpp", "task_id": "776", "test_cases": "assert count_vowels('bestinstareels') == 7\nassert count_vowels('partofthejourneyistheend') == 12\nassert count_vowels('amazonprime') == 5", "difficulty": "code"} {"input": "Which character did Burt Reynolds play in Evening Shade?", "answer": "Wood Newton", "source": "triviaqa", "difficulty": "simple"} {"input": "What sport did Jack Sock and Raffaella Reggi play?", "answer": "tennis", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where was the director of film Two Tickets To London born?", "answer": "Jersey City", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the place of birth of the director of film Uptown Girls?", "answer": "New York", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who wrote Riders of the Purple Sage?", "answer": ["Zane Gray", "Zane Grey Western Classics", "Pearl Zane Gray", "Zane Grey", "Pearl Zane Grey"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who has won more Grand Slam doubles titles, Elizabeth Smylie or Vasek Pospisil?", "answer": "Elizabeth Smylie", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Rudolf Hilferding's occupation?", "answer": "[\"economist\", \"economists\", \"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What year was the series published that recounts the adventures of Anne Shirley and published by Scholastic Press?", "answer": "1908", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Shelley Wark-Martyn's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "\"Let Me Out\" is a song released as the fifth single from what band's fifth studio album \"Humanz\" which was recorded in London, Paris, New York City, Chicago, and Jamaica ?", "answer": "alternative rock virtual band Gorillaz", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Harvey William Burk's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to remove duplicate words from a given list of strings.", "answer": "def remove_duplic_list(l):\r\n temp = []\r\n for x in l:\r\n if x not in temp:\r\n temp.append(x)\r\n return temp", "source": "mbpp", "task_id": "932", "test_cases": "assert remove_duplic_list([\"Python\", \"Exercises\", \"Practice\", \"Solution\", \"Exercises\"])==['Python', 'Exercises', 'Practice', 'Solution']\nassert remove_duplic_list([\"Python\", \"Exercises\", \"Practice\", \"Solution\", \"Exercises\",\"Java\"])==['Python', 'Exercises', 'Practice', 'Solution', 'Java']\nassert remove_duplic_list([\"Python\", \"Exercises\", \"Practice\", \"Solution\", \"Exercises\",\"C++\",\"C\",\"C++\"])==['Python', 'Exercises', 'Practice', 'Solution','C++','C']", "difficulty": "code"} {"input": "Write a function to find the area of a rombus.", "answer": "def rombus_area(p,q):\r\n area=(p*q)/2\r\n return area", "source": "mbpp", "task_id": "814", "test_cases": "assert rombus_area(10,20)==100\nassert rombus_area(10,5)==25\nassert rombus_area(4,2)==4", "difficulty": "code"} {"input": "The weapon BFG is found in which game developed by id Software ?", "answer": "Doom", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when was bring it on fight to the finish filmed", "answer": "2009", "source": "nq", "difficulty": "simple"} {"input": "Write a function to perform chunking of tuples each of size n.", "answer": "def chunk_tuples(test_tup, N):\r\n res = [test_tup[i : i + N] for i in range(0, len(test_tup), N)]\r\n return (res)", "source": "mbpp", "task_id": "921", "test_cases": "assert chunk_tuples((10, 4, 5, 6, 7, 6, 8, 3, 4), 3) == [(10, 4, 5), (6, 7, 6), (8, 3, 4)]\nassert chunk_tuples((1, 2, 3, 4, 5, 6, 7, 8, 9), 2) == [(1, 2), (3, 4), (5, 6), (7, 8), (9,)]\nassert chunk_tuples((11, 14, 16, 17, 19, 21, 22, 25), 4) == [(11, 14, 16, 17), (19, 21, 22, 25)]", "difficulty": "code"} {"input": "\"Who uttered the famous line \"\"Frankly my dear I don't give a damn?\"", "answer": ["ClarkGable", "Clarke Gabel", "Gable, Clark", "Clarke Gable", "Clark Gable"], "source": "triviaqa", "difficulty": "simple"} {"input": "who is the servant through whom allah provided the quran", "answer": "Muhammad", "source": "nq", "difficulty": "simple"} {"input": "Who beat the player that won the 2017 Australian men's open tennis single title in the US open?", "answer": "Novak Djokovic", "source": "musique", "difficulty": "multi_hop"} {"input": "What author has contributed to such works as \"New Statesmen\", \"The Nation\", and \"The Atlantic\", among others, while also being being associated with Dysteleology?", "answer": "Christopher Hitchens", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Oliver Boot had a role in the Moliere-based film that was first performed in what year?", "answer": "1664", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Jimmy Smith played for a team that won the Champions League under which manager?", "answer": "Roberto Di Matteo", "source": "musique", "difficulty": "multi_hop"} {"input": "Which airport is closer to Cleaveland, Ohio, Luis Muñoz Marín International Airport or Rickenbacker International Airport?", "answer": "Rickenbacker International Airport", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are the movies God'S House (Film) and Natural Selection (2011 Film), from the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "when did the british take over cape colony", "answer": ["1795", "1806"], "source": "nq", "difficulty": "simple"} {"input": "The Crocs River is a tributary of a river given what nickname?", "answer": "\"Rhine of North America\"", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who is this retired American politician who was a U. S. representative of Oklahoma's 2nd Congressional District whom Oklahoma politician Jim Wilson ran against during the July 27 Democratic primary?", "answer": "Dan Boren", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who played ellie walker on andy griffith show", "answer": "Elinor Donahue", "source": "nq", "difficulty": "simple"} {"input": "In what city was Tony Shields born?", "answer": "[\"Strabane\", \"Straban\", \"An Srath Bán\", \"An Srath Ban\"]", "source": "popqa", "difficulty": "simple"} {"input": "What position did football great Jim Brown play?", "answer": ["Full Back", "Full-back (rugby)", "Fullback (rugby)", "Full back", "Fullback", "Fullback (football)", "Full back (football)", "Full-back", "Full Back (football)", "Fullback (disambiguation)", "Full back (rugby)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which album was said to have reflected the end of Bob Dylan's marriage?", "answer": ["You're Gonna Make Me Lonesome When You Go", "Blood on the Tracks (Bob Dylan album)", "Bob Dylan/Blood On The Tracks", "Blood On the Tracks", "Blood On The Tracks", "Blood on the tracks", "Blood on the Tracks"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Esquerita's occupation?", "answer": "[\"pianist\", \"songwriter\", \"song writer\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Petr Mlsna's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who has more scope of profession, Richard Ford or Robert E. Howard?", "answer": "Richard Ford", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where did hurricane Maria hit the country where Luis Villafañe is from?", "answer": "just south of Yabucoa", "source": "musique", "difficulty": "multi_hop"} {"input": "Where was the director of film Stage Fright (1950 Film) born?", "answer": "Leytonstone", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When did the composer of film Andru Kanda Mugam die?", "answer": "21 June 2001", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a python function to calculate the sum of the numbers in a list between the indices of a specified range.", "answer": "def sum_Range_list(nums, m, n): \r\n sum_range = 0 \r\n for i in range(m, n+1, 1): \r\n sum_range += nums[i] \r\n return sum_range", "source": "mbpp", "task_id": "649", "test_cases": "assert sum_Range_list([2, 1, 5, 6, 8, 3, 4, 9, 10, 11, 8, 12],8,10) == 29\nassert sum_Range_list([1,2,3,4,5],1,2) == 5\nassert sum_Range_list([1,0,1,2,5,6],4,5) == 11", "difficulty": "code"} {"input": "What is Alexander Gadolin's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Were the documentaries The Mosuo Sisters and Quantum Hoops released in the same year?", "answer": "no", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Michelle Renaudddd born?", "answer": "[\"Mexico City\", \"Mexico D.F.\", \"Ciudad de México\", \"City of Mexico\", \"Mexico City, Mexico\", \"CDMX\", \"Mexico\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which film has the director who died first, Naseeb (1981 Film) or Fighting Trooper?", "answer": "Fighting Trooper", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the population of the state where the K-27 highway is located?", "answer": "2,913,123", "source": "musique", "difficulty": "multi_hop"} {"input": "Daniel Heartz is an American musicologist and Professor emeritus of Music at which public research university located in Berkeley, California?", "answer": "University of California, Berkeley", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are both Dowlatabad-E Qeysariyeh and Duzan located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the city that Victor Estrada was born in officially know as?", "answer": "Heroica Matamoros", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where is New York's Empire State College located?", "answer": ["Saratoga Springs, New York", "Saratoga Springs", "Saratoga Springs, NY", "UN/LOCODE:USSGA", "Saratoga Springs (NY)", "Maple Avenue Middle School"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the place of birth of Abdullah Ibn Hasan's father?", "answer": "Medina", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What nationality is the director of film Porky'S Revenge!?", "answer": "American", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who was born first, Madhukar Vasudev Dhond or Abdallah Al-Ajmi?", "answer": "Madhukar Vasudev Dhond", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which film has the director who is older than the other, Oh, Kay! (Film) or The Rose Bowl Story?", "answer": "The Rose Bowl Story", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "who performs the secretarial duties for the states of massachusetts pennsylvania and virginia", "answer": ["Pedro Cortés", "William Galvin", "Kelly Thomasson"], "source": "nq", "difficulty": "simple"} {"input": "Write a function to rotate a given list by specified number of items to the right direction.", "answer": "def rotate_right(list1,m,n):\r\n result = list1[-(m):]+list1[:-(n)]\r\n return result", "source": "mbpp", "task_id": "743", "test_cases": "assert rotate_right([1, 2, 3, 4, 5, 6, 7, 8, 9, 10],3,4)==[8, 9, 10, 1, 2, 3, 4, 5, 6]\nassert rotate_right([1, 2, 3, 4, 5, 6, 7, 8, 9, 10],2,2)==[9, 10, 1, 2, 3, 4, 5, 6, 7, 8]\nassert rotate_right([1, 2, 3, 4, 5, 6, 7, 8, 9, 10],5,2)==[6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8]", "difficulty": "code"} {"input": "What is George Birnie Esslemont's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who does the star playing eva peron in the movie evita play in a league of their own?", "answer": "taxi dancer ``All the Way ''Mae Mordabito", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Sarah Dawn Finer's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\", \"songwriter\", \"song writer\"]", "source": "popqa", "difficulty": "simple"} {"input": "who won the presidential election 2018 in zimbabwe", "answer": "incumbent President Emmerson Mnangagwa", "source": "nq", "difficulty": "simple"} {"input": "What is Benjamin Mount's occupation?", "answer": "[\"record producer\", \"music producer\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which film whose director was born first, Sorority House Massacre Ii or Faces In The Fog?", "answer": "Faces In The Fog", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where did the director of film Detective (1954 Film) die?", "answer": "Buenos Aires", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "How long is the river on which Wilbur Dam is located?", "answer": "78.5 mi", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Thandiswa Mazwai's occupation?", "answer": "[\"songwriter\", \"song writer\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which star of Gypsy and West Side Story married Robert Wagner twice?", "answer": ["Nathalie Wood", "Wood, Natalie", "Natalie Wood", "Natasha Gurdin", "Natalie Wagner", "Natalia Nikolaevna Zakharenko"], "source": "triviaqa", "difficulty": "simple"} {"input": "when is the last time a total eclipse happened in the us", "answer": "August 21, 2017", "source": "nq", "difficulty": "simple"} {"input": "When was a free-travel area created between Ireland and the country where the After the Morning performer had citizenship?", "answer": "1997", "source": "musique", "difficulty": "multi_hop"} {"input": "Were Dallin Malmgren and A.B.M. Fazle Karim Chowdhury of the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Chris Vance, is an English actor, and is the second actor after which English actor, and a former model and competitive diver, to play Frank Martin?", "answer": "Jason Statham", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are both villages, Vukpalaj and Ano Lechonia, located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Claire Berlinski's occupation?", "answer": "[\"journalist\", \"journo\", \"journalists\"]", "source": "popqa", "difficulty": "simple"} {"input": "Are both McLeod River (British Columbia) and Waikare River (Northland) located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the cause of death of director of film Road Kill (2010 Film)?", "answer": "cancer", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What network first aired the show where Lydia Brandner was from?", "answer": "Das Erste", "source": "musique", "difficulty": "multi_hop"} {"input": "when did they start drafting for the vietnam war", "answer": "December 1, 1969", "source": "nq", "difficulty": "simple"} {"input": "Is Advanced Micro Devices or Level 3 Communications headquartered further west?", "answer": "Advanced Micro Devices", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What actress starred with James Franco in Palo Alto and played Kristina Jung in \"Blow\"?", "answer": "Emma Roberts", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who is the president of the united states 2016", "answer": ["Barack Obama", "Donald Trump"], "source": "nq", "difficulty": "simple"} {"input": "Sojourners and KO Magazine share what publication format?", "answer": "magazine", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where was the director of film Aap Ke Saath born?", "answer": "Sialkot", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Between the two musicians, Peter Garrett and Ryo Kawakita, who has had more diverse job experiences?", "answer": "Peter Robert Garrett", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who was the star of the dark thriller 8mm?", "answer": ["Weston Coppola", "Nicolas Cage", "Eyes of Noctum", "NicolasCage", "Nic Coppola", "Nic Cage", "Nicolas cage", "Nicholas Cage", "Nicolas Coppola", "Nicholas cage", "Nick Cage", "Nicholas Coppola", "List of awards and nominations received by Nicolas Cage", "Dan Edmunds", "Nicolas Kim Coppola", "Weston Cage", "Cage, Nicholas", "Nouveau Shamanic", "Weston Coppola Cage"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Paul Lieber's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Is Children's National Medical Center or MedStar Washington Hospital Center the largest private hospital in Washington, D.C.?", "answer": "MedStar Washington Hospital Center", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "According to the 2006 census what is the population of the city in which James Iroha Uchechukwu was born ?", "answer": "722,664", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What state are both Wizzo and YG based in?", "answer": "California", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when did the wichita state football team plane crash", "answer": "October 2, 1970", "source": "nq", "difficulty": "simple"} {"input": "Are Hugh Gough, 1St Viscount Gough and David Douglas (Wide Receiver) of the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What does MG sand for in Booker T & The MG's?", "answer": ["Memphis style", "Memphis design", "Memphis Style", "Memphis movement", "Memphis Group", "Memphis (design group)"], "source": "triviaqa", "difficulty": "simple"} {"input": "General Boris Gromov was the last Soviet soldier to leave where in 1989?", "answer": ["Afghanistan", "Avghanistaun", "Soviet-occupied Afghanistan", "Afganhistan", "Afghanestan", "Jomhūrī-ye Eslāmī-ye Afġānestān", "Afghanastan", "Afeganistao", "Afgjanistan", "Afghanistan/Article from the 1911 Encyclopedia", "AfghanistaN", "Afghanistan, Rep. of.", "Afganistan", "Afghanistan-Central Asia", "Afghanistan (1911 Encyclopedia)", "Afghansitan", "Afgahanistan", "IROA", "Kinetic action", "A-Stan", "Afghanstan", "Afğānistān", "AFGHANISTAN", "Afghānistān", "I.R.O.A.", "Islamic Republic of Afghanistan", "Dowlat-e Eslami-ye Afghanestan", "افغانستان", "Afghinastan", "The Graveyard of Empires", "Affghanistan", "Afghanistan, I.S. of", "Etymology of Afghanistan", "The Islamic Republic of Afghanistan", "Islamic Transitional Government of Afghanistan", "ISO 3166-1:AF", "Afghnistan", "د افغانستان اسلامي دولت دولت اسلامی افغانستان", "Da Afġānistān Islāmī Jomhoriyat", "Da Afghanistan Islami Dawlat Dawlat-e Eslami-e Afghanestan"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Jaclyn Stapp's occupation?", "answer": "[\"model\", \"fashion model\", \"sitter\", \"poser\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Louis-Arsène Lavallée born?", "answer": "[\"Berthierville\"]", "source": "popqa", "difficulty": "simple"} {"input": "Neil Armstrong was a pilot in which war?", "answer": ["Corean", "Koreans (disambiguation)", "Korean (disambiguation)", "Koreang", "Korean", "Korea'ng"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which tough guy played Mr. Freeze in Batman & Robin?", "answer": ["Arnold Schwartzennegger", "Arnold schwarzenegger", "Arnold scharzenegger", "Arnold Swarzenegger", "Schwarzenegger, Arnold Alois", "Schwarzy", "Arnold Schwarznegger", "Arnold S", "Bodybuilding competitions featuring arnold schwarzenegger", "Ahnold", "Arnold Schwartzenegger", "Swartzinager", "Schwarzzenegger", "Arnold Schwarshenegger", "Mildred Baena", "Arnold A Schwarzenegger", "Schwarzennegger", "Arnold Schwarznigger", "Unknown Soldier (2015 film)", "Schwarzeneggar", "Arnold Alois Schwarzenegger", "Arnold Strong", "Arnold Schwarzenegger", "Arnold shwarzeneger", "Schwarzenneger", "Govenator", "Bodybuilding competitions featuring Arnold Schwarzenegger", "Arnold Schwarzennegar", "Arnold Swartzeneger", "Arnold Schwartzinager", "Governator", "Arnold: The Education of a Bodybuilder", "Schwarznegger", "Awnald", "Arnold Schwazeneger", "Arnold swarzenager", "Arnold Schwarzanegger", "Schawartzenegger", "Arnold Schwarzeneger", "Big Arnie", "Gov. Schwarzenegger", "Arnold Swartznegger", "Styrian Oak", "Schwarzeneger", "Arnold Shvartsneger", "Arnold swarchnegger", "The Austrian Oak", "Ah-nuld", "Arnold Schwarzennagger", "Arnold Swarchenegger", "Arnold Scwarzenegger", "Meinhard Schwarzenegger", "Arnold S.", "Schwazenegger", "Arnold Swarzenneger", "Schwarzie", "Arnold A. Schwarzenegger", "Governor Arnold", "Arnold Schwartzeneggar", "Arnold Schwarzenneger", "Arnold Schwarzenegger's infidelity", "Arnold Schwarzennegger", "Arnold: the Education of a Body-Builder", "Ahnuld", "Arnold Swarzeneger", "Arnold Swartzennegger", "Schwarzenegger", "Arnold Schwarzeneggar", "Arnold shwarseneger", "Conan the Republican", "Schwarzenegger, Arnold", "Arnold Swarzennegger", "שוורצנגר", "Arnold Schwarzineger", "Arnold Swartzenegger", "Arnold shwarsenegger", "Governor Schwarzenegger", "Arnold Swartzenneger", "Schwarzzeneger", "The Styrian Oak", "Arnold schwartzenager", "Schwarzzennegger", "Schwartzenegger", "Arnold shwarzenegger", "Govenor Arnold Schwarzenegger", "Joseph Baena"], "source": "triviaqa", "difficulty": "simple"} {"input": "The sauce that fills a BiFi Carazza is referred to as what by Italians?", "answer": "Salsa di pomodoro", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Atoms for Peace are an English-American experimental rock supergroup comprising Radiohead singer Thom Yorke, is an English musician and composer, best known as the singer and principal songwriter of which band?", "answer": "Radiohead", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "13 reason why season 2 episode 1 release date", "answer": "May 18, 2018", "source": "nq", "difficulty": "simple"} {"input": "who is the presiding officer of the house of reps", "answer": "Paul Ryan", "source": "nq", "difficulty": "simple"} {"input": "Write a function to replace all spaces in the given string with character * list item * list item * list item * list item '%20'.", "answer": "MAX=1000;\r\ndef replace_spaces(string):\r\n string=string.strip()\r\n i=len(string)\r\n space_count=string.count(' ')\r\n new_length = i + space_count*2\r\n if new_length > MAX:\r\n return -1\r\n index = new_length-1\r\n string=list(string)\r\n for f in range(i-2, new_length-2):\r\n string.append('0')\r\n for j in range(i-1, 0, -1):\r\n if string[j] == ' ':\r\n string[index] = '0'\r\n string[index-1] = '2'\r\n string[index-2] = '%'\r\n index=index-3\r\n else:\r\n string[index] = string[j]\r\n index -= 1\r\n return ''.join(string)", "source": "mbpp", "task_id": "628", "test_cases": "assert replace_spaces(\"My Name is Dawood\") == 'My%20Name%20is%20Dawood'\nassert replace_spaces(\"I am a Programmer\") == 'I%20am%20a%20Programmer'\nassert replace_spaces(\"I love Coding\") == 'I%20love%20Coding'", "difficulty": "code"} {"input": "how many places did the israelites camp in the wilderness", "answer": "42", "source": "nq", "difficulty": "simple"} {"input": "After the Roman Empire ended, what happened to the British Isles and the continent being the first leg of Queen's mid 2000s tour with Electric's performer?", "answer": "the Dark Ages", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was James Keddy born?", "answer": "[\"Dublin\", \"Dublin city\", \"City of Dublin\", \"Baile Átha Cliath\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who played Briscoe Darling on the show named for the actor who played the title role on the show Matlock?", "answer": "actor Denver Pyle", "source": "musique", "difficulty": "multi_hop"} {"input": "What was Sean Penn's first movie?", "answer": ["Butterfield's Lullaby", "Taps", "Taps (bugle call)"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Donald De Lue born?", "answer": "[\"Boston\", \"Beantown\", \"The Cradle of Liberty\", \"The Hub\", \"The Cradle of Modern America\", \"The Athens of America\", \"The Walking City\", \"The Hub of the Universe\", \"Bostonia\", \"Boston, Massachusetts\", \"Boston, MA\", \"Boston, Mass.\", \"Puritan City\"]", "source": "popqa", "difficulty": "simple"} {"input": "who was the first captain of pakistan cricket team", "answer": "Abdul Hafeez Kardar", "source": "nq", "difficulty": "simple"} {"input": "Do both directors of films Mission: Impossible III and The Money Changers have the same nationality?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "South Somercotes is a village and civil parish 8 mi north-east from Louth and approximately 2 mi south from which coastal village in the East Lindsey district, and the Marshes area, of Lincolnshire, England?", "answer": "North Somercotes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Aleksandr Nekrasov born?", "answer": "[\"Moscow\", \"Moskva\", \"Moscow, Russia\", \"Moskva Federal City, Russia\", \"Moscow, USSR\", \"Moskva, Russia\", \"City of Moscow\", \"Moscow, Russian Federation\", \"Moscow, Soviet Union\", \"Moscow, Russian SFSR\", \"Muscovite\", \"Moscovite\"]", "source": "popqa", "difficulty": "simple"} {"input": "what body of water does niagara falls flow into", "answer": "Niagara River", "source": "nq", "difficulty": "simple"} {"input": "\"Which US First Lady said, \"\"No one can make you feel interior unless you consent?\"\"\"", "answer": ["Eleanor Roosevelt", "Elenor Roosevelt", "Eleonore Roosevelt", "Eleanor: The Lonely Years", "Eleanor roosevelt", "Eleonor Roosevelt", "Anna Eleanor Roosevelt, Sr.", "Anna Eleanor Roosevelt Roosevelt", "Anna Eleanor %22Eleanor%22 Roosevelt", "Anna Eleanor Roosevelt", "Elanor roosevelt", "Eleanore Roosevelt"], "source": "triviaqa", "difficulty": "simple"} {"input": "what is the name of a group of llamas", "answer": "herd", "source": "nq", "difficulty": "simple"} {"input": "Who interviewed Dudley Moore about his illness in November 1999?", "answer": ["Barbara Walters", "Barbara Walters Special", "Babwa Wawa", "Barbara Jill Walters", "Baba Wawa", "Lou Walters", "Walters, Barbara", "How to Talk with Practically Anybody about Practically Anything"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Kevin Morton born?", "answer": "[\"Norwalk\", \"Norwalk, Connecticut\", \"Norwalk, CT\"]", "source": "popqa", "difficulty": "simple"} {"input": "Device – Voice – Drum is the fourth live album by a band that produced how many gold albums?", "answer": "eight", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who is the uncle of Phila (Daughter Of Antipater)?", "answer": "Cassander", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is a 2011 British action comedy film parodying the James Bond secret agent genre, that features a song by the band Primal Scream?", "answer": "Johnny English Reborn", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Olivier Alary's occupation?", "answer": "[\"composer\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who was Theodore Roosevelt's Vice President between 1905 and 1909?", "answer": ["Charles W. Fairbanks", "Charles Warren Fairbanks", "Charles Fairbanks"], "source": "triviaqa", "difficulty": "simple"} {"input": "When was Baron Alphons Von Pawel-Rammingen's wife born?", "answer": "9 January 1848", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "When did the company that produced \"Six Gates Far Away Mon Colle Knight\" begin?", "answer": "in 1986", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when written in morse code i am represented by a dot dash and another dot", "answer": ", r", "source": "nq", "difficulty": "simple"} {"input": "What is the name of the airport in the city where District 3 is located?", "answer": "Tân Sơn Nhất International Airport", "source": "musique", "difficulty": "multi_hop"} {"input": "when is the premiere of game of thrones season 7", "answer": "July 16, 2017", "source": "nq", "difficulty": "simple"} {"input": "what was the number one song on august 31st 2017", "answer": "Despacito", "source": "nq", "difficulty": "simple"} {"input": "who invented the first gear driven calculating machine", "answer": "Wilhelm Schickard", "source": "nq", "difficulty": "simple"} {"input": "Who is older, Zhang Zongchang or Marianne Rokne?", "answer": "Zhang Zongchang", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What did Woody Allen call his son as a tribute to Louis 'Satchmo' Armstrong?", "answer": ["School satchel", "🎒", "Satchel (bag)", "Satchel"], "source": "triviaqa", "difficulty": "simple"} {"input": "The expert mentor to the celebrities that perform on \"Splash!\" won the 2009 FINA World Championionship in the individual event at what age?", "answer": "15", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What nationality is the director of film Kadvi Hawa?", "answer": "India", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are Braque d'Auvergne and Griffon Fauve de Bretagne both breeds originating in France ?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "who won australia's got talent 2011 winner", "answer": "Jack Vidgen", "source": "nq", "difficulty": "simple"} {"input": "Who was born first out of Shane O'Connor (Skier) and Ray Hicks?", "answer": "Ray Hicks", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are both Gerald Berragan and Pol Verschuere from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which American singer-songwriter known as \"the Caruso of Rock\", recorded on the Monument Records label and had hits such as \"Pretty One,\" and \"Uptown\"?", "answer": "Roy Orbison", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which spin-off from a 60s sitcom was a 1999 movie with Jeff Daniels and Christopher Lloyd?", "answer": ["Tim O'Hara", "My favourite martian", "My Favorite Martians", "Uncle Martin", "My Favourite Martian", "My Favorite Martian"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the name of the latest version of the OS X operating system by the iPod producer?", "answer": "macOS", "source": "musique", "difficulty": "multi_hop"} {"input": "When was Bantu education introduced in the country where Carolyn Lilipaly was born?", "answer": "1 January 1954", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a python function to count the number of distinct power of prime factor of given number.", "answer": "def count_Fac(n): \r\n m = n \r\n count = 0\r\n i = 2\r\n while((i * i) <= m): \r\n total = 0\r\n while (n % i == 0): \r\n n /= i \r\n total += 1 \r\n temp = 0\r\n j = 1\r\n while((temp + j) <= total): \r\n temp += j \r\n count += 1\r\n j += 1 \r\n i += 1\r\n if (n != 1): \r\n count += 1 \r\n return count", "source": "mbpp", "task_id": "714", "test_cases": "assert count_Fac(24) == 3\nassert count_Fac(12) == 2\nassert count_Fac(4) == 1", "difficulty": "code"} {"input": "Did André Hakim and Harry Hartsell have the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a python function to find the average of a list.", "answer": "def Average(lst): \r\n return sum(lst) / len(lst)", "source": "mbpp", "task_id": "959", "test_cases": "assert Average([15, 9, 55, 41, 35, 20, 62, 49]) == 35.75\nassert Average([4, 5, 1, 2, 9, 7, 10, 8]) == 5.75\nassert Average([1,2,3]) == 2", "difficulty": "code"} {"input": "night at the museum 3 ben stiller characters", "answer": ["Laaa", "Larry Daley"], "source": "nq", "difficulty": "simple"} {"input": "What is Frederick Dundas's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who was the director of the 2001 American romantic comedy film written by Marc Klein in which Lucy Gordon had a small role?", "answer": "Peter Chelsom", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which record label owns the series where Achy Jakey Heart belongs?", "answer": "Walt Disney Records", "source": "musique", "difficulty": "multi_hop"} {"input": "Which film whose director was born first, Mad Dog Time or Seclusion Near A Forest?", "answer": "Seclusion Near A Forest", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Belly born?", "answer": "[\"Jenin\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the meaning of Trevor Prangley's other division the fought in aside from Light Weight?", "answer": "refers to different weight classes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when did the san fernando valley try to secede from los angeles", "answer": "2002", "source": "nq", "difficulty": "simple"} {"input": "When does the academic year start in the country where Engkeranji settlement is located?", "answer": "in early January", "source": "musique", "difficulty": "multi_hop"} {"input": "who has won the boat race more times", "answer": "Cambridge", "source": "nq", "difficulty": "simple"} {"input": "what is the highest point in the state where Holland Smith was born?", "answer": "Cheaha Mountain", "source": "musique", "difficulty": "multi_hop"} {"input": "who played the mother on the partridge family", "answer": "Shirley Mae Jones", "source": "nq", "difficulty": "simple"} {"input": "how many cities of refuge were the israelites to form", "answer": "six", "source": "nq", "difficulty": "simple"} {"input": "Where was the father of Philipp, Duke Of Saxe-Merseburg-Lauchstädt born?", "answer": "Dresden", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Robert Gwilym's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "The Colombian airline that has been the national airline and flag carrier of Colombia since 1919 is wholly owned by a company headquartered in what country?", "answer": "Brazil", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What area is the species of Spruce which can be found in Rensselaer Plateau native to?", "answer": "eastern North America", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is the date of death of the director of film Party Girl (1958 Film)?", "answer": "June 16, 1979", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are the directors of both films Inhale (Film) and Colt 38 Special Squad from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is the debt-to-GDP ratio in the country called the Giant of Africa?", "answer": "11 percent", "source": "musique", "difficulty": "multi_hop"} {"input": "In what city was Ricardo Maliandi born?", "answer": "[\"La Plata\"]", "source": "popqa", "difficulty": "simple"} {"input": "When does it get cold in the state that has a buffalo on its license plate?", "answer": "winter months", "source": "musique", "difficulty": "multi_hop"} {"input": "the differences between the different spectral types of stars are primarily due to", "answer": "ionization state", "source": "nq", "difficulty": "simple"} {"input": "When did the torch arrive in the country for Ab-normal Beauty?", "answer": "May 2", "source": "musique", "difficulty": "multi_hop"} {"input": "What city shares a border with Rivière-Verte in the province Nashwaak River is located?", "answer": "Edmundston", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the place of birth of the director of film Vacations In Acapulco?", "answer": "San Juan, Puerto Rico", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Were both Joseph Roth and Cid Corman authors?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which film has the director died first, Eleni (Film) or Hunted Men?", "answer": "Hunted Men", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what year was Charles Lawrence's alma mater founded?", "answer": "1824", "source": "musique", "difficulty": "multi_hop"} {"input": "When did the artist of a self-titled album in 1983 drop out of college?", "answer": "1978", "source": "musique", "difficulty": "multi_hop"} {"input": "Which wartime classic was the title of a 1980 film with Hanna Schygulla & Mel Ferrer?", "answer": ["Lily Marlene", "Lily Marleen", "Lili Marleen (Connie Francis single)", "Lilly Marlene", "Lili Marleen (song)", "Lili Marlene", "Lili Marleen", "Lili Marlène", "Lili Marlen", "Lily Marlène"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which communist leader of the country hosting Traian was deposed in 1989?", "answer": "Nicolae Ceaușescu", "source": "musique", "difficulty": "multi_hop"} {"input": "Hopewell, which shares a county with Ogdensburg, is located in what township?", "answer": "Sparta Township", "source": "musique", "difficulty": "multi_hop"} {"input": "where is most of earths fresh water located", "answer": "ice caps", "source": "nq", "difficulty": "simple"} {"input": "Write a function to add the given tuple to the given list.", "answer": "def add_tuple(test_list, test_tup):\r\n test_list += test_tup\r\n return (test_list)", "source": "mbpp", "task_id": "750", "test_cases": "assert add_tuple([5, 6, 7], (9, 10)) == [5, 6, 7, 9, 10]\nassert add_tuple([6, 7, 8], (10, 11)) == [6, 7, 8, 10, 11]\nassert add_tuple([7, 8, 9], (11, 12)) == [7, 8, 9, 11, 12]", "difficulty": "code"} {"input": "what season is it's a trap family guy", "answer": "ninth season", "source": "nq", "difficulty": "simple"} {"input": "What is Eckart von Hirschhausen's occupation?", "answer": "[\"physician\", \"physicians\", \"medical doctor\", \"medical practitioner\", \"doctor\", \"medical doctors\"]", "source": "popqa", "difficulty": "simple"} {"input": "Where does the country where Philippe Panet's father holds citizenship rank in world's oil supplies?", "answer": "second-largest", "source": "musique", "difficulty": "multi_hop"} {"input": "Are Fuling District and Qidong, Jiangsu both located in China?", "answer": "yes", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Evan Abraham born?", "answer": "[\"Swansea\", \"Abertawe\"]", "source": "popqa", "difficulty": "simple"} {"input": "who plays anna in days of our lives", "answer": "Leann Hunley", "source": "nq", "difficulty": "simple"} {"input": "who sings small town throwdown with brantley gilbert", "answer": "Justin Moore", "source": "nq", "difficulty": "simple"} {"input": "What are the last lines of My Fair Lady?", "answer": "Where the devil are my slippers?", "source": "triviaqa", "difficulty": "simple"} {"input": "Who is the minister of local government in the country where Guruve District is located?", "answer": "Hon July Moyo", "source": "musique", "difficulty": "multi_hop"} {"input": "What was Scarlett O'Hara's real first name?", "answer": "Katie", "source": "triviaqa", "difficulty": "simple"} {"input": "Who is the spouse of the director of film Just Once A Great Lady (1957 Film)?", "answer": "Hilde Volk", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "how old do you have to be to conceal carry in indiana", "answer": "18 years", "source": "nq", "difficulty": "simple"} {"input": "In what city was Esau Tjiuoro born?", "answer": "[\"Okakarara\"]", "source": "popqa", "difficulty": "simple"} {"input": "What number post-Beatles album of Paul McCartney did \"No Words\" appear on?", "answer": "fifth", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Israel Horowitz born?", "answer": "[\"New York City\", \"NYC\", \"New York\", \"the five boroughs\", \"Big Apple\", \"City of New York\", \"NY City\", \"New York, New York\", \"New York City, New York\", \"New York, NY\", \"New York City (NYC)\"]", "source": "popqa", "difficulty": "simple"} {"input": "When was the Chinese city producing All About Ah-Long taken by the British?", "answer": "1842", "source": "musique", "difficulty": "multi_hop"} {"input": "most medals canada has won at a winter olympics", "answer": "29", "source": "nq", "difficulty": "simple"} {"input": "Who was known as the Manassa Mauler?", "answer": ["William Harrison Dempsey", "Jack Dempsy", "Dempsey Roll", "Manassa Mauler", "Jack Dempsey"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who lived longer, Constance Keys or Anthony De Jasay?", "answer": "Anthony De Jasay", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In the 1990s Babrak Karmal and Sultan Ali Keshtmond have been Prime Minister in which country?", "answer": ["Afghanistan", "Avghanistaun", "Soviet-occupied Afghanistan", "Afganhistan", "Afghanestan", "Jomhūrī-ye Eslāmī-ye Afġānestān", "Afghanastan", "Afeganistao", "Afgjanistan", "Afghanistan/Article from the 1911 Encyclopedia", "AfghanistaN", "Afghanistan, Rep. of.", "Afganistan", "Afghanistan-Central Asia", "Afghanistan (1911 Encyclopedia)", "Afghansitan", "Afgahanistan", "IROA", "Kinetic action", "A-Stan", "Afghanstan", "Afğānistān", "AFGHANISTAN", "Afghānistān", "I.R.O.A.", "Islamic Republic of Afghanistan", "Dowlat-e Eslami-ye Afghanestan", "افغانستان", "Afghinastan", "The Graveyard of Empires", "Affghanistan", "Afghanistan, I.S. of", "Etymology of Afghanistan", "The Islamic Republic of Afghanistan", "Islamic Transitional Government of Afghanistan", "ISO 3166-1:AF", "Afghnistan", "د افغانستان اسلامي دولت دولت اسلامی افغانستان", "Da Afġānistān Islāmī Jomhoriyat", "Da Afghanistan Islami Dawlat Dawlat-e Eslami-e Afghanestan"], "source": "triviaqa", "difficulty": "simple"} {"input": "The 1976 German Grand Prix was won by a driver who retired in what year?", "answer": "1979", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what city was Willem van Herp born?", "answer": "[\"Antwerp\", \"Antwerpen\", \"City of Antwerp\", \"Anvers\"]", "source": "popqa", "difficulty": "simple"} {"input": "who sings more than a woman to me", "answer": "the Bee Gees", "source": "nq", "difficulty": "simple"} {"input": "Do the movies Bloody Birthday and The Beckoning Silence, originate from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Are Ovgoros and Wadi Qabbani located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Björn Ulvaeus was a part of a Swedish pop group, formed in Stockholm in 1972, as well as co-producer on the film \"Mamma Mia!\" with who?", "answer": "Benny Andersson", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who plays the person who overthrew the moneychangers' tables in the temple in The Passion of the Christ?", "answer": "James Patrick Caviezel", "source": "musique", "difficulty": "multi_hop"} {"input": "What is GQ's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was David Harris Willson born?", "answer": "[\"Philadelphia\", \"Philly\", \"City of Brotherly Love\", \"Cradle of Liberty\", \"Philadelphia, Pennsylvania\", \"City of Philadelphia\", \"Philadelphia, PA\"]", "source": "popqa", "difficulty": "simple"} {"input": "In which country is the Aswan Dam?", "answer": ["EGY", "Arab Republic of Egypt", "A .R . EGYPT", "The Arab Republic of Egypt", "Eygpt", "Etymology of Egypt", "مصر", "Kemmet", "Gift of the Nile", "Arab Republic Of Egypt", "Names of Egypt", "Miṣr", "A .R . Egypt", "Eytp", "National identity of Egyptians", "Jumhuriyat Misr al'Arabiyah", "Eypt", "Egyptian Republic", "Ejipt", "Name of Egypt", "Egipto", "Kimet", "جمهوريّة مصرالعربيّة", "Egypte", "Egypt (name)", "Egypt", "جمهورية مصرالعربية", "A.R. Egypt", "Republic of Eygpt", "Égypte", "Second Egyptian Republic", "Egipt", "ISO 3166-1:EG", "Egypt info"], "source": "triviaqa", "difficulty": "simple"} {"input": "Bob Gaudio and Nick Massi sang with which group?", "answer": ["Four Seasons", "The Four Seasons (film)", "The Four Seasons", "The 4 Seasons", "The four seasons", "4 seasons", "The Four Seasons (movie)", "Four seasons", "The Four Seasons (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Write a python function to find the length of the shortest word.", "answer": "def len_log(list1):\r\n min=len(list1[0])\r\n for i in list1:\r\n if len(i)=5: \r\n return ('accepted') \r\n else: \r\n return (\"not accepted\")", "source": "mbpp", "task_id": "967", "test_cases": "assert check(\"SEEquoiaL\") == 'accepted'\nassert check('program') == \"not accepted\"\nassert check('fine') == \"not accepted\"", "difficulty": "code"} {"input": "What is Petru Vlah's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What was the population according to the 2010 census of the census-designated place where Max Loughan created a crystal radio?", "answer": "8,777", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Which film has the director who is older, Les Braqueuses or Call Northside 777?", "answer": "Call Northside 777", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was I.P. Paul born?", "answer": "[\"Thrissur\", \"Thrichur\", \"Thrissivaperur\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is the instrument played by the instrumentalist with whom Taj Mahal and N. Ravikiran made Mumtaz Mahal?", "answer": "Mohan Veena (slide guitar)", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where was the place of death of the director of film Kiss Of Araby?", "answer": "Hollywood", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which golf tournament presents its winner with a green jacket?", "answer": ["Us masters", "Masters golf tournament", "Master's tournament (golf)", "Golf masters", "Masters Golf Tournament", "Augusta Masters Tournament", "The Masters golf tournament", "The Masters", "The US Masters", "Live at Amen Corner", "US Masters", "The Masters Tournament", "Masters Tournament", "Masters Invitational", "U.S. Masters"], "source": "triviaqa", "difficulty": "simple"} {"input": "Do Andries Kinsbergen and Jakob Ritter Von Danner have the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was V. S. Srinivasa Sastri born?", "answer": "[\"Valangaiman\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which Welsh singer was invited to sing at the White House on Millennium Eve?", "answer": ["Jones, Tom", "Tom Jones (opera)", "Tom Jones (footballer)", "Tom Jones (Australian footballer)", "Tom Jones (film)", "Tom jones (film)", "Tom jones", "Tom Jones!", "Tom Jones (disambiguation)", "Tom Jones (Opera)", "Tom Jones", "Tom Jones (movie)"], "source": "triviaqa", "difficulty": "simple"} {"input": "who was the first person to be awarded the bharat ratna", "answer": ["scientist C. V. Raman", "philosopher Sarvepalli Radhakrishnan", "politician C. Rajagopalachari,"], "source": "nq", "difficulty": "simple"} {"input": "Which actor played Maxwell Smart?", "answer": ["Adams, Don", "Don Adams (Actor)", "Don Adams", "Donald James Yarmy", "Donald Yarmy", "Missed it by that much"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which team has not won a World Series since Babe Ruth stopped pitching for them?", "answer": ["Carlos Ahern", "Redsox", "RedSox", "Boston redsox", "The Boston Redsox", "Boston Americans", "Red socs", "Bosox", "Red Sox Bench Coach", "Boston Red Socks", "Red Sox First Base Coach", "Boston Red Sox", "Old Town Team", "Red Sox Hitting Coach", "Boston Red Sox roster", "Boston Red Sox (sports)", "Truck Day", "BoSox", "The red sox", "Redsocks", "Crimson hose", "Boston Pilgrams", "Bo-sox", "Boston Sox", "Boston Red Sox Roster", "Red sox", "Red Sox Pitching Coach", "Red Sox", "Red Sox Roster", "The Boston Red Sox", "The Boston Red Socks", "The Old Town Team", "Boston red sox", "Boston Redsox", "Talksox", "Boston Somersets", "New England Nine", "Boston Pilgrims"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the cause of death of Julie Nixon Eisenhower's mother?", "answer": "lung cancer", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who was the first actress to receive four Oscars?", "answer": ["Catherine Hepburn", "Katharine Houghton Hepburn", "Katharine Hepburn", "Ogden Smith Ludlow", "Hepburn, Katharine", "Kate Hepburn", "Ludlow Ogden Smith", "Katherine Hepburn", "Tom Hepburn", "Kathryn Hepburn"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which African country is bordered by Benin, Ghana, Ivory Coast, Niger, and Mali?", "answer": ["Bourkina-Fasso", "Maximes, Thoughts and Riddles of the Mossi", "Burkina Fasso", "Burkina", "Bourkina Faso", "Maximes, pensées et devinettes mossi", "Burkinabè", "Berkina faso", "ISO 3166-1:BF", "Burkina faso", "Faso", "Burkina Fasoan", "Bourkina Fasso", "Burkinafaso", "Burkino Faso", "Burkina-Faso", "Burkina Faso", "Burkina Fatso"], "source": "triviaqa", "difficulty": "simple"} {"input": "who is responsible for the bombing in quantico", "answer": "supervising training agent Liam O'Connor", "source": "nq", "difficulty": "simple"} {"input": "What is the date of birth of the composer of film William Shatner'S Gonzo Ballet?", "answer": "September 12, 1966", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Hoosier Lottery includes the sale of the lottery game offered by how many states?", "answer": "44", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "On which station could you have watched the actor from \"My Fair Lady\" play a character in \"I Can Hear Your Voice\"?", "answer": "SBS", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is René Bégin's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "What series is the model 7 car, that bears the name of the manufacturer of Autorail, a part of?", "answer": "supermini", "source": "musique", "difficulty": "multi_hop"} {"input": "who won the first academy award for best picture", "answer": "Wings", "source": "nq", "difficulty": "simple"} {"input": "What author who wrote \"Jesus' Son\" beat out Mischa Berlinksi for 2007 National Book Award?", "answer": "Denis Johnson", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where is the Blue Mosque located, in the country where the village of Belen is found?", "answer": "Istanbul", "source": "musique", "difficulty": "multi_hop"} {"input": "Who in the city where Esperanto was formed has the power of legislative action?", "answer": "Warsaw City Council", "source": "musique", "difficulty": "multi_hop"} {"input": "What year was the English actor and film producer born in who also starred in an adaptation with Renee Zellweger?", "answer": "1960", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are both villages, Shahrak-E Mohammad Reza Asadpur and Fountainstown, located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is based in Sankt Ulrich bei Steyr, Austria?", "answer": "Steyr Mannlicher", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What writer was expelled from West Point for showing up for a public parade wearing only a white belt and gloves?", "answer": ["Edgar alen poe", "Edgar Allan Poe", "Ea poe", "Edgar allen poe", "Edgar Allen Poe", "The Life of Edgar Allan Poe", "Poean", "Poe, Edgar Allen", "Edgar A. Poe", "Edgar Allan Poe and the Stories He Has Written", "Edgar Allan Poe's literary influence", "Edger Allen Poe", "Edgar allan poe", "E.A. Poe", "Literary influence of Edgar Allan Poe", "A Bostonian", "E A Poe", "Poesque", "Henri Le Rennet", "Eddy is no more", "E. A. Poe", "EA Poe", "Edgar Alan Poe", "Edgar Allan Po", "Poe", "Edgar Allan Poe's Tales of Mystery and Terror"], "source": "triviaqa", "difficulty": "simple"} {"input": "Are both Sicko and The Sexplorer from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which airline founded by Frank Lorenzo was affected by a strike in 1989?", "answer": "International Association of Machinists", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where was the place of burial of the performer of song First In Line (Song)?", "answer": "Graceland", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Hermann Vezin born?", "answer": "[\"Philadelphia\", \"Philly\", \"City of Brotherly Love\", \"Cradle of Liberty\", \"Philadelphia, Pennsylvania\", \"City of Philadelphia\", \"Philadelphia, PA\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is found in Prochlorococcus and essential for photosynthesis?", "answer": "Chlorophyll", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "when did the olympics start every 2 years", "answer": "1994", "source": "nq", "difficulty": "simple"} {"input": "Which famous daughter was made chief designer at Chloe in 1997?", "answer": ["Stella Nina McCartney", "Alasdhair Willis", "Stella Mc Cartney", "Stella McCartney for Chloe", "Alistair Willis", "Stella mccarteny", "Stella McCartney", "Stella mccartney"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Ayumi Hamasaki's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\", \"singer-songwriter\", \"singer songwriter\", \"singer/songwriter\", \"singersongwriter\", \"singer-songwriter\", \"songwriter\", \"song writer\", \"lyricist\", \"singer-lyricist\"]", "source": "popqa", "difficulty": "simple"} {"input": "Otryadyn Gündegmaa, is a Mongolian sports shooter, she competed in 10 m and 25 m pistol events at the 1996 Summer Olympics, known officially as the Games of the XXVI Olympiad and unofficially as the Centennial Olympic Games, was a major international multi-sport event that took place in Atlanta, Georgia, from July 19 to August 4, 1996, in which country?", "answer": "United States", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In which state were Bonnie & Clyde killed?", "answer": ["Eighteenth State", "Loisianna", "Arkansas Bay", "Louisianian", "Louisiana (state)", "Transportation in Louisiana", "Religion in Louisiana", "The Bayou State", "Geography of Louisiana", "The Sportsman's Paradise", "Transport in Louisiana", "Louisiane", "Pelican State", "Economy of Louisiana", "Louisiana", "The Child of the Mississippi", "US-LA", "Louisianna", "The Creole State", "Louisiana, United States", "Etat de Louisiane", "Louisianais", "18th State", "État de Louisiane", "Loisiana", "Creole State", "Louisana", "Education in Louisiana", "Lousiana", "Louisiana, USA", "The Pelican State", "Lwizyana", "Climate of Louisiana", "Louisiana (State)", "The Sugar State", "Louisiana (U.S. state)", "Luisianna", "Government of Louisiana", "State of Louisiana"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Henk Bleker's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Mark Geragos was involved in the scandal that took place in what decade?", "answer": "1990s", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Are both villages, Sang-E Sefid, Tuyserkan and Amirabad-E Amirqoli, located in the same country?", "answer": "yes", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Which country does the airline Transkei Airways come from?", "answer": ["South africa", "South Africa's", "Southafrica", "Third Republic (South Africa)", "Republiek van Suid-Afrika", "Sou'frica", "Zuid Afrika", "Zuid-Afrika", "ISO 3166-1:ZA", "South-African", "S Africa", "Zuid Africa", "Mzansi", "Afrique du sud", "Zuidafrika", "Ningizimu Afrika", "Capital of South Africa", "Suid-Afrika", "South-Africa", "Rep. of SOUTH AFRICA", "The Republic of South Africa", "Suid Africa", "Azania/South Africa", "S Afr", "Saffa", "South African", "Seth efrika", "South Africa", "Soufrica", "Republic of south africa", "South Africaà", "The Beloved Country", "S. Africa", "Rep. of South Africa", "South Africans", "Republic of South Africa"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which county shares a border with the county where Oliver Township is located?", "answer": "Indiana County", "source": "musique", "difficulty": "multi_hop"} {"input": "Natan Sharansky was released from prison in the USSR to begin a new life where?", "answer": ["İsrail", "ISRAEL", "Israeli Republic", "Isræl", "Medinat Yisrael", "מְדִינַת יִשְׂרָאֵל", "Istrael", "Israeli (nation)", "ISO 3166-1:IL", "Medinat Israel", "Dawlat Isra'il", "State of israel", "Yisraél", "Isra'il", "Republic of Israel", "دولة إسرائيل", "Israel", "Israël", "Israelim", "Medinat Yisra'el", "ישראל", "State of Israel", "יִשְרָאֵל", "מדינת ישראל", "Dawlat Isrā'īl", "Yisra'el", "Yisrael", "Israeli state", "The state of Israel", "Jewish Republic", "Israil", "Jewish Palestine", "Etymology of Israel", "Isreal", "Yisroel", "Israyl", "Israel (nation)", "Modern Israel", "Israelian", "Hebrew state", "M'dinat Yisrael", "Israe;", "Izrael (state)", "Isreael", "Isreali", "יִשְׂרָאֵל", "Medīnat Yisrā'el", "Yisroeil", "Israel (country)"], "source": "triviaqa", "difficulty": "simple"} {"input": "In what city was Michael Woolston Ash born?", "answer": "[\"Philadelphia\", \"Philly\", \"City of Brotherly Love\", \"Cradle of Liberty\", \"Philadelphia, Pennsylvania\", \"City of Philadelphia\", \"Philadelphia, PA\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Jiang Mianheng born?", "answer": "[\"Shanghai\", \"Hu\", \"Shang Hai\", \"Shanghai, China\"]", "source": "popqa", "difficulty": "simple"} {"input": "Do both films, Thieves in Thailand and Forces of Nature (2004 film), have the directors who are from the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Ameer Sultan's occupation?", "answer": "[\"film director\", \"movie director\", \"director\", \"motion picture director\", \"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who won Bigg Boss season 5, in the version of the show originally produced in the same language as the film Neelakanta?", "answer": "Chandan Shetty", "source": "musique", "difficulty": "multi_hop"} {"input": "Which Apollo mission was filmed in 1995 with Tom Hanks?", "answer": ["13", "thirteen"], "source": "triviaqa", "difficulty": "simple"} {"input": "Are Taldou and Hajji Beyk-E Olya located in the same country?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was John Edgerton born?", "answer": "[\"Johnston County\", \"Johnston County, North Carolina\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Lord George Hamilton's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "How many square miles is the urban area of the performer of Bluesin' Around's birthplace?", "answer": "1,337 square miles", "source": "musique", "difficulty": "multi_hop"} {"input": "who has the longest winning streak in ufc", "answer": "Anderson Silva", "source": "nq", "difficulty": "simple"} {"input": "What is the provincial capital where Sarnakunk is found?", "answer": "Kapan", "source": "musique", "difficulty": "multi_hop"} {"input": "Who was the first president of the National Football League?", "answer": ["Jim Thorpe", "Jacobus Franciscus %22Jim%22 Thorpe", "Wa-Tho-Huk", "Wa-Tho-Huck", "James Francis Thorpe", "Bright Path"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Arthur W. Rice's occupation?", "answer": "[\"architect\"]", "source": "popqa", "difficulty": "simple"} {"input": "What teen sex comedy film written by Adam Herz and directed by brothers Paul and Chris Weitz, starred an actor best known for her role as Jessica ?", "answer": "American Pie", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When is the director of film Honeymoon Deferred (1951 Film) 's birthday?", "answer": "6 February 1895", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Where was the film A Taxi Driver released?", "answer": "South Korea", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Vanessa Angel's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "In what city was Alfred Frank Hardiman born?", "answer": "[\"London\", \"London, UK\", \"London, United Kingdom\", \"London, England\", \"Modern Babylon\"]", "source": "popqa", "difficulty": "simple"} {"input": "Which Julie won an Oscar for Darling in 1965 and was Oscar nominated in 19987 for Afterglow?", "answer": ["Christie", "Christie (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "Who sang up where we belong with the performer of Gold?", "answer": "Jennifer Warnes", "source": "musique", "difficulty": "multi_hop"} {"input": "It Takes a Family is a response to this 1996 book that was published by who", "answer": "Hillary Rodham Clinton", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What school was the person who came up with the process of natural selection educated at?", "answer": "University of Edinburgh", "source": "musique", "difficulty": "multi_hop"} {"input": "What is Marie-France Mignal's occupation?", "answer": "[\"actor\", \"actress\", \"actors\", \"actresses\"]", "source": "popqa", "difficulty": "simple"} {"input": "When did Signmark's country join the Russian Empire?", "answer": "1809", "source": "musique", "difficulty": "multi_hop"} {"input": "How old was Laurel and Hardy producer Hal Roach when he died in 1992?", "answer": ["100", "one hundred"], "source": "triviaqa", "difficulty": "simple"} {"input": "When does monsoon season end in the state where Teeuinge is located?", "answer": "mid-September", "source": "musique", "difficulty": "multi_hop"} {"input": "What show is an American-Canadian drama starring Scott Lowell playing Ted Schmidt?", "answer": "Queer as Folk", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "The first untethered space walk took place from which space craft?", "answer": ["Challenger", "Challengers", "Challengers (disambiguation)", "Challenger (album)", "Challenger (disambiguation)"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is the place of birth of the director of film The Revenge Of Ivanhoe?", "answer": "Potenza", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who is the current mayor of the birthplace of Foots Walker?", "answer": "Linda Norris", "source": "musique", "difficulty": "multi_hop"} {"input": "when was daylight savings time established in the united states", "answer": "1918", "source": "nq", "difficulty": "simple"} {"input": "When is the director of film A Musical War Of Love 's birthday?", "answer": "10 May 1899", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Who is the child of Maria Leopoldina from the country where the Botanical Garden of the school where August Kanitz was educated can be found?", "answer": "Pedro II", "source": "musique", "difficulty": "multi_hop"} {"input": "The Messerschmitt Me 263 \"Scholle\" (plaice) was a rocket-powered fighter aircraft developed from the Me 163 \"Komet\" towards the end of, which historic event?", "answer": "World War II", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What's the name of the hockey club in the city where Percy Heath died?", "answer": "Southampton Hockey Club", "source": "musique", "difficulty": "multi_hop"} {"input": "Write a python function to check for even parity of a given number.", "answer": "def check_Even_Parity(x): \r\n parity = 0\r\n while (x != 0): \r\n x = x & (x - 1) \r\n parity += 1\r\n if (parity % 2 == 0): \r\n return True\r\n else: \r\n return False", "source": "mbpp", "task_id": "855", "test_cases": "assert check_Even_Parity(10) == True\nassert check_Even_Parity(11) == False\nassert check_Even_Parity(18) == True", "difficulty": "code"} {"input": "what year did the movie traffic come out", "answer": "2000", "source": "nq", "difficulty": "simple"} {"input": "Do Carmelo Micciche and Graham Liggins share the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Brandon Bays born?", "answer": "[\"United States of America\", \"the United States of America\", \"America\", \"U.S.A.\", \"USA\", \"U.S.\", \"US\", \"the US\", \"the USA\", \"US of A\", \"the United States\", \"U. S. A.\", \"U. S.\", \"the States\", \"the U.S.\", \"'Merica\", \"U.S\", \"United States\", \"'Murica\"]", "source": "popqa", "difficulty": "simple"} {"input": "who was the film chariots of fire about", "answer": ["Eric Liddell", "Harold Abrahams"], "source": "nq", "difficulty": "simple"} {"input": "What club did a Swiss footballer primarily recognised as a right-back who signed for a professional football club in 2013 based in Old Trafford, Greater Manchester, England ?", "answer": "Saint-Étienne", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who sings the rap in Baby by the performer of Bad Day?", "answer": "Ludacris", "source": "musique", "difficulty": "multi_hop"} {"input": "What is the date of death of the director of film The Wild North?", "answer": "7 January 1992", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a function to find numbers divisible by m or n from a list of numbers using lambda function.", "answer": "def div_of_nums(nums,m,n):\r\n result = list(filter(lambda x: (x % m == 0 or x % n == 0), nums)) \r\n return result", "source": "mbpp", "task_id": "817", "test_cases": "assert div_of_nums([19, 65, 57, 39, 152, 639, 121, 44, 90, 190],19,13)==[19, 65, 57, 39, 152, 190]\nassert div_of_nums([1, 2, 3, 5, 7, 8, 10],2,5)==[2, 5, 8, 10]\nassert div_of_nums([10,15,14,13,18,12,20],10,5)==[10, 15, 20]", "difficulty": "code"} {"input": "Who is the current chief justice of the country with the largest economy in Africa?", "answer": "Walter Samuel Nkanu Onnoghen", "source": "musique", "difficulty": "multi_hop"} {"input": "Where was the place of death of the director of film Smoke On The Potato Fields?", "answer": "Prague", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is Ole Krarup's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "In which country did the first Mickey Mouse comic appear?", "answer": ["Environment of Italy", "Italiën", "Subdivisions of Italy", "Republic of Italy", "ItalY", "ISO 3166-1:IT", "Etymology of Italy", "Itali", "Pollution in Italy", "Administrative divisions of Italy", "Austrian Empire (Italy)", "Italija", "Italie", "Italia", "Italian Republic", "Second Italian Republic", "Italy", "Italio", "Repubblica Italiana", "Itàlia", "The Italian republic"], "source": "triviaqa", "difficulty": "simple"} {"input": "Which country the director of film Fighting Love is from?", "answer": "Swedish", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "What is William Phillips, Sr.'s occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who is the spouse of Ernest the Rebel's director?", "answer": "Martine Carol", "source": "musique", "difficulty": "multi_hop"} {"input": "Which singer has appeared on the cover of Rolling Stone magazine 16 times?", "answer": ["James Jagger", "Jagger, Mick", "Sir Michael Philip %22Mick%22 Jagger", "Michael Philip Jagger", "Mick Jaggar", "Mcjagger", "Propellor Boy", "Basil Jagger", "Jaggeresque", "Mick Jagger", "Mick jagger", "Sir Mick Jagger", "Mic Jagger", "Jimbo Mutant Shinobi", "McJagger", "Sir Michael Phillip %22Mick%22 Jagger", "Sir Michael Jagger", "Sir Mick"], "source": "triviaqa", "difficulty": "simple"} {"input": "When did Newfoundland become part of the country where the performer of What Do You Care was?", "answer": "1949", "source": "musique", "difficulty": "multi_hop"} {"input": "most goals in an epl season by a team", "answer": "106, Manchester City", "source": "nq", "difficulty": "simple"} {"input": "Who is the spouse of the director of film Struggle For Eagle Peak?", "answer": "Lillebil Ibsen", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Mike Shaver born?", "answer": "[\"Grande Prairie\"]", "source": "popqa", "difficulty": "simple"} {"input": "Timothy McVeigh was convicted for which bombing?", "answer": ["Okla.", "Oklahoma", "Oklahoma, United States", "Sooner State", "Forty-Sixth State", "Religion in Oklahoma", "Culture of Oklahoma", "46th State", "Oklahoma (U.S. state)", "Oklahoma, USA", "State of Oklahoma", "List of Oklahoma State Symbols", "Oaklahoma", "Oklaholma", "Transportation in Oklahoma", "US-OK", "Sports in Oklahoma", "Okla", "Oklahoman", "Oclahoma", "Education in Oklahoma", "Energy in Oklahoma", "Transport in Oklahoma", "Forty-sixth State", "Oklahoma (state)", "The Sooner State"], "source": "triviaqa", "difficulty": "simple"} {"input": "What is Max Fechner's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Do both directors of films Blücher (film) and The Good Old Soak have the same nationality?", "answer": "no", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "In what city was Neil Robinson born?", "answer": "[\"Walton\", \"Walton-on-the-Hill\", \"Walton, Liverpool\"]", "source": "popqa", "difficulty": "simple"} {"input": "Who wrote the song Harper Valley PTA?", "answer": ["Tom T. Hall", "Tom T Hall"], "source": "triviaqa", "difficulty": "simple"} {"input": "Rhodochiton and Platystemon are both genuses of what kind of life form?", "answer": "flowering plants", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Who is the spouse of the president of the russian republic at the time of the disintegration of the political entity that the USA defeated for the ice hockey gold medal in 1980?", "answer": "Raisa Maximovna Gorbacheva", "source": "musique", "difficulty": "multi_hop"} {"input": "What year did the famous amusement park across the street from Axeltory open?", "answer": "1843", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "The Chase is hosted by an actress who began her television career in what Spanish-American teen sitcom?", "answer": "\"Out of the Blue\"", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "Where does this Argentine sports club currently compete that Augusto Solari currently is a professional footballer for?", "answer": "Primera División", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "In what country did the repression of citizens by a dictator during the period of 1973 to 1990 occur?", "answer": "Chile", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "When was the director of film Sword Of Honour (1939 Film) born?", "answer": "11 November 1887", "source": "2wikimultihop", "difficulty": "multi_hop"} {"input": "Write a python function to replace multiple occurence of character by single.", "answer": "import re \r\ndef replace(string, char): \r\n pattern = char + '{2,}'\r\n string = re.sub(pattern, char, string) \r\n return string", "source": "mbpp", "task_id": "668", "test_cases": "assert replace('peep','e') == 'pep'\nassert replace('Greek','e') == 'Grek'\nassert replace('Moon','o') == 'Mon'", "difficulty": "code"} {"input": "In what year did the English actor from the film The System die?", "answer": "1999", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What is Guo Gengmao's occupation?", "answer": "[\"politician\", \"political leader\", \"political figure\", \"polit.\", \"pol\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a python function to find the sum of fourth power of first n even natural numbers.", "answer": "def even_Power_Sum(n): \r\n sum = 0; \r\n for i in range(1,n + 1): \r\n j = 2*i; \r\n sum = sum + (j*j*j*j); \r\n return sum;", "source": "mbpp", "task_id": "634", "test_cases": "assert even_Power_Sum(2) == 272\nassert even_Power_Sum(3) == 1568\nassert even_Power_Sum(4) == 5664", "difficulty": "code"} {"input": "What is Reinhold Mack's occupation?", "answer": "[\"audio engineer\", \"recording engineer\", \"sound producer\", \"sound director\", \"sound engineer\", \"music engineer\", \"musical engineer\", \"record producer\", \"music producer\", \"composer\"]", "source": "popqa", "difficulty": "simple"} {"input": "What is Yannis Ritsos's occupation?", "answer": "[\"poet\", \"poetess\", \"bard\"]", "source": "popqa", "difficulty": "simple"} {"input": "what european country does the jabra brand originate from", "answer": "Denmark", "source": "nq", "difficulty": "simple"} {"input": "In what city was Shawn Respert born?", "answer": "[\"Detroit\", \"Motor City\", \"Detroit, Michigan\", \"Detroiit\", \"Detroit, MI\", \"The D\"]", "source": "popqa", "difficulty": "simple"} {"input": "Write a function to add two integers. however, if the sum is between the given range it will return 20.", "answer": "def sum_nums(x, y,m,n):\r\n sum_nums= x + y\r\n if sum_nums in range(m, n):\r\n return 20\r\n else:\r\n return sum_nums", "source": "mbpp", "task_id": "675", "test_cases": "assert sum_nums(2,10,11,20)==20\nassert sum_nums(15,17,1,10)==32\nassert sum_nums(10,15,5,30)==20", "difficulty": "code"} {"input": "Which original attraction at Universal Studios Florida, featuring Yogi Bear and Boo Boo, was replaced by Jimmy Nuetron's Nicktoon Blast?", "answer": "The Funtastic World of Hanna-Barbera", "source": "hotpotqa", "difficulty": "multi_hop"} {"input": "What year was the centenary of Arkansas joining the Union?", "answer": ["one thousand, nine hundred and thirty-six", "1936"], "source": "triviaqa", "difficulty": "simple"} {"input": "Where was the place of burial of the performer of song There Is So Much World To See?", "answer": "Graceland", "source": "2wikimultihop", "difficulty": "multi_hop"}