Skip to content
This repository was archived by the owner on Jun 11, 2026. It is now read-only.
This repository was archived by the owner on Jun 11, 2026. It is now read-only.

fetch 2-hop neighbors of an entity #2

Description

@dinani65

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,

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions