Skip to content

Instantly share code, notes, and snippets.

@FylmTM
Last active July 30, 2016 10:23
Show Gist options
  • Save FylmTM/6eee0c595de6fdd8c413a1be63529c05 to your computer and use it in GitHub Desktop.
Save FylmTM/6eee0c595de6fdd8c413a1be63529c05 to your computer and use it in GitHub Desktop.
League of Graphs

League of Graphs

For event:

Documentation:

Resources:

Quickstart

Explore graph

CALL apoc.meta.graph()

Find summoner

MATCH (n:Summoner {name: "FylmTM"}) RETURN n

Names

Normal player

  • Kiksu
  • FylmTM
  • Cryptael
  • Henua
  • Iger
  • XXpoMMou
  • yesCold -eskiuzi

Challengers

  • Sadastyczny
  • Kizuro
  • YanetGarcia1337
  • Rapisher
  • Hades147
  • Azzapp
  • Dementéd Clown

Queries

MATCH (n:Summoner {name: "FylmTM"})
RETURN n;

CALL apoc.meta.graph();

MATCH (n:Summoner)-[r]->(p:Participant)-[r2]->(m:`Match`)
      <-[r3]-(p2:Participant)<-[r4]-(o:Summoner)
MATCH (p)-[r5]->(team1:MatchTeam)
MATCH (p2)-[r6]->(team2:MatchTeam)
WHERE n.name = "FylmTM"
AND o.name = "TheGhostHunter"
RETURN *;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment