Dataset Viewer
Auto-converted to Parquet Duplicate
domain
stringclasses
2 values
context
stringlengths
211
167k
question
stringlengths
22
315
answer
stringlengths
0
93
filename
stringlengths
8
98
question_id
stringlengths
4
10
Web
RITA COOLIDGE ALL TIME HIGH James Bond 007 OCTOPUSSY The val doonican show 1983 - YouTube RITA COOLIDGE ALL TIME HIGH James Bond 007 OCTOPUSSY The val doonican show 1983 Want to watch this again later? Sign in to add this video to a playlist. Need to report the video? Sign in to report inappropriate content. Rating i...
Rita Coolidge sang the title song for which Bond film?
OCTOPUSSY
158/158_2486.txt
tc_69
Web
On The Street Where You Live ~ Vic Damone - YouTube On The Street Where You Live ~ Vic Damone Want to watch this again later? Sign in to add this video to a playlist. Need to report the video? Sign in to report inappropriate content. Rating is available when the video has been rented. This feature is not available righ...
Which musical featured the song The Street Where You Live?
My Fair Lady
14/14_7295.txt
tc_261
Web
Stagecoach Reviews & Ratings - IMDb IMDb 22 December 2016 8:51 AM, PST NEWS 101 out of 122 people found the following review useful: A great western which enables multiple interpretations from New York City 30 April 2005 John Wayne is "The Ringo Kid" in this John Ford-directed parable of outcasts traveling towards var...
Who directed the classic 30s western Stagecoach?
John Ford
29/29_8040.txt
tc_280
Web
Jimi Sounds Like A Rainbow: Hendrix For Kids : NPR Javaka Steptoe Javaka Steptoe In 1956, 14 year old James Marshall Hendrix was in his Seattle home, listening to a thunderstorm raging outside. For a moment, he thought he heard a woman's name being blown in the wind— Ten years later, James changed his name to Jimi Hend...
Who set fire to his guitar at the Monterey Pop festival in 19676?
Jimi Hendrix
100/100_29234.txt
tc_1020
Web
Murder on the Orient Express YIFY subtitles download Sheer perfection, with a once in a lifetime cast!10/10 Whatever happened to the all star movie? Are they just too expensive now? I know a lot of the great stars are no longer with us, but there are enough to make another gem like this one. I just wish this movie wa...
Which Swedish actress won the Best Supporting Actress Oscar for Murder on the Orient Express?
INGRID BERGMAN
101/101_33638.txt
tc_1156
Web
Baltimore Oriole, Life History, All About Birds - Cornell Lab of Ornithology About the size of a Red-winged Blackbird, but slimmer. Other Names Bosero de Baltimore (Spanish) Cool Facts Baltimore Orioles got their name from their bold orange-and-black plumage: they sport the same colors as the heraldic crest of England’...
In baseball, where do the Orioles come from?
Baltimore, MD
185/185_156693.txt
tc_1516
Web
Naismith Legacy Awards — Naismith.com Get in Touch What is the purpose of the Naismith Legacy Award? The Naismith Legacy Award is presented to players, coaches and other individuals or organizations from the game of basketball honoring their role in furthering the values of Honor, Respect and Integrity, both on and off...
The Naismith Award is presented in which sport?
basketball
181/181_45539.txt
tc_1535
Web
The Babe’s Last Game | Philadelphia Athletics Philadelphia Athletics The Babe’s Last Game By Bob Warrington Hollywood has twice portrayed the life of Babe Ruth in major motion pictures. The first, “The Babe Ruth Story,” done in 1948, starred William Bendix as the Bambino. Generally regarded as a terrible film with Bend...
For which team did Babe Ruth blast his last Major League home run?
the Boston Braves
93/93_45766.txt
tc_1542
Web
More about Matthew Boulton     'Birmingham is my native town. I am interested in its manufactures both as merchant and manufacturer. Few men have endeavoured more than I to improve those arts upon which it depends.' It was a proud boast, but no idle one. Not content with building what wa...
Which builder of steam engines formed a successful partnership with Matthew Boulton?
James Watt
54/54_81911.txt
tc_2687
Web
'Hello Boys' Billboard Voted Most Iconic Advert Image Of All Time | The Huffington Post 'Hello Boys' Billboard Voted Most Iconic Advert Image Of All Time 31/03/2011 12:41 | Updated 22 May 2015 Ruth Doherty MyDaily UK Wonderbra's 'Hello Boy's campaign has been voted the most iconic ad image of all time. Photo: PA/Wonder...
What was advertised with Eva Herzagovia using the slogan hello boys?
Wonderbra
101/101_98337.txt
qz_77
Web
6 Famous Songs That Don't Mean What You Think 6 Famous Songs That Don't Mean What You Think NFL Reviewing Touchdown Celebration Penalty Rules Sometimes, the more you know about a song the less you enjoy it. You start out thinking the singer of some ballad totally identifies with your situation, then later find out most...
What was the surname of the woman who was the inspiration behind the Rolling Stones song Angie?
Bowie
35/35_1571072.txt
qz_1417
Web
LIVE FROM LONDON: UNITED KINGDOM DECIDES 2016 – OIKOTIMES.COM LIVE FROM LONDON: UNITED KINGDOM DECIDES 2016 Posted on February 26, 2016 8:27 pm by Ghassan Al Kaziri (UAE) // 0 Comments photo: BBC LONDON, UNITED KINGDOM – Welcome to Eurovision: You Decide, the national selection of the United Kingdom which takes place a...
Which act won the Eurovision Song Contest for the United Kingdom singing Love Shine A Light?
Katrina & The Waves
2/2_137988.txt
qz_1631
Web
Oor Wullie' And The Broons. "Sunday Post" - YouTube Oor Wullie' And The Broons. "Sunday Post" Want to watch this again later? Sign in to add this video to a playlist. Need to report the video? Sign in to report inappropriate content. Rating is available when the video has been rented. This feature is not available righ...
Which Scottish newspaper features the Broons and Oor Wullie?
the Sunday Post
100/100_142635.txt
qz_1794
Web
NOVA - Official Website | Missing in MiG Alley NOVA Search... Missing in MiG Alley What happened to American pilots shot down over Korea half a century ago? Airs May 23, 2012 at 10pm Airs May 23, 2012 at 10pm Originally aired 12.18.07 Program Description (Program not available for streaming.) In the early 1950s, epic b...
The Yalu river forms a sort of natural border between China and which of its neighbours?
North Korea
12/12_150476.txt
qz_2111
Web
What is the name for the plastic tip on the end of shoelaces? | Notes and Queries | guardian.co.uk What is the name for the plastic tip on the end of shoelaces? RLJS, Anaheim, USA Aglet. Karl Tiedemann, New York They're called aglets, but why we need a name for them I have no idea. Surely, the creative energies respons...
What is the name of the plastic bit on the end of shoelaces?
Aglet
7/7_153405.txt
qz_2231
Web
The Underworld The Underworld See More The Underworld Pictures > The Underworld was hidden deep in the earth and was the kingdom of the dead, ruled by god Hades . Hades was a greedy god, whose sole purpose was to increase the number of souls in his kingdom; at the same time, he was very reluctant to let any soul leave....
In Greek mythology, where do righteous souls go after death?
Elysian Fields
58/58_15838.txt
qz_2397
Web
Good Morning, Vietnam (1987) - IMDb IMDb There was an error trying to load your rating for this title. Some parts of this page won't work property. Please reload or try later. X Beta I'm Watching This! Keep track of everything you watch; tell your friends. Error An unorthodox and irreverent DJ begins to shake up things...
What is Robin Williams character called in Good Morning Vietnam?
Adrian Cronauer
53/53_16593.txt
qz_2444
Web
Salvador Dali Persistence of Memory: Meaning of the Melting Clocks Salvador Dali Persistence of Memory: Meaning of the Melting Clocks by K Shabi PUBLISHED 29 May 2013 A surrealist painter, the Spanish Salvador Dali is one of the most enigmatic artists of the twentieth century. Known for his weird and outlandish subject...
What is the name of the Salvador Dali painting that shows clocks oozing over a landscape?
The Persistence of Memory
37/37_55261.txt
qz_2980
Web
Gjetost Cheese - itscheese.com cheese guide photo credit Gjetost (pronounced 'yet-oast') is a sweet whey cheese from Norway. The cheese is called Brunost in Norwegian, which means "brown cheese." The name Gjetost is used mostly in North America and is an archaic spelling of Gietost, which means "goat cheese." Gjetos...
Gjetost is the national cheese of which country?
Norway
120/120_176103.txt
qz_3127
Web
Sonja Henie Sonja Henie Sonja Henie, Sonja Henije, Соня Хени Categories: Set cemetery Person Sonja Henie (April 8, 1912 – October 12, 1969) was a Norwegian figure skater and film star. She was a three-time Olympic Champion (1928, 1932, 1936) in Ladies Singles, a ten-time World Champion (1927–1936) and a six-time Europe...
What nationality was three time Olympic gold medallist in figure skating Sonja Henie?
Norwegian
110/110_186062.txt
qz_3569
Web
Coagulation – Curds Getting Comfy | Cheese Science Coagulation – Curds Getting Comfy by Angel  • July 29, 2011 •  Science  •  0 Comments If you wanted to break down the steps of cheesemaking to the very basics, you could say that it involves the following: 1) Acidification of milk 2) Coagulation 3) Aging I think it goe...
What is the name of the enzyme usually added to milk to coagulate it, to make "curds and whey"?
rennet
182/182_3205985.txt
qz_4056
Web
Long Island Iced Tea Recipe | Cocktail Drink: LiveInStyle 10 HISTORY OF THE Long Island Iced Tea COCKTAIL Long Island Iced Tea is a drink that is a mixture of five alcoholic beverages including tequila, vodka, light rum, triple sec, and gin. The coloring and taste of this cocktail resemble those of ice tea. Long Islan...
A Long Island Iced Tea is a cocktail based on vodka, gin, tequila, and which other spirit?
light rum & triple sec
130/130_2609106.txt
qz_4638
Web
Crusades - Facts & Summary - HISTORY.com Google The Crusades: Background By the end of the 11th century, Western Europe had emerged as a significant power in its own right, though it still lagged far other Mediterranean civilization such as that of the Byzantine Empire (formerly the eastern half of the Roman Empire) an...
Another name for the Holy Wars between the Christian states of Europe against the Saracens
the Crusades
164/164_220291.txt
qz_4991
Web
Paris Arc de Triomphe Photo Gallery Paris Photo Gallery Arc de Triomphe Place Charles-de-Gaulle remains for many place de l'Etoile - 12 avenues radiate out from the Arc de Triomphe. The arch was built in honour of Napoleon's victories. At 50 m high and 45 m wide, the rooftop observation deck offers a spectacular view o...
How many avenues radiate from the Arc de Triomphe?
12
191/191_223289.txt
qz_5083
Web
Simple Simon (1935) - Plot Summary - IMDb Simple Simon (1935) Plot Summary Showing one plot summary As in the nursery rhyme, Simple Simon meets a pieman on his way to the fair and samples his wares. However, when he makes no purchase, the pieman becomes angry, follows Simon to the fair, and makes his stay there miserab...
Who did Simple Simon meet on his way to the fair?
pieman
74/74_225483.txt
qz_5202
End of preview. Expand in Data Studio

This is the verified subset of the original TriviaQA dataset (https://nlp.cs.washington.edu/triviaqa/).

Steps to reproduce:

  1. Download: wget https://nlp.cs.washington.edu/triviaqa/data/triviaqa-rc.tar.gz
  2. Extract: pv triviaqa-rc.tar.gz | tar -xz
  3. Process:
    from pathlib import Path
    from tqdm.auto import tqdm
    import pandas as pd
    from typing import NamedTuple
    import json
     
    triviaqa_base_dir = Path("<download-root-dir>/triviaqa-rc/")
    verified_web_dev_path = triviaqa_base_dir / 'qa/verified-web-dev.json'
    verified_wiki_dev_path = triviaqa_base_dir / 'qa/verified-wikipedia-dev.json'
    web_evidence_dir = triviaqa_base_dir / 'evidence/web'
    wiki_evidence_dir = triviaqa_base_dir / 'evidence/wikipedia'
    
    
    class TriviaQASample(NamedTuple):
        domain: str
        split: str
        context: str
        question: str
        answer: str
        filename: str
        question_id: str
    
     
    web_samples: list[TriviaQASample] = []
     
    with open(verified_web_dev_path, "r") as f:
        verified_web_dev = json.load(f)
    for sample in tqdm(verified_web_dev['Data']):
        for search_result in sample['SearchResults']:
            if not search_result['DocPartOfVerifiedEval']:
                continue
            context_path = web_evidence_dir / search_result['Filename']
            with context_path.open('r') as f:
                context = f.read().strip()
            struct_sample = TriviaQASample(
                domain=verified_web_dev['Domain'],
                split=verified_web_dev['Split'],
                context=context,
                question=sample['Question'],
                question_id=sample['QuestionId'],
                filename=search_result['Filename'],
                answer=search_result["HumanAnswer"]
            )
            web_samples.append(struct_sample)
    web_samples_df = pd.DataFrame(web_samples)
    
    wiki_samples: list[TriviaQASample] = []
    
    with open(verified_wiki_dev_path, "r") as f:
        verified_wiki_dev = json.load(f)
    for sample in tqdm(verified_wiki_dev['Data']):
        for search_result in sample['EntityPages']:
            if not search_result.get('DocPartOfVerifiedEval', False):
                continue
            context_path = wiki_evidence_dir / search_result['Filename']
            with context_path.open('r') as f:
                context = f.read().strip()
            struct_sample = TriviaQASample(
                domain=verified_wiki_dev['Domain'],
                split=verified_wiki_dev['Split'],
                context=context,
                question=sample['Question'],
                question_id=sample['QuestionId'],
                filename=search_result['Filename'],
                answer=search_result["HumanAnswer"]
            )
            wiki_samples.append(struct_sample)
    wiki_samples_df = pd.DataFrame(wiki_samples)
    
    all_samples_df = pd.concat([web_samples_df, wiki_samples_df], ignore_index=True)
    
  4. Create the dataset object:
    from datasets import DatasetDict, Dataset
    
    subset_column = 'domain'
    
    subset_names = ['All', *all_samples_df[subset_column].unique()]
    
    def create_dataset_dict(dataframe: pd.DataFrame) -> DatasetDict:
        dataset_dict = DatasetDict()
        for split_name in dataframe['split'].unique():
            split_df = dataframe[dataframe['split'] == split_name].drop('split', axis=1).reset_index(drop=True)
            dataset_dict[split_name] = Dataset.from_pandas(split_df, preserve_index=False)
        return dataset_dict
    
    all_datasets = {}
    
    for name in subset_names:
        if name == 'All':
            subset_df = all_samples_df.copy()
        else:
            subset_df = all_samples_df.loc[all_samples_df[subset_column] == name]
    
        all_datasets[name] = create_dataset_dict(subset_df)
    
    print(all_datasets)
    
Downloads last month
12