I have a good query, which works fine with cypher-shell. However, export-graphml doesnt like it. It claims "Invalid input". See the details:
neo4j-sh (?)$ export-graphml -o /tmp/ex1.graphml -t -r MATCH (o:Osoba{troi:'mi.1'}) return o
QueryExecutionException: Invalid input '(': expected (line 1, column 1 (offset: 0))
"(o:Osoba{troi:'mi.1'}) return o"
^
neo4j-sh (?)$ exit
minak@ns348110:/usr/share/neo4j$ cypher-shell
username: ****
password: ****
Connected to Neo4j 3.1.2 at bolt://localhost:7687 as user iusr.
Type :help for a list of available commands or :exit to exit the shell.
Note that Cypher queries must end with a semicolon.
neo4j> MATCH (o:Osoba{troi:'mi.1'}) return o;
o
(:Osoba {szansa: 1, imie: "Marek", nazwisko: "Minakowski", birt: 1972, klasa: 0, deat: 0, troi: "mi.1", famc: 235012})
neo4j>
I have a good query, which works fine with cypher-shell. However, export-graphml doesnt like it. It claims "Invalid input". See the details:
neo4j-sh (?)$ export-graphml -o /tmp/ex1.graphml -t -r MATCH (o:Osoba{troi:'mi.1'}) return o QueryExecutionException: Invalid input '(': expected (line 1, column 1 (offset: 0))
"(o:Osoba{troi:'mi.1'}) return o"
^
neo4j-sh (?)$ exit
minak@ns348110:/usr/share/neo4j$ cypher-shell
username: ****
password: ****
Connected to Neo4j 3.1.2 at bolt://localhost:7687 as user iusr.
Type :help for a list of available commands or :exit to exit the shell.
Note that Cypher queries must end with a semicolon.
neo4j> MATCH (o:Osoba{troi:'mi.1'}) return o;
o
(:Osoba {szansa: 1, imie: "Marek", nazwisko: "Minakowski", birt: 1972, klasa: 0, deat: 0, troi: "mi.1", famc: 235012})
neo4j>