Problems - Create rules in the database to solve each of the following: a. In which year was a specific movie released? year_released(Movie, Year):- b. Find all movies released in a given year. movies_released_in_year(Movies, Year):- c. Find all movies released AFTER a given year. movies_released_before_year(Movies, Year):- d. Find all movies released BEFORE a given year. movies_released_after_year(Movies, Year):- e. Find all actors and actresses who also directed a movie, the movie, and the role they played. star_who_directed(Star, Movie, Role):- f. Find all co-stars of an actor. co_star(Star, Costar). */ /* DATABASE movie(M, Y) <- movie M came out in year Y director(M, D) <- movie M was directed by director D actor(M, A, R) <- actor A played role R in movie M actress(M, A, R) <- actress A played role R in movie M
Recently Asked Questions
- I have answered this question, I am going to provide the context of the question, my research, then I will state the question and list my answer, and why I got
- Please refer to the attachment to answer this question. This question was created from RAC Part One Sp 18 (Reimer, 2015).docx.
- Please refer to the attachment to answer this question. This question was created from Lab49_Phases_of_Moon.