Skip to content

Commit

Permalink
Updated Rose versus enemy species data and koan (removing the direct …
Browse files Browse the repository at this point in the history
…ENEMY_OF between Rose and the Devil
  • Loading branch information
jimwebber committed Sep 9, 2014
1 parent 3da8651 commit 46803f9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/koan/java/org/neo4j/tutorial/Koan7.java
Expand Up @@ -163,7 +163,6 @@ public void shouldFindTheEnemySpeciesThatRoseTylerFought()

cql = "MATCH (rose:Character {character: 'Rose Tyler'})-[:APPEARED_IN]->(episode:Episode), " +
"(doctor:Character {character:'Doctor'})-[:ENEMY_OF]->(enemy:Species)-[:APPEARED_IN]->(episode:Episode) " +
"AND has(enemy.species) " +
"RETURN DISTINCT enemy.species AS enemySpecies";


Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/neo4j/tutorial/Species.java
Expand Up @@ -41,7 +41,7 @@ public void insert()
.isEnemyOfSpecies( "Human" )
.fact( engine );
species( "Devil" )
.isEnemyOf( "Doctor", "Rose Tyler" )
.isEnemyOf( "Doctor" )
.isFrom( "Impossible Planet" )
.fact( engine );
species( "Cyberman" )
Expand Down

0 comments on commit 46803f9

Please sign in to comment.