answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT result FROM table_1341690_20 WHERE incumbent = "Robert Bauman" | CREATE TABLE table_1341690_20 (result VARCHAR, incumbent VARCHAR) | What are all the results where Robert Bauman is the incumbent politician? |
SELECT candidates FROM table_1341690_35 WHERE incumbent = "Del Latta" | CREATE TABLE table_1341690_35 (candidates VARCHAR, incumbent VARCHAR) | Who were the candidates in the district won by the incumbent Del Latta? |
SELECT candidates FROM table_1341690_35 WHERE first_elected = 1966 | CREATE TABLE table_1341690_35 (candidates VARCHAR, first_elected VARCHAR) | Who were the candidates in the districts that was first elected in 1966? |
SELECT candidates FROM table_1341690_5 WHERE district = "California 10" | CREATE TABLE table_1341690_5 (candidates VARCHAR, district VARCHAR) | Who was running for office in the California 10 district? |
SELECT COUNT(party) FROM table_1341690_5 WHERE district = "California 23" | CREATE TABLE table_1341690_5 (party VARCHAR, district VARCHAR) | How many parties won the election in the California 23 district? |
SELECT MAX(first_elected) FROM table_1341690_5 WHERE party = "Republican" | CREATE TABLE table_1341690_5 (first_elected INTEGER, party VARCHAR) | What republican candidate was first elected most recently? |
SELECT district FROM table_1341707_12 WHERE first_elected = 1952 | CREATE TABLE table_1341707_12 (district VARCHAR, first_elected VARCHAR) | Phillip Landrum was first elected in 1952 from the ninth district of Georgia. |
SELECT party FROM table_1341707_15 WHERE district = "Illinois 12" | CREATE TABLE table_1341707_15 (party VARCHAR, district VARCHAR) | What party did the incumbent from the Illinois 12 district belong to? |
SELECT incumbent FROM table_1341707_15 WHERE party = "Democratic" AND result = "Re-elected" AND district = "Illinois 11" | CREATE TABLE table_1341707_15 (incumbent VARCHAR, district VARCHAR, party VARCHAR, result VARCHAR) | Who was the democratic incumbent in the Illinois 11 district who was re-elected? |
SELECT incumbent FROM table_1341707_15 WHERE first_elected = "1964" | CREATE TABLE table_1341707_15 (incumbent VARCHAR, first_elected VARCHAR) | Which incumbent was first elected in 1964? |
SELECT party FROM table_1341707_15 WHERE district = "Illinois 1" | CREATE TABLE table_1341707_15 (party VARCHAR, district VARCHAR) | What party did the incumbent from the Illinois 1 district belong to? |
SELECT candidates FROM table_1341690_9 WHERE incumbent = "Don Fuqua" | CREATE TABLE table_1341690_9 (candidates VARCHAR, incumbent VARCHAR) | What candidates ran in the election with don fuqua? |
SELECT COUNT(incumbent) FROM table_1341690_9 WHERE candidates = "Sam M. Gibbons (D) Unopposed" | CREATE TABLE table_1341690_9 (incumbent VARCHAR, candidates VARCHAR) | How many incumbent candidates in the election featuring sam m. gibbons (d) unopposed? |
SELECT MAX(first_elected) FROM table_1341690_9 | CREATE TABLE table_1341690_9 (first_elected INTEGER) | What is the last year that someone is first elected? |
SELECT incumbent FROM table_1341690_9 WHERE first_elected = 1940 | CREATE TABLE table_1341690_9 (incumbent VARCHAR, first_elected VARCHAR) | Who was the incumbent in 1940? |
SELECT party FROM table_1341718_14 WHERE incumbent = "Sidney R. Yates" | CREATE TABLE table_1341718_14 (party VARCHAR, incumbent VARCHAR) | what is the party when the incumbent is sidney r. yates? |
SELECT MAX(first_elected) FROM table_1341718_14 WHERE district = "Illinois 7" | CREATE TABLE table_1341718_14 (first_elected INTEGER, district VARCHAR) | what was the year first elected for district illinois 7? |
SELECT COUNT(incumbent) FROM table_1341718_14 WHERE candidates = "Phil Crane (R) 58.0% Edward A. Warman (D) 42.0%" | CREATE TABLE table_1341718_14 (incumbent VARCHAR, candidates VARCHAR) | how many times was the candidates phil crane (r) 58.0% edward a. warman (d) 42.0%? |
SELECT COUNT(candidates) FROM table_1341718_14 WHERE district = "Illinois 18" | CREATE TABLE table_1341718_14 (candidates VARCHAR, district VARCHAR) | how many times was it the district illinois 18? |
SELECT candidates FROM table_1341718_14 WHERE incumbent = "Ed Derwinski" | CREATE TABLE table_1341718_14 (candidates VARCHAR, incumbent VARCHAR) | who were the candidates when the incumbent was ed derwinski? |
SELECT MIN(first_elected) FROM table_1341718_14 WHERE party = "Republican" AND candidates = "Robert H. Michel (R) 66.1% Rosa Lee Fox (D) 33.9%" | CREATE TABLE table_1341718_14 (first_elected INTEGER, party VARCHAR, candidates VARCHAR) | When was the first elected when the party was republican and the candidate were robert h. michel (r) 66.1% rosa lee fox (d) 33.9%? |
SELECT incumbent FROM table_1341707_45 WHERE district = "Texas 15" | CREATE TABLE table_1341707_45 (incumbent VARCHAR, district VARCHAR) | Who is the incumbent in district Texas 15? |
SELECT district FROM table_1341718_44 WHERE incumbent = "Earle Cabell" | CREATE TABLE table_1341718_44 (district VARCHAR, incumbent VARCHAR) | Which district elected incumbent Earle Cabell? |
SELECT result FROM table_1341718_44 WHERE incumbent = "Ray Roberts" | CREATE TABLE table_1341718_44 (result VARCHAR, incumbent VARCHAR) | What was the result when Ray Roberts was elected? |
SELECT MAX(first_elected) FROM table_1341738_11 | CREATE TABLE table_1341738_11 (first_elected INTEGER) | What is the highest year that a candidate was first elected? |
SELECT candidates FROM table_1341718_36 WHERE incumbent = "Bill Harsha" | CREATE TABLE table_1341718_36 (candidates VARCHAR, incumbent VARCHAR) | Incumbent Bill Harsha was the winner in an election in which the candidates were who? |
SELECT party FROM table_1341738_36 WHERE first_elected = 1954 | CREATE TABLE table_1341738_36 (party VARCHAR, first_elected VARCHAR) | What was the party of the first elected candidate in 1954? |
SELECT COUNT(district) FROM table_1341738_36 WHERE incumbent = "Donald D. Clancy" | CREATE TABLE table_1341738_36 (district VARCHAR, incumbent VARCHAR) | How many districts does Donald D. Clancy represent? |
SELECT party FROM table_1341738_34 WHERE incumbent = "Lawrence H. Fountain" | CREATE TABLE table_1341738_34 (party VARCHAR, incumbent VARCHAR) | Which party is Lawrence H. Fountain part of? |
SELECT first_elected FROM table_1341738_34 WHERE district = "North Carolina 8" | CREATE TABLE table_1341738_34 (first_elected VARCHAR, district VARCHAR) | Who was the first person elected in North Carolina 8? |
SELECT candidates FROM table_1341738_34 WHERE first_elected = "1952" AND party = "Democratic" | CREATE TABLE table_1341738_34 (candidates VARCHAR, first_elected VARCHAR, party VARCHAR) | who was the candidate elected to the democratic party in 1952? |
SELECT district FROM table_1341738_19 WHERE incumbent = "Joe Waggonner" | CREATE TABLE table_1341738_19 (district VARCHAR, incumbent VARCHAR) | What district did Joe Waggonner belong to? |
SELECT incumbent FROM table_1341738_19 WHERE first_elected = 1940 | CREATE TABLE table_1341738_19 (incumbent VARCHAR, first_elected VARCHAR) | What is the name of the incumbent who was first eleccted in 1940? |
SELECT party FROM table_1341738_6 WHERE incumbent = "Edwin Reinecke" | CREATE TABLE table_1341738_6 (party VARCHAR, incumbent VARCHAR) | What party does incumbent edwin reinecke represent? |
SELECT candidates FROM table_1341738_6 WHERE incumbent = "Don Edwards" | CREATE TABLE table_1341738_6 (candidates VARCHAR, incumbent VARCHAR) | Who were the candidates in the election that featured incumbent don edwards? |
SELECT incumbent FROM table_1341843_15 WHERE district = "Indiana 4" | CREATE TABLE table_1341843_15 (incumbent VARCHAR, district VARCHAR) | Who's the incumbent of Indiana 4 district? |
SELECT incumbent FROM table_1341843_15 WHERE first_elected = "1950" | CREATE TABLE table_1341843_15 (incumbent VARCHAR, first_elected VARCHAR) | Who's the incumbent of the district with first election held in 1950? |
SELECT candidates FROM table_1341843_10 WHERE incumbent = "Charles Edward Bennett Redistricted from 2nd" | CREATE TABLE table_1341843_10 (candidates VARCHAR, incumbent VARCHAR) | Who was featured in the election of charles edward bennett redistricted from 2nd? |
SELECT first_elected FROM table_1341865_23 WHERE party = "Republican" | CREATE TABLE table_1341865_23 (first_elected VARCHAR, party VARCHAR) | Name the first elected for the republican party |
SELECT district FROM table_1341865_23 WHERE incumbent = "Philip Philbin" | CREATE TABLE table_1341865_23 (district VARCHAR, incumbent VARCHAR) | Name the district with philip philbin |
SELECT party FROM table_1341865_23 WHERE incumbent = "Edward Boland" | CREATE TABLE table_1341865_23 (party VARCHAR, incumbent VARCHAR) | Name the party with edward boland |
SELECT district FROM table_1341843_44 WHERE first_elected = 1966 | CREATE TABLE table_1341843_44 (district VARCHAR, first_elected VARCHAR) | What was the district who had their first elected in 1966? |
SELECT candidates FROM table_1341843_44 WHERE incumbent = "Richard C. White" | CREATE TABLE table_1341843_44 (candidates VARCHAR, incumbent VARCHAR) | Who was the candidate when the incumbent was Richard C. White? |
SELECT district FROM table_1341865_11 WHERE incumbent = "Donald Ray Matthews" | CREATE TABLE table_1341865_11 (district VARCHAR, incumbent VARCHAR) | What district did Donald Ray Matthews belong to? |
SELECT party FROM table_1341865_11 WHERE incumbent = "Don Fuqua" | CREATE TABLE table_1341865_11 (party VARCHAR, incumbent VARCHAR) | What party did Don Fuqua belong to? |
SELECT COUNT(party) FROM table_1341865_20 WHERE district = "Louisiana 5" | CREATE TABLE table_1341865_20 (party VARCHAR, district VARCHAR) | How many parties won the election in the Louisiana 5 district? |
SELECT COUNT(first_elected) FROM table_1341865_20 WHERE district = "Louisiana 4" | CREATE TABLE table_1341865_20 (first_elected VARCHAR, district VARCHAR) | How many candidates were elected in the Louisiana 4 district? |
SELECT incumbent FROM table_1341865_20 WHERE district = "Louisiana 7" | CREATE TABLE table_1341865_20 (incumbent VARCHAR, district VARCHAR) | Who was the winner in the Louisiana 7 district? |
SELECT party FROM table_1341865_44 WHERE district = "Tennessee 3" | CREATE TABLE table_1341865_44 (party VARCHAR, district VARCHAR) | what's party with district being tennessee 3 |
SELECT COUNT(party) FROM table_1341865_44 WHERE district = "Tennessee 1" | CREATE TABLE table_1341865_44 (party VARCHAR, district VARCHAR) | how many party with district being tennessee 1 |
SELECT COUNT(incumbent) FROM table_1341865_44 WHERE district = "Tennessee 5" | CREATE TABLE table_1341865_44 (incumbent VARCHAR, district VARCHAR) | how many incumbent with district being tennessee 5 |
SELECT incumbent FROM table_1341865_44 WHERE district = "Tennessee 5" | CREATE TABLE table_1341865_44 (incumbent VARCHAR, district VARCHAR) | what's incumbent with district being tennessee 5 |
SELECT candidates FROM table_1341865_45 WHERE incumbent = "Jack Brooks" | CREATE TABLE table_1341865_45 (candidates VARCHAR, incumbent VARCHAR) | Who ran in the race for Jack Brooks' seat? |
SELECT district FROM table_1341865_34 WHERE incumbent = "Seymour Halpern" | CREATE TABLE table_1341865_34 (district VARCHAR, incumbent VARCHAR) | which section did seymour halpern run in |
SELECT district FROM table_1341865_40 WHERE incumbent = "Albert W. Johnson" | CREATE TABLE table_1341865_40 (district VARCHAR, incumbent VARCHAR) | What district is incumbent albert w. johnson from? |
SELECT COUNT(result) FROM table_1341865_40 WHERE incumbent = "Frank M. Clark" | CREATE TABLE table_1341865_40 (result VARCHAR, incumbent VARCHAR) | How many times was frank m. clark the incumbent? |
SELECT district FROM table_1341865_40 WHERE incumbent = "Elmer J. Holland" | CREATE TABLE table_1341865_40 (district VARCHAR, incumbent VARCHAR) | What district is incumbent elmer j. holland from? |
SELECT party FROM table_1341865_37 WHERE incumbent = "Frank T. Bow" | CREATE TABLE table_1341865_37 (party VARCHAR, incumbent VARCHAR) | To which party does Frank T. Bow belong? |
SELECT candidates FROM table_1341865_37 WHERE incumbent = "Carl W. Rich" | CREATE TABLE table_1341865_37 (candidates VARCHAR, incumbent VARCHAR) | Who ran in the race for the seat of incumbent Carl W. Rich? |
SELECT district FROM table_1341865_37 WHERE incumbent = "Carl W. Rich" | CREATE TABLE table_1341865_37 (district VARCHAR, incumbent VARCHAR) | In which district is the incumbent Carl W. Rich? |
SELECT candidates FROM table_1341884_12 WHERE incumbent = "Carl Vinson" | CREATE TABLE table_1341884_12 (candidates VARCHAR, incumbent VARCHAR) | Name the candidates where incumbent Carl Vinson is? |
SELECT candidates FROM table_1341884_23 WHERE district = "Massachusetts 8" | CREATE TABLE table_1341884_23 (candidates VARCHAR, district VARCHAR) | Name the candidates for massachusetts 8 |
SELECT candidates FROM table_1341884_19 WHERE result = "Re-elected" AND party = "Republican" | CREATE TABLE table_1341884_19 (candidates VARCHAR, result VARCHAR, party VARCHAR) | What candidates were in the election when a republican was re-elected? |
SELECT district FROM table_1341884_19 WHERE incumbent = "Frank Chelf" | CREATE TABLE table_1341884_19 (district VARCHAR, incumbent VARCHAR) | What district is incumbent frank chelf from? |
SELECT COUNT(district) FROM table_1341884_20 WHERE incumbent = "Edwin E. Willis" | CREATE TABLE table_1341884_20 (district VARCHAR, incumbent VARCHAR) | How many districts represented Edwin E. Willis? |
SELECT candidates FROM table_1341884_20 WHERE first_elected = 1961 | CREATE TABLE table_1341884_20 (candidates VARCHAR, first_elected VARCHAR) | Who were all the candidates when the first elected year was 1961? |
SELECT party FROM table_1341884_20 WHERE incumbent = "Hale Boggs" | CREATE TABLE table_1341884_20 (party VARCHAR, incumbent VARCHAR) | What party did Hale Boggs belong to? |
SELECT party FROM table_1341884_45 WHERE district = "Texas 12" | CREATE TABLE table_1341884_45 (party VARCHAR, district VARCHAR) | what is the political affiliation of the texas 12 district |
SELECT first_elected FROM table_1341884_45 WHERE district = "Texas 6" | CREATE TABLE table_1341884_45 (first_elected VARCHAR, district VARCHAR) | how many voted in the texas 6 section |
SELECT party FROM table_1341884_45 WHERE incumbent = "Ray Roberts" | CREATE TABLE table_1341884_45 (party VARCHAR, incumbent VARCHAR) | what is the political affiliation of ray roberts |
SELECT district FROM table_1341884_40 WHERE candidates = "James A. Byrne (D) 59.3% Joseph R. Burns (R) 40.7%" | CREATE TABLE table_1341884_40 (district VARCHAR, candidates VARCHAR) | What district featured an election between james a. byrne (d) 59.3% joseph r. burns (r) 40.7%? |
SELECT candidates FROM table_1341897_23 WHERE district = "Massachusetts 6" | CREATE TABLE table_1341897_23 (candidates VARCHAR, district VARCHAR) | Name the candidates for massachusetts 6 |
SELECT result FROM table_1341897_23 WHERE district = "Massachusetts 3" | CREATE TABLE table_1341897_23 (result VARCHAR, district VARCHAR) | Name the result for massachusetts 3 |
SELECT candidates FROM table_1341897_23 WHERE first_elected = 1942 | CREATE TABLE table_1341897_23 (candidates VARCHAR, first_elected VARCHAR) | Name the candidate first elected in 1942 |
SELECT party FROM table_1341897_23 WHERE district = "Massachusetts 3" | CREATE TABLE table_1341897_23 (party VARCHAR, district VARCHAR) | Name the party for massachusetts 3 |
SELECT district FROM table_1341897_3 WHERE incumbent = "Albert Rains" | CREATE TABLE table_1341897_3 (district VARCHAR, incumbent VARCHAR) | What district is incumbent albert rains from? |
SELECT COUNT(candidates) FROM table_1341897_3 WHERE incumbent = "Kenneth A. Roberts" | CREATE TABLE table_1341897_3 (candidates VARCHAR, incumbent VARCHAR) | How many candidates represent the district of kenneth a. roberts? |
SELECT incumbent FROM table_1341897_6 WHERE district = "Arkansas 2" | CREATE TABLE table_1341897_6 (incumbent VARCHAR, district VARCHAR) | Who was the incumbent in the Arkansas 2 district election? |
SELECT first_elected FROM table_1341897_6 WHERE district = "Arkansas 5" | CREATE TABLE table_1341897_6 (first_elected VARCHAR, district VARCHAR) | When was Dale Alford first elected in the Arkansas 5 district? |
SELECT MIN(first_elected) FROM table_1341897_6 WHERE district = "Arkansas 3" | CREATE TABLE table_1341897_6 (first_elected INTEGER, district VARCHAR) | When was James William Trimble first elected in the Arkansas 3 district? |
SELECT party FROM table_1341897_6 WHERE district = "Arkansas 5" | CREATE TABLE table_1341897_6 (party VARCHAR, district VARCHAR) | When party did the incumbent in the Arkansas 5 district belong to? |
SELECT result FROM table_1341897_6 WHERE district = "Arkansas 5" | CREATE TABLE table_1341897_6 (result VARCHAR, district VARCHAR) | What was the result in the Arkansas 5 district election? |
SELECT party FROM table_1341897_6 WHERE district = "Arkansas 2" | CREATE TABLE table_1341897_6 (party VARCHAR, district VARCHAR) | What party did the incumbent in the Arkansas 2 district belong to? |
SELECT COUNT(candidates) FROM table_1341897_42 WHERE incumbent = "William Jennings Bryan Dorn" | CREATE TABLE table_1341897_42 (candidates VARCHAR, incumbent VARCHAR) | How many candidates were there in the election for William Jennings Bryan Dorn's seat? |
SELECT MIN(first_elected) FROM table_1341897_42 | CREATE TABLE table_1341897_42 (first_elected INTEGER) | What is the earliest year that a candidate was first elected? |
SELECT result FROM table_1341897_45 WHERE incumbent = "Lindley Beckworth" | CREATE TABLE table_1341897_45 (result VARCHAR, incumbent VARCHAR) | What was the result of the election in which Lindley Beckworth was the incumbent? |
SELECT incumbent FROM table_1341897_45 WHERE first_elected = 1936 | CREATE TABLE table_1341897_45 (incumbent VARCHAR, first_elected VARCHAR) | Which incumbent was first elected in 1936? |
SELECT result FROM table_1341897_45 WHERE incumbent = "Walter E. Rogers" | CREATE TABLE table_1341897_45 (result VARCHAR, incumbent VARCHAR) | What was the result of the election in which Walter E. Rogers was the incumbent? |
SELECT first_elected FROM table_1341930_10 WHERE incumbent = "Paul Rogers" | CREATE TABLE table_1341930_10 (first_elected VARCHAR, incumbent VARCHAR) | When was Paul Rogers first elected? |
SELECT district FROM table_1341930_10 WHERE incumbent = "James A. Haley" | CREATE TABLE table_1341930_10 (district VARCHAR, incumbent VARCHAR) | Which district is James A. Haley from? |
SELECT MAX(first_elected) FROM table_1341930_10 | CREATE TABLE table_1341930_10 (first_elected INTEGER) | What year were the latest elections? |
SELECT district FROM table_1341930_24 WHERE incumbent = "John Bell Williams" | CREATE TABLE table_1341930_24 (district VARCHAR, incumbent VARCHAR) | In what district is the incumbent John Bell Williams? |
SELECT first_elected FROM table_1341930_24 WHERE incumbent = "John Bell Williams" | CREATE TABLE table_1341930_24 (first_elected VARCHAR, incumbent VARCHAR) | In what year was John Bell Williams first elected? |
SELECT COUNT(district) FROM table_1341930_24 WHERE incumbent = "W. Arthur Winstead" | CREATE TABLE table_1341930_24 (district VARCHAR, incumbent VARCHAR) | How many districts have W. Arthur Winstead as elected official? |
SELECT district FROM table_1341930_11 WHERE incumbent = "Carl Vinson" | CREATE TABLE table_1341930_11 (district VARCHAR, incumbent VARCHAR) | What is the district for carl vinson? |
SELECT MAX(first_elected) FROM table_1341930_11 WHERE incumbent = "James C. Davis" | CREATE TABLE table_1341930_11 (first_elected INTEGER, incumbent VARCHAR) | What is the most first elected for james c. davis? |
SELECT first_elected FROM table_1341930_11 WHERE district = "Georgia 4" | CREATE TABLE table_1341930_11 (first_elected VARCHAR, district VARCHAR) | What is the first elected for georgia 4? |
SELECT party FROM table_1341930_18 WHERE incumbent = "Edwin E. Willis" | CREATE TABLE table_1341930_18 (party VARCHAR, incumbent VARCHAR) | which affiliation does edwin e. willis affiliate with |
SELECT party FROM table_1341930_18 WHERE incumbent = "James H. Morrison" | CREATE TABLE table_1341930_18 (party VARCHAR, incumbent VARCHAR) | which affiliation is james h. morrison part of |
SELECT candidates FROM table_1341973_11 WHERE first_elected = 1914 | CREATE TABLE table_1341973_11 (candidates VARCHAR, first_elected VARCHAR) | Who is the candidate that was first elected in 1914? |