Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
07-16-2019 02:49 AM
Hello all,
I am trying to propose a way to directly use Bloom to enrich an enterprise knowledge graph.
There is almost all the needed actions for edition but I am not able from Bloom to add a property to a node or a relationships. I can only edit the value if the property already exist.
For the nodes there is a workaround by duplicating an existing one but not for the relationships.
Has anyone found a way to do so?
Another way that could be ok is if in a search phrase there is a way to modify a link but so far I can only have a RETURN clause working. I suppose this is the way it is intented to.
Thanks in advance for your help.
Kind regards,
Stéphane
Solved! Go to Solution.
09-10-2019 02:42 AM
Hi Stéphane
At the moment, there isn't any way from the UI to add a property to a relationship.
It would be possible with a search phrase, you can make it return the updated relationships for example like this:
match (n)-[r]-(m) where r.name = $param1 set r += {test: $param2} return n, r, m
I you want to be able to control the name of the param from the search phrase as well you might need to use an apoc procedure though
Cheers,
Jens
09-09-2019 02:45 AM
I was able to add properties in Bloom.
09-09-2019 03:06 AM
Hello Michael,
Thanks a lot.
This is very helpful.
Is there a similar action to perform when this property we want to add is on a relationship?
Thanks and regards,
Stéphane
09-10-2019 02:42 AM
Hi Stéphane
At the moment, there isn't any way from the UI to add a property to a relationship.
It would be possible with a search phrase, you can make it return the updated relationships for example like this:
match (n)-[r]-(m) where r.name = $param1 set r += {test: $param2} return n, r, m
I you want to be able to control the name of the param from the search phrase as well you might need to use an apoc procedure though
Cheers,
Jens
09-10-2019 04:56 AM
Thanks a lot Jens, that's already a good work around.
Have a great day
All the sessions of the conference are now available online