user: Question: japan (jpn) with a total of less than 5, has what average gold medals?
Columns: ['Rank', 'Nation', 'Gold', 'Silver', 'Bronze', 'Total']
Types: ['real', 'text', 'real', 'real', 'real', 'real']
Sample row: [1.0, 'Australia (AUS)', 8.0, 4.0, 2.0, 14.0]
SQL:

assistant: SELECT AVG("Gold") FROM "Table" WHERE "Nation" = 'japan (jpn)' AND "Total" < 5.0;