--- language: - en task_categories: - visual-question-answering tags: - video - video-question-answering - retrieval configs: - config_name: default data_files: - split: train path: data/train.parquet - split: validation path: data/validation.parquet - split: test path: data/test.parquet --- # WikiVideoQA [Read the WikiVideoQA paper on arXiv](https://arxiv.org/abs/2612.04507) WikiVideoQA is a dataset for answering questions about entities shown in videos. A question can require recognizing an entity in a clip and looking up a fact about it in Wikipedia. The dataset contains **108,541 question–answer pairs across 13,104 videos** from Wikimedia Commons. ## Dataset splits | Split | Question–answer pairs | Videos | | --- | ---: | ---: | | Train | 86,779 | 10,032 | | Validation | 10,886 | 1,540 | | Test | 10,876 | 1,532 | Each video appears in one split. For validation and test, an entity is **seen** if its Wikidata QID also appears in training and **unseen** otherwise. ## What each example contains | Field | Description | | --- | --- | | `question`, `answer` | The question and its reference answer. | | `evidence` | The supporting Wikipedia excerpt used to ground the question and its reference answer. | | `video_url` | Source URL on Wikimedia Commons. | | `qid` | Wikidata identifier of the entity the question is about. | | `image_url` | Reference image for the entity, when available. | | `video_complexity_label` | Video difficulty, either `base` or `hard`. | | `entity_status`, `entity_seen_in_train` | Whether the entity appears in training. | | `sample_id`, `pair_id`, `split_video_id`, `split` | Identifiers for the question, video–entity pair, video, and dataset split. | | `video_metadata`, `image_metadata` | Commons file pages and source file details. Video metadata also includes the benchmark's clip duration. | For standard video QA, use the **video and question** as inputs and the reference answer for evaluation. The QID and reference image describe the target entity. The evidence is provided as a reference annotation. ## Knowledge bases and retrieval indexes The [retrieval bundle (91.1 GB ZIP)](https://huggingface.co/datasets/aimagelab/WikiVideoQA/blob/main/kb_videoqa_retrieval_v1_20261127_r5.zip) contains the 200K and 2M Wikipedia knowledge bases, precomputed FAISS indexes, and the inputs for retriever training. The [pipeline guide](https://github.com/aimagelab/WikiVideoQA/blob/main/PIPELINE.md) explains how to set up the bundle and run inference. ## Media and reuse The Parquet files link to the original media on Wikimedia Commons. Consult each Commons file page for creator credits, the license, and any reuse terms. The experiment code and reproduction guide are in the [WikiVideoQA GitHub repository](https://github.com/aimagelab/WikiVideoQA). The dataset and both retrieval adapters are grouped in the [WikiVideoQA collection](https://huggingface.co/collections/aimagelab/wikivideoqa-6b0d6f7f2cbcb3cea9ecd5d5).