Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
9
9
question
stringlengths
51
266
answer
stringlengths
2
56
type
stringclasses
2 values
level
stringclasses
1 value
supporting_facts
listlengths
3
3
context
listlengths
8
8
verdict
bool
1 class
indoklas
stringlengths
183
1.05k
hu_001037
Melyik hosszabb időtartamot jelent: Ferdinand Blumentritt élete vagy egy évtized?
Ferdinand Blumentritt élete
comparison
medium
[ { "title": "19. század", "sent_id": 0 }, { "title": "Évtized", "sent_id": 0 }, { "title": "Ferdinand Blumentritt", "sent_id": 0 } ]
[ { "title": "Emulátor", "sentences": [ "thumb|275px|A DOSBox szoftver a DOS parancssoros felhasználói felületét emulálja\nAz emulátor egy olyan számítógépes program vagy hardver, ami más programoknak vagy eszközöknek a környezetét (vagy annak részét) „szimulálja”, vagyis lehetővé teszik az adott rendsz...
true
A kérdés összehasonlítja Ferdinand Blumentritt élettartamát egy évtizeddel. A kontextus alapján Ferdinand Blumentritt 1853-ban született és 1913-ban hunyt el, ami 60 évet jelent. Egy évtized 10 évet jelent. Mivel 60 év hosszabb, mint 10 év, a válasz helyes. A kérdés magyar nyelven természetes, és a kontextusban szerepl...
hu_000743
Az esztergomi kistérséggel határos ország területén honos az európai őz; mi ennek az államnak a fővárosa?
Pozsony
bridge
medium
[ { "title": "Esztergomi kistérség", "sent_id": 0 }, { "title": "Európai őz", "sent_id": 0 }, { "title": "Szlovákia", "sent_id": 0 } ]
[ { "title": "Metakereső", "sentences": [ "A metakereső (előfordul még a meta kereső és a meta-kereső írásmód is) egy olyan keresőmotor, amely továbbküldi a felhasználó kérését több más keresőnek és/vagy adatbázisnak, és az azokból visszakapott találatokat összegzi. Lehetővé teszi a felhasználó számára,...
true
A kérdés természetes magyar nyelvű. Az Esztergomi kistérség Magyarországon található, és a Duna határolja északról, ami Szlovákiával közös határ. A kontextus alapján Szlovákiában honos az európai őz (a 'Szlovákia' szócikk 'Élővilág' szakasza említi az őzet). Szlovákia fővárosa Pozsony, ami szintén szerepel a kontextusb...
hu_000015
Melyik évben kezdődött a honfoglalás, amelynek a területén, azaz Magyarországon élt és alkotott Lesznai Anna festő?
895
bridge
medium
[ { "title": "Lesznai Anna", "sent_id": 0 }, { "title": "Magyarország", "sent_id": 0 }, { "title": "895", "sent_id": 0 } ]
[ { "title": "Torcs", "sentences": [ "Torcs (szlovákul Nová Lipnica, németül Tartschendorf) Dénesdtorcsmisérd településrésze, 1974-ig önálló község Szlovákiában, a Pozsonyi kerületben, a Szenci járásban. Fekvése \nPozsony központjától 14 km-re délkeletre fekszik, ma az egykori Dénesd és Misérd helységek...
true
A kérdés nyelvtanilag helyes és természetes magyar nyelvű. A kérdés két részből áll: 1. Melyik évben kezdődött a honfoglalás? 2. Lesznai Anna festő Magyarországon élt és alkotott-e? A honfoglalás kezdete történelmileg 895-re tehető, ami a kontextusban is szerepel (a '895' című szócikkben). Lesznai Anna életrajza szinté...
hu_000701
Melyik tartott hosszabb ideig: Szauder József élete vagy a 18. század?
A 18. század
comparison
medium
[ { "title": "Budapest", "sent_id": 0 }, { "title": "18. század", "sent_id": 0 }, { "title": "Szauder József", "sent_id": 0 } ]
[ { "title": "Budapest", "sentences": [ "Budapest Magyarország fővárosa (1892-1949 között a hivatalos megnevezése: ‘székesfőváros’), egyben legnagyobb és legnépesebb települése, jelenleg az Európai Unió 9. legnépesebb városa. Az ország politikai, kulturális, kereskedelmi, ipari és közlekedési központja,...
true
A kérdés összehasonlítja Szauder József élettartamát (1917–1975, ami 58 év) a 18. század hosszával (1701–1800, ami 100 év). A 18. század egyértelműen hosszabb ideig tartott. A kérdés nyelvtanilag helyes, a válasz helyes, és a kontextusban szereplő adatok (Szauder József születési és halálozási éve, valamint a 18. száza...
hu_000090
Melyikük teljes megnevezése tartalmaz több karaktert, a vörös áfonya vagy Vörösmarty Mihály?
Vörösmarty Mihály
comparison
medium
[ { "title": "Vörösmarty Mihály", "sent_id": 0 }, { "title": "Vörös áfonya", "sent_id": 0 }, { "title": "Magyarország", "sent_id": 0 } ]
[ { "title": "Vörösmarty Mihály", "sentences": [ "Vörösmarty Mihály (Pusztanyék, 1800. december 1. – Pest, 1855. november 19.) magyar költő, író, ügyvéd, táblabíró, a Magyar Tudományos Akadémia és a Kisfaludy Társaság rendes tagja, a magyar romantika egyik legnagyobb alakja.", "Életrajza \n Szárma...
true
A kérdés összehasonlítja a 'vörös áfonya' és a 'Vörösmarty Mihály' kifejezések karakterszámát. A 'vörös áfonya' 13 karakter (szóközzel együtt), a 'Vörösmarty Mihály' pedig 17 karakter (szóközzel együtt). Mivel 17 > 13, a válasz helyes. A kérdés magyar nyelven természetes, a válasz a kontextusban szereplő nevek alapján ...
hu_001781
Dány első írásos említése és a 1748. év közül melyik esett korábban a történelemben?
Dány első írásos említése
comparison
medium
[ { "title": "1748", "sent_id": 0 }, { "title": "18. század", "sent_id": 0 }, { "title": "Dány", "sent_id": 0 } ]
[ { "title": "Északkeleti átjáró", "sentences": [ "thumb|263px|Hajózási útvonalak Nyugat-Európa és Dél-Korea között. A kék az északkeleti átjárón át a piros a Szuezi-csatornán keresztül\n\nAz északkeleti átjáró (oroszul: Северный морской путь, azaz „Északi tengeri út”) tengeri útvonal az Atlanti-óceántó...
true
A kérdés helyes és természetes magyar nyelvű. A kontextus alapján Dány első írásos említése 1272-ben történt, míg a 1748. év egy későbbi időpont. Mivel 1272 korábban volt, mint 1748, a válasz helyes.
hu_000280
Melyik időszak hosszabb, június 5. vagy a 19. század?
A 19. század
comparison
medium
[ { "title": "19. század", "sent_id": 0 }, { "title": "Amerikai Egyesült Államok", "sent_id": 0 }, { "title": "Június 5.", "sent_id": 0 } ]
[ { "title": "Alternatív nyelv-összehasonlítás", "sentences": [ "Az alternatív nyelv-összehasonlítást az áltudományok közé sorolja a történeti nyelvészet. Az alternatív nyelv-összehasonlítás történeti kapcsolatokat kíván állítani különféle nyelvek között azáltal, hogy a közöttük lévő hasonlóságokra hívj...
true
A kérdés nyelvtanilag helyes és természetes magyar nyelvű. A válasz (a 19. század) tényszerűen helyes, mivel egy évszázad (100 év) nyilvánvalóan hosszabb időtartam, mint egyetlen naptári nap (június 5.). A kontextusban megtalálható a 19. század definíciója (1801–1900 közötti évek), így a kérdés a megadott források alap...
hu_000067
Melyik fekszik Baranya vármegyében, a Villányi-hegység vagy Nagy Tamás labdarúgó?
A Villányi-hegység
comparison
medium
[{"title":"Nagy Tamás (labdarúgó, 1976)","sent_id":0},{"title":"Magyarország","sent_id":0},{"tit(...TRUNCATED)
[{"title":"Bangladesi taka","sentences":["A taka Banglades hivatalos pénzneme. Név \nNyugat-Bengá(...TRUNCATED)
true
"A kérdés természetes magyar nyelvű. A kontextus alapján a Villányi-hegység Baranya vármegy(...TRUNCATED)
hu_002109
Ki született korábban, Éric Rohmer francia filmrendező vagy III. Napóleon francia császár?
III. Napóleon
comparison
medium
[{"title":"Franciaország","sent_id":0},{"title":"III. Napóleon francia császár","sent_id":0},{"t(...TRUNCATED)
[{"title":"Cseh János (katolikus pap)","sentences":["Cseh János (Ecséd, 1803. március 20. – Eg(...TRUNCATED)
true
"A kérdés helyes és természetes magyar nyelvű. A kontextus alapján III. Napóleon 1808-ban sz(...TRUNCATED)
hu_001687
"II. Rákóczi Ferenc melyik évszázadban vezetett szabadságharcot, amelynek hadműveletei az oszt(...TRUNCATED)
18. század
bridge
medium
[{"title":"18. század","sent_id":0},{"title":"II. Rákóczi Ferenc","sent_id":0},{"title":"Németl(...TRUNCATED)
[{"title":"Táborfalva","sentences":["Táborfalva nagyközség Pest vármegyében, a Dabasi járásb(...TRUNCATED)
true
"A kérdés nyelvtanilag helyes és természetes magyar nyelvű. A Rákóczi-szabadságharc valóban(...TRUNCATED)
End of preview. Expand in Data Studio

HuHotpotQA

HuHotpotQA is a Hungarian-language multi-hop question answering dataset designed in the style of HotpotQA. It contains approximately 2,000 question-answer pairs based on articles from Hungarian Wikipedia.

The dataset is designed to evaluate and train models on questions that require combining information from multiple documents rather than retrieving an answer from a single context.

This is a truncated version of the original dataset.

To count the tokens, I used the gemma-3-270-it tokenizer and truncated the examples in the dataset to 8,000 tokens. I only truncated the distracting articles.

Dataset Summary

  • Language: Hungarian
  • Task: Multi-hop Question Answering
  • Domain: General knowledge / Wikipedia
  • Source: Hungarian Wikipedia
  • Format: HotpotQA-style Hugging Face datasets
  • Size: approximately 2,000 examples
  • Question types: Bridge and Comparison
  • Context: Supporting articles plus distractor articles
  • Primary entity source: Wikidata
  • Fallback entity source: Hungarian Wikipedia links

The planned dataset structure follows the HotpotQA representation:

_id
question
answer
type
level
supporting_facts
context

Motivation

Most Hungarian question answering datasets focus primarily on single-hop questions, where the answer can be directly extracted from a single passage.

HuHotpotQA focuses instead on multi-hop reasoning. A model should identify and combine information distributed across multiple Wikipedia articles in order to answer a question.

For Bridge questions, the model must follow an intermediate entity or article connecting two pieces of information. Comparison questions require the model to retrieve information about multiple entities and compare them.

The dataset is therefore intended to provide a Hungarian benchmark for:

  • multi-hop question answering;
  • retrieval-augmented generation;
  • document retrieval and evidence selection;
  • supporting-fact identification;
  • multilingual and Hungarian language models;
  • evaluation of reasoning over multiple documents.

Dataset Structure

Each example contains the following fields:

Field Description
_id Unique identifier of the question
question Hungarian multi-hop question
answer Expected answer
type Question type, such as bridge or comparison
level Assigned difficulty level
supporting_facts Articles containing information required to answer the question
context Relevant Wikipedia articles together with distractor articles
'verdict' Using gemini-3.1-flash-lite as LLM-jugde to validate question quality
'indoklas' Deatiled reason of the verdict

The context contains the articles necessary for answering the question as well as additional distractor articles. The generation plan specifies 5–7 distractor articles per example.

Question Types

Bridge

A Bridge question requires following an intermediate connection between entities.

Conceptually:

Article A → intermediate entity/article B → Article C

The intermediate information is necessary to connect the information needed to answer the question.

Comparison

A Comparison question requires retrieving information about two entities and comparing them.

The question therefore cannot be reliably answered by examining only one of the relevant articles.

The generation pipeline explicitly distinguishes these two question types and uses separate generation templates for them.

Data Source

The contexts are derived from a frozen snapshot of the Hungarian Wikipedia.

The dataset generation pipeline uses the latest available Hungarian Wikipedia XML dump at generation time. Articles are parsed from the dump and filtered before question generation. Redirects and talk pages are excluded, and articles below the configured minimum length are discarded.

Using a frozen Wikipedia snapshot reduces answer drift between dataset generation and subsequent evaluation.

Entity Graph

The dataset generation process constructs an entity graph using two complementary sources:

  1. Wikidata, used as the primary source of entity relationships.
  2. Wikipedia links, used to fill gaps where Wikidata relationships are unavailable.

Two-hop paths of the form

A → B → C

are extracted from this graph and used as the basis for multi-hop question generation.

Data Generation

Questions are generated using a combined approach involving:

  • predefined question templates;
  • entity and article relationships;
  • a configurable large language model.

The generation pipeline supports both local LLM inference through Ollama and remote inference through OpenRouter.

The generated output is required to contain:

{
  "question": "...",
  "answer": "...",
  "answer_type": "..."
}

Generation is performed in batches and supports checkpointing so that interrupted generation can be resumed.

Validation

HuHotpotQA applies automated validation followed by LLM (gemini-3.1-flash-lite) review where applicable.

An example is included only if it satisfies the following criteria:

  1. The answer appears verbatim in at least one context article.
  2. The question requires two or more reasoning hops.
  3. The Hungarian question is grammatically acceptable.
  4. The question is not a duplicate of an existing example.
  5. Supporting facts are correctly identified.
  6. The example is accepted during LLM review.

These criteria are defined in the dataset generation plan.

Answer Validation

The validation pipeline checks whether the answer occurs in the supplied context and identifies the article or articles containing the answer.

Multi-Hop Validation

An LLM-as-judge step is used to evaluate whether the question genuinely requires multi-hop reasoning rather than being answerable from a single article.

Duplicate Detection

Questions are normalized and compared against existing questions. Entries exceeding the configured token-overlap threshold are rejected.

The configured duplicate threshold is 0.85.

Difficulty

Each example is assigned a difficulty level based on characteristics including:

  • path length;
  • article length;
  • question complexity.

The exact difficulty distribution depends on the generated and validated dataset.

Recommended Uses

HuHotpotQA can be used for:

  • supervised fine-tuning of Hungarian QA models;
  • evaluation of Hungarian language models;
  • multi-hop reasoning benchmarks;
  • retrieval-augmented QA experiments;
  • retriever and reader evaluation;
  • evidence and supporting-fact prediction;
  • comparison of multilingual and Hungarian-specific models.

Out-of-Scope Uses

The dataset should not be interpreted as a comprehensive representation of Hungarian factual knowledge.

Because the dataset is derived from Wikipedia, its coverage reflects the structure and content of Hungarian Wikipedia at the time of dataset generation.

The dataset is also not intended to measure general reasoning ability independently of language understanding, retrieval, and Wikipedia knowledge.

Biases and Limitations

Potential limitations include:

  • Wikipedia coverage bias: Topics and entities that are poorly represented in Hungarian Wikipedia are less likely to occur.
  • Entity graph bias: The distribution of questions depends on the connectivity of Wikidata and Wikipedia links.
  • LLM generation bias: Generated questions may reflect biases or stylistic characteristics of the model used during generation.
  • Hungarian language quality: Although grammatical quality is part of validation, automatically generated questions may still contain linguistic artifacts.
  • Multi-hop verification: Determining whether a question genuinely requires multiple reasoning steps is inherently difficult, even with automated judging and LLM review.
  • Temporal limitation: Answers and article contents correspond to the frozen Wikipedia snapshot used during generation.
  • LLM Judge bias

The project plan specifically identifies the limited size of Hungarian Wikipedia, local LLM quality, Wikidata query limits, and the difficulty of ensuring genuinely multi-hop questions as relevant risks.

Dataset Creation

The overall pipeline consists of:

  1. Hungarian Wikipedia parsing
  2. Entity graph construction
  3. Two-hop path extraction
  4. Question generation
  5. Automated validation
  6. LLM review
  7. Dataset assembly
  8. Hugging Face export

The resulting dataset is exported in Hugging Face datasets format.

Citation

If you use HuHotpotQA in your research, please cite the dataset repository:

@dataset{huhotpotqa,
  title        = {HuHotpotQA: Hungarian Multi-Hop Question Answering Dataset},
  year         = {2026},
  language     = {Hungarian},
  publisher    = {Hugging Face}
}

If a formal publication describing the dataset becomes available, this citation should be replaced or supplemented with the corresponding paper citation.

License

The dataset license should be interpreted together with the licensing terms of the underlying Hungarian Wikipedia content and any other external resources used during dataset construction.

Users should verify the applicable Wikimedia/Wikipedia licensing requirements before redistributing the dataset or derived resources.

Acknowledgements

HuHotpotQA is based on content from the Hungarian Wikipedia and entity information obtained from Wikidata.

The dataset generation methodology is inspired by the multi-hop question answering paradigm established by HotpotQA.

Repository

The dataset generation code, configuration, processing pipeline, and dataset artifacts are maintained in the associated project repository.

Future releases may contain modified questions, additional validation, updated source data, or changes to the generation pipeline. Dataset versions should therefore be treated as separate benchmark releases.

Downloads last month
53

Models trained or fine-tuned on GaborMadarasz/HuHotpotQA_8k