Run query with or without parameters on Neo4j