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

feat: add RDFGraph to API #3031

Merged
merged 5 commits into from Jul 21, 2022
Merged

feat: add RDFGraph to API #3031

merged 5 commits into from Jul 21, 2022

Conversation

rokroskar
Copy link
Member

@rokroskar rokroskar commented Jul 19, 2022

Adds an RDFGraph object to the API

Usage:

from renku.ui.api import RDFGraph

g = RDFGraph()
# get a list of contributors to the project
list(g.subjects(object=URIRef("http://schema.org/Person")))

Copy link
Member

@Panaetius Panaetius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should probably add it to https://github.com/SwissDataScienceCenter/renku-python/blob/develop/docs/reference/api.rst as well.

Otherwise looks good, thanks!

@rokroskar
Copy link
Member Author

Thanks @Panaetius - done

@rokroskar rokroskar requested a review from Panaetius July 20, 2022 17:22
@rokroskar rokroskar enabled auto-merge (squash) July 20, 2022 17:22
@rokroskar rokroskar merged commit b8784d5 into develop Jul 21, 2022
@rokroskar rokroskar deleted the 000-add-graph-to-api branch July 21, 2022 07:22
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

Successfully merging this pull request may close these issues.

None yet

2 participants