Error special characters
We need to escape special characters and use params in the future
message=Invalid input 'a': expected 'd/D' (line 1, column 148 (offset: 147))
"MERGE (o:Place {uri:'https://www.wikidata.org/wiki/Q309164'}) MERGE (t0:Place {uri:'http://curlie.org/Regional/Middle_East/Israel/Localities/Ra'anana/'}) MERGE (o)-[:same_as {author:'bot#1'}]->(t0) MERGE (t1:Place {uri:'https://g.co/kg/m/0g9yy'}) MERGE (o)-[:same_as {author:'bot#1'}]->(t1) MERGE (t2:Place {uri:'http://geonames.org/293807'}) MERGE (o)-[:same_as {author:'bot#1'}]->(t2) MERGE (t3:Place {uri:'https://viaf.org/viaf/126708416'}) MERGE (o)-[:same_as {author:'bot#1'}]->(t3) MERGE (t4:Place {uri:'https://id.loc.gov/authorities/n83157985'}) MERGE (o)-[:same_as {author:'bot#1'}]->(t4) MERGE (t5:Place {uri:'https://www.quora.com/topic/Raanana-1'}) MERGE (o)-[:same_as {author:'bot#1'}]->(t5) "
^, stack=Neo4jError: Invalid input 'a': expected 'd/D' (line 1, column 148 (offset: 147))
"MERGE (o:Place {uri:'https://www.wikidata.org/wiki/Q309164'}) MERGE (t0:Place {uri:'http://curlie.org/Regional/Middle_East/Israel/Localities/Ra'anana/'}) MERGE (o)-[:same_as {author:'bot#1'}]->(t0) MERGE (t1:Place {uri:'https://g.co/kg/m/0g9yy'}) MERGE (o)-[:same_as {author:'bot#1'}]->(t1) MERGE (t2:Place {uri:'http://geonames.org/293807'}) MERGE (o)-[:same_as {author:'bot#1'}]->(t2) MERGE (t3:Place {uri:'https://viaf.org/viaf/126708416'}) MERGE (o)-[:same_as {author:'bot#1'}]->(t3) MERGE (t4:Place {uri:'https://id.loc.gov/authorities/n83157985'}) MERGE (o)-[:same_as {author:'bot#1'}]->(t4) MERGE (t5:Place {uri:'https://www.quora.com/topic/Raanana-1'}) MERGE (o)-[:same_as {author:'bot#1'}]->(t5) "
^
at captureStacktrace (/usr/local/app/node_modules/neo4j-driver/lib/v1/result.js:199:15)
at new Result (/usr/local/app/node_modules/neo4j-driver/lib/v1/result.js:72:19)
at Session._run (/usr/local/app/node_modules/neo4j-driver/lib/v1/session.js:116:14)
at Session.run (/usr/local/app/node_modules/neo4j-driver/lib/v1/session.js:95:19)
at Neo4jStreamWriter.<anonymous> (/usr/local/app/src/neo4j-stream-writer.ts:29:26)
at Generator.next (<anonymous>)
at /usr/local/app/dist/neo4j-stream-writer.js:15:71
at new Promise (<anonymous>)
at __awaiter (/usr/local/app/dist/neo4j-stream-writer.js:11:12)
at Neo4jStreamWriter._write (/usr/local/app/dist/neo4j-stream-writer.js:28:16)
at Timeout.setTimeout (/usr/local/app/src/neo4j-stream-writer.ts:42:14)
at ontimeout (timers.js:498:11)
at tryOnTimeout (timers.js:323:5)
at Timer.listOnTimeout (timers.js:290:5), code=Neo.ClientError.Statement.SyntaxError, name=Neo4jError
12:20:22 - error: fromhttps://www.wikidata.org/wiki/Q309164