When you run the cypher query on Neo4J Engine this is the result :
Neo.ClientError.Statement.SyntaxError
If you put quotes to the value of the title property then you have the result:
(no changes, no records)
But the result shown in the popoto result panel is:
name:Tom Tykwer
born:1965
But the correct syntax of the Cypher query that produces the last result is this:
MATCH (person:Person), (person:Person)-[:DIRECTED]->(movie1:Movie) WHERE (movie1.title = "Cloud Atlas") AND (NOT (person:Person)-[:PRODUCED]->(:Movie{title:"Ninja Assassin"})) RETURN person
So you have to remove the following part in the MATCH:
, (person:Person)-[:PRODUCED]->(movie2:Movie)
And that Cypher query is the right one that gives the desired result.
In this example:![grafo malo 2](https://user-images.githubusercontent.com/28109115/65614821-4784ad80-df86-11e9-9482-8aca256031e4.png)
When you run the cypher query on Neo4J Engine this is the result : Neo.ClientError.Statement.SyntaxError
If you put quotes to the value of the title property then you have the result: (no changes, no records)
But the result shown in the popoto result panel is: name:Tom Tykwer born:1965
But the correct syntax of the Cypher query that produces the last result is this:
MATCH (person:
Person
), (person:Person
)-[:DIRECTED
]->(movie1:Movie
) WHERE (movie1.title = "Cloud Atlas") AND (NOT (person:Person
)-[:PRODUCED
]->(:Movie
{title:"Ninja Assassin"})) RETURN personSo you have to remove the following part in the MATCH: , (person:
Person
)-[:PRODUCED
]->(movie2:Movie
)And that Cypher query is the right one that gives the desired result.