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

Add node for every node #19

Open
leoschenkel opened this issue Aug 27, 2020 · 1 comment
Open

Add node for every node #19

leoschenkel opened this issue Aug 27, 2020 · 1 comment

Comments

@leoschenkel
Copy link

Hi there!

Thanks for this amazing lib.

I'd like to know if it's possible to add a new node and vertex to every node.

I'm loading a ttl and inserting with the load function to my graph database.

Leo

@costezki
Copy link
Owner

Hi Leo, thank you for using rdf2g.

Unfortunately, this use case is not supported by the library, though it could be easily extended. Nor I believe it needs to be as this sounds like a post-loading operation. But I understand why it would be convenient to do it at the load time.
So, I would check load_rdf2g, create_node and add_property functions in the update.py module.

I imagine that an additional lambda function parameter in the load_rdf2g function would solve your problem.
If you have time to extend this, I will accept the pull request.

Best regards
Eugeniu

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

2 participants