Question: Swish prologue: make a program including these methods Then check with the following given parameter: SWISH File Edit Examples Help 117 use Program + 1/Problens
SWISH File Edit Examples Help 117 use Program + 1/Problens - Create rules in the database to solve each of the following: 3 a. In which year was a specific movie released? year released(Movie, Year): movies released in year (Movies, Year) movies released before year (Movies, Year): movies released after year (Movies, Year):- star who-directed (Star, Movie, Role) co star(Star, Costar). b. Find all movies released in a given year. 7c.Find all movies released AFTER a given year. 9 d. Find all movies released BEFORE a given year. 10 11e. Find all actors and actresses who also directed a movie, the movie, and the role they played. 12 13f. Find all co-stars of an actor. 14 15 16/ 17 18/DATABASE 19 20 movie(M, Y) -movie M came out in year r 21 director(M, D) -movie M was directed by director D 22 actor(M, A,R)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
