Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use GEM in an exsisting graph #85

Open
Laya1363 opened this issue Jan 20, 2020 · 4 comments
Open

how to use GEM in an exsisting graph #85

Laya1363 opened this issue Jan 20, 2020 · 4 comments

Comments

@Laya1363
Copy link

Hi everyone,

I'd like to use GEM library in a graph that I created by myself.
the file format of my graph is .owl.
I don't know how should I read my graph into python, extract the edge lists and implement the methods on them. in which format should I have my graph(and probably how?)
can anyone give me clear instruction?

Thanks

@CatcherGG
Copy link
Contributor

GEM is using networkx library for the graphs representations.
So probably all you need is another library (like this) that converts owl files to networkx graphs.

@Laya1363
Copy link
Author

@CatcherGG thanks for your answer. yes I also saw this library onto2nx to convert my data but unfortunately there is no tutorial for this library in the internet. And I just struggling to get know how should I do that. if you have experience using it, I would be appreciated if you can help by giving some tips.
Thanks

@palash1992
Copy link
Owner

You can also convert OWL to a text file with edges which you can easily load into networkx.

@Laya1363
Copy link
Author

@palash1992 you mean just convert the owl file format in .txt and use it in Networkx?
could you please explain more I am pretty new in ML methods and also Networkx and any additional explanation is appreciated..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants