RIGA, Latvia: Luka Dončić’s 39 points were not enough for Slovenia as it lost 99-91 to Germany in a thrilling EuroBasket quarterfinal on Wednesday. Orlando Magic guard Franz Wagner scored 23 points and captain Dennis Schröder added 20 points and 7 assists for Germany, which will face Finland in the semifinals on Friday. Germany guard Andreas Obst’s 3-pointer capped a 12-0 run to put the World Cup champions ahead 77-74 early in the fourth quarter. Slovenia took the lead 86-85 on a Dončić 3-pointer with 4:12 to go before Schröder sank his only 3-pointer — he missed eight other attempts — to make it 88-86, and Germany closed it out from there. Dončić was assessed a technical foul early on and had 22 points as Slovenia led 51-45 at halftime. He picked up his fourth foul early in the third quarter yet kept on scoring, although he appeared inhibited at times by the prospect of fouling out with a fifth foul. The Los Angeles Lakers star — five of 16 from 3-point range — had his fifth game of the tournament with at least 30 points scored.