You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MATCH (p:Person {id: 19791209310731})
with p
call apoc.path.subgraphNodes(p, {maxLevel:5, relationshipFilter:'KNOWS'})
yield node
with distinct node as person
MATCH
(person)-[:IS_LOCATED_IN]->(:City)-[:IS_PART_OF]->(:Country {name: 'Pakistan'})
with distinct person
match
(person)<-[:HAS_CREATOR]-(message:Message)-[:HAS_TAG]->(tag:Tag)-[:HAS_TYPE]->
(:TagClass {name: 'MusicalArtist'})
RETURN
person.id,
tag.name,
count(DISTINCT message) AS messageCount
ORDER BY
messageCount DESC,
tag.name ASC,
person.id ASC
LIMIT 100
The text was updated successfully, but these errors were encountered:
MATCH (p:Person {id: 19791209310731})
with p
call apoc.path.subgraphNodes(p, {maxLevel:5, relationshipFilter:'KNOWS'})
yield node
with distinct node as person
MATCH
(person)-[:IS_LOCATED_IN]->(:City)-[:IS_PART_OF]->(:Country {name: 'Pakistan'})
with distinct person
match
(person)<-[:HAS_CREATOR]-(message:Message)-[:HAS_TAG]->(tag:Tag)-[:HAS_TYPE]->
(:TagClass {name: 'MusicalArtist'})
RETURN
person.id,
tag.name,
count(DISTINCT message) AS messageCount
ORDER BY
messageCount DESC,
tag.name ASC,
person.id ASC
LIMIT 100
The text was updated successfully, but these errors were encountered: