Readings: Difference between revisions
No edit summary |
|||
Line 31: | Line 31: | ||
Mandatory readings: | Mandatory readings: | ||
* Chapters 1-2 in Allemang & | * Chapters 1-2 in Allemang, Hendler & Gandon (3rd edition) | ||
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web] | * [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web] | ||
* [[:File:S01-KnowledgeGraphs.pdf | Slides from the lecture]] | * [[:File:S01-KnowledgeGraphs.pdf | Slides from the lecture]] | ||
Line 44: | Line 44: | ||
** Linking Open Data (LOD) (http://lod-cloud.net) | ** Linking Open Data (LOD) (http://lod-cloud.net) | ||
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/) | ** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/) | ||
Line 53: | Line 54: | ||
Mandatory readings: | Mandatory readings: | ||
* Chapter 3 in Allemang & | * Chapter 3 in Allemang, Hendler & Gandon (3rd edition) | ||
* [https://www.w3.org/TR/rdf11-primer/ W3C's RDF 1.1 Primer] | * [https://www.w3.org/TR/rdf11-primer/ W3C's RDF 1.1 Primer] | ||
* [http://rdflib.readthedocs.io/ rdflib 6.1.1] | * [http://rdflib.readthedocs.io/ rdflib 6.1.1] | ||
Line 70: | Line 71: | ||
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs | * [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs | ||
* An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools] | * An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools] | ||
==Lecture 3: Querying and updating KGs (SPARQL)== | ==Lecture 3: Querying and updating KGs (SPARQL)== | ||
Line 79: | Line 81: | ||
Mandatory readings: | Mandatory readings: | ||
* Chapter | * Chapter 6 in Allemang, Hendler & Gandon (3rd edition) | ||
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]] | * [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]] | ||
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language] (Sections 1-3) | * [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language] (Sections 1-3) | ||
Line 92: | Line 94: | ||
* [https://www.w3.org/TR/sparql11-overview/ SPARQL 1.1 Overview] | * [https://www.w3.org/TR/sparql11-overview/ SPARQL 1.1 Overview] | ||
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib API documentation] (same as Session 2) | * [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib API documentation] (same as Session 2) | ||
==Lecture 4: Storing and sharing KGs== | ==Lecture 4: Storing and sharing KGs== | ||
Line 101: | Line 104: | ||
Mandatory readings: | Mandatory readings: | ||
* Chapter 4 in Allemang & | * Chapter 4 in Allemang, Hendler & Gandon (3rd edition) | ||
* [https://wiki.blazegraph.com/wiki/index.php/Main_Page Blazegraph]: | * [https://wiki.blazegraph.com/wiki/index.php/Main_Page Blazegraph]: | ||
** Introduction - About Blazegraph | ** Introduction - About Blazegraph | ||
Line 116: | Line 119: | ||
* [http://www.youtube.com/watch?v=4x_xzT5eF5Q What is Linked Data?] Short video introduction to Linked Data by Manu Sporny | * [http://www.youtube.com/watch?v=4x_xzT5eF5Q What is Linked Data?] Short video introduction to Linked Data by Manu Sporny | ||
* [http://www.youtube.com/watch?v=vioCbTo3C-4 What is JSON-LD?] Short video introduction to JSON-LD by Manu Sporny | * [http://www.youtube.com/watch?v=vioCbTo3C-4 What is JSON-LD?] Short video introduction to JSON-LD by Manu Sporny | ||
==Lecture 5: Open Knowledge Graphs== | ==Lecture 5: Open Knowledge Graphs== | ||
Line 132: | Line 136: | ||
Mandatory readings: | Mandatory readings: | ||
* Chapter 5 in Allemang, Hendler & Gandon (3rd edition) | |||
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27. | * [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27. | ||
* [http://lod-cloud.net The Linking Open Data (LOD) cloud diagram] - The Linked Open Data Cloud | * [http://lod-cloud.net The Linking Open Data (LOD) cloud diagram] - The Linked Open Data Cloud | ||
Line 167: | Line 172: | ||
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes] | ** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes] | ||
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook] | ** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook] | ||
==Lecture 6: Enterprise Knowledge Graphs== | ==Lecture 6: Enterprise Knowledge Graphs== | ||
Line 186: | Line 192: | ||
* [[:File:A1-Poster-NIKT2021.pdf | News Angler / News Hunter poster]] | * [[:File:A1-Poster-NIKT2021.pdf | News Angler / News Hunter poster]] | ||
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]]. Example of research paper from Amazon - this is a bit heavy for Bachelor level, but you can have a look :-) | * [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]]. Example of research paper from Amazon - this is a bit heavy for Bachelor level, but you can have a look :-) | ||
==Lecture 7: Rules (RDFS)== | ==Lecture 7: Rules (RDFS)== | ||
Line 195: | Line 202: | ||
Mandatory readings: | Mandatory readings: | ||
* Chapters | * Chapters 7-8 in Allemang, Hendler & Gandon (3rd edition) | ||
* [http://www.w3.org/TR/rdf-schema/ W3C's RDF Schema 1.1], focus on sections 1-3 and 6 | * [http://www.w3.org/TR/rdf-schema/ W3C's RDF Schema 1.1], focus on sections 1-3 and 6 | ||
* [[:File:S07-RDFS.pdf | Slides from the lecture]] | * [[:File:S07-RDFS.pdf | Slides from the lecture]] | ||
Line 205: | Line 212: | ||
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the ''owlrl'' folder into your project folder, next to your Python files, and import it with ''import owlrl''. | * [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the ''owlrl'' folder into your project folder, next to your Python files, and import it with ''import owlrl''. | ||
* [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need - check the [[Python Examples]] first | * [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need - check the [[Python Examples]] first | ||
==Lecture 8: Ontologies (OWL)== | ==Lecture 8: Ontologies (OWL)== | ||
Line 214: | Line 222: | ||
Mandatory readings: | Mandatory readings: | ||
* Chapter | * Chapter 9-10 in Allemang, Hendler & Gandon (3rd edition) | ||
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6 | * [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6 | ||
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies] | * [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies] | ||
Line 226: | Line 234: | ||
* The OWL-RL materials from Lecture 5 | * The OWL-RL materials from Lecture 5 | ||
* [[:File:LohmannEtAl2016-VisualizingOntologiesWithVOWL.pdf | Lohmann et al. (2019): Visualizing Ontologies with VOWL. ''Semantic Web Journal.'']] | * [[:File:LohmannEtAl2016-VisualizingOntologiesWithVOWL.pdf | Lohmann et al. (2019): Visualizing Ontologies with VOWL. ''Semantic Web Journal.'']] | ||
==Lecture 9: Vocabularies== | ==Lecture 9: Vocabularies== | ||
Line 233: | Line 242: | ||
Mandatory readings: | Mandatory readings: | ||
* Chapters | * Chapters 10-11 in Allemang, Hendler & Gandon (3rd edition) | ||
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)] | * [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)] | ||
* Important vocabularies / ontologies: | * Important vocabularies / ontologies: | ||
Line 287: | Line 296: | ||
Mandatory readings: | Mandatory readings: | ||
* Chapters | * Chapters 12-13 in Allemang, Hendler & Gandon (3rd edition) | ||
* [http://www.w3.org/TR/owl-primer OWL2 Primer] | * [http://www.w3.org/TR/owl-primer OWL2 Primer] | ||
* [[:File:S12-OWL-2.pdf | Slides from the lecture (old slides from 2021)]] | * [[:File:S12-OWL-2.pdf | Slides from the lecture (old slides from 2021)]] | ||
Line 307: | Line 316: | ||
Mandatory readings: | Mandatory readings: | ||
* [https://torchkge.readthedocs.io/en/latest/ TorchKGE] | * [https://torchkge.readthedocs.io/en/latest/ TorchKGE] | ||
==Lecture 13: Knowledge Engineering== | ==Lecture 13: Knowledge Engineering== | ||
Line 315: | Line 325: | ||
Mandatory readings: | Mandatory readings: | ||
* Chapters 14-16 in Allemang & | * Chapters 14-16 in Allemang, Hendler & Gandon (3rd edition) | ||
* [http://liris.cnrs.fr/alain.mille/enseignements/Ecole_Centrale/What%20is%20an%20ontology%20and%20why%20we%20need%20it.htm Noy & McGuinness (2001): Ontology Development 101: A Guide to Creating Your First Ontology.] | * [http://liris.cnrs.fr/alain.mille/enseignements/Ecole_Centrale/What%20is%20an%20ontology%20and%20why%20we%20need%20it.htm Noy & McGuinness (2001): Ontology Development 101: A Guide to Creating Your First Ontology.] | ||
* [[:File:S15-OntologyDevelopment-5.pdf | Slides from the lecture (old slides from 2021)]] | * [[:File:S15-OntologyDevelopment-5.pdf | Slides from the lecture (old slides from 2021)]] | ||
Line 321: | Line 331: | ||
Useful materials: | Useful materials: | ||
* The rest of Blumauer & Nagy (suggested) | * The rest of Blumauer & Nagy (suggested) | ||
==Lecture 14: Wrapping up== | ==Lecture 14: Wrapping up== |
Revision as of 15:03, 15 March 2022
Textbooks
Main course book:
- Dean Allemang, James Hendler & Fabien Gandon (2020). Semantic Web for the Working Ontologist, Effective Modeling for Linked Data, RDFS and OWL (Third Edition). ISBN: 9781450376143, PDF ISBN: 9781450376150, Hardcover ISBN: 9781450376174, DOI: 10.1145/3382097. The whole book is mandatory reading.
Supplementary text book (not mandatory):
- Andreas Blumauer and Helmut Nagy (2020). The Knowledge Graph Cookbook - Recipes that Work. mono/monochrom. ISBN-10: 3902796707, ISBN-13: 978-3902796707.
Other materials
In addition, the materials listed below for each lecture are either mandatory or suggested reading. More materials will be added to each lecture in the coming weeks.
The lectures and lectures notes are also part of the curriculum.
Make sure you download the electronic resources to your own computer in good time before the exam. This is your own responsibility. That way you are safe if a site becomes unavailable or somehow damaged the last few days before the exam.
Note: to download some of the papers, you may need to be inside UiB's network. Either use a computer directly on the UiB network or connect to your UiB account through VPN.
Lectures
Below are the mandatory and suggested readings for each lecture. All the textbook chapters in Allemang, Hendler & Gandon are mandatory, whereas the chapters in Blumauer & Nagy are suggested.
To be updated - the readings for the later lectures are not yet final for Spring 2022.
Lecture 1: Introduction to knowledge Graphs
Themes:
- Introduction to Knowledge Graphs
- Organisation of INFO216
Mandatory readings:
- Chapters 1-2 in Allemang, Hendler & Gandon (3rd edition)
- Tim Berners-Lee talks about the semantic web
- Slides from the lecture
Useful materials:
- Pages 27-55 and 105-122 in Blumauer & Nagy (suggested)
- Important knowledge graphs (we will look more at them later!):
- Wikidata (https://www.wikidata.org/)
- DBpedia (https://www.dbpedia.org, https://dbpedia.org/page/Bergen)
- GeoNames (https://www.geonames.org/)
- BabelNet (https://babelnet.org/)
- Linking Open Data (LOD) (http://lod-cloud.net)
- Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)
Lecture 2: Representing KGs (RDF)
Themes:
- RDF
- Programming RDF in Python
Mandatory readings:
- Chapter 3 in Allemang, Hendler & Gandon (3rd edition)
- W3C's RDF 1.1 Primer
- rdflib 6.1.1
- Main page
- Getting started with RDFLib
- Loading and saving RDF
- Creating RDF triples
- Navigating Graphs
- Utilities and convenience functions
- Slides from the lecture
Useful materials:
- Pages 25-28, 92-100, 125-128, and 164-167 in Blumauer & Nagy (suggested)
- W3C's RDF 1.1 Concepts and Abstract Syntax
- RDFLib API documentation (useful reference for the labs)
- RDF Grapher for drawing RDF graphs
- An overview page of some other RDF Data Visualization tools
Lecture 3: Querying and updating KGs (SPARQL)
Themes:
- SPARQL queries
- SPARQL Update
- Programming SPARQL and SPARQL Update in Python
Mandatory readings:
- Chapter 6 in Allemang, Hendler & Gandon (3rd edition)
- SPARQL 1.1 Cheat Sheet
- SPARQL 1.1 Update Language (Sections 1-3)
- rdflib 6.1.1 materials:
- Querying with SPARQL
- Slides from the lecture
Useful materials:
- For example pages 54-55, 133 in Blumauer & Nagy (suggested)
- SPARQL 1.1 Query Language
- SPARQL 1.1 Update Language (the rest of it)
- SPARQL 1.1 Overview
- RDFLib API documentation (same as Session 2)
Lecture 4: Storing and sharing KGs
Themes:
- Triple stores and Blazegraph
- Web APIs and JSON-LD
- Other serialisation formats
Mandatory readings:
- Chapter 4 in Allemang, Hendler & Gandon (3rd edition)
- Blazegraph:
- Introduction - About Blazegraph
- Getting started
- Section 2 in W3C's JSON-LD 1.1 Processing Algorithms and API
- Slides from the lecture
Useful materials:
- Part 4 (System Architecture and Technologies) in Blumauer & Nagy (suggested)
- JSON Syntax (if you do not know it already :-))
- Blazegraph
- The rest of it...
- JSON for Linked Data
- What is Linked Data? Short video introduction to Linked Data by Manu Sporny
- What is JSON-LD? Short video introduction to JSON-LD by Manu Sporny
Lecture 5: Open Knowledge Graphs
Themes:
- The LOD cloud
- Important open KGs (LOD datasets)
- Wikidata
- DBpedia
- the GDELT project
- EventKG
- GeoNames
- WordNet
- BabelNet
- and others
Mandatory readings:
- Chapter 5 in Allemang, Hendler & Gandon (3rd edition)
- Linked Data, Tim Berners-Lee, 2006-07-27.
- The Linking Open Data (LOD) cloud diagram - The Linked Open Data Cloud
- Important knowledge graphs - and what to read:
- Wikidata (https://www.wikidata.org/):
- DBpedia (https://www.dbpedia.org):
- About Dbpedia
- example: [2]
- GeoNames (https://www.geonames.org/):
- About GeoNames
- example: [3]
- GDELT (https://www.gdeltproject.org/)
- The GDELT Project - see also the About and Data pages
- EventKG (http://eventkg.l3s.uni-hannover.de/)
- WordNet (https://wordnet.princeton.edu/)
- BabelNet (https://babelnet.org/):
- About BabelNet
- How to use
- example: [4]
- Slides from the lecture
Useful materials:
- Bizer, C., Heath, T., & Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.
- Parts 1 and 3 in Blumauer & Nagy's text book (not tightly related to the lecture, but time to finish them by now :-))
- Wikidata statistics
- GDELT documentation
Lecture 6: Enterprise Knowledge Graphs
Themes:
- Enterprise Knowledge Graphs
- Google’s Knowledge Graph
- Amazon’s Product Graphs
- News Hunter’s infrastructure and architecture
Mandatory readings:
- Introducing the Knowledge Graph: Things not Strings, Amit Singhal, Google (2012). (The blog post that introduced Google's knowledge graph to the world.)
- A reintroduction to our Knowledge Graph and knowledge panels, Danny Sullivan, Google (2020).
- How Amazon’s Product Graph is helping customers find products more easily, Arun Krishnan, Amazon (2018). (Short blog post that reviews some central ideas from the AutoKnow research paper listed below.)
- Slides from the lecture
Supplementary readings:
- Parts 2 and 4 in Blumauer & Nagy's text book (strongly suggested - this is where Blumauer & Nagy's book is good!)
- News Angler / News Hunter poster
- AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types. Example of research paper from Amazon - this is a bit heavy for Bachelor level, but you can have a look :-)
Lecture 7: Rules (RDFS)
Themes:
- RDFS
- Axioms, rules and entailment
- Programming RDFS in Python
Mandatory readings:
- Chapters 7-8 in Allemang, Hendler & Gandon (3rd edition)
- W3C's RDF Schema 1.1, focus on sections 1-3 and 6
- Slides from the lecture
Useful materials:
- Pages 101-106 in Blumauer & Nagy (suggested)
- W3C's RDF 1.1 Semantics (the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture)
- Inference and Thruth Maintenance in Blazegraph
- OWL-RL adds inference capability on top of RDFLib. To use it, copy the owlrl folder into your project folder, next to your Python files, and import it with import owlrl.
- OWL-RL documentation (most likely more detailed than you will need - check the Python Examples first
Lecture 8: Ontologies (OWL)
Themes:
- Basic OWL concepts
- Axioms, rules and entailments
- Programming basic OWL in Python
Mandatory readings:
- Chapter 9-10 in Allemang, Hendler & Gandon (3rd edition)
- OWL2 Primer, sections 2-6
- VOWL: Visual Notation for OWL Ontologies
- Slides from the lecture (old slides from 2021)
Useful materials (cursory):
- Pages 106-109 in Blumauer & Nagy (suggested)
- OWL 2 Document Overview
- OWL 2 Quick Reference Guide
- OWL2 RDF-Based Semantics
- The OWL-RL materials from Lecture 5
- Lohmann et al. (2019): Visualizing Ontologies with VOWL. Semantic Web Journal.
Lecture 9: Vocabularies
Themes:
- LOD vocabularies and ontologies
Mandatory readings:
- Chapters 10-11 in Allemang, Hendler & Gandon (3rd edition)
- Linked Open Vocabularies (LOV)
- Important vocabularies / ontologies:
- SKOS - Simple Knowledge Organization System Home Page
- schema.org - Full Hierarchy
- Dublin Core (DC)
- Friend of a Friend (FOAF)
- Creative Commons (CC) Vocabulary
- Provenance Interchange (PROV)
- Event Ontology (event)
- Time ontology in OWL (time, OWL-time)
- Semantic Interlinked Online Communities (SIOC)
- What we expect you to know about each vocabulary is this:
- Its purpose and where and how it can be used.
- Its most central 3-6 classes and properties be able to explain its basic structure.
- It is less important to get all the names and prefixes 100% right: we do not expect you to learn every little detail by heart.
- Slides from the lectures (old slides from 2021)
- Additional slides about the News Angler/News Hunter ontologies (old slides from 2021)
Useful materials:
- More vocabularies / ontologies:
Lecture 10: Reasoning about KGs (DL)
Themes:
- Description logic
- Decision problems
- OWL-DL
Mandatory readings:
Useful materials:
- Nardi & Brachman: Introduction to Description Logics. Chapter 1 in Description Logic Handbook.
- Baader & Nutt: Basic Description Logics. Chapter 2 in Description Logic Handbook.
- Cursory, quickly gets mathematical after the introduction. In particular, sections 2.2.2.3-4 about fixpoint semantics apply to TBoxes with cyclic definitions, which we do not consider in this course. We also do not consider the stuff about rules, epistemics, and reasoning from section 2.2.5 on.
- Complexity of Reasoning in Description Logics. Powered by Evgeny Zolin. (informative)
- Example file demonstrating Protege-OWL reasoning with HermiT.
Lecture 11: Formal ontologies (OWL-DL)
Themes:
- Advanced OWL
Mandatory readings:
- Chapters 12-13 in Allemang, Hendler & Gandon (3rd edition)
- OWL2 Primer
- Slides from the lecture (old slides from 2021)
Useful materials:
- OWL 2 Document Overview
- OWL 2 Quick Reference Guide (cursory)
- VOWL: Visual Notation for OWL Ontologies
- WebVOWL
Lecture 12: KG embeddings
Themes:
- KG embeddings
- Link prediction
- TorchKGE
Mandatory readings:
Lecture 13: Knowledge Engineering
Themes:
- Knowledge engineering
- The Ontology Development 101 method
Mandatory readings:
- Chapters 14-16 in Allemang, Hendler & Gandon (3rd edition)
- Noy & McGuinness (2001): Ontology Development 101: A Guide to Creating Your First Ontology.
- Slides from the lecture (old slides from 2021)
Useful materials:
- The rest of Blumauer & Nagy (suggested)
Lecture 14: Wrapping up