How to sum up different property weights?
问题 I am trying to get two properties sum (with weight) and combine them finally into a combined weight. So, first the separate queries, so you can see the correct sum weights Language = French , Proficiency over 6 (scale 1-10): MATCH (User)-[Speaks]->(Language) WHERE Language.language = 'French' AND Speaks.proficiency >=6 RETURN User.name, SUM( CASE WHEN Language.language='French' THEN Speaks.proficiency*3 END )*0.1 AS TOTAL_Language ORDER BY TOTAL_Language DESC User.name TOTAL_Language David 3