combined_text
stringlengths
106
1.05k
###question:what is the result where the candidates is robert l. f. sikes (d) unopposed?###answer:SELECT result FROM table_1341672_10 WHERE candidates = "Robert L. F. Sikes (D) Unopposed"###context:CREATE TABLE table_1341672_10 (result VARCHAR, candidates VARCHAR)
###question:who is the incumbent where the candidates is william v. chappell, jr. (d) unopposed?###answer:SELECT incumbent FROM table_1341672_10 WHERE candidates = "William V. Chappell, Jr. (D) Unopposed"###context:CREATE TABLE table_1341672_10 (incumbent VARCHAR, candidates VARCHAR)
###question:what is the district where the incumbent is james a. haley?###answer:SELECT district FROM table_1341672_10 WHERE incumbent = "James A. Haley"###context:CREATE TABLE table_1341672_10 (district VARCHAR, incumbent VARCHAR)
###question:who are the candidates where the district is florida 8?###answer:SELECT candidates FROM table_1341672_10 WHERE district = "Florida 8"###context:CREATE TABLE table_1341672_10 (candidates VARCHAR, district VARCHAR)
###question:what year was the first elected incumbant Sidney R. Yates?###answer:SELECT first_elected FROM table_1341690_13 WHERE incumbent = "Sidney R. Yates"###context:CREATE TABLE table_1341690_13 (first_elected VARCHAR, incumbent VARCHAR)
###question:How many incumbents are there in district Louisiana 5?###answer:SELECT COUNT(incumbent) FROM table_1341690_18 WHERE district = "Louisiana 5"###context:CREATE TABLE table_1341690_18 (incumbent VARCHAR, district VARCHAR)
###question:How many incumbents resulted in a lost renomination republican gain?###answer:SELECT COUNT(incumbent) FROM table_1341690_18 WHERE result = "Lost renomination Republican gain"###context:CREATE TABLE table_1341690_18 (incumbent VARCHAR, result VARCHAR)
###question:In which district is the incumbent John Breaux?###answer:SELECT district FROM table_1341690_18 WHERE incumbent = "John Breaux"###context:CREATE TABLE table_1341690_18 (district VARCHAR, incumbent VARCHAR)
###question:What year was Otto Passman (d) unopposed first elected?###answer:SELECT MAX(first_elected) FROM table_1341690_18 WHERE candidates = "Otto Passman (D) Unopposed"###context:CREATE TABLE table_1341690_18 (first_elected INTEGER, candidates VARCHAR)
###question:What were the results when the incumbent was John Breaux?###answer:SELECT result FROM table_1341690_18 WHERE incumbent = "John Breaux"###context:CREATE TABLE table_1341690_18 (result VARCHAR, incumbent VARCHAR)
###question:Name the candidates for texas 1###answer:SELECT candidates FROM table_1341690_43 WHERE district = "Texas 1"###context:CREATE TABLE table_1341690_43 (candidates VARCHAR, district VARCHAR)
###question:Name the incumbent for district texas 12###answer:SELECT incumbent FROM table_1341690_43 WHERE district = "Texas 12"###context:CREATE TABLE table_1341690_43 (incumbent VARCHAR, district VARCHAR)
###question:Name the candidates for texas 20###answer:SELECT candidates FROM table_1341690_43 WHERE district = "Texas 20"###context:CREATE TABLE table_1341690_43 (candidates VARCHAR, district VARCHAR)
###question:what is the district with the candidates edward boland (d) unopposed?###answer:SELECT district FROM table_1341690_21 WHERE candidates = "Edward Boland (D) Unopposed"###context:CREATE TABLE table_1341690_21 (district VARCHAR, candidates VARCHAR)
###question:what is the party where the candidates are edward boland (d) unopposed?###answer:SELECT party FROM table_1341690_21 WHERE candidates = "Edward Boland (D) Unopposed"###context:CREATE TABLE table_1341690_21 (party VARCHAR, candidates VARCHAR)
###question:what is the party where the incumbent is edward boland?###answer:SELECT party FROM table_1341690_21 WHERE incumbent = "Edward Boland"###context:CREATE TABLE table_1341690_21 (party VARCHAR, incumbent VARCHAR)
###question:How many times was the candidates paul tsongas (d) 60.6% paul w. cronin (r) 39.4%?###answer:SELECT COUNT(incumbent) FROM table_1341690_21 WHERE candidates = "Paul Tsongas (D) 60.6% Paul W. Cronin (R) 39.4%"###context:CREATE TABLE table_1341690_21 (incumbent VARCHAR, candidates VARCHAR)
###question:List all candidates in elections where the incumbent politician is Goodloe Byron.###answer:SELECT candidates FROM table_1341690_20 WHERE incumbent = "Goodloe Byron"###context:CREATE TABLE table_1341690_20 (candidates VARCHAR, incumbent VARCHAR)
###question:How many instances are there of party in the situation where Robert Bauman is the incumbent politician?###answer:SELECT COUNT(party) FROM table_1341690_20 WHERE incumbent = "Robert Bauman"###context:CREATE TABLE table_1341690_20 (party VARCHAR, incumbent VARCHAR)
###question:What is the party of the election in which Robert Bauman is the incumbent?###answer:SELECT party FROM table_1341690_20 WHERE incumbent = "Robert Bauman"###context:CREATE TABLE table_1341690_20 (party VARCHAR, incumbent VARCHAR)
###question:List all results where the voting district is Maryland 7.###answer:SELECT result FROM table_1341690_20 WHERE district = "Maryland 7"###context:CREATE TABLE table_1341690_20 (result VARCHAR, district VARCHAR)
###question:What are all the results where Robert Bauman is the incumbent politician?###answer:SELECT result FROM table_1341690_20 WHERE incumbent = "Robert Bauman"###context:CREATE TABLE table_1341690_20 (result VARCHAR, incumbent VARCHAR)
###question:Who were the candidates in the district won by the incumbent Del Latta?###answer:SELECT candidates FROM table_1341690_35 WHERE incumbent = "Del Latta"###context:CREATE TABLE table_1341690_35 (candidates VARCHAR, incumbent VARCHAR)
###question:Who were the candidates in the districts that was first elected in 1966?###answer:SELECT candidates FROM table_1341690_35 WHERE first_elected = 1966###context:CREATE TABLE table_1341690_35 (candidates VARCHAR, first_elected VARCHAR)
###question:Who was running for office in the California 10 district?###answer:SELECT candidates FROM table_1341690_5 WHERE district = "California 10"###context:CREATE TABLE table_1341690_5 (candidates VARCHAR, district VARCHAR)
###question:How many parties won the election in the California 23 district?###answer:SELECT COUNT(party) FROM table_1341690_5 WHERE district = "California 23"###context:CREATE TABLE table_1341690_5 (party VARCHAR, district VARCHAR)
###question:What republican candidate was first elected most recently?###answer:SELECT MAX(first_elected) FROM table_1341690_5 WHERE party = "Republican"###context:CREATE TABLE table_1341690_5 (first_elected INTEGER, party VARCHAR)
###question:Phillip Landrum was first elected in 1952 from the ninth district of Georgia.###answer:SELECT district FROM table_1341707_12 WHERE first_elected = 1952###context:CREATE TABLE table_1341707_12 (district VARCHAR, first_elected VARCHAR)
###question:What party did the incumbent from the Illinois 12 district belong to? ###answer:SELECT party FROM table_1341707_15 WHERE district = "Illinois 12"###context:CREATE TABLE table_1341707_15 (party VARCHAR, district VARCHAR)
###question:Who was the democratic incumbent in the Illinois 11 district who was re-elected? ###answer:SELECT incumbent FROM table_1341707_15 WHERE party = "Democratic" AND result = "Re-elected" AND district = "Illinois 11"###context:CREATE TABLE table_1341707_15 (incumbent VARCHAR, district VARCHAR, party VARCHAR, res...
###question:Which incumbent was first elected in 1964? ###answer:SELECT incumbent FROM table_1341707_15 WHERE first_elected = "1964"###context:CREATE TABLE table_1341707_15 (incumbent VARCHAR, first_elected VARCHAR)
###question:What party did the incumbent from the Illinois 1 district belong to? ###answer:SELECT party FROM table_1341707_15 WHERE district = "Illinois 1"###context:CREATE TABLE table_1341707_15 (party VARCHAR, district VARCHAR)
###question:What candidates ran in the election with don fuqua?###answer:SELECT candidates FROM table_1341690_9 WHERE incumbent = "Don Fuqua"###context:CREATE TABLE table_1341690_9 (candidates VARCHAR, incumbent VARCHAR)
###question:How many incumbent candidates in the election featuring sam m. gibbons (d) unopposed?###answer:SELECT COUNT(incumbent) FROM table_1341690_9 WHERE candidates = "Sam M. Gibbons (D) Unopposed"###context:CREATE TABLE table_1341690_9 (incumbent VARCHAR, candidates VARCHAR)
###question:What is the last year that someone is first elected?###answer:SELECT MAX(first_elected) FROM table_1341690_9###context:CREATE TABLE table_1341690_9 (first_elected INTEGER)
###question:Who was the incumbent in 1940?###answer:SELECT incumbent FROM table_1341690_9 WHERE first_elected = 1940###context:CREATE TABLE table_1341690_9 (incumbent VARCHAR, first_elected VARCHAR)
###question:what is the party when the incumbent is sidney r. yates?###answer:SELECT party FROM table_1341718_14 WHERE incumbent = "Sidney R. Yates"###context:CREATE TABLE table_1341718_14 (party VARCHAR, incumbent VARCHAR)
###question:what was the year first elected for district illinois 7?###answer:SELECT MAX(first_elected) FROM table_1341718_14 WHERE district = "Illinois 7"###context:CREATE TABLE table_1341718_14 (first_elected INTEGER, district VARCHAR)
###question:how many times was the candidates phil crane (r) 58.0% edward a. warman (d) 42.0%?###answer:SELECT COUNT(incumbent) FROM table_1341718_14 WHERE candidates = "Phil Crane (R) 58.0% Edward A. Warman (D) 42.0%"###context:CREATE TABLE table_1341718_14 (incumbent VARCHAR, candidates VARCHAR)
###question:how many times was it the district illinois 18?###answer:SELECT COUNT(candidates) FROM table_1341718_14 WHERE district = "Illinois 18"###context:CREATE TABLE table_1341718_14 (candidates VARCHAR, district VARCHAR)
###question:who were the candidates when the incumbent was ed derwinski?###answer:SELECT candidates FROM table_1341718_14 WHERE incumbent = "Ed Derwinski"###context:CREATE TABLE table_1341718_14 (candidates VARCHAR, incumbent VARCHAR)
###question: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%?###answer: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%"###context:CREATE TABLE t...
###question:Who is the incumbent in district Texas 15?###answer:SELECT incumbent FROM table_1341707_45 WHERE district = "Texas 15"###context:CREATE TABLE table_1341707_45 (incumbent VARCHAR, district VARCHAR)
###question:Which district elected incumbent Earle Cabell?###answer:SELECT district FROM table_1341718_44 WHERE incumbent = "Earle Cabell"###context:CREATE TABLE table_1341718_44 (district VARCHAR, incumbent VARCHAR)
###question:What was the result when Ray Roberts was elected?###answer:SELECT result FROM table_1341718_44 WHERE incumbent = "Ray Roberts"###context:CREATE TABLE table_1341718_44 (result VARCHAR, incumbent VARCHAR)
###question:What is the highest year that a candidate was first elected?###answer:SELECT MAX(first_elected) FROM table_1341738_11###context:CREATE TABLE table_1341738_11 (first_elected INTEGER)
###question:Incumbent Bill Harsha was the winner in an election in which the candidates were who?###answer:SELECT candidates FROM table_1341718_36 WHERE incumbent = "Bill Harsha"###context:CREATE TABLE table_1341718_36 (candidates VARCHAR, incumbent VARCHAR)
###question:What was the party of the first elected candidate in 1954?###answer:SELECT party FROM table_1341738_36 WHERE first_elected = 1954###context:CREATE TABLE table_1341738_36 (party VARCHAR, first_elected VARCHAR)
###question:How many districts does Donald D. Clancy represent?###answer:SELECT COUNT(district) FROM table_1341738_36 WHERE incumbent = "Donald D. Clancy"###context:CREATE TABLE table_1341738_36 (district VARCHAR, incumbent VARCHAR)
###question:Which party is Lawrence H. Fountain part of?###answer:SELECT party FROM table_1341738_34 WHERE incumbent = "Lawrence H. Fountain"###context:CREATE TABLE table_1341738_34 (party VARCHAR, incumbent VARCHAR)
###question:Who was the first person elected in North Carolina 8?###answer:SELECT first_elected FROM table_1341738_34 WHERE district = "North Carolina 8"###context:CREATE TABLE table_1341738_34 (first_elected VARCHAR, district VARCHAR)
###question:who was the candidate elected to the democratic party in 1952?###answer:SELECT candidates FROM table_1341738_34 WHERE first_elected = "1952" AND party = "Democratic"###context:CREATE TABLE table_1341738_34 (candidates VARCHAR, first_elected VARCHAR, party VARCHAR)
###question:What district did Joe Waggonner belong to?###answer:SELECT district FROM table_1341738_19 WHERE incumbent = "Joe Waggonner"###context:CREATE TABLE table_1341738_19 (district VARCHAR, incumbent VARCHAR)
###question:What is the name of the incumbent who was first eleccted in 1940?###answer:SELECT incumbent FROM table_1341738_19 WHERE first_elected = 1940###context:CREATE TABLE table_1341738_19 (incumbent VARCHAR, first_elected VARCHAR)
###question:What party does incumbent edwin reinecke represent?###answer:SELECT party FROM table_1341738_6 WHERE incumbent = "Edwin Reinecke"###context:CREATE TABLE table_1341738_6 (party VARCHAR, incumbent VARCHAR)
###question:Who were the candidates in the election that featured incumbent don edwards?###answer:SELECT candidates FROM table_1341738_6 WHERE incumbent = "Don Edwards"###context:CREATE TABLE table_1341738_6 (candidates VARCHAR, incumbent VARCHAR)
###question:Who's the incumbent of Indiana 4 district?###answer:SELECT incumbent FROM table_1341843_15 WHERE district = "Indiana 4"###context:CREATE TABLE table_1341843_15 (incumbent VARCHAR, district VARCHAR)
###question:Who's the incumbent of the district with first election held in 1950?###answer:SELECT incumbent FROM table_1341843_15 WHERE first_elected = "1950"###context:CREATE TABLE table_1341843_15 (incumbent VARCHAR, first_elected VARCHAR)
###question:Who was featured in the election of charles edward bennett redistricted from 2nd?###answer:SELECT candidates FROM table_1341843_10 WHERE incumbent = "Charles Edward Bennett Redistricted from 2nd"###context:CREATE TABLE table_1341843_10 (candidates VARCHAR, incumbent VARCHAR)
###question:Name the first elected for the republican party###answer:SELECT first_elected FROM table_1341865_23 WHERE party = "Republican"###context:CREATE TABLE table_1341865_23 (first_elected VARCHAR, party VARCHAR)
###question:Name the district with philip philbin###answer:SELECT district FROM table_1341865_23 WHERE incumbent = "Philip Philbin"###context:CREATE TABLE table_1341865_23 (district VARCHAR, incumbent VARCHAR)
###question:Name the party with edward boland###answer:SELECT party FROM table_1341865_23 WHERE incumbent = "Edward Boland"###context:CREATE TABLE table_1341865_23 (party VARCHAR, incumbent VARCHAR)
###question:What was the district who had their first elected in 1966?###answer:SELECT district FROM table_1341843_44 WHERE first_elected = 1966###context:CREATE TABLE table_1341843_44 (district VARCHAR, first_elected VARCHAR)
###question:Who was the candidate when the incumbent was Richard C. White?###answer:SELECT candidates FROM table_1341843_44 WHERE incumbent = "Richard C. White"###context:CREATE TABLE table_1341843_44 (candidates VARCHAR, incumbent VARCHAR)
###question:What district did Donald Ray Matthews belong to?###answer:SELECT district FROM table_1341865_11 WHERE incumbent = "Donald Ray Matthews"###context:CREATE TABLE table_1341865_11 (district VARCHAR, incumbent VARCHAR)
###question:What party did Don Fuqua belong to?###answer:SELECT party FROM table_1341865_11 WHERE incumbent = "Don Fuqua"###context:CREATE TABLE table_1341865_11 (party VARCHAR, incumbent VARCHAR)
###question:How many parties won the election in the Louisiana 5 district?###answer:SELECT COUNT(party) FROM table_1341865_20 WHERE district = "Louisiana 5"###context:CREATE TABLE table_1341865_20 (party VARCHAR, district VARCHAR)
###question:How many candidates were elected in the Louisiana 4 district?###answer:SELECT COUNT(first_elected) FROM table_1341865_20 WHERE district = "Louisiana 4"###context:CREATE TABLE table_1341865_20 (first_elected VARCHAR, district VARCHAR)
###question:Who was the winner in the Louisiana 7 district?###answer:SELECT incumbent FROM table_1341865_20 WHERE district = "Louisiana 7"###context:CREATE TABLE table_1341865_20 (incumbent VARCHAR, district VARCHAR)
###question:what's party with district being tennessee 3###answer:SELECT party FROM table_1341865_44 WHERE district = "Tennessee 3"###context:CREATE TABLE table_1341865_44 (party VARCHAR, district VARCHAR)
###question:how many party with district being tennessee 1###answer:SELECT COUNT(party) FROM table_1341865_44 WHERE district = "Tennessee 1"###context:CREATE TABLE table_1341865_44 (party VARCHAR, district VARCHAR)
###question: how many incumbent with district  being tennessee 5###answer:SELECT COUNT(incumbent) FROM table_1341865_44 WHERE district = "Tennessee 5"###context:CREATE TABLE table_1341865_44 (incumbent VARCHAR, district VARCHAR)
###question:what's incumbent with district being tennessee 5###answer:SELECT incumbent FROM table_1341865_44 WHERE district = "Tennessee 5"###context:CREATE TABLE table_1341865_44 (incumbent VARCHAR, district VARCHAR)
###question:Who ran in the race for Jack Brooks' seat?###answer:SELECT candidates FROM table_1341865_45 WHERE incumbent = "Jack Brooks"###context:CREATE TABLE table_1341865_45 (candidates VARCHAR, incumbent VARCHAR)
###question:which section did seymour halpern run in###answer:SELECT district FROM table_1341865_34 WHERE incumbent = "Seymour Halpern"###context:CREATE TABLE table_1341865_34 (district VARCHAR, incumbent VARCHAR)
###question:What district is incumbent albert w. johnson from?###answer:SELECT district FROM table_1341865_40 WHERE incumbent = "Albert W. Johnson"###context:CREATE TABLE table_1341865_40 (district VARCHAR, incumbent VARCHAR)
###question:How many times was frank m. clark the incumbent?###answer:SELECT COUNT(result) FROM table_1341865_40 WHERE incumbent = "Frank M. Clark"###context:CREATE TABLE table_1341865_40 (result VARCHAR, incumbent VARCHAR)
###question:What district is incumbent elmer j. holland from?###answer:SELECT district FROM table_1341865_40 WHERE incumbent = "Elmer J. Holland"###context:CREATE TABLE table_1341865_40 (district VARCHAR, incumbent VARCHAR)
###question:To which party does Frank T. Bow belong?###answer:SELECT party FROM table_1341865_37 WHERE incumbent = "Frank T. Bow"###context:CREATE TABLE table_1341865_37 (party VARCHAR, incumbent VARCHAR)
###question:Who ran in the race for the seat of incumbent Carl W. Rich?###answer:SELECT candidates FROM table_1341865_37 WHERE incumbent = "Carl W. Rich"###context:CREATE TABLE table_1341865_37 (candidates VARCHAR, incumbent VARCHAR)
###question:In which district is the incumbent Carl W. Rich?###answer:SELECT district FROM table_1341865_37 WHERE incumbent = "Carl W. Rich"###context:CREATE TABLE table_1341865_37 (district VARCHAR, incumbent VARCHAR)
###question:Name the candidates where incumbent Carl Vinson is?###answer:SELECT candidates FROM table_1341884_12 WHERE incumbent = "Carl Vinson"###context:CREATE TABLE table_1341884_12 (candidates VARCHAR, incumbent VARCHAR)
###question:Name the candidates for massachusetts 8###answer:SELECT candidates FROM table_1341884_23 WHERE district = "Massachusetts 8"###context:CREATE TABLE table_1341884_23 (candidates VARCHAR, district VARCHAR)
###question:What candidates were in the election when a republican was re-elected?###answer:SELECT candidates FROM table_1341884_19 WHERE result = "Re-elected" AND party = "Republican"###context:CREATE TABLE table_1341884_19 (candidates VARCHAR, result VARCHAR, party VARCHAR)
###question:What district is incumbent frank chelf from?###answer:SELECT district FROM table_1341884_19 WHERE incumbent = "Frank Chelf"###context:CREATE TABLE table_1341884_19 (district VARCHAR, incumbent VARCHAR)
###question:How many districts represented Edwin E. Willis?###answer:SELECT COUNT(district) FROM table_1341884_20 WHERE incumbent = "Edwin E. Willis"###context:CREATE TABLE table_1341884_20 (district VARCHAR, incumbent VARCHAR)
###question:Who were all the candidates when the first elected year was 1961?###answer:SELECT candidates FROM table_1341884_20 WHERE first_elected = 1961###context:CREATE TABLE table_1341884_20 (candidates VARCHAR, first_elected VARCHAR)
###question:What party did Hale Boggs belong to?###answer:SELECT party FROM table_1341884_20 WHERE incumbent = "Hale Boggs"###context:CREATE TABLE table_1341884_20 (party VARCHAR, incumbent VARCHAR)
###question:what is the political affiliation of the texas 12 district###answer:SELECT party FROM table_1341884_45 WHERE district = "Texas 12"###context:CREATE TABLE table_1341884_45 (party VARCHAR, district VARCHAR)
###question:how many voted in the texas 6 section###answer:SELECT first_elected FROM table_1341884_45 WHERE district = "Texas 6"###context:CREATE TABLE table_1341884_45 (first_elected VARCHAR, district VARCHAR)
###question:what is the political affiliation of ray roberts###answer:SELECT party FROM table_1341884_45 WHERE incumbent = "Ray Roberts"###context:CREATE TABLE table_1341884_45 (party VARCHAR, incumbent VARCHAR)
###question:What district featured an election between james a. byrne (d) 59.3% joseph r. burns (r) 40.7%?###answer:SELECT district FROM table_1341884_40 WHERE candidates = "James A. Byrne (D) 59.3% Joseph R. Burns (R) 40.7%"###context:CREATE TABLE table_1341884_40 (district VARCHAR, candidates VARCHAR)
###question:Name the candidates for massachusetts 6###answer:SELECT candidates FROM table_1341897_23 WHERE district = "Massachusetts 6"###context:CREATE TABLE table_1341897_23 (candidates VARCHAR, district VARCHAR)
###question:Name the result for massachusetts 3###answer:SELECT result FROM table_1341897_23 WHERE district = "Massachusetts 3"###context:CREATE TABLE table_1341897_23 (result VARCHAR, district VARCHAR)
###question:Name the candidate first elected in 1942###answer:SELECT candidates FROM table_1341897_23 WHERE first_elected = 1942###context:CREATE TABLE table_1341897_23 (candidates VARCHAR, first_elected VARCHAR)
###question:Name the party for massachusetts 3###answer:SELECT party FROM table_1341897_23 WHERE district = "Massachusetts 3"###context:CREATE TABLE table_1341897_23 (party VARCHAR, district VARCHAR)
###question:What district is incumbent albert rains from?###answer:SELECT district FROM table_1341897_3 WHERE incumbent = "Albert Rains"###context:CREATE TABLE table_1341897_3 (district VARCHAR, incumbent VARCHAR)
###question:How many candidates represent the district of kenneth a. roberts?###answer:SELECT COUNT(candidates) FROM table_1341897_3 WHERE incumbent = "Kenneth A. Roberts"###context:CREATE TABLE table_1341897_3 (candidates VARCHAR, incumbent VARCHAR)
###question:Who was the incumbent in the Arkansas 2 district election? ###answer:SELECT incumbent FROM table_1341897_6 WHERE district = "Arkansas 2"###context:CREATE TABLE table_1341897_6 (incumbent VARCHAR, district VARCHAR)
###question:When was Dale Alford first elected in the Arkansas 5 district? ###answer:SELECT first_elected FROM table_1341897_6 WHERE district = "Arkansas 5"###context:CREATE TABLE table_1341897_6 (first_elected VARCHAR, district VARCHAR)