“Soccer Scouting System” with Neo4j, part 3

Let’s create this in Neo4j to start with:

CREATE
	(myc:Club {id:'myc', name:'My Club'}),
	(teamA:Team {id:'mycTeamA', name:'Team A', season:'2015-2016'}),
	(teamA)-[:REPRESENTS {season:'2015-2016'}]->(myc),
	(goalie1:Player {name:'My Goalie', dob:20000101, position:'Goalie', handedness:'right'}),
	(goalie1)-[:SELECTED_FOR]->(teamA)

This results in the following:

Snap1

Spring naar toolbar