NPRG036 - Data Formats


Exam dates are already in SIS.

See a sample test.

Lectures - Wednesdays 14:00 in S9

  1. 2022-10-05: Data formats introduction: Google Slides, YouTube (English), YouTube (Czech)
  2. 2022-10-12: Graph data formats - RDF, RDF Schema, Linked Data, Open World Assumption: Google Slides, YouTube (English), YouTube (Czech)
  3. 2022-10-19: Graph data formats - SPARQL: Google Slides, YouTube (English), YouTube (Czech)
  4. 2022-10-26: Graph data formats - Basic vocabularies, Wikidata: Google Slides, YouTube (English), YouTube (Czech)
  5. 2022-11-02: Graph data formats - Labeled property graph model, Cypher, RDF-star: Google Slides, YouTube (English), YouTube (Czech)
  6. 2022-11-09: Sports day - No lecture
  7. 2022-11-16: Hierarchical data formats - XML, XML Schema: Google Slides, YouTube (English), YouTube (Czech)
  8. 2022-11-23: Hierarchical data formats - XPath, XSLT: Google Slides, YouTube (English), YouTube (Czech)
  9. 2022-11-30: Hierarchical data formats - JSON, JSON Schema, JSON-LD: Google Slides, YouTube (English), YouTube (Czech)
  10. 2022-12-07: Relational data formats - SQL dump, CSV, CSV on the Web: Google Slides, YouTube (English), YouTube (Czech)
  11. 2022-12-14: Formats for geodata by guest speaker Michal Med: PDF, YouTube
  12. 2022-12-21: Multimedia formats - images, video, audio, containers, print formats: Google Slides, YouTube (English), YouTube (Czech), Print formats on YouTube (Czech)
  13. 2023-01-04: Key-value, configuration formats - .properties, INI, TOML, YAML: Google Slides, YouTube (English), YouTube (Czech), Formats for text documents: Google Slides, YouTube (English), YouTube (Czech)

Tutorials SW2/SU2

In this section, the links to tutorials with examples are available. There are three instances of tutorials per week. The tutorials are split into (R) Recommended, where we go through what you need for the homework, and (O) Optional, which are shorter and you can practice them at home, and therefore come to the tutorial only if you need to consult something (the homework).

  1. T1: Mondays 10:40, SU2
  2. T2: Mondays 14:00, SW2
  3. T3: Wednesdays 12:20, SU2


The slides contain assignments to be practiced during the tutorial. In case of problems consult during the tutorial.

  1. Week 1: No tutorial - semester starts on Thursday
  2. Week 2: No tutorial - still before first lecture - you may use the time to form groups of 4 within your tutorial instance
  3. Week 3 (R): Conceptual Modeling
  4. Week 4 (R): RDF
  5. Week 5 (R): SPARQL
  6. Week 6 (O): Wikidata
  7. Week 7: Wednesday is Sports day, Monday also cancelled
  8. Week 8 (R): LPG & Cypher
  9. Week 9 (R): XML & XML Schema
  10. Week 10 (R): XPath & XSLT
  11. Week 11 (R): JSON, jq, JSON Schema, JSON-LD
  12. Week 12 (R): CSV, CSV on the Web
  13. Week 13 (O): Geodata - GeoJSON, WKT, CRS, QGIS
  14. Week 14 (O): Multimedia formats, Formats for text documents
  15. Self-study: Key-value formats - TOML, YAML


Final deadline for fixing all HW feedback is 2023-01-04T20:00:00. There must be no errors in the HWs by then.

Homework part 1: Conceptual model

See the homework 1 assignment.

Homework part 2: Graph models

See the homework 2 assignment.

Homework part 3: Hierarchical models

See the homework 3 assignment.

Homework part 4: Relational model

See the homework 4 assignment.