Dataset Viewer
Auto-converted to Parquet
answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT COUNT(district) FROM table_1341586_19 WHERE incumbent = "Lindy Boggs"
CREATE TABLE table_1341586_19 (district VARCHAR, incumbent VARCHAR)
how many聽district with聽incumbent聽being lindy boggs
SELECT result FROM table_1341586_19 WHERE candidates = "Billy Tauzin (D) Unopposed"
CREATE TABLE table_1341586_19 (result VARCHAR, candidates VARCHAR)
what's the聽result聽with聽candidates聽being billy tauzin (d) unopposed
SELECT COUNT(candidates) FROM table_1341586_19 WHERE result = "Retired to run for U. S. Senate Republican hold"
CREATE TABLE table_1341586_19 (candidates VARCHAR, result VARCHAR)
how many聽candidates聽with聽result聽being retired to run for u. s. senate republican hold
SELECT result FROM table_1341586_19 WHERE district = "Louisiana 2"
CREATE TABLE table_1341586_19 (result VARCHAR, district VARCHAR)
what's the聽result聽with聽district being louisiana 2
SELECT candidates FROM table_1341586_19 WHERE first_elected = 1977
CREATE TABLE table_1341586_19 (candidates VARCHAR, first_elected VARCHAR)
who is the the聽candidates聽with聽first elected聽being 1977
SELECT result FROM table_1341586_14 WHERE first_elected = 1980
CREATE TABLE table_1341586_14 (result VARCHAR, first_elected VARCHAR)
What happened to the incombent who was elected in 1980?
SELECT result FROM table_1341586_14 WHERE incumbent = "Terry L. Bruce"
CREATE TABLE table_1341586_14 (result VARCHAR, incumbent VARCHAR)
How did the election end for Terry L. Bruce?
SELECT party FROM table_1341586_36 WHERE incumbent = "Tony P. Hall"
CREATE TABLE table_1341586_36 (party VARCHAR, incumbent VARCHAR)
What party was Tony P. Hall affiliated with?
SELECT COUNT(first_elected) FROM table_1341586_43 WHERE district = "Tennessee 2"
CREATE TABLE table_1341586_43 (first_elected VARCHAR, district VARCHAR)
Name number first elected for tennessee 2?
SELECT candidates FROM table_1341586_43 WHERE first_elected = 1964
CREATE TABLE table_1341586_43 (candidates VARCHAR, first_elected VARCHAR)
Name the candidates in 1964
SELECT COUNT(candidates) FROM table_1341586_44 WHERE incumbent = "Mac Sweeney"
CREATE TABLE table_1341586_44 (candidates VARCHAR, incumbent VARCHAR)
How many districts have Mac Sweeney as incumbent?
SELECT candidates FROM table_1341586_44 WHERE incumbent = "Henry B. Gonzalez"
CREATE TABLE table_1341586_44 (candidates VARCHAR, incumbent VARCHAR)
Who are all the candidates vying for Henry B. Gonzalez' seat?
SELECT candidates FROM table_1341586_44 WHERE incumbent = "Albert Bustamante"
CREATE TABLE table_1341586_44 (candidates VARCHAR, incumbent VARCHAR)
Name all the candidates vying for Albert Bustamante's seat.
SELECT district FROM table_1341598_10 WHERE incumbent = "Michael Bilirakis"
CREATE TABLE table_1341598_10 (district VARCHAR, incumbent VARCHAR)
In what district was the incumbent Michael Bilirakis?
SELECT candidates FROM table_1341598_10 WHERE first_elected = 1980
CREATE TABLE table_1341598_10 (candidates VARCHAR, first_elected VARCHAR)
Who is the candidate in election where the incumbent was first elected in 1980?
SELECT party FROM table_1341598_10 WHERE incumbent = "Charles Edward Bennett"
CREATE TABLE table_1341598_10 (party VARCHAR, incumbent VARCHAR)
What party does incumbent Charles Edward Bennett belong to?
SELECT result FROM table_1341598_10 WHERE district = "Florida 18"
CREATE TABLE table_1341598_10 (result VARCHAR, district VARCHAR)
What was the result of the election in the Florida 18 district?
SELECT district FROM table_1341598_10 WHERE incumbent = "Lawrence J. Smith"
CREATE TABLE table_1341598_10 (district VARCHAR, incumbent VARCHAR)
In what district is the incumbent Lawrence J. Smith?
SELECT district FROM table_1341598_36 WHERE incumbent = "Del Latta"
CREATE TABLE table_1341598_36 (district VARCHAR, incumbent VARCHAR)
where is the district where the incumbent is del latta?
SELECT party FROM table_1341598_36 WHERE district = "Ohio 11"
CREATE TABLE table_1341598_36 (party VARCHAR, district VARCHAR)
what is the party for district ohio 11?
SELECT candidates FROM table_1341598_36 WHERE district = "Ohio 6"
CREATE TABLE table_1341598_36 (candidates VARCHAR, district VARCHAR)
who were the candidates for district ohio 6?
SELECT party FROM table_1341598_11 WHERE district = "Georgia 9"
CREATE TABLE table_1341598_11 (party VARCHAR, district VARCHAR)
What is the party for District Georgia 9?
SELECT district FROM table_1341598_11 WHERE first_elected = 1980
CREATE TABLE table_1341598_11 (district VARCHAR, first_elected VARCHAR)
Which district shows a first elected of 1980?
SELECT party FROM table_1341598_11 WHERE incumbent = "Wyche Fowler"
CREATE TABLE table_1341598_11 (party VARCHAR, incumbent VARCHAR)
What is the party for the incumbent Wyche Fowler?
SELECT candidates FROM table_1341598_11 WHERE incumbent = "George Darden"
CREATE TABLE table_1341598_11 (candidates VARCHAR, incumbent VARCHAR)
Who are shown as candidates when George Darden is the incumbent?
SELECT district FROM table_1341598_14 WHERE incumbent = "Dan Crane"
CREATE TABLE table_1341598_14 (district VARCHAR, incumbent VARCHAR)
What district has Dan Crane as incumbent?
SELECT district FROM table_1341598_39 WHERE incumbent = "Robert W. Edgar"
CREATE TABLE table_1341598_39 (district VARCHAR, incumbent VARCHAR)
In which district is Robert W. Edgar the incumbent?
SELECT party FROM table_1341598_39 WHERE incumbent = "Robert W. Edgar"
CREATE TABLE table_1341598_39 (party VARCHAR, incumbent VARCHAR)
To which party does Robert W. Edgar belong?
SELECT district FROM table_1341598_44 WHERE incumbent = "Jack Hightower"
CREATE TABLE table_1341598_44 (district VARCHAR, incumbent VARCHAR)
What district is incumbent jack hightower from?
SELECT MIN(first_elected) FROM table_1341598_44 WHERE candidates = "Tom Loeffler (R) 80.6% Joe Sullivan (D) 19.4%"
CREATE TABLE table_1341598_44 (first_elected INTEGER, candidates VARCHAR)
What year were the election results tom loeffler (r) 80.6% joe sullivan (d) 19.4%?
SELECT incumbent FROM table_1341598_44 WHERE district = "Texas 22"
CREATE TABLE table_1341598_44 (incumbent VARCHAR, district VARCHAR)
What incumbent won the district of texas 22?
SELECT incumbent FROM table_1341604_19 WHERE district = "Louisiana 1"
CREATE TABLE table_1341604_19 (incumbent VARCHAR, district VARCHAR)
Who's the incumbent of the Louisiana 1 district?
SELECT candidates FROM table_1341604_19 WHERE district = "Louisiana 4"
CREATE TABLE table_1341604_19 (candidates VARCHAR, district VARCHAR)
Who were the candidates in the Louisiana 4 district?
SELECT incumbent FROM table_1341604_19 WHERE first_elected = 1976
CREATE TABLE table_1341604_19 (incumbent VARCHAR, first_elected VARCHAR)
Who's the incumbent in the district first elected in 1976?
SELECT incumbent FROM table_1341604_22 WHERE district = "Massachusetts 2"
CREATE TABLE table_1341604_22 (incumbent VARCHAR, district VARCHAR)
what's the聽incumbent聽with聽district being massachusetts 2
SELECT party FROM table_1341604_22 WHERE candidates = "Silvio Conte (R) Unopposed"
CREATE TABLE table_1341604_22 (party VARCHAR, candidates VARCHAR)
what's the聽party聽with聽candidates聽being silvio conte (r) unopposed
SELECT first_elected FROM table_1341604_22 WHERE incumbent = "Joseph D. Early"
CREATE TABLE table_1341604_22 (first_elected VARCHAR, incumbent VARCHAR)
what's the聽first elected聽with聽incumbent聽being joseph d. early
SELECT party FROM table_1341604_22 WHERE district = "Massachusetts 3"
CREATE TABLE table_1341604_22 (party VARCHAR, district VARCHAR)
what's the聽party聽with聽dbeingtrict聽being massachusetts 3
SELECT COUNT(candidates) FROM table_1341604_39 WHERE incumbent = "Bud Shuster"
CREATE TABLE table_1341604_39 (candidates VARCHAR, incumbent VARCHAR)
How many candidates won the election in the district whose incumbent is Bud Shuster?
SELECT candidates FROM table_1341604_39 WHERE incumbent = "Gus Yatron"
CREATE TABLE table_1341604_39 (candidates VARCHAR, incumbent VARCHAR)
What are the candidates in the district whose incumbent is Gus Yatron?
SELECT party FROM table_1341604_39 WHERE district = "Pennsylvania 6"
CREATE TABLE table_1341604_39 (party VARCHAR, district VARCHAR)
What's the winning party in the Pennsylvania 6 district?
SELECT candidates FROM table_1341640_39 WHERE party = "Republican"
CREATE TABLE table_1341640_39 (candidates VARCHAR, party VARCHAR)
What candidate is a member of the Republican party?
SELECT district FROM table_1341640_39 WHERE incumbent = "Ray Musto"
CREATE TABLE table_1341640_39 (district VARCHAR, incumbent VARCHAR)
What district is Ray Musto the incumbent of?
SELECT COUNT(party) FROM table_1341640_39 WHERE incumbent = "Donald A. Bailey"
CREATE TABLE table_1341640_39 (party VARCHAR, incumbent VARCHAR)
How many parties does the incumbent Donald A. Bailey a member of?
SELECT result FROM table_1341640_39 WHERE district = "Pennsylvania 6"
CREATE TABLE table_1341640_39 (result VARCHAR, district VARCHAR)
What was the outcome of the election in Pennsylvania 6 district?
SELECT district FROM table_1341640_43 WHERE incumbent = "Al Gore"
CREATE TABLE table_1341640_43 (district VARCHAR, incumbent VARCHAR)
Where was Al Gore elected
SELECT result FROM table_1341640_43 WHERE first_elected = 1976
CREATE TABLE table_1341640_43 (result VARCHAR, first_elected VARCHAR)
Election results of 1976
SELECT incumbent FROM table_1341640_26 WHERE district = "Missouri 1"
CREATE TABLE table_1341640_26 (incumbent VARCHAR, district VARCHAR)
What was the incumbent for missouri 1?
SELECT result FROM table_1341640_14 WHERE first_elected = 1960
CREATE TABLE table_1341640_14 (result VARCHAR, first_elected VARCHAR)
What was the result of the election when someone was first elected in 1960?
SELECT first_elected FROM table_1341640_14 WHERE incumbent = "Phil Crane"
CREATE TABLE table_1341640_14 (first_elected VARCHAR, incumbent VARCHAR)
What year was incumbent phil crane first elected?
SELECT candidates FROM table_1341640_14 WHERE first_elected = 1974
CREATE TABLE table_1341640_14 (candidates VARCHAR, first_elected VARCHAR)
What candidates were featured in the 1974 election?
SELECT first_elected FROM table_1341663_19 WHERE incumbent = "Jerry Huckaby"
CREATE TABLE table_1341663_19 (first_elected VARCHAR, incumbent VARCHAR)
What year was Jerry Huckaby first elected?
SELECT candidates FROM table_1341663_19 WHERE incumbent = "Dave Treen"
CREATE TABLE table_1341663_19 (candidates VARCHAR, incumbent VARCHAR)
What other cadidate ran against Dave Treen?
SELECT MIN(first_elected) FROM table_1341663_19
CREATE TABLE table_1341663_19 (first_elected INTEGER)
What year was the earliest first elected?
SELECT district FROM table_1341663_19 WHERE incumbent = "Dave Treen"
CREATE TABLE table_1341663_19 (district VARCHAR, incumbent VARCHAR)
What district did Dave Treen serve?
SELECT COUNT(incumbent) FROM table_1341663_11 WHERE first_elected = 1972
CREATE TABLE table_1341663_11 (incumbent VARCHAR, first_elected VARCHAR)
How many sitting politicians were originally elected in 1972?
SELECT party FROM table_1341663_11 WHERE district = "Georgia 6"
CREATE TABLE table_1341663_11 (party VARCHAR, district VARCHAR)
In the Georgia 6 district, what is the elected party?
SELECT result FROM table_1341663_11 WHERE incumbent = "Billy Lee Evans"
CREATE TABLE table_1341663_11 (result VARCHAR, incumbent VARCHAR)
In the race involving Billy Lee Evans as the seated Representative, was he elected again?
SELECT COUNT(party) FROM table_1341663_11 WHERE incumbent = "Dawson Mathis"
CREATE TABLE table_1341663_11 (party VARCHAR, incumbent VARCHAR)
How many parties are there in races involving Dawson Mathis?
SELECT district FROM table_1341663_44 WHERE party = "Republican"
CREATE TABLE table_1341663_44 (district VARCHAR, party VARCHAR)
Which district is republican?
SELECT result FROM table_1341663_44 WHERE incumbent = "George H. Mahon"
CREATE TABLE table_1341663_44 (result VARCHAR, incumbent VARCHAR)
Name the result when the incumbent was george h. mahon
SELECT incumbent FROM table_1341663_44 WHERE district = "Texas 3"
CREATE TABLE table_1341663_44 (incumbent VARCHAR, district VARCHAR)
What was the incumbent of texas 3?
SELECT incumbent FROM table_1341663_44 WHERE district = "Texas 19"
CREATE TABLE table_1341663_44 (incumbent VARCHAR, district VARCHAR)
What was the incumbent for texas 19?
SELECT district FROM table_1341663_26 WHERE candidates = "Dick Gephardt (D) 81.9% Lee Buchschacher (R) 18.1%"
CREATE TABLE table_1341663_26 (district VARCHAR, candidates VARCHAR)
Which district has candidates is dick gephardt (d) 81.9% lee buchschacher (r) 18.1%?
SELECT result FROM table_1341663_26 WHERE district = "Missouri 2"
CREATE TABLE table_1341663_26 (result VARCHAR, district VARCHAR)
What is the result for the district missouri 2?
SELECT MIN(first_elected) FROM table_1341663_26 WHERE district = "Missouri 7"
CREATE TABLE table_1341663_26 (first_elected INTEGER, district VARCHAR)
When was the first elected for district missouri 7?
SELECT MIN(first_elected) FROM table_1341663_26
CREATE TABLE table_1341663_26 (first_elected INTEGER)
When was the earliest first election?
SELECT COUNT(incumbent) FROM table_1341663_26 WHERE candidates = "Dick Gephardt (D) 81.9% Lee Buchschacher (R) 18.1%"
CREATE TABLE table_1341663_26 (incumbent VARCHAR, candidates VARCHAR)
How many times was the candidates dick gephardt (d) 81.9% lee buchschacher (r) 18.1%?
SELECT district FROM table_1341663_33 WHERE incumbent = "S. William Green"
CREATE TABLE table_1341663_33 (district VARCHAR, incumbent VARCHAR)
What district did S. William Green belong to?
SELECT district FROM table_1341663_33 WHERE party = "Democratic" AND first_elected = 1974 AND incumbent = "Stephen J. Solarz"
CREATE TABLE table_1341663_33 (district VARCHAR, incumbent VARCHAR, party VARCHAR, first_elected VARCHAR)
What district did the Democratic party incumbent Stephen J. Solarz get first elected to in 1974?
SELECT MIN(first_elected) FROM table_1341663_33 WHERE incumbent = "Stephen J. Solarz"
CREATE TABLE table_1341663_33 (first_elected INTEGER, incumbent VARCHAR)
When was Stephen J. Solarz first elected?
SELECT candidates FROM table_1341663_33 WHERE incumbent = "Shirley Chisholm"
CREATE TABLE table_1341663_33 (candidates VARCHAR, incumbent VARCHAR)
Who were the candidates when Shirley Chisholm was the incumbent?
SELECT district FROM table_1341663_6 WHERE incumbent = "Bob Wilson"
CREATE TABLE table_1341663_6 (district VARCHAR, incumbent VARCHAR)
What is the district that has Bob Wilson as an incumbent?
SELECT COUNT(result) FROM table_1341663_6 WHERE district = "California 38"
CREATE TABLE table_1341663_6 (result VARCHAR, district VARCHAR)
How many outcomes were there in the elections in California 38?
SELECT district FROM table_1341663_6 WHERE incumbent = "Charles H. Wilson"
CREATE TABLE table_1341663_6 (district VARCHAR, incumbent VARCHAR)
What district is Charles H. Wilson the incumbent of?
SELECT party FROM table_1341663_6 WHERE district = "California 30"
CREATE TABLE table_1341663_6 (party VARCHAR, district VARCHAR)
What party was the winning one in the elections in the California 30 district?
SELECT COUNT(result) FROM table_1341672_6 WHERE candidates = "Robert L. Leggett (D) 50.2% Albert Dehr (R) 49.8%"
CREATE TABLE table_1341672_6 (result VARCHAR, candidates VARCHAR)
How many times did an election feature the result robert l. leggett (d) 50.2% albert dehr (r) 49.8%?
SELECT MIN(first_elected) FROM table_1341672_6 WHERE incumbent = "Mark W. Hannaford"
CREATE TABLE table_1341672_6 (first_elected INTEGER, incumbent VARCHAR)
What year was incumbent mark w. hannaford elected?
SELECT district FROM table_1341672_10 WHERE incumbent = "Richard Kelly"
CREATE TABLE table_1341672_10 (district VARCHAR, incumbent VARCHAR)
what is the district where the incumbent is richard kelly?
SELECT result FROM table_1341672_10 WHERE candidates = "Robert L. F. Sikes (D) Unopposed"
CREATE TABLE table_1341672_10 (result VARCHAR, candidates VARCHAR)
what is the result where the candidates is robert l. f. sikes (d) unopposed?
SELECT incumbent FROM table_1341672_10 WHERE candidates = "William V. Chappell, Jr. (D) Unopposed"
CREATE TABLE table_1341672_10 (incumbent VARCHAR, candidates VARCHAR)
who is the incumbent where the candidates is william v. chappell, jr. (d) unopposed?
SELECT district FROM table_1341672_10 WHERE incumbent = "James A. Haley"
CREATE TABLE table_1341672_10 (district VARCHAR, incumbent VARCHAR)
what is the district where the incumbent is james a. haley?
SELECT candidates FROM table_1341672_10 WHERE district = "Florida 8"
CREATE TABLE table_1341672_10 (candidates VARCHAR, district VARCHAR)
who are the candidates where the district is florida 8?
SELECT first_elected FROM table_1341690_13 WHERE incumbent = "Sidney R. Yates"
CREATE TABLE table_1341690_13 (first_elected VARCHAR, incumbent VARCHAR)
what year was the first elected incumbant Sidney R. Yates?
SELECT COUNT(incumbent) FROM table_1341690_18 WHERE district = "Louisiana 5"
CREATE TABLE table_1341690_18 (incumbent VARCHAR, district VARCHAR)
How many incumbents are there in district Louisiana 5?
SELECT COUNT(incumbent) FROM table_1341690_18 WHERE result = "Lost renomination Republican gain"
CREATE TABLE table_1341690_18 (incumbent VARCHAR, result VARCHAR)
How many incumbents resulted in a lost renomination republican gain?
SELECT district FROM table_1341690_18 WHERE incumbent = "John Breaux"
CREATE TABLE table_1341690_18 (district VARCHAR, incumbent VARCHAR)
In which district is the incumbent John Breaux?
SELECT MAX(first_elected) FROM table_1341690_18 WHERE candidates = "Otto Passman (D) Unopposed"
CREATE TABLE table_1341690_18 (first_elected INTEGER, candidates VARCHAR)
What year was Otto Passman (d) unopposed first elected?
SELECT result FROM table_1341690_18 WHERE incumbent = "John Breaux"
CREATE TABLE table_1341690_18 (result VARCHAR, incumbent VARCHAR)
What were the results when the incumbent was John Breaux?
SELECT candidates FROM table_1341690_43 WHERE district = "Texas 1"
CREATE TABLE table_1341690_43 (candidates VARCHAR, district VARCHAR)
Name the candidates for texas 1
SELECT incumbent FROM table_1341690_43 WHERE district = "Texas 12"
CREATE TABLE table_1341690_43 (incumbent VARCHAR, district VARCHAR)
Name the incumbent for district texas 12
SELECT candidates FROM table_1341690_43 WHERE district = "Texas 20"
CREATE TABLE table_1341690_43 (candidates VARCHAR, district VARCHAR)
Name the candidates for texas 20
SELECT district FROM table_1341690_21 WHERE candidates = "Edward Boland (D) Unopposed"
CREATE TABLE table_1341690_21 (district VARCHAR, candidates VARCHAR)
what is the district with the candidates edward boland (d) unopposed?
SELECT party FROM table_1341690_21 WHERE candidates = "Edward Boland (D) Unopposed"
CREATE TABLE table_1341690_21 (party VARCHAR, candidates VARCHAR)
what is the party where the candidates are edward boland (d) unopposed?
SELECT party FROM table_1341690_21 WHERE incumbent = "Edward Boland"
CREATE TABLE table_1341690_21 (party VARCHAR, incumbent VARCHAR)
what is the party where the incumbent is edward boland?
SELECT COUNT(incumbent) FROM table_1341690_21 WHERE candidates = "Paul Tsongas (D) 60.6% Paul W. Cronin (R) 39.4%"
CREATE TABLE table_1341690_21 (incumbent VARCHAR, candidates VARCHAR)
How many times was the candidates paul tsongas (d) 60.6% paul w. cronin (r) 39.4%?
SELECT candidates FROM table_1341690_20 WHERE incumbent = "Goodloe Byron"
CREATE TABLE table_1341690_20 (candidates VARCHAR, incumbent VARCHAR)
List all candidates in elections where the incumbent politician is Goodloe Byron.
SELECT COUNT(party) FROM table_1341690_20 WHERE incumbent = "Robert Bauman"
CREATE TABLE table_1341690_20 (party VARCHAR, incumbent VARCHAR)
How many instances are there of party in the situation where Robert Bauman is the incumbent politician?
SELECT party FROM table_1341690_20 WHERE incumbent = "Robert Bauman"
CREATE TABLE table_1341690_20 (party VARCHAR, incumbent VARCHAR)
What is the party of the election in which Robert Bauman is the incumbent?
SELECT result FROM table_1341690_20 WHERE district = "Maryland 7"
CREATE TABLE table_1341690_20 (result VARCHAR, district VARCHAR)
List all results where the voting district is Maryland 7.