Welcome to The Baseball Engine

This demonstration of natural language by Ability Intelligence shows how to use regular sentences to get data from large databases.Ask it a question and send us your comments or requests at info@abilityintelligence.com.

Here are some curated examples:

Which pitchers had more than 50 wins?
Which hitters had more than 175 RBIs? Show hits, doubles, and triples also.
Which position players had more than 50 home runs after the year 1990?

Try some randomly generated questions:

Which position players had fewer than 28 stolen bases before year 1991?Which hitters had fewer than 87 RBIs between years 1970 and 1988?Which pitchers had more than 23 wins in year 2004?
Years
Hitters
Runs
1957
Hank Aaron
118
1959
Hank Aaron
116
1961
Hank Aaron
115
1962
Hank Aaron
127
1963
Hank Aaron
121
1966
Hank Aaron
117
1964
Dick Allen
125
1966
Felipe Alou
122
1931
Earl Averill
140
1932
Earl Averill
116
1934
Earl Averill
128
1936
Earl Averill
136
1937
Earl Averill
121
1912
Home Run Baker
116
1913
Home Run Baker
116
1921
Dave Bancroft
121
1922
Dave Bancroft
117
1958
Ernie Banks
119
1932
Dick Bartell
118
1979
Don Baylor
120
1903
Ginger Beaumont
137
1950
Yogi Berra
116
1912
Bob Bescher
120
1930
Max Bishop
117
1931
Max Bishop
115
1922
Lu Blue
131
1928
Lu Blue
116
1931
Lu Blue
119
1988
Wade Boggs
128
1993
Barry Bonds
129
1969
Bobby Bonds
120
1970
Bobby Bonds
134
1972
Bobby Bonds
118
1973
Bobby Bonds
131
1936
Zeke Bonura
120
1928
Jim Bottomley
123
1948
Lou Boudreau
116
1979
George Brett
119
1971
Lou Brock
126
1980
Al Bumbry
118
1920
George Burns
115
1909
Donie Bush
115
1911
Donie Bush
126
1988
Jose Canseco
120
1991
Jose Canseco
115
1977
Rod Carew
128
1922
Max Carey
140
1923
Max Carey
120
1961
Norm Cash
119
1931
Ben Chapman
120
1935
Ben Chapman
118
1936
Harlond Clift
145
1938
Harlond Clift
119
1909
Ty Cobb
115
1911
Ty Cobb
147
1912
Ty Cobb
120
1915
Ty Cobb
144
1921
Ty Cobb
124
1924
Ty Cobb
115
1932
Mickey Cochrane
118
1961
Rocky Colavito
129
1987
Vince Coleman
121
1912
Eddie Collins
137
1913
Eddie Collins
125
1914
Eddie Collins
122
1915
Eddie Collins
118
1920
Eddie Collins
117
1934
Ripper Collins
116
1925
Earle Combs
117
1927
Earle Combs
137
1928
Earle Combs
118
1929
Earle Combs
119
1930
Earle Combs
129
1931
Earle Combs
120
1932
Earle Combs
143
1938
Doc Cramer
116
1930
Joe Cronin
127
1936
Frankie Crosetti
137
1937
Frankie Crosetti
127
1925
Kiki Cuyler
144
1930
Kiki Cuyler
155
1953
Al Dark
126
1987
Eric Davis
120
1962
Tommy Davis
120
1941
Dom DiMaggio
117
1948
Dom DiMaggio
127
1949
Dom DiMaggio
126
1950
Dom DiMaggio
131
1936
Joe DiMaggio
132
1937
Joe DiMaggio
151
1938
Joe DiMaggio
129
1941
Joe DiMaggio
122
1942
Joe DiMaggio
123
1905
Mike Donlin
124
1929
Taylor Douthit
128
1993
Lenny Dykstra
143
1929
Woody English
131
1930
Woody English
152
1931
Woody English
117
1982
Dwight Evans
122
1984
Dwight Evans
121
1977
George Foster
124
1935
Pete Fox
116
1937
Pete Fox
116
1929
Jimmie Foxx
123
1930
Jimmie Foxx
127
1932
Jimmie Foxx
151
1933
Jimmie Foxx
125
1934
Jimmie Foxx
120
1935
Jimmie Foxx
118
1936
Jimmie Foxx
130
1938
Jimmie Foxx
139
1939
Jimmie Foxx
130
1929
Johnny Frederick
127
1930
Johnny Frederick
120
1921
Frankie Frisch
121
1923
Frankie Frisch
116
1924
Frankie Frisch
121
1930
Frankie Frisch
121
1935
Augie Galan
133
1929
Charlie Gehringer
131
1930
Charlie Gehringer
144
1934
Charlie Gehringer
134
1935
Charlie Gehringer
123
1936
Charlie Gehringer
144
1937
Charlie Gehringer
133
1938
Charlie Gehringer
133
1926
Lou Gehrig
135
1927
Lou Gehrig
149
1928
Lou Gehrig
139
1929
Lou Gehrig
127
1930
Lou Gehrig
143
1931
Lou Gehrig
163
1932
Lou Gehrig
138
1933
Lou Gehrig
138
1934
Lou Gehrig
128
1935
Lou Gehrig
125
1936
Lou Gehrig
167
1937
Lou Gehrig
138
1938
Lou Gehrig
115
1953
Jim Gilliam
125
1925
Goose Goslin
116
1936
Goose Goslin
122
1930
George Grantham
120
1934
Hank Greenberg
118
1935
Hank Greenberg
121
1937
Hank Greenberg
137
1938
Hank Greenberg
144
1940
Hank Greenberg
129
1977
Ken Griffey
117
1987
Tony Gwynn
119
1929
Mule Haas
115
1936
Odell Hale
126
1965
Tommy Harper
126
1923
Harry Heilmann
121
1982
Rickey Henderson
119
1985
Rickey Henderson
146
1986
Rickey Henderson
130
1988
Rickey Henderson
118
1990
Rickey Henderson
119
1948
Tommy Henrich
138
1930
Babe Herman
143
1979
Keith Hernandez
116
1951
Gil Hodges
118
1945
Tommy Holmes
125
1921
Rogers Hornsby
131
1922
Rogers Hornsby
141
1924
Rogers Hornsby
121
1925
Rogers Hornsby
133
1927
Rogers Hornsby
133
1929
Rogers Hornsby
156
1905
Miller Huggins
117
1911
Shoeless Joe Jackson
126
1912
Shoeless Joe Jackson
121
1969
Reggie Jackson
123
1923
Charlie Jamieson
130
1939
Bob Johnson
115
1929
Roy Johnson
128
1949
Eddie Joost
128
1955
Al Kaline
121
1961
Al Kaline
116
1914
Benny Kauff
120
1947
Ralph Kiner
118
1949
Ralph Kiner
116
1951
Ralph Kiner
124
1929
Chuck Klein
126
1930
Chuck Klein
158
1931
Chuck Klein
121
1932
Chuck Klein
152
1955
Ted Kluszewski
116
1909
Tommy Leach
126
1978
Ron LeFlore
126
1938
Buddy Lewis
122
1930
Freddie Lindstrom
127
1948
Whitey Lockman
117
1993
Kenny Lofton
116
1979
Fred Lynn
116
1954
Mickey Mantle
129
1955
Mickey Mantle
121
1956
Mickey Mantle
132
1957
Mickey Mantle
121
1958
Mickey Mantle
127
1960
Mickey Mantle
119
1961
Mickey Mantle
132
1932
Heinie Manush
121
1933
Heinie Manush
115
1922
Rabbit Maranville
115
1961
Roger Maris
132
1933
Pepper Martin
122
1935
Pepper Martin
121
1936
Pepper Martin
121
1959
Eddie Mathews
118
1986
Don Mattingly
117
1954
Willie Mays
119
1955
Willie Mays
123
1958
Willie Mays
121
1959
Willie Mays
125
1961
Willie Mays
129
1962
Willie Mays
130
1963
Willie Mays
115
1964
Willie Mays
121
1965
Willie Mays
118
1939
Barney McCosky
120
1940
Barney McCosky
123
1935
Joe Medwick
132
1936
Joe Medwick
115
1954
Minnie Minoso
119
1947
Johnny Mize
137
1982
Paul Molitor
136
1988
Paul Molitor
115
1991
Paul Molitor
133
1993
Paul Molitor
121
1930
Ed Morgan
122
1972
Joe Morgan
122
1973
Joe Morgan
116
1925
Johnny Mostil
135
1926
Johnny Mostil
120
1983
Dale Murphy
131
1985
Dale Murphy
118
1987
Dale Murphy
115
1983
Eddie Murray
115
1946
Stan Musial
124
1948
Stan Musial
135
1949
Stan Musial
128
1951
Stan Musial
124
1953
Stan Musial
127
1954
Stan Musial
120
1932
Buddy Myer
120
1935
Buddy Myer
115
1944
Bill Nicholson
116
1929
Lefty O'Doul
152
1930
Lefty O'Doul
122
1932
Lefty O'Doul
120
1929
Mel Ott
138
1930
Mel Ott
122
1932
Mel Ott
119
1934
Mel Ott
119
1936
Mel Ott
120
1938
Mel Ott
116
1942
Mel Ott
118
1991
Rafael Palmeiro
115
1993
Rafael Palmeiro
124
1962
Albie Pearson
115
1921
Roger Peckinpaugh
128
1946
Johnny Pesky
115
1948
Johnny Pesky
124
1959
Vada Pinson
131
1955
Wally Post
116
1986
Kirby Puckett
119
1936
Rip Radcliff
120
1983
Tim Raines
133
1985
Tim Raines
115
1987
Tim Raines
123
1949
Pee Wee Reese
132
1941
Pete Reiser
117
1978
Jim Rice
121
1979
Jim Rice
117
1923
Sam Rice
117
1929
Sam Rice
119
1930
Sam Rice
121
1983
Cal Ripken
121
1985
Cal Ripken
116
1950
Phil Rizzuto
125
1956
Frank Robinson
122
1961
Frank Robinson
117
1962
Frank Robinson
134
1966
Frank Robinson
122
1947
Jackie Robinson
125
1949
Jackie Robinson
122
1936
Red Rolfe
116
1937
Red Rolfe
143
1938
Red Rolfe
132
1939
Red Rolfe
139
1953
Al Rosen
115
1945
Goody Rosen
126
1965
Pete Rose
117
1969
Pete Rose
120
1970
Pete Rose
120
1973
Pete Rose
115
1976
Pete Rose
130
1920
Babe Ruth
158
1921
Babe Ruth
177
1923
Babe Ruth
151
1924
Babe Ruth
143
1926
Babe Ruth
139
1927
Babe Ruth
158
1928
Babe Ruth
163
1929
Babe Ruth
121
1930
Babe Ruth
150
1931
Babe Ruth
149
1932
Babe Ruth
120
1990
Ryne Sandberg
116
1911
Jimmy Sheckard
121
1925
Al Simmons
122
1930
Al Simmons
152
1932
Al Simmons
144
1920
George Sisler
137
1921
George Sisler
125
1922
George Sisler
134
1955
Al Smith
123
1922
Jack Smith
117
1982
Lonnie Smith
120
1953
Duke Snider
132
1954
Duke Snider
120
1955
Duke Snider
126
1912
Tris Speaker
136
1920
Tris Speaker
137
1923
Tris Speaker
133
1945
Eddie Stanky
128
1950
Eddie Stanky
115
1950
Vern Stephens
125
1944
Snuffy Stirnweiss
125
1930
Bill Terry
139
1931
Bill Terry
121
1932
Bill Terry
124
1905
Roy Thomas
118
1929
Fresco Thompson
115
1921
Jack Tobin
132
1922
Jack Tobin
122
1950
Earl Torgeson
120
1970
Cesar Tovar
120
1934
Hal Trosky
117
1936
Hal Trosky
124
1934
Arky Vaughan
115
1936
Arky Vaughan
122
1965
Zoilo Versalles
126
1915
Ossie Vitt
116
1938
Joe Vosmik
121
1927
Lloyd Waner
133
1928
Lloyd Waner
121
1929
Lloyd Waner
134
1928
Paul Waner
142
1929
Paul Waner
131
1930
Paul Waner
117
1934
Paul Waner
122
1934
Billy Werber
129
1939
Billy Werber
115
1925
Zack Wheat
125
1993
Devon White
116
1965
Billy Williams
115
1970
Billy Williams
137
1921
Ken Williams
115
1922
Ken Williams
128
1939
Ted Williams
131
1940
Ted Williams
134
1941
Ted Williams
135
1942
Ted Williams
141
1946
Ted Williams
142
1947
Ted Williams
125
1948
Ted Williams
124
1949
Ted Williams
150
1962
Maury Wills
130
1927
Hack Wilson
119
1929
Hack Wilson
135
1930
Hack Wilson
146
1980
Willie Wilson
133
1972
Jim Wynn
117
1970
Carl Yastrzemski
125
1959
Eddie Yost
115
1923
Ross Youngs
121
1980
Robin Yount
121
1982
Robin Yount
129