Datasets:
entity
stringlengths 2
10
| aliases
sequencelengths 0
41
|
---|---|
Q31 | [
"Królestwo Belgii"
] |
Q8 | [] |
Q23 | [
"Jerzy Waszyngton"
] |
Q24 | [] |
Q42 | [
"Douglas Noel Adams"
] |
Q45 | [] |
Q51 | [] |
Q58 | [
"penis",
"członek"
] |
Q68 | [] |
Q75 | [] |
Q125 | [
"listopada"
] |
Q140 | [
"Panthera leo",
"lew"
] |
Q144 | [
"pies domowy",
"🐶",
"🐕",
"🐩"
] |
Q148 | [
"Chiny",
"ChRL"
] |
Q155 | [] |
Q163 | [
"Jorkszyr"
] |
Q177 | [] |
Q183 | [
"Deutschland",
"BR Deutschland",
"BRD",
"Bundesrepublik Deutschland"
] |
Q207 | [
"George W. Bush"
] |
Q233 | [] |
Q288 | [] |
Q297 | [] |
Q298 | [
"Republika Chile"
] |
Q317 | [] |
Q362 | [
"2. wojna światowa",
"druga wojna światowa"
] |
Q398 | [] |
Q431 | [] |
Q433 | [
"gmina Kurów"
] |
Q447 | [
"Wielka encyklopedia francuska",
"Encyclopédie ou Dictionnaire raisonné des sciences, des arts et des métiers"
] |
Q463 | [] |
Q506 | [] |
Q511 | [] |
Q514 | [] |
Q544 | [] |
Q550 | [
"Pola Elizejskie"
] |
Q556 | [
"H"
] |
Q585 | [] |
Q586 | [] |
Q587 | [
"Dzień Wszystkich Świętych",
"uroczystość Wszystkich Świętych"
] |
Q597 | [] |
Q619 | [] |
Q634 | [] |
Q643 | [] |
Q647 | [] |
Q648 | [] |
Q659 | [] |
Q676 | [] |
Q686 | [] |
Q688 | [
"Cl"
] |
Q694 | [] |
Q716 | [
"Ti"
] |
Q749 | [] |
Q764 | [] |
Q771 | [] |
Q801 | [] |
Q807 | [] |
Q819 | [
"Laotańska Republika Ludowo-Demokratyczna"
] |
Q859 | [
"Arystokles"
] |
Q863 | [] |
Q869 | [
"Królestwo Tajlandii",
"Syjam"
] |
Q878 | [] |
Q883 | [] |
Q891 | [] |
Q898 | [] |
Q901 | [
"naukowczyni"
] |
Q912 | [] |
Q916 | [] |
Q943 | [
"kolor żółty",
"żółty",
"żółć"
] |
Q946 | [
"Donald Franciszek Tusk"
] |
Q968 | [] |
Q973 | [] |
Q978 | [] |
Q997 | [
"Andriej Dmitrijewicz Sacharow"
] |
Q1044 | [] |
Q1049 | [] |
Q1057 | [] |
Q1058 | [
"Narendra Damodardas Modi"
] |
Q1071 | [] |
Q1092 | [] |
Q1093 | [] |
Q1149 | [
"Indira Priyadarshini Gandhi"
] |
Q1183 | [] |
Q1201 | [] |
Q1204 | [] |
Q1251 | [] |
Q1254 | [
"Kofi Atta Annan"
] |
Q1276 | [
"Leonard Cohen"
] |
Q1277 | [] |
Q1297 | [] |
Q1358 | [
"Arachnida"
] |
Q1363 | [] |
Q1421 | [] |
Q1455 | [] |
Q1469 | [] |
Q1489 | [] |
Q1494 | [
"Mississippi"
] |
Q1499 | [] |
Q1511 | [
"Wilhelm Richard Wagner"
] |
Q1522 | [] |
Q1525 | [] |
PUGG: KBQA, MRC, IR Dataset for Polish
Description
This repository contains the knowledge graph dedicated for the KBQA (Knowledge Base Question Answering) task within the PUGG dataset. This repository does not contain directly any task, but it provides the knowledge graph that can be used to solve the KBQA task from the PUGG dataset.
Graphs
We provide sampled versions of the knowledge graph based on Wikidata:
- Wikidata1H: A subgraph created by traversing 1 relation from each answer and topic entity.
- Wikidata2H: A subgraph created by traversing 2 relations from each answer and topic entity.
How We Created the Graphs
- We used the Wikidata dump from 2023-10-16. The dump is available on S3 via the DVC tool (see code repository).
- We collected all answer and topic entities from the PUGG dataset.
- We traversed the graph from each answer and topic entity for n hops.
- We filtered out entities that do not have labels in Polish.
- We saved the subgraphs in various structures:
- triples
- labels_pl
- labels_en
- aliases (Polish)
- descriptions (Polish)
- attributes
- times
See Usage for more information on how to load the graphs.
Paper
For more detailed information, please refer to our research paper titled:
"Developing PUGG for Polish: A Modern Approach to KBQA, MRC, and IR Dataset Construction"
Authored by:
- Albert Sawczyn
- Katsiaryna Viarenich
- Konrad Wojtasik
- Aleksandra Domogała
- Marcin Oleksy
- Maciej Piasecki
- Tomasz Kajdanowicz
The paper was accepted for ACL 2024 (findings).
Repositories
The PUGG dataset is available in the following repositories:
- General - contains all tasks (KBQA, MRC, IR)
For more straightforward usage, the tasks are also available in separate repositories:
The knowledge graph for KBQA task is available in the following repository:
- Knowledge Graph (this repository)
Note: If you want to utilize the IR task in the BEIR format (qrels
in .tsv
format), please
download the IR repository.
Links
Citation
@misc{sawczyn2024developingpuggpolishmodern,
title={Developing PUGG for Polish: A Modern Approach to KBQA, MRC, and IR Dataset Construction},
author={Albert Sawczyn and Katsiaryna Viarenich and Konrad Wojtasik and Aleksandra Domogała and Marcin Oleksy and Maciej Piasecki and Tomasz Kajdanowicz},
year={2024},
eprint={2408.02337},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2408.02337},
}
Contact
Usage
from datasets import load_dataset
dataset_1H_triples = load_dataset("clarin-pl/PUGG_KG", '1H_triples')
print(dataset_1H_triples)
dataset_1H_labels_pl = load_dataset("clarin-pl/PUGG_KG", '1H_labels_pl')
print(dataset_1H_labels_pl)
dataset_1H_labels_en = load_dataset("clarin-pl/PUGG_KG", '1H_labels_en')
print(dataset_1H_labels_en)
dataset_1H_aliases = load_dataset("clarin-pl/PUGG_KG", '1H_aliases')
print(dataset_1H_aliases)
dataset_1H_descriptions = load_dataset("clarin-pl/PUGG_KG", '1H_descriptions')
print(dataset_1H_descriptions)
dataset_1H_attributes = load_dataset("clarin-pl/PUGG_KG", '1H_attributes')
print(dataset_1H_attributes)
dataset_1H_times = load_dataset("clarin-pl/PUGG_KG", '1H_times')
print(dataset_1H_times)
dataset_2H_triples = load_dataset("clarin-pl/PUGG_KG", '2H_triples')
print(dataset_2H_triples)
dataset_2H_labels_pl = load_dataset("clarin-pl/PUGG_KG", '2H_labels_pl')
print(dataset_2H_labels_pl)
dataset_2H_labels_en = load_dataset("clarin-pl/PUGG_KG", '2H_labels_en')
print(dataset_2H_labels_en)
dataset_2H_aliases = load_dataset("clarin-pl/PUGG_KG", '2H_aliases')
print(dataset_2H_aliases)
dataset_2H_descriptions = load_dataset("clarin-pl/PUGG_KG", '2H_descriptions')
print(dataset_2H_descriptions)
dataset_2H_attributes = load_dataset("clarin-pl/PUGG_KG", '2H_attributes')
print(dataset_2H_attributes)
dataset_2H_times = load_dataset("clarin-pl/PUGG_KG", '2H_times')
print(dataset_2H_times)
- Downloads last month
- 101