Dataset Viewer
Duplicate
The dataset viewer is taking too long to fetch the data. Try to refresh this page.
Server-side error
Error code:   ClientConnectionError

YAML Metadata Warning:The task_categories "text2text-generation" is not in the official list: text-classification, token-classification, table-question-answering, question-answering, zero-shot-classification, translation, summarization, feature-extraction, text-generation, fill-mask, sentence-similarity, text-to-speech, text-to-audio, automatic-speech-recognition, audio-to-audio, audio-classification, audio-text-to-text, voice-activity-detection, depth-estimation, image-classification, object-detection, image-segmentation, text-to-image, image-to-text, image-to-image, image-to-video, unconditional-image-generation, video-classification, reinforcement-learning, robotics, tabular-classification, tabular-regression, tabular-to-text, table-to-text, multiple-choice, text-ranking, text-retrieval, time-series-forecasting, text-to-video, image-text-to-text, image-text-to-image, image-text-to-video, visual-question-answering, document-question-answering, zero-shot-image-classification, graph-ml, mask-generation, zero-shot-object-detection, text-to-3d, image-to-3d, image-feature-extraction, video-text-to-text, keypoint-detection, visual-document-retrieval, any-to-any, video-to-video, other

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 entity
  • relation: the relationships between the head and tail entities
  • tail: the tail entity
  • start: start time of the event
  • end: end time of the event
  • type: temporal information type, which is one of the following:
    • NONE: no start or end time
    • TIMESTAMP: start time only
    • INTERVAL: 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
6

Collection including ESITime/TempKB