AnacletoLAB / grape

🍇 GRAPE is a Rust/Python Graph Representation Learning library for Predictions and Evaluations
MIT License
502 stars 38 forks source link

Feature request: method to display all available versions of a graph #37

Open justaddcoffee opened 1 year ago

justaddcoffee commented 1 year ago

It would be handy to know what versions of a graph are available, especially for KG-Hub projects.

For example, it'd be nice to be able to do this:

from grape.datasets.kghub import KGCOVID19
KGCOVID19.versions()

and then choose a KG build to load

justaddcoffee commented 1 year ago

Adding - this functionality is kinda already implemented:

from grape import datasets
df = datasets.get_all_available_graphs_dataframe()
df[df['name']=='KGCOVID19']