answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT district FROM table_1341973_11 WHERE incumbent = "Carl Vinson" | CREATE TABLE table_1341973_11 (district VARCHAR, incumbent VARCHAR) | In which district is the incumbent Carl Vinson? |
SELECT COUNT(candidates) FROM table_1341930_40 WHERE incumbent = "L. Mendel Rivers" | CREATE TABLE table_1341930_40 (candidates VARCHAR, incumbent VARCHAR) | Name the candidates for l. mendel rivers |
SELECT result FROM table_1341930_40 WHERE district = "South Carolina 4" | CREATE TABLE table_1341930_40 (result VARCHAR, district VARCHAR) | Name the result for south carolina 4 |
SELECT candidates FROM table_1341930_40 WHERE district = "South Carolina 3" | CREATE TABLE table_1341930_40 (candidates VARCHAR, district VARCHAR) | Name the candidates for south carolina 3 |
SELECT incumbent FROM table_1341930_40 WHERE first_elected = 1956 | CREATE TABLE table_1341930_40 (incumbent VARCHAR, first_elected VARCHAR) | Name the incumbent for first elected 1956 |
SELECT COUNT(party) FROM table_1341930_5 WHERE incumbent = "James William Trimble" | CREATE TABLE table_1341930_5 (party VARCHAR, incumbent VARCHAR) | Name the number of party with the incubent james william trimble |
SELECT result FROM table_1341930_5 WHERE first_elected = 1944 | CREATE TABLE table_1341930_5 (result VARCHAR, first_elected VARCHAR) | What is the result for first elected in 1944 |
SELECT COUNT(party) FROM table_1341930_5 WHERE district = "Arkansas 1" | CREATE TABLE table_1341930_5 (party VARCHAR, district VARCHAR) | What is the number of party in the arkansas 1 district |
SELECT incumbent FROM table_1341973_3 WHERE district = "Alabama 6" | CREATE TABLE table_1341973_3 (incumbent VARCHAR, district VARCHAR) | Who is the incumbent in the Alabama 6 voting district? |
SELECT candidates FROM table_1341973_3 WHERE incumbent = "Frank W. Boykin" | CREATE TABLE table_1341973_3 (candidates VARCHAR, incumbent VARCHAR) | Which candidates were in the election where Frank W. Boykin was an incumbent? |
SELECT candidates FROM table_1341973_3 WHERE incumbent = "George M. Grant" | CREATE TABLE table_1341973_3 (candidates VARCHAR, incumbent VARCHAR) | Who were the candidates in the election where the incumbent is George M. Grant? |
SELECT candidates FROM table_1341973_3 WHERE district = "Alabama 6" | CREATE TABLE table_1341973_3 (candidates VARCHAR, district VARCHAR) | Which candidates ran in the Alabama 6 district? |
SELECT MAX(first_elected) FROM table_1341973_3 WHERE district = "Alabama 4" | CREATE TABLE table_1341973_3 (first_elected INTEGER, district VARCHAR) | What is the latest year listed with the Alabama 4 voting district? |
SELECT result FROM table_1342013_12 WHERE incumbent = "Fred E. Busbey" | CREATE TABLE table_1342013_12 (result VARCHAR, incumbent VARCHAR) | What was the result when incumbent Fred E. Busbey was elected? |
SELECT COUNT(result) FROM table_1342013_12 WHERE incumbent = "Noah M. Mason" | CREATE TABLE table_1342013_12 (result VARCHAR, incumbent VARCHAR) | How many results are listed for the election where Noah M. Mason was elected? |
SELECT result FROM table_1342013_12 WHERE incumbent = "Leo E. Allen" | CREATE TABLE table_1342013_12 (result VARCHAR, incumbent VARCHAR) | What was the result when Leo E. Allen was elected? |
SELECT party FROM table_1342013_10 WHERE first_elected = 1914 | CREATE TABLE table_1342013_10 (party VARCHAR, first_elected VARCHAR) | Which party had a person who has been in the seat since 1914? |
SELECT candidates FROM table_1342013_10 WHERE incumbent = "Prince Hulon Preston, Jr." | CREATE TABLE table_1342013_10 (candidates VARCHAR, incumbent VARCHAR) | Name all the candidates listed in the race where the incumbent is Prince Hulon Preston, Jr. |
SELECT COUNT(candidates) FROM table_1342013_10 WHERE incumbent = "J. L. Pilcher" | CREATE TABLE table_1342013_10 (candidates VARCHAR, incumbent VARCHAR) | How many candidates ran in the race where the incumbent is J. L. Pilcher? |
SELECT MAX(first_elected) FROM table_1342013_20 WHERE incumbent = "John W. Heselton" | CREATE TABLE table_1342013_20 (first_elected INTEGER, incumbent VARCHAR) | John W. Heselton was first elected in what year? |
SELECT COUNT(party) FROM table_1342013_20 WHERE incumbent = "Thomas J. Lane" | CREATE TABLE table_1342013_20 (party VARCHAR, incumbent VARCHAR) | Thomas J. Lane is the incumbent of how many parties? |
SELECT incumbent FROM table_1342013_20 WHERE first_elected = 1944 | CREATE TABLE table_1342013_20 (incumbent VARCHAR, first_elected VARCHAR) | Who is the incumbent first elected in 1944? |
SELECT result FROM table_1342013_20 WHERE first_elected = 1942 | CREATE TABLE table_1342013_20 (result VARCHAR, first_elected VARCHAR) | What was the result for the politician first elected in 1942? |
SELECT result FROM table_1342013_34 WHERE district = "Ohio 2" | CREATE TABLE table_1342013_34 (result VARCHAR, district VARCHAR) | what's the result for district ohio 2 |
SELECT incumbent FROM table_1342013_34 WHERE candidates = "John M. Vorys (R) 61.5% Jacob F. Myers (D) 38.5%" | CREATE TABLE table_1342013_34 (incumbent VARCHAR, candidates VARCHAR) | who is the the incumbent with candidates being john m. vorys (r) 61.5% jacob f. myers (d) 38.5% |
SELECT incumbent FROM table_1342013_34 WHERE district = "Ohio 2" | CREATE TABLE table_1342013_34 (incumbent VARCHAR, district VARCHAR) | who is the the incumbent with district being ohio 2 |
SELECT result FROM table_1342013_34 WHERE incumbent = "William H. Ayres" | CREATE TABLE table_1342013_34 (result VARCHAR, incumbent VARCHAR) | what's the result with incumbent being william h. ayres |
SELECT COUNT(party) FROM table_1342013_34 WHERE candidates = "John M. Vorys (R) 61.5% Jacob F. Myers (D) 38.5%" | CREATE TABLE table_1342013_34 (party VARCHAR, candidates VARCHAR) | how many party with candidates being john m. vorys (r) 61.5% jacob f. myers (d) 38.5% |
SELECT district FROM table_1342013_4 WHERE incumbent = "Brooks Hays" | CREATE TABLE table_1342013_4 (district VARCHAR, incumbent VARCHAR) | what district is Brooks Hays in |
SELECT district FROM table_1342013_42 WHERE incumbent = "Omar Burleson" | CREATE TABLE table_1342013_42 (district VARCHAR, incumbent VARCHAR) | Omar Burleson was the incumbent in what district? |
SELECT district FROM table_1342013_42 WHERE first_elected = 1938 | CREATE TABLE table_1342013_42 (district VARCHAR, first_elected VARCHAR) | In what district was incumbent first elected in 1938? |
SELECT party FROM table_1342013_37 WHERE district = "Pennsylvania 25" | CREATE TABLE table_1342013_37 (party VARCHAR, district VARCHAR) | Name the party for the pennsylvania 25 |
SELECT MIN(first_elected) FROM table_1342013_37 WHERE incumbent = "Alvin Bush" | CREATE TABLE table_1342013_37 (first_elected INTEGER, incumbent VARCHAR) | Name the minumim first elected for alvin bush |
SELECT incumbent FROM table_1342013_37 WHERE district = "Pennsylvania 15" | CREATE TABLE table_1342013_37 (incumbent VARCHAR, district VARCHAR) | What is the incumbent for pennsylvania 15 |
SELECT COUNT(candidates) FROM table_1342149_13 WHERE incumbent = "Noah M. Mason" | CREATE TABLE table_1342149_13 (candidates VARCHAR, incumbent VARCHAR) | What are the candidates for noah m. mason? |
SELECT candidates FROM table_1342149_13 WHERE incumbent = "Fred E. Busbey" | CREATE TABLE table_1342149_13 (candidates VARCHAR, incumbent VARCHAR) | What is the candidates for fred e. busbey? |
SELECT incumbent FROM table_1342149_13 WHERE first_elected = 1932 | CREATE TABLE table_1342149_13 (incumbent VARCHAR, first_elected VARCHAR) | What is the incumbent for 1932? |
SELECT COUNT(first_elected) FROM table_1342013_9 WHERE incumbent = "Charles Edward Bennett" | CREATE TABLE table_1342013_9 (first_elected VARCHAR, incumbent VARCHAR) | how many first elected with incumbent being charles edward bennett |
SELECT incumbent FROM table_1342013_9 WHERE district = "Florida 2" | CREATE TABLE table_1342013_9 (incumbent VARCHAR, district VARCHAR) | who is the the incumbent with dbeingtrict being florida 2 |
SELECT result FROM table_1342013_9 WHERE candidates = "Charles Edward Bennett (D) Unopposed" | CREATE TABLE table_1342013_9 (result VARCHAR, candidates VARCHAR) | what's the result with candidates being charles edward bennett (d) unopposed |
SELECT result FROM table_1342013_9 WHERE district = "Florida 4" | CREATE TABLE table_1342013_9 (result VARCHAR, district VARCHAR) | what's the result with dbeingtrict being florida 4 |
SELECT COUNT(party) FROM table_1342013_9 WHERE candidates = "Charles Edward Bennett (D) Unopposed" | CREATE TABLE table_1342013_9 (party VARCHAR, candidates VARCHAR) | how many party with candidates being charles edward bennett (d) unopposed |
SELECT COUNT(first_elected) FROM table_1342013_9 WHERE incumbent = "William C. Lantaff" | CREATE TABLE table_1342013_9 (first_elected VARCHAR, incumbent VARCHAR) | how many first elected with incumbent being william c. lantaff |
SELECT result FROM table_1342149_11 WHERE incumbent = "Tic Forrester" | CREATE TABLE table_1342149_11 (result VARCHAR, incumbent VARCHAR) | What was the result of the election when Tic Forrester ran as an incumbent? |
SELECT result FROM table_1342013_5 WHERE incumbent = "Craig Hosmer" | CREATE TABLE table_1342013_5 (result VARCHAR, incumbent VARCHAR) | What was the final result for Craig Hosmer? |
SELECT district FROM table_1342013_5 WHERE incumbent = "Harlan Hagen" | CREATE TABLE table_1342013_5 (district VARCHAR, incumbent VARCHAR) | What district does Harlan Hagen represent? |
SELECT candidates FROM table_1342149_18 WHERE district = "Louisiana 2" | CREATE TABLE table_1342149_18 (candidates VARCHAR, district VARCHAR) | Who was the candidate in the election in the Louisiana 2 district? |
SELECT candidates FROM table_1342149_18 WHERE result = "Re-elected" AND district = "Louisiana 5" | CREATE TABLE table_1342149_18 (candidates VARCHAR, result VARCHAR, district VARCHAR) | What candidate was re-elected in the Louisiana 5 district? |
SELECT party FROM table_1342149_18 WHERE result = "Re-elected" AND district = "Louisiana 6" | CREATE TABLE table_1342149_18 (party VARCHAR, result VARCHAR, district VARCHAR) | What party's candidate was re-elected in the Louisiana 6 district? |
SELECT result FROM table_1342149_18 WHERE incumbent = "Hale Boggs" | CREATE TABLE table_1342149_18 (result VARCHAR, incumbent VARCHAR) | What was the result in the election where Hale Boggs was the incumbent? |
SELECT result FROM table_1342149_24 WHERE district = "Mississippi 2" | CREATE TABLE table_1342149_24 (result VARCHAR, district VARCHAR) | Name the result for mississippi 2 |
SELECT COUNT(candidates) FROM table_1342149_24 WHERE first_elected = 1941 | CREATE TABLE table_1342149_24 (candidates VARCHAR, first_elected VARCHAR) | Name the number of candidates for 1941 |
SELECT candidates FROM table_1342149_24 WHERE result = "Lost renomination Democratic loss" | CREATE TABLE table_1342149_24 (candidates VARCHAR, result VARCHAR) | Name the candidates for result of lost renomination democratic loss |
SELECT result FROM table_1342149_24 WHERE first_elected = 1920 | CREATE TABLE table_1342149_24 (result VARCHAR, first_elected VARCHAR) | Name the result for first elected of 1920 |
SELECT MAX(first_elected) FROM table_1342149_42 WHERE district = "Tennessee 7" | CREATE TABLE table_1342149_42 (first_elected INTEGER, district VARCHAR) | In the District Tennessee 7 what is the number of first elected? |
SELECT result FROM table_1342149_42 WHERE candidates = "Tom J. Murray (D) Unopposed" | CREATE TABLE table_1342149_42 (result VARCHAR, candidates VARCHAR) | What is the candidates result that is tom j. murray (d) unopposed? |
SELECT incumbent FROM table_1342149_42 WHERE party = "Republican" | CREATE TABLE table_1342149_42 (incumbent VARCHAR, party VARCHAR) | For the Republican party what are the names of the incumbents? |
SELECT COUNT(party) FROM table_1342149_42 WHERE candidates = "Howard Baker, Sr. (R) 68.9% Boyd W. Cox (D) 31.1%" | CREATE TABLE table_1342149_42 (party VARCHAR, candidates VARCHAR) | How many parties match the canididates listed as howard baker, sr. (r) 68.9% boyd w. cox (d) 31.1%? |
SELECT district FROM table_1342149_38 WHERE incumbent = "Paul B. Dague" | CREATE TABLE table_1342149_38 (district VARCHAR, incumbent VARCHAR) | Which district had Paul B. Dague as the incumbent? |
SELECT result FROM table_1342149_43 WHERE first_elected = "1942" | CREATE TABLE table_1342149_43 (result VARCHAR, first_elected VARCHAR) | What was the result in the election where the incumbent was first elected in 1942? |
SELECT result FROM table_1342149_43 WHERE district = "Texas 3" | CREATE TABLE table_1342149_43 (result VARCHAR, district VARCHAR) | What was the result of the election in the Texas 3 district? |
SELECT party FROM table_1342149_43 WHERE incumbent = "Wright Patman" | CREATE TABLE table_1342149_43 (party VARCHAR, incumbent VARCHAR) | What party did incumbent Wright Patman belong to? |
SELECT result FROM table_1342149_43 WHERE district = "Texas 4" | CREATE TABLE table_1342149_43 (result VARCHAR, district VARCHAR) | What was the result of the election in the Texas 4 district? |
SELECT party FROM table_1342149_43 WHERE result = "Re-elected" AND district = "Texas 11" | CREATE TABLE table_1342149_43 (party VARCHAR, result VARCHAR, district VARCHAR) | What party did the re-elected incumbent of the Texas 11 district belong to? |
SELECT first_elected FROM table_1342149_6 WHERE district = "California 22" | CREATE TABLE table_1342149_6 (first_elected VARCHAR, district VARCHAR) | List all those first elected in the California 22 voting district. |
SELECT incumbent FROM table_1342149_6 WHERE first_elected = "1946" | CREATE TABLE table_1342149_6 (incumbent VARCHAR, first_elected VARCHAR) | Who was the first elected incumbent in the 1946 election? |
SELECT COUNT(result) FROM table_1342149_6 WHERE district = "California 29" | CREATE TABLE table_1342149_6 (result VARCHAR, district VARCHAR) | How many results does the California 29 voting district have? |
SELECT party FROM table_1342149_6 WHERE incumbent = "Clair Engle" | CREATE TABLE table_1342149_6 (party VARCHAR, incumbent VARCHAR) | Which party had Clair Engle as an incumbent? |
SELECT party FROM table_1342198_13 WHERE incumbent = "Sid Simpson" | CREATE TABLE table_1342198_13 (party VARCHAR, incumbent VARCHAR) | What party does sid simpson represent? |
SELECT COUNT(candidates) FROM table_1342198_13 WHERE incumbent = "Barratt O'Hara" | CREATE TABLE table_1342198_13 (candidates VARCHAR, incumbent VARCHAR) | How many candidates ran against barratt o'hara? |
SELECT first_elected FROM table_1342198_13 WHERE incumbent = "Barratt O'Hara" | CREATE TABLE table_1342198_13 (first_elected VARCHAR, incumbent VARCHAR) | What year was incumbent barratt o'hara first elected? |
SELECT MIN(first_elected) FROM table_1342198_17 WHERE incumbent = "Noble Jones Gregory" | CREATE TABLE table_1342198_17 (first_elected INTEGER, incumbent VARCHAR) | How many results for minimum first elected incumbent Noble Jones Gregory? |
SELECT COUNT(district) FROM table_1342198_17 WHERE incumbent = "Noble Jones Gregory" | CREATE TABLE table_1342198_17 (district VARCHAR, incumbent VARCHAR) | How many results for incumbent Noble Jones Gregory? |
SELECT candidates FROM table_1342198_18 WHERE district = "Louisiana 1" | CREATE TABLE table_1342198_18 (candidates VARCHAR, district VARCHAR) | Who is the candidate wehre district is louisiana 1? |
SELECT party FROM table_1342198_18 WHERE incumbent = "Overton Brooks" | CREATE TABLE table_1342198_18 (party VARCHAR, incumbent VARCHAR) | What is the party where the incumbent is overton brooks? |
SELECT party FROM table_1342198_18 WHERE district = "Louisiana 2" | CREATE TABLE table_1342198_18 (party VARCHAR, district VARCHAR) | who athe party where district is louisiana 2? |
SELECT candidates FROM table_1342198_18 WHERE district = "Louisiana 3" | CREATE TABLE table_1342198_18 (candidates VARCHAR, district VARCHAR) | who is the candidate where district is louisiana 3? |
SELECT MIN(first_elected) FROM table_1342198_18 WHERE district = "Louisiana 5" | CREATE TABLE table_1342198_18 (first_elected INTEGER, district VARCHAR) | what is the minimum number first elected to district louisiana 5? |
SELECT result FROM table_1342198_36 WHERE incumbent = "Tom Steed" | CREATE TABLE table_1342198_36 (result VARCHAR, incumbent VARCHAR) | What was the result when incumbent Tom Steed was elected? |
SELECT candidates FROM table_1342198_38 WHERE incumbent = "Hardie Scott" | CREATE TABLE table_1342198_38 (candidates VARCHAR, incumbent VARCHAR) | What was the candidates for hardie scott |
SELECT COUNT(candidates) FROM table_1342198_38 WHERE district = "Pennsylvania 3" | CREATE TABLE table_1342198_38 (candidates VARCHAR, district VARCHAR) | What is the number of candidates for pennsylvania 3 |
SELECT COUNT(candidates) FROM table_1342198_38 WHERE district = "Pennsylvania 21" | CREATE TABLE table_1342198_38 (candidates VARCHAR, district VARCHAR) | What is the number of candidates for pennsylvania 21 |
SELECT party FROM table_1342198_38 WHERE first_elected = 1948 AND incumbent = "William T. Granahan" | CREATE TABLE table_1342198_38 (party VARCHAR, first_elected VARCHAR, incumbent VARCHAR) | What is the party for first elected 1948 for william t. granahan |
SELECT COUNT(candidates) FROM table_1342198_6 WHERE incumbent = "Cecil R. King" | CREATE TABLE table_1342198_6 (candidates VARCHAR, incumbent VARCHAR) | How many candidates were there in the race where Cecil R. King is the incumbent? |
SELECT COUNT(district) FROM table_1342198_6 WHERE first_elected = 1944 | CREATE TABLE table_1342198_6 (district VARCHAR, first_elected VARCHAR) | How many districts have an incumbent first elected in 1944? |
SELECT incumbent FROM table_1342218_13 WHERE district = "Illinois 17" | CREATE TABLE table_1342218_13 (incumbent VARCHAR, district VARCHAR) | Who was the incumbent in the Illinois 17 district? |
SELECT COUNT(candidates) FROM table_1342218_24 WHERE incumbent = "Thomas Abernethy" | CREATE TABLE table_1342218_24 (candidates VARCHAR, incumbent VARCHAR) | How many people on this list are named thomas abernethy? |
SELECT COUNT(first_elected) FROM table_1342218_24 WHERE incumbent = "W. Arthur Winstead" | CREATE TABLE table_1342218_24 (first_elected VARCHAR, incumbent VARCHAR) | How many times was w. arthur winstead first elected? |
SELECT COUNT(first_elected) FROM table_1342218_24 WHERE incumbent = "William M. Colmer" | CREATE TABLE table_1342218_24 (first_elected VARCHAR, incumbent VARCHAR) | How many times was william m. colmer winstead first elected? |
SELECT result FROM table_1342218_24 WHERE incumbent = "Jamie L. Whitten" | CREATE TABLE table_1342218_24 (result VARCHAR, incumbent VARCHAR) | What was the result of the election with jamie l. whitten? |
SELECT candidates FROM table_1342218_35 WHERE result = "Re-elected" AND first_elected = 1942 | CREATE TABLE table_1342218_35 (candidates VARCHAR, result VARCHAR, first_elected VARCHAR) | What candidate was re-elected and was first elected in 1942? |
SELECT candidates FROM table_1342218_35 WHERE district = "Ohio 9" | CREATE TABLE table_1342218_35 (candidates VARCHAR, district VARCHAR) | Who are the candidates in the election in the Ohio 9 district? |
SELECT MIN(first_elected) FROM table_1342218_35 WHERE incumbent = "Michael A. Feighan" | CREATE TABLE table_1342218_35 (first_elected INTEGER, incumbent VARCHAR) | What year was incumbent Michael A. Feighan first elected? |
SELECT party FROM table_1342218_35 WHERE district = "Ohio 5" | CREATE TABLE table_1342218_35 (party VARCHAR, district VARCHAR) | What party does the incumbent from the Ohio 5 district belong to? |
SELECT party FROM table_1342218_35 WHERE district = "Ohio 20" | CREATE TABLE table_1342218_35 (party VARCHAR, district VARCHAR) | What party does the incumbent from the Ohio 20 district belong to? |
SELECT party FROM table_1342218_35 WHERE district = "Ohio 7" | CREATE TABLE table_1342218_35 (party VARCHAR, district VARCHAR) | What party does the incumbent from the Ohio 7 district belong to? |
SELECT candidates FROM table_1342218_5 WHERE district = "Arkansas 2" | CREATE TABLE table_1342218_5 (candidates VARCHAR, district VARCHAR) | Who is the candidate for the district Arkansas 2? |
SELECT district FROM table_1342218_5 WHERE result = "Re-elected" AND incumbent = "Wilbur Mills" | CREATE TABLE table_1342218_5 (district VARCHAR, result VARCHAR, incumbent VARCHAR) | Which district has the incumbent Wilbur Mills and a re-elected result? |
SELECT first_elected FROM table_1342218_43 WHERE district = "Texas 2" | CREATE TABLE table_1342218_43 (first_elected VARCHAR, district VARCHAR) | What year was first-elected for the row of Texas 2? |
SELECT result FROM table_1342218_43 WHERE incumbent = "Milton H. West" | CREATE TABLE table_1342218_43 (result VARCHAR, incumbent VARCHAR) | What was the result for the incumbent Milton H. West? |