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 hitters had fewer than 273 at bats after year 1965?Which position players had fewer than 294 at bats after year 2003?Which pitchers had fewer than 16 losses before year 1896?
Pitchers
Losses
Jim Britt
28
Jim Britt
36
Bobby Mathews
23
Bill Stearns
25
Tommy Bond
32
Asa Brainard
22
Candy Cummings
26
Cherokee Fisher
23
Bobby Mathews
22
Dick McBride
22
George Zettlein
30
George Bradley
26
Bobby Mathews
38
Tricky Nichols
29
Dory Dean
26
Jim Devlin
35
Lon Knight
22
Bobby Mathews
34
George Bradley
23
Jim Devlin
25
Terry Larkin
25
Tricky Nichols
23
Terry Larkin
26
The Only Nolan
22
Sam Weaver
31
George Bradley
40
Pud Galvin
27
Terry Larkin
23
Harry McCormick
33
Jim McCormick
40
Will White
31
Tommy Bond
29
Pud Galvin
35
Jim McCormick
28
Lee Richmond
32
John Ward
24
Mickey Welch
30
Will White
42
George Derby
26
Pud Galvin
24
Tim Keefe
27
Jim McCormick
30
Lee Richmond
26
Jim Whitney
33
Pud Galvin
23
Tim Keefe
26
Doc Landis
28
Jim McCormick
30
Tony Mullane
24
Lee Richmond
33
John Coleman
48
Pud Galvin
29
Guy Hecker
23
Hardie Henderson
32
Tim Keefe
27
Frank Mountain
33
Old Hoss Radbourn
25
Sam Weaver
22
Mickey Welch
23
Will White
22
Stump Weidman
24
Jersey Bakley
25
Bob Barr
23
Larry Corcoran
23
Hugh Daily
27
Charlie Ferguson
25
Pud Galvin
22
John Harkins
32
Hardie Henderson
23
Jim McCormick
22
Larry McKeon
41
Frank Meinke
23
Tony Mullane
26
Jack Neagle
26
Hank O'Day
28
Fleury Sullivan
35
Adonis Terry
35
Henry Boyle
24
Charlie Buffinton
27
Ed Daily
23
Pretzels Getzien
25
Guy Hecker
23
Hardie Henderson
35
Ed Morris
24
Dupee Shaw
26
Jim Whitney
32
Stump Weidman
24
Egyptian Healy
23
Guy Hecker
23
Matt Kilroy
34
John Kirby
26
Jack Lynch
30
Al Mays
27
Tony Mullane
27
Old Hoss Radbourn
31
Toad Ramsey
27
Dupee Shaw
31
Mickey Welch
22
Jim Whitney
32
Stump Weidman
36
Henry Boyle
24
Billy Crowell
31
Egyptian Healy
29
Al Mays
34
Jim McCormick
23
Ed Morris
22
Mike Morrison
25
Henry Porter
24
Old Hoss Radbourn
23
Toad Ramsey
27
Ed Seward
25
Phenomenal Smith
30
Gus Weyhing
28
Jersey Bakley
33
Henry Boyle
22
Bert Cunningham
29
Pud Galvin
25
Pretzels Getzien
25
Egyptian Healy
24
Ed Morris
23
Hank O'Day
29
Henry Porter
37
Toad Ramsey
30
Lev Shreve
24
Jersey Bakley
22
Mark Baldwin
34
Henry Boyle
23
Red Ehret
29
John Ewing
30
Pretzels Getzien
22
Matt Kilroy
25
Harry Staley
26
Park Swartzel
27
Jersey Bakley
25
Mark Baldwin
24
Bob Barr
24
Ed Beatin
30
Dan Casey
22
Henry Gruber
23
George Haddock
26
Bill Hutchinson
25
John Keefe
24
Silver King
22
Amos Rusie
34
Harry Staley
25
Mark Baldwin
28
Kid Carsey
37
Ice Box Chamberlain
23
Kid Gleason
22
Henry Gruber
22
Silver King
29
Phil Knell
27
Sadie McMahon
24
Tony Mullane
26
Billy Rhines
24
Jack Stivetts
22
Cy Young
22
Mark Baldwin
27
Ice Box Chamberlain
23
George Cobb
37
Ed Crane
24
Kid Gleason
24
Bill Hutchinson
36
Frank Killen
26
Silver King
24
Sadie McMahon
25
Amos Rusie
31
Theodore Breitenstein
24
Duke Esper
28
Kid Gleason
22
Bill Hutchinson
24
Scott Stratton
23
Theodore Breitenstein
23
Pink Hawley
27
Win Mercer
23
Theodore Breitenstein
30
Pink Hawley
22
Win Mercer
23
Amos Rusie
23
Theodore Breitenstein
26
Dad Clarke
24
Red Donahue
24
Chick Fraser
27
Bill Hart
29
Bill Hill
28
Red Donahue
35
Bill Hart
27
Frank Killen
23
Doc McJames
23
Jim Hughey
24
Brickyard Kennedy
22
Willie Sudhoff
27
Jack Taylor
29
Gus Weyhing
26
Joe Yeager
22
Bill Carrick
27
Jim Hughey
30
Charlie Knepper
22
Sam Leever
23
Bill Carrick
22
Bill Carrick
22
Pete Dowling
22
Tom Hughes
23
Dummy Taylor
27
Patsy Flaherty
25
Al Orth
22
Casey Patten
22
Togie Pittinger
22
Jack Cronin
23
Chick Fraser
24
Beany Jacobson
23
Oscar Jones
25
George Mullin
23
Casey Patten
23
Happy Townsend
26
Vic Willis
25
Fred Glade
25
Harry Howell
22
Harry McIntire
25
Orval Overall
23
Kaiser Wilhelm
23
Vic Willis
29
Gus Dorner
25
Vive Lindaman
23
Big Jeff Pfeffer
22
Irv Young
25
Stoney McGlynn
25
Irv Young
23
Joe Lake
22
Bugs Raymond
25
Kaiser Wilhelm
22
Cecil Ferguson
23
Bob Groom
26
Walter Johnson
25
George Bell
27
Buster Brown
23
Cliff Curtis
24
Lefty Tyler
22
Dan Griner
22
Red Ames
23
Rube Marquard
22
Jack Quinn
22
Weldon Wyckoff
22
Bullet Joe Bush
24
Lee Meadows
23
Elmer Myers
23
Rollie Naylor
23
Scott Perry
25
Eppa Rixey
22
Eddie Rommel
23
Dolf Luque
23
Red Ruffing
25
Red Ruffing
22
Pat Caraway
24
Sam Gray
24
Paul Derringer
25
Si Johnson
22
Ben Cantwell
25
Hugh Mulcahy
22
Art Ditmar
22
Robin Roberts
22
Roger Craig
24
Roger Craig
22
Jack Fisher
24
Dick Ellsworth
22
Denny McLain
22
Bill Bonham
22
Randy Jones
22
Steve Rogers
22