Lehrveranstaltung mit SWS 4/2/0 (Vorlesung/Übung/Praktikum) in SS 2019
- Mündliche Prüfung
Databases are a key technology in computer science that brings together fascinating theoretical topics and highly relevant practical applications. The goal of this lecture is to give an extended introduction to this interesting field, with a special focus on database query languages, their expressive power, and computational complexity. The lecture will introduce the relational data model, and then discuss theoretical and practical aspects of a variety of query languages:
- first-order logic as a query language and the relational algebra
- conjunctive queries and their unions
- navigational queries: path queries
- Datalog and its relatives
- query answering under database dependencies
The lecture focuses on core principles that apply to many types of databases alike (relational, graph-based, semantic web). Some important query answering algorithms are presented, too, but otherwise, the details of database implementation and administration are not covered.
An undergraduate-level knowledge of predicate logic, regular languages, and algorithmic and computational complexity is required. The lecture will connect with other topics in the Computer Science and Computational Logic curriculum, such as relational databases, logic programming, and Semantic Web technologies – familiarity with these topics is not required to follow the lecture.
Schedule and Location
All sessions will take place in room APB/E005. The default arrangement is as follows:
- The weekly lecture sessions will take place on Tuesday DS2 (9:20 to 10:50) and Friday DS5 (2:50 to 4:20).
- The weekly exercise session will take place on Wednesday DS3 (11:10 to 12:40).
In some weeks, the Wednesday exercises will be swapped with the Friday lectures
- The first exercise session will take place in the second week on 12 April 2019.
- There will NOT be a lecture on the 5th of April.
This course has first been taught at TU Dresden in the form of the 2015 lecture Foundations of Databases and Query Languages and the 2018 lecture Database Theory. The plan for this year's course will be very similar.The structure of some of the lectures of this course is inspired by the course Theory of Data and Knowledge Bases in the version given by Georg Gottlob and Thomas Lukasiewicz at the University of Oxford.
The main reference textbook for the lecture is:
- Serge Abiteboul, Richard Hull, Victor Vianu: Foundations of Databases. Addison-Wesley. 1994.
- The book is available for free from its webpage, but there are also copies in the library.
Further texts might be consulted for background information and additional details:
- Michael Sipser: Introduction to the Theory of Computation. 2005
- Accessible introduction to complexity theory that covers all topics of computational complexity that the lecture touches upon.
- Evgeny Dantsin, Thomas Eiter, Georg Gottlob, Andrei Voronkov: Complexity and expressive power of logic programming. ACM Computing Surveys, 33:3, pp 374-425, 2001.
- Covers all Datalog complexity results mentioned in the lecture. Available at http://dx.doi.org/10.1145/502807.502810 (may require access from within a university network)
- additional references will be added in the course of the lecture
|Vorlesung||Introduction/Relational Data Model||DS2, 2. April 2019 in APB E005||Download, Download|
|Vorlesung||First-Order Queries (part 1)||DS2, 9. April 2019 in APB E005||Download, Download|
|Vorlesung||First-Order Queries (part 2)||DS3, 10. April 2019 in APB E005|
|Übung||Relational Algebra||DS5, 12. April 2019 in APB E005||Download|
|Vorlesung||Complexity of Query Answering||DS2, 16. April 2019 in APB E005||Download, Download|
|Übung||First-Order Queries||DS3, 17. April 2019 in APB E005||Download|
|Vorlesung||Complexity of FO Query Answering (1)||DS2, 23. April 2019 in APB E005||Download, Download|
|Vorlesung||Complexity of FO Query Answering (2)||DS3, 24. April 2019 in APB E005||Download, Download|
|Übung||Complexity of FO Query Answering||DS5, 26. April 2019 in APB E005||Download|
|Vorlesung||Conjunctive Queries||DS2, 30. April 2019 in APB E005||Download, Download|
|Vorlesung||Tree-Like Conjunctive Queries (1)||DS5, 3. Mai 2019 in APB E005||Download, Download|
|Vorlesung||Tree-Like Conjunctive Queries (2)||DS2, 7. Mai 2019 in APB E005||Download, Download|
|Vorlesung||Query Optimisation||DS3, 8. Mai 2019 in APB E005||Download, Download|
|Übung||Conjunctive Queries, CSP, and Hypergraphs||DS5, 10. Mai 2019 in APB E005||Download|
|Vorlesung||Conjunctive Query Optimisation||DS2, 14. Mai 2019 in APB E005||Download, Download|
|Vorlesung||Query Expressiveness (Part 1)||DS3, 15. Mai 2019 in APB E005||Download, Download|
|Übung||Treewidth and Hypertreewidth||DS5, 17. Mai 2019 in APB E005||Download|
|Vorlesung||Query Expressiveness (Part 2)||DS2, 21. Mai 2019 in APB E005|
|Übung||Trakhtenbrot's Theorem||DS5, 24. Mai 2019 in APB E005||Download|
|Vorlesung||Introduction to Datalog||DS2, 28. Mai 2019 in APB E005||Download, Download|
|Vorlesung||Datalog Complexity||DS3, 29. Mai 2019 in APB E005||Download, Download|
|Übung||Query Optimisation and FO Query Expressivity||DS5, 31. Mai 2019 in APB E005||Download|
|Vorlesung||Datalog Evaluation (1)||DS2, 4. Juni 2019 in APB E005||Download, Download|
|Vorlesung||Datalog Evaluation (2)||DS3, 5. Juni 2019 in APB E005||Download, Download|
|Übung||Datalog||DS5, 7. Juni 2019 in APB E005||Download|
|Vorlesung||Graph Databases and Path Queries||DS2, 18. Juni 2019 in APB E005||Download, Download|
|Vorlesung||(Cancelled)||DS2, 25. Juni 2019 in APB E005|
|Übung||(Cancelled)||DS3, 26. Juni 2019 in APB E005||Download|
|Übung||Datalog Evaluation||DS5, 28. Juni 2019 in APB E005||Download|
|Vorlesung||Dependencies||DS2, 2. Juli 2019 in APB E005||Download, Download|
|Vorlesung||The Chase||DS3, 3. Juli 2019 in APB E005||Download, Download|
|Übung||Graph Databases and Path Queries||DS5, 5. Juli 2019 in APB E005||Download|
|Vorlesung||Query Answering Beyond Acyclic TGDs||DS2, 9. Juli 2019 in APB E005||Download, Download|
|Vorlesung||Outlook||DS3, 10. Juli 2019 in APB E005||Download, Download|
|Übung||Dependencies||DS5, 12. Juli 2019 in APB E005||Download|