5+1-Heterocyclization as preparative approach for carboxy-containing triazolo[1,5-c]quinazolines with anti-inflammatory activity.