i want to store eng and chinese , values and language into a single node. I have written cypher query , but its taking only the first value and first langue, discarding the second one. This is query i have written "FOREACH (abst IN data.abstract | MERGE (abs:Abstract{value:abst.value}) ON CREATE SET abs.language=abst.language," .Any idea or hint will be great help.
Thank you very much for your reply. I have tried as mentioned above but its throwing error with "Expected Parameter(s): abstract" . I'm new to neo4j, my querying is not top class. This is code I have tired:
CALL apoc.load.json("file:///D:/mm.json") YIELD value AS abstract
UNWIND $abstract as abstractItem
MERGE (a:Abstract {value: abstractItem.value, language: abstractItem.language })