score:6
In general when you book your flights all as one booking, your bags will be checked through all the way. There are a few exceptions:
You can assume you won't see your bag until you reach your final destination, but double check this with the checkin counter when you hand it over. "That's checked right through to Cairo, right? I won't need to claim it in Frankfurt?"
In my experience airlines tell you whenever there is an exception to this rule. They tell you at checkin and they tell you again on the plane. There will also be signs at the airport if you need to do something unusual.
Upvote:3
Unlike the US, Germany does not require passengers in transit to pick up their bags and walk them through customs as a matter of policy. So it's down to airline policy and the details of your booking.
Air Canada, Lufthansa, and Turkish Airline are all large modern carriers and part of the same alliance. The latter two are also listed as codeshare and interline partners on Air Canada's website so I would not expect any problem.
If you had booked tickets separately and the airlines involved had a looser type of partnership, it would generally be possible to have your luggage checked through to your final destination but not guaranteed. In your case, it's almost certainly the case.