Is there a difference between "opportunity for", "opportunity of" and "opportunity to"?

Ngram- to as a preposition following opportunity is growing in usage, but of and for are also used according to context and usage:

Opportunity:

a time when a particular situation makes it possible to do or achieve something.

  • Opportunity (to do something) You'll have the opportunity to ask any questions at the end. This is the perfect opportunity to make a new start.

  • Opportunity (for something/for doing something) There was no opportunity for further discussion. There’ll be plenty of opportunity for relaxing once the work is done.

  • Opportunity (of doing something) At least give him the opportunity of explaining what happened.

OLD