Database 2, année 2024
A Python implementation of the lecture definitions
You will find here a Python file which is incomplete. It contains several TODOs. The goal of this lab is to fill all the TODO by following carefully the definition of the lecture notes.
You need to know about classes in Python for that lab. Please read the official tutorial.
You can answer in a notebook or a Python script as you prefer.
- What does the
v
class represents? How does it works? - In a notebook, produce a small database example.
- Write an interesting CQ.
- Fill the TODO in the
Fact
class that check that aFact
is indeed aFact
and not anAtom
.
Compiled the: mar. 21 janv. 2025 22:04:19 CET