1. Change the Dataset X into a set of relations.
A simplified bookstore data (dataset “X”)
A simplified bookstore data (dataset “X”)
ID
|
Author
|
Title
|
Publisher
|
Year
|
id_xyz
|
The Glass Palace
|
id_qpr
|
2015
|
ID
|
Name
|
Home Page
|
id_xyz
|
Razi Rahim
|
http://www.razirahim.com
|
ID
|
Publisher Name
|
City
|
id_qpr
|
Pustaka RR
|
Kuala Lumpur
|
ANSWER:
2. Change the Dataset Z into a set of relations.
Another bookstore data (Dataset “Z”)
ID
|
Titre
|
Traducteur
|
Original
|
ISBNO 2020
|
Le Palais des miroirs
|
John Kenu
|
ISBN-0-00651409-X
|
ID
|
Auteur
|
ISBN-0-00651409-X
|
Razi Rahim
|
ANSWER:
3. The Combination of two datasets. Dataset X and Dataset Z.
ANSWER:
4. Model the following ontologies into set of relations:
- Herbivores, Carnivores, and Omnivores are animals
- People are omnivores
- People have names of type “string”
- Vegetarians are people who are herbivores
- “eats” is a property of animals and the values of the property must be of the type “food”
- Meat and Veggies are types of food
ANSWER:




No comments:
Post a Comment