The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError Exception: ArrowInvalid Message: Failed to parse string: '2014-01-01' as a scalar of type double Traceback: Traceback (most recent call last): File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1870, in _prepare_split_single writer.write_table(table) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 622, 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 2292, in table_cast return cast_table_to_schema(table, schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2245, in cast_table_to_schema arrays = [ File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2246, in <listcomp> cast_array_to_feature( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1795, in wrapper return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks]) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1795, in <listcomp> return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks]) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2102, in cast_array_to_feature return array_cast( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1797, in wrapper return func(array, *args, **kwargs) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1949, in array_cast return array.cast(pa_type) File "pyarrow/array.pxi", line 996, in pyarrow.lib.Array.cast File "/src/services/worker/.venv/lib/python3.9/site-packages/pyarrow/compute.py", line 404, in cast return call_function("cast", [arr], options, memory_pool) File "pyarrow/_compute.pyx", line 590, in pyarrow._compute.call_function File "pyarrow/_compute.pyx", line 385, in pyarrow._compute.Function.call File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status pyarrow.lib.ArrowInvalid: Failed to parse string: '2014-01-01' as a scalar of type double The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1417, 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 1049, in convert_to_parquet builder.download_and_prepare( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 924, in download_and_prepare self._download_and_prepare( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1000, 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 1741, 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 1897, in _prepare_split_single raise DatasetGenerationError("An error occurred while generating the dataset") from e datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset
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.
head
string | relation
string | tail
string | start
string | end
null | type
string |
---|---|---|---|---|---|
Media Personnel (Pakistan) | Make statement | Chaudhry Nisar Ali Khan | 2013-11-06 | null | TIMESTAMP |
William Ruto | Make a visit | The Hague | 2013-02-13 | null | TIMESTAMP |
Catherine Ashton | Express intent to meet or negotiate | Grigol Vashadze | 2010-07-14 | null | TIMESTAMP |
Ronnie Shikapwasha | Make statement | Michael Sata | 2009-03-16 | null | TIMESTAMP |
Nuri al-Maliki | Criticize or denounce | Iraq | 2011-11-16 | null | TIMESTAMP |
Ministry (Nigeria) | Appeal for diplomatic cooperation (such as policy support) | Citizen (Nigeria) | 2013-07-02 | null | TIMESTAMP |
Arseniy Yatsenyuk | Consult | Cabinet / Council of Ministers / Advisors (United States) | 2015-03-31 | null | TIMESTAMP |
Xi Jinping | Express intent to meet or negotiate | Ma Ying Jeou | 2015-11-04 | null | TIMESTAMP |
Labor Union (Brazil) | Demand | Congress (Brazil) | 2007-10-31 | null | TIMESTAMP |
China | Engage in diplomatic cooperation | Japan | 2005-07-07 | null | TIMESTAMP |
Iraq | Host a visit | Defense / Security Ministry (United States) | 2010-09-01 | null | TIMESTAMP |
Militant (Taliban) | Conduct suicide, car, or other non-military bombing | Education (Pakistan) | 2010-05-28 | null | TIMESTAMP |
Chongwadai | Make statement | Islam Karimov | 2010-02-02 | null | TIMESTAMP |
Ministry (Nigeria) | Make statement | Government (Nigeria) | 2014-07-08 | null | TIMESTAMP |
Media Personnel (New Zealand) | Make statement | Police (New Zealand) | 2006-05-25 | null | TIMESTAMP |
South Africa | Arrest, detain, or charge with legal action | Men (South Africa) | 2006-03-02 | null | TIMESTAMP |
Education (Nigeria) | Reject | Citizen (Nigeria) | 2015-07-31 | null | TIMESTAMP |
Court Judge (Malaysia) | Engage in negotiation | Lawyer/Attorney (Malaysia) | 2007-10-13 | null | TIMESTAMP |
Mob (Kenya) | Protest violently, riot | Police (Kenya) | 2005-10-31 | null | TIMESTAMP |
He Yong | Make statement | China | 2011-07-16 | null | TIMESTAMP |
Media Personnel (China) | Make statement | Japan | 2005-02-20 | null | TIMESTAMP |
China | Threaten | Bank (China) | 2008-05-19 | null | TIMESTAMP |
Theresa May | Consult | Chaudhry Nisar Ali Khan | 2015-08-27 | null | TIMESTAMP |
Ministry (Sudan) | Make an appeal or request | Employee (Sudan) | 2011-05-03 | null | TIMESTAMP |
Yemen | Consult | Ethiopia | 2005-01-02 | null | TIMESTAMP |
Ministry (Nigeria) | Make statement | Umaru Musa Yar'Adua | 2007-08-03 | null | TIMESTAMP |
Royal Administration (Nigeria) | Accuse | Citizen (Nigeria) | 2014-07-28 | null | TIMESTAMP |
Member of Parliament (India) | Make statement | Preneet Kaur | 2014-07-28 | null | TIMESTAMP |
China | Arrest, detain, or charge with legal action | Citizen (North Korea) | 2012-02-18 | null | TIMESTAMP |
Police (Israel) | Make statement | Criminal (Israel) | 2005-03-08 | null | TIMESTAMP |
Mexico | Engage in symbolic act | John Paul II | 2005-04-03 | null | TIMESTAMP |
Civic Group (Kenya) | Accuse | Governor (Kenya) | 2014-03-24 | null | TIMESTAMP |
Police (Indonesia) | Arrest, detain, or charge with legal action | Men (Indonesia) | 2012-07-12 | null | TIMESTAMP |
Chuck Hagel | Make a visit | United Arab Emirates | 2013-04-26 | null | TIMESTAMP |
Business (Poland) | Make statement | Bank (Poland) | 2015-08-06 | null | TIMESTAMP |
Protester (Egypt) | Demonstrate or rally | Police (Egypt) | 2008-12-31 | null | TIMESTAMP |
Refugee (South Africa) | Use conventional military force | Police (South Africa) | 2008-07-18 | null | TIMESTAMP |
Qin Gang | Make statement | Japan | 2005-07-28 | null | TIMESTAMP |
Congress for Democratic Change | Host a visit | Winston Tubman | 2011-11-10 | null | TIMESTAMP |
Student (Cote d'Ivoire) | Criticize or denounce | Police (Cote d'Ivoire) | 2014-02-27 | null | TIMESTAMP |
Military (Niger) | Use chemical, biological, or radiological weapons | Armed Rebel (Niger) | 2008-05-12 | null | TIMESTAMP |
Shimon Peres | Consult | Benjamin Netanyahu | 2006-06-18 | null | TIMESTAMP |
Lawyer/Attorney (Australia) | Investigate | Citizen (Australia) | 2009-10-30 | null | TIMESTAMP |
Royal Thai Police | Make a visit | Thailand | 2007-09-25 | null | TIMESTAMP |
High Commission (United Kingdom) | Praise or endorse | Head of Government (Cyprus) | 2008-02-26 | null | TIMESTAMP |
Court Judge (United Kingdom) | Reject | Lawyer/Attorney (Sweden) | 2011-12-05 | null | TIMESTAMP |
Iran | Express intent to provide material aid | Iraq | 2015-05-19 | null | TIMESTAMP |
Barack Obama | Make an appeal or request | Citizen (Africa) | 2010-01-18 | null | TIMESTAMP |
Cambodia | Express intent to meet or negotiate | Vietnam | 2012-07-06 | null | TIMESTAMP |
Barack Obama | Make a visit | Japan | 2009-10-19 | null | TIMESTAMP |
Media Personnel (Australia) | Make statement | Police (Australia) | 2006-03-09 | null | TIMESTAMP |
Malaysia | Consult | Yerlan Idrisov | 2014-05-05 | null | TIMESTAMP |
Ministry (Nigeria) | Praise or endorse | Government (Nigeria) | 2014-09-08 | null | TIMESTAMP |
France | Engage in symbolic act | John Paul II | 2005-04-03 | null | TIMESTAMP |
France | Sign formal agreement | China | 2015-11-03 | null | TIMESTAMP |
Ethiopia | Consult | African Union | 2013-01-27 | null | TIMESTAMP |
Presidential Aide (Nigeria) | Make statement | Head of Government (Nigeria) | 2010-09-01 | null | TIMESTAMP |
Royal Administration (Romania) | Express intent to meet or negotiate | Romania | 2008-05-06 | null | TIMESTAMP |
Pervez Musharraf | Make statement | Government (Pakistan) | 2005-10-27 | null | TIMESTAMP |
Benedict XVI | Accuse | Police (Belgium) | 2010-06-27 | null | TIMESTAMP |
Police (Tanzania) | Arrest, detain, or charge with legal action | Businessperson (China) | 2012-02-03 | null | TIMESTAMP |
South Korea | Engage in negotiation | China | 2006-12-23 | null | TIMESTAMP |
Shimon Peres | Accuse | Benjamin Netanyahu | 2012-04-23 | null | TIMESTAMP |
Police (Australia) | Arrest, detain, or charge with legal action | Benjamin Netanyahu | 2010-03-04 | null | TIMESTAMP |
Mahmoud Alavi | Make statement | Iran | 2015-11-18 | null | TIMESTAMP |
Protester (Indonesia) | Protest violently, riot | Police (Indonesia) | 2015-12-12 | null | TIMESTAMP |
Malaysia | Host a visit | Cabinet / Council of Ministers / Advisors (United States) | 2010-11-01 | null | TIMESTAMP |
Dmitry Anatolyevich Medvedev | Express intent to meet or negotiate | Military (Russia) | 2011-11-21 | null | TIMESTAMP |
China | Express intent to cooperate | South Korea | 2012-05-14 | null | TIMESTAMP |
Democratic Party (Nigeria) | Make pessimistic comment | Citizen (Nigeria) | 2014-05-02 | null | TIMESTAMP |
Tony Tan Keng Yam | Make a visit | Liu Zhenmin | 2015-06-29 | null | TIMESTAMP |
Dmitry Anatolyevich Medvedev | Make statement | Iran | 2009-09-23 | null | TIMESTAMP |
Mahmoud Abbas | Express intent to cooperate | Benjamin Netanyahu | 2010-10-02 | null | TIMESTAMP |
James Kabarebe | Make a visit | Sudan | 2009-10-26 | null | TIMESTAMP |
Association of Southeast Asian Nations | Sign formal agreement | China | 2015-11-22 | null | TIMESTAMP |
Julia Gillard | Engage in negotiation | David Bartlett | 2010-10-22 | null | TIMESTAMP |
Juan Carlos I | Praise or endorse | Rafael Correa | 2014-04-24 | null | TIMESTAMP |
Raúl Castro | Host a visit | Jack Lang | 2009-02-26 | null | TIMESTAMP |
Japan | Engage in diplomatic cooperation | Vietnam | 2015-03-31 | null | TIMESTAMP |
Barack Obama | Consult | Mahmoud Abbas | 2013-03-19 | null | TIMESTAMP |
Sandinista National Liberation Front | Reject | Government (Nicaragua) | 2005-03-22 | null | TIMESTAMP |
Drug Enforcement Administration | Make statement | Cardinal Health Inc. | 2008-10-03 | null | TIMESTAMP |
High Commission for Refugees | Return, release person(s) | Refugee (Afghanistan) | 2005-08-07 | null | TIMESTAMP |
Barack Obama | Express intent to meet or negotiate | China | 2009-10-11 | null | TIMESTAMP |
Ministry (Nigeria) | Make statement | Government (Nigeria) | 2015-02-14 | null | TIMESTAMP |
Kim Kye Gwan | Consult | Jeong Se-hyun | 2007-10-07 | null | TIMESTAMP |
China | Express intent to cooperate | South Korea | 2012-05-12 | null | TIMESTAMP |
Other Authorities / Officials (Nigeria) | Make statement | Government (Nigeria) | 2014-12-03 | null | TIMESTAMP |
Israeli Defense Forces | fight with small arms and light weapons | Armed Gang (Palestinian Territory, Occupied) | 2007-06-18 | null | TIMESTAMP |
Yemen | Arrest, detain, or charge with legal action | Criminal (Somalia) | 2009-07-02 | null | TIMESTAMP |
Rupiah Banda | Make an appeal or request | Citizen (Zambia) | 2011-09-15 | null | TIMESTAMP |
Labaran Maku | Make an appeal or request | Citizen (Nigeria) | 2014-02-17 | null | TIMESTAMP |
Prime Minister Qarase | Express intent to meet or negotiate | Frank Bainimarama | 2006-01-13 | null | TIMESTAMP |
Military Personnel (Thailand) | Express intent to engage in diplomatic cooperation (such as policy support) | Citizen (Thailand) | 2005-01-11 | null | TIMESTAMP |
South Africa | Arrest, detain, or charge with legal action | Men (South Africa) | 2010-04-28 | null | TIMESTAMP |
Governor (Thailand) | Provide humanitarian aid | Citizen (Thailand) | 2014-09-10 | null | TIMESTAMP |
Yoshihiko Noda | Make optimistic comment | Japan | 2012-01-27 | null | TIMESTAMP |
Malaysia | Praise or endorse | China | 2015-10-15 | null | TIMESTAMP |
Bogdan Klich | Consult | Radoslaw Sikorski | 2008-01-11 | null | TIMESTAMP |
Other Authorities / Officials (Greece) | Consult | Head of Government (Greece) | 2015-01-05 | null | TIMESTAMP |
TempKB
Overview
TempKB is a comprehensive collection of knowledge graph data designed to train ML models on knowledge graph completion and reasoning tasks.
Dataset Structure
The dataset is organized into the following main components:
Train Set: 7764337 instances for training models.
Validation Set: 117510 instances for validating model performance.
Test Set: 117327 instances for final evaluation.
Data Fields
Each instance in the dataset contains the following fields:
head
: the head entityrelation
: the relationships between the head and tail entitiestail
: the tail entitystart
: start time of the eventend
: end time of the eventtype
: temporal information type, which is one of the following:NONE
: no start or end timeTIMESTAMP
: start time onlyINTERVAL
: start and end time
Example Instance
{
"head": "Martin Bača"
"relation": "member of sports team"
"tail": "Czech Republic national under-18 football team"
"start": "2002-01-01"
"end": "2002-01-01"
"type": "INTERVAL"
}
Usage
To use this dataset, you can load it using the Hugging Face datasets library:
from datasets import load_dataset
dataset = load_dataset('ESITime/TempKB', keep_default_na=False)
License
This dataset is unlicensed. Feel free to use it as you want.
Citation
If you use this dataset in your research, please cite it as follows:
@dataset{username_dataset_name_year,
author = {Phuong Ngo},
title = {TempKB},
year = {2024},
publisher = {Hugging Face},
url = {https://huggingface.co/datasets/ESITime/TempKB}
}
Acknowledgement
This dataset is derived from the collection of knowledge graph datasets including ICEWS05-15, ICEWS14, Wikidata, and YAGO. The datasets are downloaded from the processed version by Facebook Research: https://github.com/facebookresearch/tkbc/
- Downloads last month
- 41