CIS672 (Fall 1996) Expert Systems; Professor Franz J. Kurfess

Home page:http://www.cis.njit.edu/franz   E-mail:franz@cis.njit.edu 
Homework Task Deadline Points Student Name:
2 Baseball Relationships Nov. 18 5
In this homework, you have to write a CLIPS program to determine the relationships between the people of a baseball team from the partial provided information below; in particular, the program has to determine who plays each position on the baseball team. In addition to printing out the complete listing of relationships, please add an interactive facility, allowing queries about a particular person or a particular relationship. The task is taken from [Giarratano, Riley, 1994], p. 439. Andy dislikes the catcher. Ed's sister is engaged to the second baseman. The center fielder is taller than the right fielder. Harry and the third baseman live in the same building. Paul and Allen each won $20 from the pitcher at pinocle. Ed and the outfielders play poker during their free time. The pitcher's wife is the third baseman's sister. All the battery (the pitcher and the catcher) and infield, except Allen, Harry, and Andy, are shorter than Sam. Paul, Andy, and the shortstop lost $50 each at the racetrack. Paul, Harry, Bill, and the catcher took a trouncing from the second baseman at Pool. Sam is undergoing a divorce suit. The catcher and the third baseman each have two children. Ed, Paul, Jerry, the right fielder, and the center fielder are bachelors. The others are married. The shortstop, the third baseman, and Bill each cleaned up $100 betting on the fight. One of the outfielders is either Mike or Andy. Jerry is taller than Bill. Mike is shorter than Bill. Each of them is heavier than the third baseman. Sam, the catcher, and the third baseman are left handed. Ed, Sam, and the shortstop went to high school together.