Piping graph queries through cli

Hello.

Is there any library, programatic, for updating a graph based on a text string. MATCH (LHS MATCH (a)-) is a given. So query something like:

[:LOGS]->(b)-[:FEATURES]->(c)

Lowest common denominator? is bash/cli type pipe, ie pipe above text into neo4j shell and relationship gets created.

thank you

You can use the cypher-shell CLI tool.

If you want to create a cypher command programmatically in your query, you can do so using an apoc procedure: