Datasets:
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:
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
- FreeBase subgraph file
{
Topic Entity : [[EntityID,Relation,EntityID],....],
Topic Entity : [[EntityID,Relation,EntityID],....],
...
}
- FreeBase label file
{
EntityID : Entity name
EntityID : Entity name
...
}
- Wikidata subgraph file
{
Topic Entity : [[EntityID,RelationID,EntityID],....],
Topic Entity : [[EntityID,RelationID,EntityID],....],
...
}
- Wikidata label file
{
EntityID : Entity name
RelationID : Relation name
EntityID : Entity name
...
}
Due to limitations in Freebase, the labels for a small number of entities cannot be found. We are actively working on addressing this issue, and updates will be provided in the future.
- Downloads last month
- 1