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 40 homers before year 1914?Which hitters had more than 32 doubles between years 1987 and 2001?Which position players had more than 292 at bats in year 1882?
Year
Players
Runs
1894
Jimmy Bannon
130
1873
Ross Barnes
125
1876
Ross Barnes
126
1903
Ginger Beaumont
137
1894
Jake Beckley
123
1890
Lou Bierbauer
128
1922
Lu Blue
131
1928
Jim Bottomley
123
1894
Steve Brodie
134
1886
Dan Brouthers
139
1887
Dan Brouthers
153
1890
Dan Brouthers
123
1894
Dan Brouthers
137
1887
Pete Browning
137
1890
Tom Brown
149
1891
Tom Brown
177
1894
Tom Brown
123
1894
Eddie Burke
124
1893
Jesse Burkett
145
1894
Jesse Burkett
138
1895
Jesse Burkett
153
1896
Jesse Burkett
160
1897
Jesse Burkett
129
1901
Jesse Burkett
142
1911
Donie Bush
126
1922
Max Carey
140
1890
Cliff Carroll
134
1892
Cupid Childs
136
1893
Cupid Childs
145
1894
Cupid Childs
143
1911
Ty Cobb
147
1915
Ty Cobb
144
1921
Ty Cobb
124
1912
Eddie Collins
137
1913
Eddie Collins
125
1889
Hub Collins
139
1890
Hub Collins
148
1927
Earle Combs
137
1887
Charlie Comiskey
139
1890
Roger Connor
133
1892
Roger Connor
123
1897
Duff Cooley
124
1898
Duff Cooley
123
1894
Tommy Corcoran
123
1894
Lave Cross
128
1925
Kiki Cuyler
144
1894
Bill Dahlen
150
1896
Bill Dahlen
137
1894
Tom Daly
135
1894
George Davis
125
1893
Ed Delahanty
145
1894
Ed Delahanty
148
1895
Ed Delahanty
149
1896
Ed Delahanty
131
1899
Ed Delahanty
135
1905
Mike Donlin
124
1894
Patsy Donovan
147
1889
Hugh Duffy
144
1890
Hugh Duffy
161
1891
Hugh Duffy
134
1892
Hugh Duffy
125
1893
Hugh Duffy
147
1894
Hugh Duffy
160
1897
Hugh Duffy
130
1884
Fred Dunlap
160
1895
Bill Everitt
129
1896
Bill Everitt
130
1887
Frank Fennelly
133
1926
Lou Gehrig
135
1927
Lou Gehrig
149
1928
Lou Gehrig
139
1889
Jack Glasscock
128
1887
Bill Gleason
135
1886
George Gore
150
1889
George Gore
132
1890
George Gore
132
1887
Mike Griffin
142
1889
Mike Griffin
152
1890
Mike Griffin
127
1894
Mike Griffin
123
1895
Mike Griffin
140
1897
Mike Griffin
136
1889
Billy Hamilton
144
1890
Billy Hamilton
133
1891
Billy Hamilton
141
1892
Billy Hamilton
132
1894
Billy Hamilton
198
1895
Billy Hamilton
166
1896
Billy Hamilton
153
1897
Billy Hamilton
152
1894
Bug Holliday
126
1921
Rogers Hornsby
131
1922
Rogers Hornsby
141
1925
Rogers Hornsby
133
1927
Rogers Hornsby
133
1891
Dummy Hoy
134
1911
Shoeless Joe Jackson
126
1923
Charlie Jamieson
130
1894
Hughie Jennings
134
1895
Hughie Jennings
159
1896
Hughie Jennings
125
1897
Hughie Jennings
133
1898
Hughie Jennings
135
1897
Fielder Jones
134
1894
Willie Keeler
165
1895
Willie Keeler
162
1896
Willie Keeler
153
1897
Willie Keeler
145
1898
Willie Keeler
126
1899
Willie Keeler
140
1901
Willie Keeler
123
1894
Joe Kelley
165
1895
Joe Kelley
148
1896
Joe Kelley
148
1885
King Kelly
124
1886
King Kelly
155
1901
Nap Lajoie
145
1886
Henry Larkin
133
1886
Arlie Latham
152
1887
Arlie Latham
163
1894
Arlie Latham
132
1909
Tommy Leach
126
1889
Herman Long
137
1891
Herman Long
129
1893
Herman Long
149
1894
Herman Long
136
1893
Bobby Lowe
130
1894
Bobby Lowe
158
1887
Denny Lyons
128
1889
Denny Lyons
135
1891
Denny Lyons
124
1889
Tommy McCarthy
136
1890
Tommy McCarthy
137
1891
Tommy McCarthy
124
1886
Bill McClellan
131
1893
John McGraw
123
1894
John McGraw
156
1898
John McGraw
143
1899
John McGraw
140
1895
Ed McKean
131
1886
Bid McPhee
139
1887
Bid McPhee
137
1890
Bid McPhee
125
1887
Jim McTamany
123
1890
Jim McTamany
140
1925
Johnny Mostil
135
1894
Billy Nash
132
1889
Darby O'Brien
146
1887
Tip O'Neill
167
1889
Tip O'Neill
123
1921
Roger Peckinpaugh
128
1887
George Pinkney
133
1888
George Pinkney
134
1887
Tom Poorman
140
1887
Paul Radford
127
1886
Hardy Richardson
125
1887
Hardy Richardson
131
1890
Hardy Richardson
133
1887
Jack Rowe
135
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
1889
Jimmy Ryan
140
1894
Jimmy Ryan
133
1889
Emmett Seery
123
1884
Orator Shafer
130
1890
Billy Shindle
127
1920
George Sisler
137
1921
George Sisler
125
1922
George Sisler
134
1894
Mike Smith
128
1912
Tris Speaker
136
1920
Tris Speaker
137
1923
Tris Speaker
133
1894
Jake Stenzel
150
1884
Harry Stovey
124
1885
Harry Stovey
130
1887
Harry Stovey
125
1888
Harry Stovey
127
1889
Harry Stovey
152
1890
Harry Stovey
145
1897
Fred Tenney
125
1899
Roy Thomas
137
1900
Roy Thomas
132
1893
Sam Thompson
130
1895
Sam Thompson
131
1889
Mike Tiernan
147
1890
Mike Tiernan
132
1895
Mike Tiernan
127
1896
Mike Tiernan
132
1897
Mike Tiernan
123
1921
Jack Tobin
132
1894
George Treadway
125
1889
George Van Haltren
126
1891
George Van Haltren
136
1893
George Van Haltren
129
1896
George Van Haltren
136
1898
George Van Haltren
129
1927
Lloyd Waner
133
1928
Paul Waner
142
1890
John Ward
134
1893
John Ward
129
1888
Curt Welch
125
1889
Curt Welch
134
1925
Zack Wheat
125
1899
Jimmy Williams
126
1922
Ken Williams
128
1894
Walt Wilmot
136