i have json which is in format
{'regulon': 'R-0', 'hallmark': 'SelfSufficiencyInGrowthSignals', 'value': 1.0, 'modal': 'BRCA', 'version': '1.0'},
{'regulon': 'R-1328', 'hallmark': 'InsensitivityToAntigrowthSignals', 'value': nan, 'modal': 'BRCA', 'version': '1.0'}
I have node Regulon which has regulon-id eg R-0
I have node mark which has marks eg:SelfSufficiencyInGrowthSignals and InsensitivityToAntigrowthSignals
now i wanted to match regulon id with json file regulon
and match mark with json file hallmark and generate only one relationship between them along with json file value as edge property
This query would create the node with the specified if it does not exist. If it already exists the node would be returned. Think of it like insert/update logic.
If you can elaborate a bit further it might be easier to provide how you can do it.