Numerical data on ogbl_wikidata2 #12
Answered
by
yihong-chen
aahad5555
asked this question in
ogbl-wikikg2
-
Hi, I am quite new to knowledge graphs and came across ogbl_wikidata2 dataset. I cant get my head around that this dataset is just numbers. I have a simple question why is that?and is their any real entity or data behind that? |
Beta Was this translation helpful? Give feedback.
Answered by
yihong-chen
Dec 17, 2021
Replies: 1 comment 1 reply
-
Hi @aahad5555, I guess you mean 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 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
yihong-chen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 folderdataset/ogbl_wikikgv2/mapping
, which map numbers to wikidata entity/relation IDs.In a IPython shell, running the following scripts should show you the folder