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
Get step-by-step solutions from verified subject matter experts
