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 pitchers had more than 129 strikeouts between years 1918 and 2004?Which players had more than 22 triples between years 1897 and 1967?Which position players had fewer than 32 doubles between years 1902 and 1943?
Year
Players
Triples
1898
John Anderson
18
1909
Home Run Baker
19
1912
Home Run Baker
21
1944
Johnny Barrett
19
1928
Jim Bottomley
20
1903
Bill Bradley
22
1979
George Brett
20
1923
Max Carey
19
1904
Joe Cassidy
19
1896
Fred Clarke
18
1908
Ty Cobb
20
1911
Ty Cobb
24
1912
Ty Cobb
23
1917
Ty Cobb
24
1927
Earle Combs
23
1928
Earle Combs
21
1930
Earle Combs
22
1930
Adam Comorosky
23
2004
Carl Crawford
19
1902
Sam Crawford
22
1903
Sam Crawford
25
1910
Sam Crawford
19
1912
Sam Crawford
21
1913
Sam Crawford
23
1914
Sam Crawford
26
1915
Sam Crawford
19
1911
Birdie Cree
22
1932
Joe Cronin
18
1925
Kiki Cuyler
26
1896
Bill Dahlen
19
1922
Jake Daubert
22
1897
Harry Davis
28
1903
Mike Donlin
18
1911
Larry Doyle
25
1905
Elmer Flick
18
1906
Elmer Flick
22
1907
Elmer Flick
18
1915
Jack Fournier
18
1899
Buck Freeman
25
1902
Buck Freeman
19
1903
Buck Freeman
20
1904
Buck Freeman
19
1912
Larry Gardner
18
1914
Larry Gardner
19
1929
Charlie Gehringer
19
1926
Lou Gehrig
20
1927
Lou Gehrig
18
1935
Ival Goodman
18
1923
Goose Goslin
18
1925
Goose Goslin
20
2007
Curtis Granderson
23
2000
Cristian Guzman
20
1938
Jeff Heath
18
1941
Jeff Heath
20
1932
Babe Herman
19
1939
Billy Herman
18
1920
Rogers Hornsby
20
1921
Rogers Hornsby
18
1911
Shoeless Joe Jackson
19
1912
Shoeless Joe Jackson
26
1916
Shoeless Joe Jackson
21
1920
Shoeless Joe Jackson
20
1996
Lance Johnson
21
1931
Roy Johnson
19
1897
Willie Keeler
19
1901
Bill Keister
21
1896
Joe Kelley
19
1915
Ed Konetchy
18
1897
Nap Lajoie
23
1902
Tommy Leach
22
1908
Hans Lobert
18
1915
Tom Long
25
1911
Harry Lord
18
1904
Harry Lumley
18
1915
Les Mann
19
1927
Heinie Manush
18
1928
Heinie Manush
20
1924
Rabbit Maranville
20
1957
Willie Mays
20
1940
Barney McCosky
19
1896
Tom McCreery
21
1985
Willie McGee
18
1934
Joe Medwick
18
1913
Dots Miller
20
1954
Minnie Minoso
18
1949
Dale Mitchell
23
1910
Mike Mitchell
18
1911
Mike Mitchell
22
1910
Danny Murphy
18
1912
Red Murray
20
1943
Stan Musial
20
1946
Stan Musial
20
1948
Stan Musial
18
1920
Hi Myers
22
1924
Wally Pipp
19
1921
Ray Powell
18
2008
Jose Reyes
19
1930
Carl Reynolds
18
1923
Sam Rice
18
2007
Jimmy Rollins
20
1923
Edd Roush
18
1924
Edd Roush
21
1913
Vic Saier
21
1984
Juan Samuel
19
1984
Ryne Sandberg
19
1911
Frank Schulte
21
1905
Cy Seymour
21
1921
Howie Shanks
18
1901
Jimmy Sheckard
19
1920
George Sisler
18
1921
George Sisler
18
1922
George Sisler
18
1913
Tris Speaker
22
1914
Tris Speaker
18
1899
Chick Stahl
19
1904
Chick Stahl
19
1945
Snuffy Stirnweiss
22
1906
George Stone
20
1935
John Stone
18
1977
Garry Templeton
18
1979
Garry Templeton
19
1931
Bill Terry
20
1921
Jack Tobin
18
1941
Cecil Travis
19
1923
Pie Traynor
19
1896
George Van Haltren
21
1933
Arky Vaughan
19
1935
Joe Vosmik
20
1900
Honus Wagner
22
1903
Honus Wagner
19
1908
Honus Wagner
19
1912
Honus Wagner
20
1926
Curt Walker
20
1897
Bobby Wallace
21
1929
Lloyd Waner
20
1926
Paul Waner
22
1927
Paul Waner
18
1928
Paul Waner
19
1930
Paul Waner
18
1899
Jimmy Williams
27
1901
Jimmy Williams
21
1902
Jimmy Williams
21
1912
Chief Wilson
36
1985
Willie Wilson
21
1924
Glenn Wright
18