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

Ability to give custom relation_type for each relation #75

Open
ghost opened this issue May 22, 2022 · 0 comments
Open

Ability to give custom relation_type for each relation #75

ghost opened this issue May 22, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented May 22, 2022

When working with datasets such as dbpedia and wikidata, you might want to connect entities and properties with relationships defined by uris. So for each relationship requires a different relationship type, although they connect same type of nodes : entities and properties.

To be able to do that we should be able to connect nodes with a parameter relation_type. So if no rel_type is defined in the Relationship definition, we should take this parameter relation_type and create our relationship with this label. In order to do that, I added a new parameter to RelationshipManager's and cardinalilty.One's connect methods.

How does it sound?

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

0 participants