One of the easiest ways to do this is to use UNWIND vs. FOREACH - ala:
// create years
UNWIND range(1950,2025) as r
CREATE (cy:CalendarYear) SET cy.year=r;
// create months
UNWIND range(1,12) as monthNum
MATCH (cy:CalendarYear)
CREATE (cm:CalendarMon...