Skip to content

Numerical data on ogbl_wikidata2 #12

Discussion options

You must be logged in to vote

Hi @aahad5555, I guess you mean ogbl-wikikg2. If you download the data by using the OGB dataloader, you will find the mapping file under the folder dataset/ogbl_wikikgv2/mapping, which map numbers to wikidata entity/relation IDs.

In a IPython shell, running the following scripts should show you the folder

from ogb.linkproppred import LinkPropPredDataset

dataset = LinkPropPredDataset(name = 'ogbl-wikikg2')

!ls ./dataset/ogbl_wikikg2/mapping

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@aahad5555
Comment options

Answer selected by yihong-chen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants