You need to agree to share your contact information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

Subgraph Dataset

Overview

This repository contains a subgraph dataset associated with the subgraphs used in the paper ODA: Observation-Driven Agent for integrating LLMs and Knowledge Graphs.

For specific codes and the KBQA dataset, please refer to KGdata repository.

Description

The dataset comprises four folders, each containing subgraphs related to different KBQA datasets based on Wikidata or Freebase:

  • Wikidata-based datasets:

    • QALD10-en
    • T-REx
    • Zero-Shot RE
    • Creak
  • Freebase-based datasets:

    • GrailQA
    • WebQSP
    • Simple Questions
  • hop_2_FreeBase/: Contains 2-hop subgraphs based on Freebase.

  • hop_3_FreeBase/: Contains 3-hop subgraphs based on Freebase.

  • hop_2_Wikidata/: Contains 2-hop subgraphs based on Wikidata.

  • hop_3rd_Wikidata/: Contains the third hop subgraphs based on Wikidata.

The format of the subgraph files

  1. FreeBase subgraph file
{
Topic Entity : [[EntityID,Relation,EntityID],....],
Topic Entity : [[EntityID,Relation,EntityID],....],
...
}
  1. FreeBase label file
{
EntityID : Entity name
EntityID : Entity name
...
}
  1. Wikidata subgraph file
{
Topic Entity : [[EntityID,RelationID,EntityID],....],
Topic Entity : [[EntityID,RelationID,EntityID],....],
...
}
  1. Wikidata label file
{
EntityID : Entity name
RelationID : Relation name
EntityID : Entity name
...
}
Downloads last month
34