Dataset Viewer
Auto-converted to Parquet Duplicate
qid
stringlengths
32
32
question
stringlengths
26
476
answer
stringlengths
1
181
evidence
listlengths
1
8
a33985b1e8b2502fc18cc8147dc27db8
For which film did Ben Piazza play the role of Mr. Simms?
Mask
[ [ "Ben_Piazza", "t_3" ] ]
710a6d2254076ea58756c6c7cc211f1e
When was the movie that had Ben Piazza in the role of Bob Whitewood released?
1976
[ [ "Ben_Piazza", "t_3" ], [ "The_Bad_News_Bears", "po_3" ] ]
0d8f2779137fb47db953c4af5247ffe5
What sports is the Ben Piazza 1976 movie title?
baseball
[ [ "Ben_Piazza", "t_3" ], [ "The_Bad_News_Bears", "t_1" ] ]
e240f5fe65b39eee70d3576cff88fe5a
Which film did Ben Piazza appear in first: "Nightwing" or the movie that shows half of a woman's face on the poster?
Tell Me That You Love Me, Junie Moon
[ [ "Ben_Piazza", "t_3" ], [ "Tell_Me_That_You_Love_Me,_Junie_Moon", "t_1" ] ]
18ecd2ac6c0ac69993b92dc4b30137e8
Which Title(s), in Filmography of Ben Piazza, has the left half of a woman's face on its poster?
Tell Me That You Love Me, Junie Moon
[ [ "Tell_Me_That_You_Love_Me,_Junie_Moon", "t_1" ] ]
4ed96e69a31b726165be584f61e9eb54
What league was the club Tuzla City in for the season Dzenis Beganovic played for them in his career?
Bosnian Premier League
[ [ "Dženis_Beganović", "t_2" ] ]
e1e6ed53f9ad11813845088f4cf2f6b1
Which Club(s), in Career statistics | Club of Dženis Beganović, have a flower on the logo?
FK Tuzla City
[ [ "FK_Tuzla_City", "t_1" ] ]
d82d381af11d76d8a70601251ecb8ca5
What distance was the AP Warrior fast race at the Del Mar Racetrack?
Seven Furlongs
[ [ "A.P._Warrior", "t_2" ] ]
471a2c824769af89d5d77a881462c775
What kind of horses race in the A.P. Warrior events with One and One-Quarter Miles?
three-year-old Thoroughbreds
[ [ "A.P._Warrior", "t_2" ], [ "Kentucky_Derby", "po_2" ] ]
d82159f62e879044fba10f810f13e40c
When did Mine That Bird win the A.P. Warrior race at Churchill Downs?
2009
[ [ "A.P._Warrior", "t_2" ], [ "Mine_That_Bird", "po_1" ] ]
3344a76645a7f19f211715e808f5dcb7
In the one and one-quarter mile races of A.P. Warrior, when did Big Brown win?
2008
[ [ "A.P._Warrior", "t_2" ], [ "Big_Brown", "pl_2" ] ]
ec9d3b4ac6a30bb982f0173384fac319
How many roses were in the blanket when the A.P. Warriors finished the race in 18th?
554
[ [ "A.P._Warrior", "t_2" ], [ "Kentucky_Derby", "po_23" ] ]
d8e9287f05d916923669b03d654bde4d
WHen the distance was One and One-Quarter Miles of A.P. Warrior what is the drink of the race?
The mint julep
[ [ "A.P._Warrior", "t_2" ], [ "Mint_julep", "po_1" ] ]
9d75888800a78297a2f47b124e58cdfc
A.P. Warrior raced in the Santa Anita Derby at a venue with what color logo?
blue
[ [ "A.P._Warrior", "t_2" ], [ "Santa_Anita_Park", "i_6" ] ]
22c2cdbcd854e49b33b67db7930d21ef
The animal that raced in the race where A.P warrior had 18th position, is?
horses
[ [ "A.P._Warrior", "t_2" ], [ "Kentucky_Derby", "i_4" ] ]
0bb48bd1c2138d237c2b6676555ec7f0
What animal race in the race of A.P. Warrior at the Churchill downs track?
horses
[ [ "A.P._Warrior", "t_2" ], [ "Kentucky_Derby", "i_4" ] ]
5fb253761e72a6048b8b759f04c3b784
What award did Barathea win at Churchill Downs in 1994?
Breeders' Cup Mile
[ [ "Churchill_Downs", "po_3" ], [ "Barathea_(horse)", "po_2" ] ]
33cf75c43fb268f267002cf8b9c28313
who rode american pharoah in the kentucky derby
Victor Espinoza
[ [ "Victor_Espinoza", "po_2" ] ]
bc2bade34338dadc9536bc852ec50919
What animals race in the Kentucky Derby?
horses
[ [ "Kentucky_Derby", "i_4" ] ]
725cff35b53790928967f609bb24985f
What color is the Santa Anita Park logo?
blue
[ [ "Santa_Anita_Park", "i_6" ] ]
76d853b0293fed49f6faa47b17057a6b
In what years that Tony Ricciardello drove an Alfa Romeo Alfetta GTV-Chevrolet vehicle in the National Sports Sedan Series was he also the champion?
1999
[ [ "National_Sports_Sedan_Series", "t_2" ] ]
77240911edd7c3cc1d48a0623e54d32d
when was last time dodgers played yankees in the world series
1981
[ [ "Dodgers–Yankees_rivalry", "po_2" ] ]
113b374349b9e086687eaff26cc425e0
was Sarah or Diana, the role with earlier year in filmography of Lizzy Caplan?
Sarah
[ [ "Lizzy_Caplan", "t_4" ] ]
0ed625390ca7f919b46fd99fe85d80b5
Lizzy Caplan was April Drennan in a film that took place where?
Kodiak Valley Ski Resort
[ [ "Lizzy_Caplan", "t_4" ], [ "Hot_Tub_Time_Machine", "po_4" ] ]
d84462c91815f4851d806453b5715610
What county was the 1999 TransWorld Diversified Services Indy 200 held in?
Orange County
[ [ "1999_TransWorld_Diversified_Services_Indy_200", "po_2" ], [ "Bay_Lake,_Florida", "po_2" ] ]
26ca9466876a6e17844791762c62ec0a
What are the names of the characters that Zhu Yuchen played in movies in the year in which he appeared in the movie whose English title was "Chinese Horror Story"?
Tommy
[ [ "Zhu_Yuchen", "t_3" ] ]
e6bf1ac6cc85c5563ae4a2dc1ce33d5f
Which album featured the Single by Chic discography that was made by artist Carly Simon?
Soup for One
[ [ "Chic_discography", "t_7" ] ]
614716c36c027cb4b3e963418559b585
What singer replaced Diana Ross as the lead singer of The Supremes in January of 1970 and provided the lead vocals on the song "You Gotta Have Love in Your Heart" by the Supremes and the Four Tops?
Jean Terrell
[ [ "Jean_Terrell", "po_2" ], [ "You_Gotta_Have_Love_in_Your_Heart", "po_1" ] ]
9258ba326d6428dfa1bf21a989b723a7
Which relief pitcher that played for the Cleveland Indians in the 2003 season has a lower ERA: Chad Paronto or Carl Sadler?
Carl Sadler
[ [ "2003_Cleveland_Indians_season", "t_16" ] ]
cc426439a9cb45e9bcd3aa24520b092f
Of the music of Padosan, how long were the songs sung by Lata Mangeshkar with music by R.D. Burman?
05:05
[ [ "Padosan", "t_3" ] ]
06cebc3108b489b6cc268b4be8dc3b3c
What Indian playback singer and occasional music composer born 28 September 1929 has a song featured in the 1959 Bollywood movie Ujala?
Lata Mangeshkar
[ [ "Lata_Mangeshkar", "po_3" ], [ "Ujala_(film)", "po_2" ] ]
93ecaa742a8b0a3b6d5c6ab1c5256848
who sing the most songs in the world
Asha Bhosle
[ [ "Playback_singer", "po_4" ] ]
eb320822490296e56cd50e172e70f554
In which year did Larry McCormick play himself in a movie?
2003
[ [ "Larry_McCormick_(TV)", "t_2" ] ]
f048fc7eda0d41f62b95bb496b63ae37
In the movie featuring Larry McCormick as the announcer, who played the mother?
Anne Ramsey
[ [ "Larry_McCormick_(TV)", "t_2" ], [ "Throw_Momma_from_the_Train", "po_6" ] ]
c766fcfc2e3d278fccbe744341523420
who played mama on throw momma from the train
Anne Ramsey
[ [ "Throw_Momma_from_the_Train", "po_6" ] ]
2f7dc1705f3baa62fd582c6a9057b88e
When there was a mule on the film poster for the television shows of Larry McCormick, what was the year?
1976
[ [ "Larry_McCormick_(TV)", "t_2" ], [ "Gus_(1976_film)", "t_1" ] ]
33b214080499af7ab3e6f71460d7f999
In the title featuring a donkey on the poster what part did Larry McCormick play?
N.Y. Broadcaster
[ [ "Larry_McCormick_(TV)", "t_2" ], [ "Gus_(1976_film)", "t_1" ] ]
690d62a0d4046ccc7e9b658d221b5ae9
Which team has higher pts in the table of 2002 Super 12 season: Reds or Cats?
Reds
[ [ "2002_Super_12_season", "t_4" ] ]
f86444fef668a3c57db2e436760d8cee
who was considered the father of the blues
William Christopher Handy
[ [ "W._C._Handy", "po_2" ] ]
8238d72cff251700417aad30776b9dd6
What role did George Hilton play in "The Atlantis Interceptors"?
Professor Peter Saunders
[ [ "The_Atlantis_Interceptors", "t_1" ] ]
106ad70b10566792afb55afa2d5394dd
Which Irandhir Santos film was more recent, Elite Squad: The Enemy Within or A Febre do Rato?
A Febre do Rato
[ [ "Irandhir_Santos", "t_2" ] ]
d0fc9cc5086d90b34e4a55b7f8498ec4
caesar's son name in planet of the apes
Blue Eyes
[ [ "List_of_Planet_of_the_Apes_characters", "po_60" ] ]
ae01728a7eeb65102cc999a29b13142c
What is the man holding in the poster for Blue Eyes (film)?
gun
[ [ "Blue_Eyes_(film)", "t_1" ] ]
55a09cd2851312997e76be21d8d91234
The Irandhir Santos film whose poster has two people doing martial arts was released in what year?
2009
[ [ "Irandhir_Santos", "t_2" ], [ "The_Assailant", "t_1" ] ]
c7990a752cec50592b9300f8911d0614
what nfl team has the round two draft of 1954 for the back position from syracuse college?
Pittsburgh Steelers
[ [ "1954_NFL_Draft", "t_4" ] ]
f99f9d0460af357bc361871ef6f4fc33
What was the ceremony of the Shorty Awards on March 27, 2012?
4th Annual Shorty Awards
[ [ "Shorty_Awards", "t_4" ] ]
b79327232551450a342418e44bc0f853
the billboard at the venue of Shorty Awards ceremony on April 23, 2017, has how many face on it?
three
[ [ "Shorty_Awards", "t_4" ], [ "PlayStation_Theater", "t_1" ] ]
6f4f906e0afb1c0f056388a2ba2dd980
The April 15, 2018 Shorty Awards venue had how many faces on billboard?
three
[ [ "Shorty_Awards", "t_4" ], [ "PlayStation_Theater", "t_1" ] ]
1946869d518678a95a5d2d51961818aa
The venue where the 11th annual Shorty Awards was held has how many faces on its billboard?
three
[ [ "Shorty_Awards", "t_4" ], [ "PlayStation_Theater", "t_1" ] ]
08f92dc7e86cdae17365b2c16f90b839
What object is in front of Felicia Day's face?
microphone
[ [ "Felicia_Day", "i_1" ] ]
3116ad06bfe68bb544de4ce3f77d911f
What color is Rachel Dratch wearing?
black
[ [ "Rachel_Dratch", "i_1" ] ]
f5326b243eed1f858865df5e3337cb10
What were the Shorty Awards venues hosted in the city where James flies his giant peach to?
PlayStation Theater
[ [ "James_and_the_Giant_Peach", "po_7" ], [ "Shorty_Awards", "t_4" ] ]
35ce9f0507cb771000b13b5cf015de5d
The voice artist of the girl mammoth in ice age continental draft has what color hair?
black
[ [ "List_of_Ice_Age_characters", "po_20" ], [ "Keke_Palmer", "i_2" ] ]
8af54da208dbf3063ef8b735f1df7ac0
What was the combined total of penalty minutes for the scoring leaders on the Kentucky Thoroughblades in the 2000-01 AHL season
300.0
[ [ "2000–01_AHL_season", "t_6" ] ]
8a36aeac84a462745c5fa5ffacc45c1b
Which Player(s), in Scoring leaders of 2000–01 AHL season, Plays for the team with a pouncing wild cat on the jersey?
Mikael Samuelsson
[ [ "Mikael_Samuelsson", "t_1" ] ]
f7044ffc6dc9b5e9e4daa0a7876c33fe
What was James Wilby's role in the 2011 movie?
Professor Hugh Merrill
[ [ "James_Wilby", "t_3" ] ]
0f22b5d312a0b8cc97455e66ddda260c
Who starred in Crash, Breach, Revenge for Jolly!, and the film where James Wilby played Freddie Nesbitt?
Ryan Phillippe
[ [ "James_Wilby", "t_3" ], [ "Ryan_Phillippe", "po_2" ], [ "Revenge_for_Jolly!", "po_1" ] ]
8069a3c20c0c0c563e5bd39364cebfba
Was the Federal Palace Hotel the venue for the 5th annual edition of Lights, Camera, Africa!?
Yes
[ [ "Lights,_Camera,_Africa!", "t_2" ] ]
67655100a4bbbbf310eddc3c088cdc11
Of the television shows featuring Paloma Bloyd, in which years did she play the character Lola?
2011 - 2013
[ [ "Paloma_Bloyd", "t_4" ] ]
535f0eeadf0601bf4dbc964b0cd46774
Paloma Bloyd's 5 episode TV series poster has person holding what?
scythe
[ [ "Paloma_Bloyd", "t_4" ], [ "Borgia_(TV_series)", "t_1" ] ]
d9603aa82acbcbe8657cee167fef0c07
What dub language was used by Gwen Tennyson in Animated series of Parignya Pandya Shah?
Hindi
[ [ "Parignya_Pandya_Shah", "t_7" ] ]
9ae2827de34f02e886c7d9d6af81e9c6
Milo Murphy's Law (previously titled Mikey Murphy's Law) is an American animated television series from the creators of "Phineas and Ferb", the series revolves around the title character, Milo Murphy, who is a descendant of Edward A. Murphy Jr., was an American aerospace engineer who worked on safety-critical systems, ...
Murphy's law
[ [ "Milo_Murphy's_Law", "po_2" ], [ "Edward_A._Murphy_Jr.", "po_1" ] ]
9ccd35f39cdd23d9b4cad3467539d5f4
when did the first episode of phineas and ferb come out
August 17, 2007
[ [ "Phineas_and_Ferb", "po_6" ] ]
6342fbe80aef2e720d0b06d35e4ec463
What color hair does alyson stoner have?
blonde
[ [ "Alyson_Stoner", "i_1" ] ]
e1ea8011eba28c574bbd3bb7a2f2a80c
Among animated TV shows for which Parignya Pandya Shah has provided voices, who was the original voice actor on the show whose poster features a character in yellow gloves?
Emily Osment
[ [ "Parignya_Pandya_Shah", "t_7" ], [ "Kick_Buttowski:_Suburban_Daredevil", "t_1" ] ]
f8124cf0c11d6e226324415d569343cf
What was the name of the character that Parignya Pandya Shah portrayed on the animated TV show whose poster features a character in yellow gloves?
Kendall Wackerman
[ [ "Parignya_Pandya_Shah", "t_7" ], [ "Kick_Buttowski:_Suburban_Daredevil", "t_1" ] ]
0a8b8b970675ee05c9579f4330c19d70
Which Parignya Pandya Shah show that was dubbed in Hindi has a person on the logo?
Kick Buttowski: Suburban Daredevil
[ [ "Parignya_Pandya_Shah", "t_7" ], [ "Slugterra", "t_2" ], [ "Kick_Buttowski:_Suburban_Daredevil", "t_1" ] ]
146153932281542396eea1b476040e1c
Within Singles of Cass Elliot does the album Dream a Little Dream or Don't Call Me Mamma Anymore have the most recent year?
Don't Call Me Mama Anymore
[ [ "Cass_Elliot", "t_4" ] ]
9aa0dd5dd754fdc4a68eabc639a34f35
Which Album(s), in Singles of Cass Elliot, has three children on its cover?
Dream a Little Dream (Cass Elliot album)
[ [ "Dream_a_Little_Dream_(Cass_Elliot_album)", "t_2" ] ]
d85e16020cec2e8cdcb347f88e1763c9
is make your own kind of music on an album
yes
[ [ "Make_Your_Own_Kind_of_Music_(song)", "po_5" ] ]
59c41db3c214d285b9a8ee4bdf12ecf3
What movie did Jason Eisener direct in 2013?
V/H/S/2 (Segment: Slumber Party Alien Abduction)
[ [ "Jason_Eisener", "t_2" ] ]
50e892833f89d565b6f5dc57a237b325
In the movie where Jason Eisener was the second-unit director who did Nat Wolff play?
Light Turner
[ [ "Jason_Eisener", "t_2" ], [ "Nat_Wolff", "po_3" ] ]
efc66eeebbc6e4bac097edecdcc1cf13
Which airport does Contour Airlines fly to in Arizona where the refs are Essential Air Service?
Page Municipal Airport
[ [ "Contour_Airlines", "t_3" ] ]
eaa6860ac718c20f4abd5907d1c60354
Has the city where contour airlines flies to the state of Florida ever hit directly by a hurricane?
yes
[ [ "Contour_Airlines", "t_3" ], [ "1921_Tampa_Bay_hurricane", "po_2" ] ]
30a5b410389154027c28562a6aaa11b5
Who owns the sign in Nevada that welcomes people to the city Contour Airlines flies to?
Young Electric Sign Company (YESCO)
[ [ "Contour_Airlines", "t_3" ], [ "Welcome_to_Fabulous_Las_Vegas_sign", "po_7" ] ]
540f2fc8563638b9212d69e22336094b
Does the city that Contour Airlines lands in at Tampa International Airport have an amusement park among its images?
yes
[ [ "Contour_Airlines", "t_3" ], [ "Tampa,_Florida", "i_12" ] ]
df307f43f5f9683d05be62d0620f569f
The PKB Contour Airline destination city has what going across the river?
bridge
[ [ "Contour_Airlines", "t_3" ], [ "Parkersburg,_West_Virginia", "t_1" ] ]
9c4edd8d739fd174c3e3def12de3e7d8
Is there an amusement park featured in the collage of Tampa, Florida?
yes
[ [ "Tampa,_Florida", "i_12" ] ]
f2def8c149eac4debb187a7057243177
What is going across the river and in the water on Parkersburg, West Virginia?
bridge
[ [ "Parkersburg,_West_Virginia", "t_1" ] ]
074182b0a52f0fd0e740b4f64b30113c
How many colors are on the Mississippi flag?
3
[ [ "Mississippi", "t_11" ] ]
c39391f49f6932db136820f0ba229324
What arid climate is the region where Page Municipal Airport is located?
desert
[ [ "Page_Municipal_Airport", "t_1" ] ]
e613caf2aa41aedbad7e1d2c51c498b8
What is the state in the Contour Airlines city destinations, that has a tall metal arch on a river?
Missouri
[ [ "Contour_Airlines", "t_3" ], [ "St._Louis,_Missouri", "i_6" ] ]
7c7ffee7b94509e9379ee289a07f2239
In the city that is served by Contour Airlines as a destination, and which is famous for the metal archway-shaped structure on its shore, how tall is this arch?
630-foot
[ [ "Gateway_Arch", "po_2" ], [ "St._Louis,_Missouri", "i_6" ] ]
782b7cd2730063d3406269f49f3abea5
Who were the stars of the movie whose title begins with "Meet Me In" and ends with the name of the city, served by Contour Airlines as a destination, that has a large, metal, archway-shaped sculpture on its shore?
Judy Garland, Margaret O'Brien, Mary Astor, Lucille Bremer, Tom Drake, Leon Ames, Marjorie Main, June Lockhart, and Joan Carroll
[ [ "Meet_Me_in_St._Louis", "po_2" ], [ "St._Louis,_Missouri", "i_6" ] ]
1792e199c635e72d8e55cfdac96fb04f
In the 1970's film list of Pino Donaggio, for the latest year in which Marcello Aliprandi is listed as director, name all film titles from that year.
Senza buccia
[ [ "Pino_Donaggio", "t_2" ] ]
04ec050615a31c84b35257ba63fff85c
is there going to be a piranha 2
yes
[ [ "Piranha_II:_The_Spawning", "po_2" ] ]
81712f380ca5dd8d58c333fc1c366ef3
Among the films that Pino Donaggio worked on in the '70s, which has a black background on its poster and was released in 1976?
Carrie
[ [ "Pino_Donaggio", "t_2" ], [ "Don't_Look_Now", "t_1" ], [ "Carrie_(1976_film)", "t_1" ], [ "China_9,_Liberty_37", "t_1" ], [ "Tourist_Trap_(film)", "t_2" ] ]
2cfd27d95e2a48bd8b16ba519c4da5e3
For the Ret race of the Formula Motorsport team, who was the driver in the 2013 Pau Trophy of the 2013 Formula Renault season?
Marc Cattaneo
[ [ "2013_Formula_Renault_seasons", "t_1" ] ]
ae6a6019d324f08fb734b74f66a237e2
who owned the manor in the middle ages
a higher lord
[ [ "Manorialism", "po_9" ] ]
dd71a45a19c4ff4729a59590e473ff5e
Which title in Series 27 of List of Natural World episodes has a higher episode: Snow Monkeys or The Mountains of the Monsoon?
The Mountains of the Monsoon
[ [ "List_of_Natural_World_episodes", "t_28" ] ]
e92c5d803610ccf775a0147b50f2446b
are there great white sharks in atlantic ocean
yes
[ [ "Great_white_shark", "po_19" ] ]
5fc1a4391a2bc99286531215825a5f5d
what are flying monkeys in wizard of oz called
Winged monkeys
[ [ "Winged_monkeys", "pl_10" ] ]
4c5d0e3250fff4406f7fecbbf5a3ab57
In the list of Results of Stars in Euro Eyes 2001, when The Three Degrees was the Imitated artist was the performer Sylvana Djoemat?
No
[ [ "Stars_in_Euro_Eyes_2001", "t_3" ] ]
d17931e347af95c54d4acd295f91ea5d
Which artist that was imitated on Stars in Euro Eyes in 2001 had a lower resulting pos: The artist of the song it's all coming back to me now or The Three Degrees?
Celine Dion
[ [ "It's_All_Coming_Back_to_Me_Now", "po_1" ], [ "Stars_in_Euro_Eyes_2001", "t_3" ] ]
daa1e572eefb721531c111d7ce59cb5b
are all of the songs in mamma mia here we go again by abba
no
[ [ "Mamma_Mia!_Here_We_Go_Again", "po_19" ] ]
cc3cbe258ac94f14defe66d3cd14afcf
Does the band that originally performed "Slipping Through My Fingers", and who were imitated by performers at the 2001 "Stars in Euro Eyes", have both men and women in its lineup?
yes
[ [ "Slipping_Through_My_Fingers", "po_1" ], [ "ABBA", "t_1" ] ]
6d372c501004c3e448b1991f39160e99
Did the band that is made up of members of both sexes and was imitated in Stars in Euro Eyes in 2001 sing all songs in mamma mia 2?
no
[ [ "Mamma_Mia!_Here_We_Go_Again", "po_19" ], [ "ABBA", "t_1" ] ]
29166f83d72d324cf83f9513117c7047
Which club did Lucas Salas play for in the 2016-2017 season?
San MartΓ­n
[ [ "Lucas_Salas", "t_2" ] ]
8ee0a9718b44f6ac57bf2bfbe6e7d85e
Who performed the songs "Sesuatu and "Seperti Itu" during the 2015 SCTV Awards?
Syahrini
[ [ "2015_SCTV_Awards", "t_2" ] ]
bdde9feefbf9c4533b9303cbf0260096
Who scored higher Al-Hilal or Al-Ahli, during the 1998-99 Saudi Premier Leage play?
Al-Hilal
[ [ "1998–99_Saudi_Premier_League", "t_4" ] ]
End of preview. Expand in Data Studio

MultimodalQA_Doc Documentation

This repository contains Wikipedia data crawled for the MultimodalQA dataset, a dataset designed for multimodal question answering. The dataset combines text, tables, and images from Wikipedia articles to enable research on answering questions that require understanding and reasoning across multiple modalities.

Included in this repository is a data loading script. It reads text, table, and image data stored in Parquet format and reconstructs them into individual JSON documents along with their corresponding image files. Each JSON document is organized by doc_title and contains structured components for text, tables, and images, preserving headings, captions, and hyperlinks for each element.

Folder Structure

Input Parquet Folder

  • text.parquet : Text components per document
  • table.parquet : Table components per document
  • image.parquet : Image component metadata per document
  • image_dump.parquet : Actual byte data of images (mapped by image_name)

Example:

parquet_data/
β”œβ”€β”€ text.parquet
β”œβ”€β”€ table.parquet
β”œβ”€β”€ image.parquet
└── image_dump.parquet

Output Folder Structure

  • <save_path>/ : Restored JSON documents
  • <save_path>/images/ : Image files

Example:

restored_data/
β”œβ”€β”€ images/
β”‚   β”œβ”€β”€ image_1.png
β”‚   β”œβ”€β”€ image_2.png
β”‚   └── ...
β”œβ”€β”€ Document_1.json
β”œβ”€β”€ Document_2.json
└── ...

JSON Structure

Each document is stored in the following structure:

{
  "title": "Document Title",
  "text": {
    "component_id_1": {
      "text": "Main text content",
      "heading_path": ["Section 1", "Subsection A"],
      "hyperlinks": ["https://example.com"],
      "label_id": 0
    }
  },
  "table": {
    "component_id_2": {
      "table": [[...], [...]],
      "heading_path": ["Section 2"],
      "hyperlinks": [],
      "label_id": 1
    }
  },
  "image": {
    "component_id_3": {
      "image_name": "image_1.png",
      "heading_path": ["Section 3"],
      "caption": "Image caption",
      "hyperlinks": [],
      "label_id": 2
    }
  }
}
  • text, table, image use the component ID as the key, containing detailed information for each component.
  • Image files are saved in the images/ folder with .png format.

Usage

python load.py --parquet_path /path/to/parquet_data --save_path /path/to/restored_data
  • --parquet_path : Path to the folder containing Parquet files
  • --save_path : Path where restored JSON documents and images will be saved (must not already exist)

After successful restoration, the terminal will display output like:

Loading Parquet Files...
Restoring JSON Documents: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3236/3236 [00:33<00:00, 96.34it/s]
Successfully restored 3236 documents. Folder Path: /workspace/mmqa_load
  • The example above shows the actual number of documents restored.
Downloads last month
277