'Load custom knowledge-graph data to pytorch geometric

I am new to PyTorch geometric and want to know how we can load our own knowledge-graph dataset into PyTorch geometric DataLoader. I have my data in the CSV file which looks like for example:enter image description here

Dataset consists of 1000's of such triples
I went through PyTorch documentation but couldn't understand how this kind of data can be used with Pytorch geometric.
I was using this data earlier with ampligraph to do link prediction and thought of giving it try with GNN (PyTorch geometric).
Any help on this!!



Solution 1:[1]

I am also struggling with same issue, I have followed video https://www.youtube.com/watch?v=QLIkOtKS4os&t=1s but when I create my own dataset it gives error. Secondly Slack is platform that is maintain by pytorch geometric team where you can post problem specific to pytorch and get reply with in a day. regards

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Hina Ali