Is there any way to add a dynamic node property that is calculated at query time?
e.g. for nodes Alice and Bob, if there is a relationship of type "LOVES" between Alice and Bob then a dynamic property "description" could return value "Alice loves Bob"
based on a query below
MATCH p=(a)-[r]->(b) WITH r, apoc.text.format("%s %s %s", [a.label,apoc.text.replace(toLower(type(r)),'_',' '),b.label]) AS output SET r.description = output RETURN id(r), output
Obviously I can store this as a static property but wondering if possible to generate this at query time rather than storing in db or processing in a client. I can't see any way to set up this as a stored procedure or otherwise. Is this kind of thing doable?