[NH:1]([C:3]1[CH:4]=[C:5]([CH:9]=[CH:10][CH:11]=1)[C:6]([OH:8])=[O:7])[NH2:2].C(O[CH:15]=[C:16]([C:22]#[N:23])[C:17]([O:19][CH2:20][CH3:21])=[O:18])C>C(O)C>[NH2:23][C:22]1[N:1]([C:3]2[CH:4]=[C:5]([CH:9]=[CH:10][CH:11]=2)[C:6]([OH:8])=[O:7])[N:2]=[CH:15][C:16]=1[C:17]([O:19][CH2:20][CH3:21])=[O:18]The mixture of 3-hydrazinobenzoic acid (5.0 g) and ethyl 2-ethoxymethylene-2-cyanoacetate (5.6 g) in ethanol (50 ml) was heated under reflux for 2 hours under stirring, and then the mixture was evaporated in vacuo. To the residue was added a mixture of ethyl acetate and water, and the mixture was adjusted to pH 8 with 20% aqueous potassium carbonate solution. The separated aqueous layer was adjusted to pH 4 with 6N-hydrochloric acid and extracted with ethyl acetate. The extract layer was washed with water, dried over magnesium sulfate and evaporated in vacuo. The residue was triturated with a solution of ethyl acetate and diisopropyl ether and the precipitate was collected by filtration to give 3-(5-amino-4-ethoxycarbonylpyrazol-1-yl)benzoic acid (6.0 g).