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

Read graph from rdflib rather than from (io) file? #111

Open
xem-tim-duval opened this issue Dec 23, 2021 · 1 comment
Open

Read graph from rdflib rather than from (io) file? #111

xem-tim-duval opened this issue Dec 23, 2021 · 1 comment

Comments

@xem-tim-duval
Copy link

xem-tim-duval commented Dec 23, 2021

Is there a way to read/assign an ontology/graph directly from rdflib to ontospy, rather than from a file/url or g.serialize()?

I'm generating ontologies via automation and would like to render their tree/documentation for client side ui and would rather not serialize/persist and then have to parse into ontospy.

Please advise?

Thanks a bunch!

anuneetanand added a commit to anuneetanand/Ontospy that referenced this issue Apr 30, 2022
Added support to directly assign and use rdflib graph instead of reading from file, uri or data string.
@anuneetanand
Copy link

Hi @lambdamusic,
I am new contributor to this project and based on my understanding of the codebase, I have raised a PR for resolving this issue. Kindly review it 😄

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

No branches or pull requests

3 participants