Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 3 new columns ({'output_predict', 'output_summarize', 'input'}) and 3 missing columns ({'query', 'pos', 'neg'}).

This happened while the json dataset builder was generating data using

hf://datasets/ZhishanQ/UniHGKR_training_data/UniHGKR_7b_pretrain_data.jsonl (at revision 87995d4ed6e6be31a1a9b179c89f025fc38daf74)

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1871, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 643, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2293, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2241, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              input: string
              output_summarize: string
              output_predict: string
              to
              {'query': Value(dtype='string', id=None), 'pos': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'neg': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None)}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1436, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1053, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 925, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1001, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1742, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1873, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 3 new columns ({'output_predict', 'output_summarize', 'input'}) and 3 missing columns ({'query', 'pos', 'neg'}).
              
              This happened while the json dataset builder was generating data using
              
              hf://datasets/ZhishanQ/UniHGKR_training_data/UniHGKR_7b_pretrain_data.jsonl (at revision 87995d4ed6e6be31a1a9b179c89f025fc38daf74)
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

query
string
pos
sequence
neg
sequence
For a query related to the field of books, locate pertinent information from all available knowledge bases to provide an answer: who is the author of book The Velveteen Rabbit?
[ "The Velveteen Rabbit, , Author, Margery Williams" ]
[ "Rabbit Remembered, author, John Updike", "Rabbit Redux, , Author, John Updike", "Rabbit Redux, , Publisher, Alfred A. Knopf", "The Velveteen Age, The Velveteen Age, ", "Velveteen (album), Velveteen, ", "The Velveteen Age, Diane Birch (official site)", "Rabbits : a novel, publisher, Del Rey Books", "T...
Presented with a question about the domain of books, extract pertinent evidence to address it from Infobox sources: who is the author of book The Velveteen Rabbit?
[ "The Velveteen Rabbit, , Author, Margery Williams" ]
[ "Rabbit Remembered, author, John Updike", "The Velveteen Age, Diane Birch (official site)", "Rabbits : a novel, publisher, Del Rey Books", "The Velveteen Rabbit, It chronicles the story of a stuffed rabbit's desire to become real through the love of his owner.", "The Tale of Peter Rabbit, author, Beatrix Po...
For a question within the realm of books, extract pertinent information from all available knowledge sources: who is the publisher of book The Velveteen Rabbit?
[ "The Velveteen Rabbit, , Publisher, George H. Doran Company" ]
[ "Company, publisher, Doubleday", "Rabbit Redux, , Publisher, Alfred A. Knopf", "M\\u00E9lusine, publisher, Ace Books", "Rabbit Redux, , Media type, Print ( Hardcover and Paperback )", "Velveteen (album), Velveteen, ", "Rabbits : a novel, publisher, Del Rey Books", "The Velveteen Rabbit, , Front cover ...
For a query related to the books domain, extract pertinent information from Infobox sources to provide an answer: who is the publisher of book The Velveteen Rabbit?
[ "The Velveteen Rabbit, , Publisher, George H. Doran Company" ]
[ "Company, publisher, Doubleday", "M\\u00E9lusine, publisher, Ace Books", "Rabbits : a novel, publisher, Del Rey Books", "The Tale of Peter Rabbit, publisher, Frederick Warne & Co", "The Velveteen Rabbit, The book was first published in 1922 and has been republished many times since.", "The Velveteen Rabbi...
For a question pertaining to the realm of books, extract pertinent information from all available sources to provide an answer: who is the illustrator of book The Velveteen Rabbit?
[ "The Velveteen Rabbit, , Illustrator, William Nicholson" ]
[ "Illustrations of Alice's Adventures in Wonderland, genre, book illustration", "Rabbit Redux, , Publisher, Alfred A. Knopf", "My Friend Rabbit, form of creative work, picture book", "The Runaway Bunny, form of creative work, picture book", "Velveteen (album), Velveteen, ", "Rabbits : a novel, publisher, D...
For an inquiry related to the book's domain, extract pertinent information from Infobox sources to provide an answer: who is the illustrator of book The Velveteen Rabbit?
[ "The Velveteen Rabbit, , Illustrator, William Nicholson" ]
[ "Illustrations of Alice's Adventures in Wonderland, genre, book illustration", "My Friend Rabbit, form of creative work, picture book", "The Runaway Bunny, form of creative work, picture book", "Rabbits : a novel, publisher, Del Rey Books", "cover artist, subclass of, illustrator", "The Velveteen Rabbit, ...
For a question within the realm of books, extract pertinent information from all available knowledge sources: What is the genre of book The Velveteen Rabbit?
[ "Abig\\u00E9l, genre, children's novel" ]
[ "Tipping the Velvet, genre, LGBT literature", "Rabbit Redux, , Media type, Print ( Hardcover and Paperback )", "The Velveteen Age, The Velveteen Age, ", "Velveteen (album), Velveteen, ", "Rabbits : a novel, publisher, Del Rey Books", "The Velveteen Rabbit, , Front cover of the 1922 Heinemann edition", ...
For a question within the books domain, find pertinent evidence from Knowledge Graph triples that can answer it: What is the genre of book The Velveteen Rabbit?
[ "Abig\\u00E9l, genre, children's novel" ]
[ "Rabbit Redux, , Media type, Print ( Hardcover and Paperback )", "The Velveteen Age, The Velveteen Age, ", "Velveteen (album), Velveteen, ", "The Velveteen Rabbit, , Front cover of the 1922 Heinemann edition", "The Velveteen Rabbit, , Author, Margery Williams", "The Velveteen Rabbit, , Illustrator, Will...
For a query pertaining to the domain of books, gather pertinent evidence from all available knowledge bases to provide an answer: Which is country of origin of book The Velveteen Rabbit?
[ "Rabbit Ears: The Tale of Peter Rabbit, country of origin, United States of America" ]
[ "Wonderland (fictional country), Wonderland, Created by, Lewis Carroll", "Wonderland (fictional country), Information, Characters, White Rabbit , Duchess , Cheshire Cat , the Hatter , March Hare , Mock Turtle , Queen of Hearts", "Rabbit Hill, genre, children's novel", "The Velveteen Age, The Velveteen A...
For a query related to the domain of books, extract pertinent evidence from Knowledge Graph triples: Which is country of origin of book The Velveteen Rabbit?
[ "Rabbit Ears: The Tale of Peter Rabbit, country of origin, United States of America" ]
[ "Wonderland (fictional country), Wonderland, Created by, Lewis Carroll", "Wonderland (fictional country), Information, Characters, White Rabbit , Duchess , Cheshire Cat , the Hatter , March Hare , Mock Turtle , Queen of Hearts", "The Velveteen Age, The Velveteen Age, ", "Velveteen (album), Velveteen, ",...
For a question in the realm of books, gather pertinent evidence from all knowledge bases to provide an answer: author of book The Velveteen Rabbit?
[ "The Velveteen Rabbit, , Author, Margery Williams" ]
[ "Rabbit Redux, , Author, John Updike", "Rabbit Redux, , Publisher, Alfred A. Knopf", "R\\u00F6da pesten, author, Jack London", "The Velveteen Age, The Velveteen Age, ", "Velveteen (album), Velveteen, ", "The Velveteen Age, Diane Birch (official site)", "Rabbits : a novel, publisher, Del Rey Books", "T...
For a query related to the books domain, extract pertinent information from Infobox sources to provide an answer: author of book The Velveteen Rabbit?
[ "The Velveteen Rabbit, , Author, Margery Williams" ]
[ "R\\u00F6da pesten, author, Jack London", "The Velveteen Age, Diane Birch (official site)", "Rabbits : a novel, publisher, Del Rey Books", "The Tale of Peter Rabbit, author, Beatrix Potter", "The Velveteen Rabbit, The book was first published in 1922 and has been republished many times since.", "The Velve...
For a question within the realm of books, extract pertinent information from all available knowledge sources: who is the publisher of book The Velveteen Rabbit?
[ "The Velveteen Rabbit, , Publisher, George H. Doran Company" ]
[ "Company, publisher, Doubleday", "Rabbit Redux, , Publisher, Alfred A. Knopf", "M\\u00E9lusine, publisher, Ace Books", "Rabbit Redux, , Media type, Print ( Hardcover and Paperback )", "Velveteen (album), Velveteen, ", "Rabbits : a novel, publisher, Del Rey Books", "The Velveteen Rabbit, , Front cover ...
For a query related to the realm of books, extract pertinent information from Infobox sources that can provide an answer: who is the publisher of book The Velveteen Rabbit?
[ "The Velveteen Rabbit, , Publisher, George H. Doran Company" ]
[ "Company, publisher, Doubleday", "M\\u00E9lusine, publisher, Ace Books", "Rabbits : a novel, publisher, Del Rey Books", "The Tale of Peter Rabbit, publisher, Frederick Warne & Co", "The Velveteen Rabbit, The book was first published in 1922 and has been republished many times since.", "The Velveteen Rabbi...
In the context of a query related to books, extract pertinent information from all available knowledge repositories: who is the illustrator of book The Velveteen Rabbit?
[ "The Velveteen Rabbit, , Illustrator, William Nicholson" ]
[ "Illustrations of Alice's Adventures in Wonderland, genre, book illustration", "Rabbit Redux, , Publisher, Alfred A. Knopf", "My Friend Rabbit, form of creative work, picture book", "The Runaway Bunny, form of creative work, picture book", "Velveteen (album), Velveteen, ", "Rabbits : a novel, publisher, D...
Presented with an inquiry from the books domain, extract pertinent evidence from Infobox sources to address the question: who is the illustrator of book The Velveteen Rabbit?
[ "The Velveteen Rabbit, , Illustrator, William Nicholson" ]
[ "Illustrations of Alice's Adventures in Wonderland, genre, book illustration", "My Friend Rabbit, form of creative work, picture book", "The Runaway Bunny, form of creative work, picture book", "Rabbits : a novel, publisher, Del Rey Books", "cover artist, subclass of, illustrator", "The Velveteen Rabbit, ...
When presented with a query about books, extract pertinent information from all available knowledge bases: What is the genre of book The Velveteen Rabbit?
[ "Abig\\u00E9l, genre, children's novel" ]
[ "Tipping the Velvet, genre, LGBT literature", "Rabbit Redux, , Media type, Print ( Hardcover and Paperback )", "The Velveteen Age, The Velveteen Age, ", "Velveteen (album), Velveteen, ", "Rabbits : a novel, publisher, Del Rey Books", "The Velveteen Rabbit, , Front cover of the 1922 Heinemann edition", ...
For a query within the realm of books, locate pertinent evidence from Knowledge Graph triple data sources: What is the genre of book The Velveteen Rabbit?
[ "Abig\\u00E9l, genre, children's novel" ]
[ "Rabbit Redux, , Media type, Print ( Hardcover and Paperback )", "The Velveteen Age, The Velveteen Age, ", "Velveteen (album), Velveteen, ", "The Velveteen Rabbit, , Front cover of the 1922 Heinemann edition", "The Velveteen Rabbit, , Author, Margery Williams", "The Velveteen Rabbit, , Illustrator, Will...
For a query related to the field of books, locate pertinent information from all available knowledge bases to provide an answer: Which is country of origin of book The Velveteen Rabbit?
[ "Rabbit Ears: The Tale of Peter Rabbit, country of origin, United States of America" ]
[ "Wonderland (fictional country), Wonderland, Created by, Lewis Carroll", "Wonderland (fictional country), Information, Characters, White Rabbit , Duchess , Cheshire Cat , the Hatter , March Hare , Mock Turtle , Queen of Hearts", "Rabbit Hill, genre, children's novel", "The Velveteen Age, The Velveteen A...
For a question within the books domain, find pertinent evidence from Knowledge Graph triples that can answer it: Which is country of origin of book The Velveteen Rabbit?
[ "Rabbit Ears: The Tale of Peter Rabbit, country of origin, United States of America" ]
[ "Wonderland (fictional country), Wonderland, Created by, Lewis Carroll", "Wonderland (fictional country), Information, Characters, White Rabbit , Duchess , Cheshire Cat , the Hatter , March Hare , Mock Turtle , Queen of Hearts", "The Velveteen Age, The Velveteen Age, ", "Velveteen (album), Velveteen, ",...
Given a query about films, extract pertinent information from all available knowledge bases to address the inquiry: Who is the director of the film Encanto?
[ "Encanto (film), Encanto, Directed by, Jared Bush , Byron Howard" ]
[ "Encanto (soundtrack), Soundtrack album by various artists, Released, November 19, 2021 ( 2021-11-19 )", "Encanto (soundtrack), Soundtrack album by various artists, Genre, Latin pop , film score", "Encanto (soundtrack), Soundtrack album by various artists, Language, English Spanish", "Encanto (soundtr...
For a question about movies, extract pertinent information from Infobox sources to answer it: Who is the director of the film Encanto?
[ "Encanto (film), Encanto, Directed by, Jared Bush , Byron Howard" ]
[ "Encanto (soundtrack), Encanto (Original Motion Picture Soundtrack) is the soundtrack album to Disney's 2021 film of the same name.", "Encanto, distributed by, Walt Disney Studios Motion Pictures", "Encanto (soundtrack), Encanto (Original Motion Picture Soundtrack) was released to streaming services on November...
Faced with a question about the movie domain, gather pertinent information from all available knowledge bases: Who is the screenwriter of the film Encanto?
[ "Encanto (film), Encanto, Screenplay by, Charise Castro Smith , Jared Bush" ]
[ "Encanto (soundtrack), Soundtrack album by various artists, Released, November 19, 2021 ( 2021-11-19 )", "Encanto (soundtrack), Soundtrack album by various artists, Genre, Latin pop , film score", "Encanto (soundtrack), Soundtrack album by various artists, Language, English Spanish", "Encanto (soundtr...
When posed with a query about movies, extract pertinent information from Infobox sources: Who is the screenwriter of the film Encanto?
[ "Encanto (film), Encanto, Screenplay by, Charise Castro Smith , Jared Bush" ]
[ "Encanto (soundtrack), Encanto (Original Motion Picture Soundtrack) is the soundtrack album to Disney's 2021 film of the same name.", "Encanto, distributed by, Walt Disney Studios Motion Pictures", "Encanto (soundtrack), On September 8, 2021, Germaine Franco, co-composer of the songs from Coco (2017), began to ...
For a query about a film domain, extract pertinent information from all available sources to provide an answer: Who is the producer of the film Encanto?
[ "Encanto (soundtrack), Soundtrack album by various artists, Released, November 19, 2021 ( 2021-11-19 )" ]
[ "Encanto \\u2013 Original Motion Picture Soundtrack, producer, Germaine Franco", "Encanto \\u2013 Original Motion Picture Soundtrack, producer, Lin-Manuel Miranda", "Encanto \\u2013 Original Motion Picture Soundtrack, form of creative work, soundtrack album", "Encanto \\u2013 Original Motion Picture Soundtrac...
For a question pertaining to the movies domain, extract pertinent information that can resolve the query from Infobox resources: Who is the producer of the film Encanto?
[ "Encanto (soundtrack), Soundtrack album by various artists, Released, November 19, 2021 ( 2021-11-19 )" ]
[ "Encanto \\u2013 Original Motion Picture Soundtrack, producer, Germaine Franco", "Encanto \\u2013 Original Motion Picture Soundtrack, producer, Lin-Manuel Miranda", "Encanto \\u2013 Original Motion Picture Soundtrack, form of creative work, soundtrack album", "Encanto \\u2013 Original Motion Picture Soundtrac...
When provided with a query related to the realm of movies, extract pertinent information from all available knowledge bases to address the inquiry: What is the Original Language of the film Encanto?
[ "Orphan es mentira, original language of film or TV show, English" ]
[ "Encanto (soundtrack), Encanto (Original Motion Picture Soundtrack), English-language version cover", "Encanto (soundtrack), Soundtrack album by various artists, Genre, Latin pop , film score", "Encanto (soundtrack), Soundtrack album by various artists, Language, English Spanish", "Encanto (soundtrack), ...
For a query related to movies, extract pertinent information from Knowledge Graph triples to provide an answer: What is the Original Language of the film Encanto?
[ "Orphan es mentira, original language of film or TV show, English" ]
[ "Encanto (soundtrack), Encanto (Original Motion Picture Soundtrack), English-language version cover", "Encanto (soundtrack), Soundtrack album by various artists, Genre, Latin pop , film score", "Encanto (soundtrack), Soundtrack album by various artists, Language, English Spanish", "Encanto (soundtrack), ...
Presented with a query about movies, extract pertinent evidence from all available knowledge bases: What is the Genre of the film Encanto?
[ "Encanto, genre, fantasy film" ]
[ "Encanto (soundtrack), Soundtrack album by various artists, Released, November 19, 2021 ( 2021-11-19 )", "Encanto (soundtrack), Soundtrack album by various artists, Genre, Latin pop , film score", "Encanto (soundtrack), Soundtrack album by various artists, Length, 114 : 41", "Encanto (soundtrack), Sou...
For a query in the movie domain, extract pertinent information from Knowledge Graph triples to provide an answer: What is the Genre of the film Encanto?
[ "Encanto, genre, fantasy film" ]
[ "Encanto (soundtrack), Soundtrack album by various artists, Released, November 19, 2021 ( 2021-11-19 )", "Encanto (soundtrack), Soundtrack album by various artists, Genre, Latin pop , film score", "Encanto (soundtrack), Soundtrack album by various artists, Length, 114 : 41", "Encanto (soundtrack), Sou...
For a query related to the realm of movies, extract pertinent information from all available knowledge resources: director of the film Encanto?
[ "Encanto (film), Encanto, Directed by, Jared Bush , Byron Howard" ]
[ "Encanto (soundtrack), Soundtrack album by various artists, Released, November 19, 2021 ( 2021-11-19 )", "Encanto (soundtrack), Soundtrack album by various artists, Genre, Latin pop , film score", "Encanto (soundtrack), Soundtrack album by various artists, Language, English Spanish", "Encanto (soundtr...
For a question related to the domain of movies, source pertinent information from Infoboxes to provide an answer: director of the film Encanto?
[ "Encanto (film), Encanto, Directed by, Jared Bush , Byron Howard" ]
[ "Encanto, distributed by, Walt Disney Studios Motion Pictures", "Wer, director of photography, Alejandro Mart\\u00EDnez", "Encanto (soundtrack), It was recorded by Colombian singer-songwriter Sebastián Yatra.", "Encanto (soundtrack), Miranda looked to songwriters like Joan Manuel Serrat and Antônio Carlos Job...
Provided a query within the movies domain, locate pertinent evidence from all knowledge bases that can address the inquiry: Who is the screenwriter of the film Encanto?
[ "Encanto (film), Encanto, Screenplay by, Charise Castro Smith , Jared Bush" ]
[ "Encanto (soundtrack), Soundtrack album by various artists, Released, November 19, 2021 ( 2021-11-19 )", "Encanto (soundtrack), Soundtrack album by various artists, Genre, Latin pop , film score", "Encanto (soundtrack), Soundtrack album by various artists, Language, English Spanish", "Encanto (soundtr...
End of preview.

This dataset is from our NAACL 2025 Oral paper: UniHGKR: Unified Instruction-aware Heterogeneous Knowledge Retrievers.

Please see our github repository UniHGKR to know how to use this dataset.

If you find this resource useful in your research, please consider giving a like and citation.

@article{min2024unihgkr,
  title={UniHGKR: Unified Instruction-aware Heterogeneous Knowledge Retrievers},
  author={Min, Dehai and Xu, Zhiyang and Qi, Guilin and Huang, Lifu and You, Chenyu},
  journal={arXiv preprint arXiv:2410.20163},
  year={2024}
}
Downloads last month
23

Collection including ZhishanQ/UniHGKR_training_data

Paper for ZhishanQ/UniHGKR_training_data