Hello,
Thanks for your shared code.
I am using FastRDFStore to get 2-hop neighbors around an entity but it takes long. In fact, I have employed the source code which has been proposed in the following code:
https://github.com/RichardHGL/WSDM2021_NSM/blob/main/preprocessing/Freebase/get_2hop_subgraph.py
I would like to know if there is a way to get the neighborhoods faster.
With Regards,