Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 prologue: make a program including these methods
image text in transcribed
Then check with the following given parameter:
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction To Constraint Databases

Authors: Peter Revesz

1st Edition

1441931554, 978-1441931559

More Books

Students also viewed these Databases questions