MATCH (v:Vendor { id: $vendorId }) CREATE (contributor:NrContributor:NrPerformance { id: randomUUID(), name: $name, forename: $forename, middleNames: $middleNames, surname: $surname, createdAt: datetime(), createdBy: "graphql-neighbouring-rights/CreateNrContributor/" + $identityId }) MERGE (contributor)<-[hc:HAS_NR_CONTRIBUTOR]-(v) ON CREATE SET hc.createdAt = datetime(), hc.createdBy = "graphql-neighbouring-rights/CreateNrContributor/" + $identityId, hc.lastModifiedAt = datetime(), hc.lastModifiedBy = "graphql-neighbouring-rights/CreateNrContributor/" + $identityId RETURN contributor;