Question: 2. A travel site has a database that represents information about hotels and feedback from users that uses the relations: hotel(Id, Name, City, Province, Country,

2. A travel site has a database that represents information about hotels and feedback from users that uses the relations:

hotel(Id, Name, City, Province, Country, Address)

reported_clean(Hotel, RoomNumber, Cleanliness, day(Year, Month, Day))

Show how the following facts can be represented using triple notation, using vocabulary that make sense:

hotel(h345,"The Beach Hotel",victoria,bc, canada,"300 Beach St").

reported_clean(h345,127,clean,day(2013,01,25)).

Is it reasonable to represent the hotel name and address as strings? Explain.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Management And Artificial Intelligence Questions!

Q:

a