Use OPTIONAL MATCH for BI Q7 to get person with no friends (and a friendsScore value of 0)
@@ -21,7 +21,7 @@ WITH
100 * length([(tag)<-[interest:HAS_INTEREST]-(person) | interest])
+ length([(tag)<-[:HAS_TAG]-(message:Message)-[:HAS_CREATOR]->(person) WHERE message.creationDate > $date | message])
AS score
-MATCH (person)-[:KNOWS]-(friend)
+OPTIONAL MATCH (person)-[:KNOWS]-(friend)
WITH
person,
score,
