user: Question: What is the average rank that has CIA World Factbook as the source and a year prior to 2005?
Columns: ['Name', 'Rank', 'Out of', 'Source', 'Notes', 'Year']
Types: ['text', 'real', 'real', 'text', 'text', 'real']
Sample row: ['Irrigated land area', 10.0, 236.0, 'CIA World Factbook', 'Irrigated land: 46,000km²', 2003.0]
SQL:

assistant: SELECT AVG("Rank") FROM "Table" WHERE "Source" = 'CIA World Factbook' AND "Year" < 2005.0;