Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Statement syntax error in cypherviewer module #64

Open
L4R4 opened this issue Sep 25, 2019 · 0 comments
Open

Statement syntax error in cypherviewer module #64

L4R4 opened this issue Sep 25, 2019 · 0 comments

Comments

@L4R4
Copy link

L4R4 commented Sep 25, 2019

In this example:
grafo malo 2

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant