Question: Which Year has a Borough of harrogate, and a Rank smaller than 6, and a Definition of civil parish?
SQL: SELECT year FROM table_name_59 WHERE borough = "harrogate" AND rank < 6 AND definition = "civil parish"