<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://info216.wiki.uib.no/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sinoa</id>
	<title>info216 - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://info216.wiki.uib.no/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sinoa"/>
	<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/Special:Contributions/Sinoa"/>
	<updated>2026-04-19T22:16:37Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2717</id>
		<title>Readings</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2717"/>
		<updated>2025-05-06T08:26:28Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Textbooks=&lt;br /&gt;
&lt;br /&gt;
Main course book (&#039;&#039;the whole book is mandatory reading&#039;&#039;):&lt;br /&gt;
* Hogan, A. et al. (2021). &#039;&#039;&#039;Knowledge Graphs.&#039;&#039;&#039; Springer. &#039;&#039;Synthesis Lectures on Data, Semantics, and Knowledge&#039;&#039; 22, 1–237, DOI: 10.2200/S01125ED1V01Y202109DSK022, Springer. https://kgbook.org/&lt;br /&gt;
&lt;br /&gt;
Supplementary books (&#039;&#039;not&#039;&#039; mandatory):&lt;br /&gt;
* Dean Allemang, James Hendler &amp;amp; Fabien Gandon (2020). &#039;&#039;&#039;Semantic Web for the Working Ontologist, Effective Modeling for Linked Data, RDFS and OWL (Third Edition).&#039;&#039;&#039; ISBN: 9781450376143, PDF ISBN: 9781450376150, Hardcover ISBN: 9781450376174, DOI: 10.1145/3382097.&lt;br /&gt;
* Andreas Blumauer and Helmut Nagy (2020). &#039;&#039;&#039;The Knowledge Graph Cookbook - Recipes that Work.&#039;&#039;&#039; mono/monochrom. ISBN-10: ‎3902796707, ISBN-13: 978-3902796707.&lt;br /&gt;
&lt;br /&gt;
=Other materials=&lt;br /&gt;
&lt;br /&gt;
In addition, &#039;&#039;&#039;the materials listed below for each lecture are either mandatory or suggested reading&#039;&#039;&#039;. More materials will be added to each lecture in the coming weeks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The labs, lectures and lectures notes are also part of the curriculum.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039; to download some of the papers, you may need to be inside UiB&#039;s network. Either use a computer directly on the UiB network or connect to your UiB account through VPN.&lt;br /&gt;
&lt;br /&gt;
=Lectures=&lt;br /&gt;
&lt;br /&gt;
Below are the mandatory and suggested readings for each lecture. All the textbook chapters in Hogan et al. (&amp;quot;Knowledge Graphs&amp;quot;) are mandatory, whereas the chapters in Allemang, Hendler &amp;amp; Gandon (&amp;quot;Semantic Web&amp;quot;) are suggested.&lt;br /&gt;
&lt;br /&gt;
==Session 1: Introduction to KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Introduction to Knowledge Graphs&lt;br /&gt;
* Organisation of the course&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 1 Introduction, section 2.1 Models, and Appendix A Background in Hogan et al.&lt;br /&gt;
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web]&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.1.3 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapters 1-3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Wikidata (https://www.wikidata.org/)&lt;br /&gt;
&lt;br /&gt;
==Session 2: Querying and updating KGs (SPARQL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SPARQL queries&lt;br /&gt;
* SPARQL Update&lt;br /&gt;
* Programming SPARQL and SPARQL Update in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 2.2 Queries in Hogan et al.&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.8/sparql.html The SPARQL query language — GraphDB 10.8 documentation]&lt;br /&gt;
* [https://rdflib.readthedocs.io/ rdflib 7.1.3] materials: [https://rdflib.readthedocs.io/en/stable/intro_to_sparql.html Querying with SPARQL]&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapter 6 in Allemang, Hendler &amp;amp; Gandon (3rd edition)3.12	Session 12: KGs and LLMs&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-query/ SPARQL 1.1 Query Language]&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language]&lt;br /&gt;
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]]&lt;br /&gt;
* [https://en.wikibooks.org/wiki/SPARQL/Expressions_and_Functions SPARQL Expressions and Functions]&lt;br /&gt;
&lt;br /&gt;
==Session 3: Creating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Extracting KGs from text&lt;br /&gt;
* Extracting from marked-up sources&lt;br /&gt;
* Extracting from SQL databases and JSON&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 6 Creation and Enrichment, sections 6.1-6.4, in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.0/virtualization.html Virtualization, GraphDB 10.0 documentation]&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
&lt;br /&gt;
==Session 4: Validating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Validating KG schemas (SHACL)&lt;br /&gt;
* Semantic KG schemas/vocabularies (RDFS)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 3.1 Schema in Hogan et al.&lt;br /&gt;
* Sections 5.1, 5.3, 5.5, 5.6.1, and 5.6.3 in [https://book.validatingrdf.com/bookHtml011.html Gayo, J.E. et al. Validating RDF]. &lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* SHACL&lt;br /&gt;
** Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
** [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
** [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* RDFS&lt;br /&gt;
** [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important, and we will go through the most important ones in the lecture&#039;&#039;)&lt;br /&gt;
** [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
** [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need)&lt;br /&gt;
&lt;br /&gt;
==Session 5: Advanced KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about RDF, e.g.,&lt;br /&gt;
** identity&lt;br /&gt;
** blank nodes&lt;br /&gt;
** reification&lt;br /&gt;
** higher-arity graphs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 3.2 Identity and 3.3 Context in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
&lt;br /&gt;
==Session 6: Ontologies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More powerful vocabularies/ontologies (OWL)&lt;br /&gt;
* Creating ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 4.1 Ontologies and 6.3 Schema/ontology creation in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ OWL 2 Primer, sections 2-6 (advanced: 9-10)] (show: Turtle)&lt;br /&gt;
* [https://service.tib.eu/webvowl/ WebVOWL] interactive OWL visualisation tool&lt;br /&gt;
* Selected vocabularies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
* Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
==Session 7: Reasoning==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about semantic KG schemas (RDFS)&lt;br /&gt;
* Description logic&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 4.2 Rules + DL in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important&#039;&#039;)&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview/ W3C OWL 2 Overview]&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ W3C OWL 2 Primer]&lt;br /&gt;
* [https://www.w3.org/TR/2012/REC-owl2-quick-reference-20121211/ W3C OWL 2 Quick Reference Guide (2nd Edition)]&lt;br /&gt;
&lt;br /&gt;
==Session 8: KG Analytics==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph analytics&lt;br /&gt;
** graph metrics&lt;br /&gt;
** directed vector-labelled graphs&lt;br /&gt;
** analysis frameworks and techniques&lt;br /&gt;
* Symbolic learning&lt;br /&gt;
** rule, axiom, and hypothesis mining&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.1 Graph Analytics and 5.4 Symbolic Learning in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://networkx.org/ NetworkX - Network analysis in Python]&lt;br /&gt;
&lt;br /&gt;
==Session 9: KGs in Practice (Guest Lecture)==&lt;br /&gt;
Guest lecture by Sindre Asplem, [https://www.capgemini.com/no-no/ Capgemini].&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
==Session 10: KG Embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Semantic embedding spaces&lt;br /&gt;
* KG embedding techniques&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.2 Knowledge Graph Embeddings and 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
** &#039;&#039;In Section 5.2.1, we focus on the Translational Models. The other models are cursory reading.&#039;&#039;&lt;br /&gt;
* Towards DataScience introduction: [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Towards DataScience introductions:&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://pykeen.readthedocs.io/en/stable/index.html PyKEEN] is an alternative Python API. It is similar and may be more up-to-date than TorchKGE.&lt;br /&gt;
&lt;br /&gt;
==Session 11: Graph Neural Networks (GNNs) ==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
** recurrent/recursive, convolutional, GATs&lt;br /&gt;
* Question answering with GNNs (QA-GNN)&lt;br /&gt;
* Open KGs:&lt;br /&gt;
** WordNet, BabelNet, ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [[:file:Yasunaga2022-QA-GNN-2104.06378v5.pdf | The QA-GNN paper]]&lt;br /&gt;
* [https://conceptnet.io/ ConceptNet:] An open, multilingual knowledge graph&lt;br /&gt;
* [https://pytorch-geometric.readthedocs.io/en/latest/ PyG Documentation:] PyG (PyTorch Geometric) is a library built upon  PyTorch to easily write and train Graph Neural Networks (GNNs) for a wide range of applications related to structured data.&lt;br /&gt;
&lt;br /&gt;
==Session 12: KGs and LLMs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
** KG-LLM synergy&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 8 Completion + Correction in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [[:file:PanEtAl2023-Unifying_Large_Language_Models_and_Knowledge_Graphs_A_Roadmap.pdf | Pan et al. (2024) &#039;&#039;Unifying large language models and knowledge graphs: A roadmap&#039;&#039;]]&lt;br /&gt;
* [[:file:Vaswani17-AttentionIsAllYouNeed-1706.03762%281%29.pdf | Vaswani et al. (2017) &#039;&#039;Attention is all you need&#039;&#039;]]&lt;br /&gt;
* [[:file:HitzlerEtAl-NeuroSymbolicIntegration-swj2291.pdf | Hitzler et al. (2022) &#039;&#039;Neuro-symbolic approaches in artificial intelligence&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Session 13: KGs in Practice==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Open KGs&lt;br /&gt;
* Enterprise KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Important knowledge graphs:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/)&lt;br /&gt;
** DBpedia (https://www.dbpedia.org, https://dbpedia.org/page/Bergen)&lt;br /&gt;
** GeoNames (https://www.geonames.org/)&lt;br /&gt;
** BabelNet (https://babelnet.org/)&lt;br /&gt;
** Linked Open Data (LOD) (http://lod-cloud.net)&lt;br /&gt;
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture: KG Quality==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG completion and correction&lt;br /&gt;
* Best practices&lt;br /&gt;
* Access protocols and usage control&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 8 Completion + Correction and 9 Best Practices + Access Protocols + Usage Control in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==Lecture 2: Representing KGs (RDF)==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Resource Description Framework (RDF)&lt;br /&gt;
* Programming RDF in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-primer/ W3C&#039;s RDF 1.1 Primer] until and including 5.1.2 Turtle (but not the rest for now)&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.0.0 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* [[:File:S02-RDF.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib 7.0.0 packages] (reference for the labs)&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools]&lt;br /&gt;
* Pages 25-28, 92-100, 125-128, and 164-167 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture 4: Linked Open Data (LOD)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Linked Open Data(LOD)&lt;br /&gt;
* The LOD cloud&lt;br /&gt;
* Data provisioning&lt;br /&gt;
&lt;br /&gt;
Mandatory readings &#039;&#039;(both lecture 4 and 5)&#039;&#039;:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27.&lt;br /&gt;
* [[:File:S04-LOD.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* [https://www.ontotext.com/knowledgehub/fundamentals/linked-data-linked-open-data/ What Are Linked Data and Linked Open Data?]&lt;br /&gt;
* [[:File:BizerHeathBernersLee-LinkedData2009-TheStorySoFar.pdf | Bizer, C., Heath, T., &amp;amp; Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 5: Open Knowledge Graphs I==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** Wikidata&lt;br /&gt;
** DBpedia&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/):&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:Introduction Introduction to Wikidata]&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help SPARQL query service/A gentle introduction to the Wikidata Query Service]&lt;br /&gt;
*** example: [https://www.wikidata.org/wiki/Q26793]&lt;br /&gt;
** DBpedia (https://www.dbpedia.org):&lt;br /&gt;
*** [http://wiki.dbpedia.org/about About Dbpedia]&lt;br /&gt;
*** example: [https://dbpedia.org/resource/Bergen]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 6: Open Knowledge Graphs II==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** DBpedia &#039;&#039;(continued)&#039;&#039;&lt;br /&gt;
** GeoNames&lt;br /&gt;
** the GDELT project&lt;br /&gt;
** WordNet&lt;br /&gt;
** BabelNet&lt;br /&gt;
** ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** GeoNames (https://www.geonames.org/):&lt;br /&gt;
*** [http://www.geonames.org/about.html About GeoNames]&lt;br /&gt;
*** example: [https://www.geonames.org/3161732/bergen.html]&lt;br /&gt;
** GDELT (https://www.gdeltproject.org/)&lt;br /&gt;
*** [https://www.gdeltproject.org/ The GDELT Project] - see also the About and Data pages&lt;br /&gt;
** WordNet (https://wordnet.princeton.edu/)&lt;br /&gt;
*** [https://wordnet.princeton.edu/ WordNet - A lexical database for English]&lt;br /&gt;
** BabelNet (https://babelnet.org/):&lt;br /&gt;
*** [http://live.babelnet.org/about About BabelNet]&lt;br /&gt;
*** [https://babelnet.org/how-to-use How to use]&lt;br /&gt;
*** example: [https://babelnet.org/synset?id=bn%3A00010008n&amp;amp;orig=Bergen&amp;amp;lang=EN]&lt;br /&gt;
** ConceptNet (http://conceptnet.io)&lt;br /&gt;
*** [http://conceptnet.io ConceptNet - An open, multilingual knowledge graph]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* Wikidata statistics&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000167/wikidata-datamodel?orgId=1&amp;amp;refresh=30m Entity statistics]&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000175/wikidata-datamodel-statements?orgId=1&amp;amp;refresh=30m Statement statistics]&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* GDELT documentation&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Event_Codebook-V2.0.pdf Event Codebook (and covers mentions)]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook]&lt;br /&gt;
* Parts 1 and 3 in Blumauer &amp;amp; Nagy&#039;s text book (not tightly related to the lecture, but time to finish them by now :-))&lt;br /&gt;
&lt;br /&gt;
==Lecture 7: Enterprise Knowledge Graphs==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Enterprise Knowledge Graphs (EKGs)&lt;br /&gt;
* Google’s Knowledge Graph&lt;br /&gt;
* Amazon’s Product Graph&lt;br /&gt;
* JSON-LD (video presentation)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://www.blog.google/products/search/introducing-knowledge-graph-things-not/ Introducing the Knowledge Graph: Things not Strings], Amit Singhal, Google (2012). &#039;&#039;(The blog post that introduced Google&#039;s knowledge graph to the world.)&#039;&#039;&lt;br /&gt;
* [https://blog.google/products/search/about-knowledge-graph-and-knowledge-panels/ A reintroduction to our Knowledge Graph and knowledge panels], Danny Sullivan, Google (2020).&lt;br /&gt;
* [https://www.aboutamazon.com/news/innovation-at-amazon/making-search-easier How Amazon’s Product Graph is helping customers find products more easily], Arun Krishnan, Amazon (2018). &#039;&#039;(Short blog post that reviews some central ideas from the AutoKnow research paper listed below.)&#039;&#039;&lt;br /&gt;
* [https://www.amazon.science/blog/building-product-graphs-automatically Building product graphs automatically], Xin Luna Dong, Amazon (2020).&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
* [[:File:S07-EnterpriseKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Parts 2 and 4 in Blumauer &amp;amp; Nagy&#039;s text book (&#039;&#039;strongly suggested - this is where Blumauer &amp;amp; Nagy&#039;s book is good!&#039;&#039;)&lt;br /&gt;
* [[:File:Bosch-LIS.pdf | LIS: A knowledge graph-based line information system]] by Grangel-González, I., Rickart, M., Rudolph, O., &amp;amp; Shah, F. (2023, May). In Proceedings of the European Semantic Web Conference (pp. 591-608). Cham: Springer Nature Switzerland.&lt;br /&gt;
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]] by Dong, X. L., He, X., Kan, A., Li, X., Liang, Y., Ma, J., ... &amp;amp; Han, J. (2020, August). In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery &amp;amp; Data Mining (pp. 2724-2734). &#039;&#039;Research paper from Amazon about AutoKnow - this is a bit heavy for Bachelor level, but you can have a look :-)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Lecture 8: Rules (SHACL and RDFS)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SHACL and RDFS&lt;br /&gt;
* Axioms, rules and entailment&lt;br /&gt;
* Programming SHACL and RDFS in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 7-8 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://book.validatingrdf.com/bookHtml011.html Chapter 5 &#039;&#039;SHACL&#039;&#039;] in [https://book.validatingrdf.com/index.html Validating RDF] (available online)&lt;br /&gt;
** Sections 5.1, 5.3-5.5, and 5.6,1-5.6.3&lt;br /&gt;
* [http://www.w3.org/TR/rdf-schema/ W3C&#039;s RDF Schema 1.1], focus on sections 1-3 and 6&lt;br /&gt;
* [[:File:S07-SHACL-RDFS.pdf | Slides from the lecture]] &lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
* [https://docs.google.com/presentation/d/1weO9SzssxgYp3g_44X1LZsVtL0i6FurQ3KbIKZ8iriQ/ Lab presentation containing a short overview of SHACL and pySHACL]&lt;br /&gt;
* [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
* [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture&#039;&#039;)&lt;br /&gt;
* [https://github.com/blazegraph/database/wiki/InferenceAndTruthMaintenance Inference and Thruth Maintenance in Blazegraph]&lt;br /&gt;
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
* [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&lt;br /&gt;
&lt;br /&gt;
==Lecture 9: Ontologies (OWL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Basic OWL concepts&lt;br /&gt;
* Axioms, rules and entailments&lt;br /&gt;
* Programming basic OWL in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 9-10, 12-13 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6 and 9-10&lt;br /&gt;
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [https://protegeproject.github.io/protege/getting-started/ Protégé-OWL Getting Started]&lt;br /&gt;
* [[:File:S09-OWL.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials (cursory):&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-quick-reference/ OWL 2 Quick Reference Guide]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-rdf-based-semantics/ OWL2 RDF-Based Semantics]&lt;br /&gt;
* The OWL-RL materials (from Lecture 5)&lt;br /&gt;
* [http://vowl.visualdataweb.org/v2 VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [http://vowl.visualdataweb.org/webvowl/index.html#sioc WebVOWL]&lt;br /&gt;
* [[:File:LohmannEtAl2016-VisualizingOntologiesWithVOWL.pdf | Lohmann et al. (2019): Visualizing Ontologies with VOWL. &#039;&#039;Semantic Web Journal.&#039;&#039;]]&lt;br /&gt;
* Pages 106-109 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
&lt;br /&gt;
==Lecture 10: Vocabularies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* LOD vocabularies and ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 10-11 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)]&lt;br /&gt;
* Important vocabularies / ontologies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://motools.sourceforge.net/event/event.html Event Ontology (event)]&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [https://www.w3.org/2003/01/geo/ geo: World Geodetic Standard (WGS) 84]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://rdfs.org/sioc/spec/ Semantic Interlinked Online Communities (SIOC)]&lt;br /&gt;
** [http://schema.org/docs/full.html schema.org - Full Hierarchy]&lt;br /&gt;
** [http://wikidata.dbpedia.org/services-resources/ontology DBpedia Ontology]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
** [http://creativecommons.org/ns Creative Commons (CC) Vocabulary]&lt;br /&gt;
** &#039;&#039;What we expect you to know about each vocabulary is this:&#039;&#039; &lt;br /&gt;
*** Its purpose and where and how it can be used.&lt;br /&gt;
*** Its most central 3-6 classes and properties be able to explain its basic structure. &lt;br /&gt;
*** 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. &lt;br /&gt;
* [[:File:S10-Vocabularies.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Lecture 11: KG embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG embeddings&lt;br /&gt;
* Link prediction&lt;br /&gt;
* TorchKGE&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:S11-GraphEmbeddings.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
==Lecture 12: KGs and Large Language Models==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
&lt;br /&gt;
* What are Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
&lt;br /&gt;
* [[:file:S12-KGsAndLLMs.pdf | Slides from the lecture]]&lt;br /&gt;
* No mandatory readings beyond the slides&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
&lt;br /&gt;
* Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., &amp;amp; Wu, X. (2024). [[:file:PanEtAl2023-LLMs_KGs_Opportunities_Challenges.pdf | &#039;&#039;Unifying large language models and knowledge graphs: A roadmap.&#039;&#039;]]  IEEE Transactions on Knowledge and Data Engineering.&lt;br /&gt;
* Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... &amp;amp;  Polosukhin, I. (2017). [[:file:NIPS-2017-attention-is-all-you-need-Paper.pdf | &#039;&#039;Attention is all you need.&#039;&#039;]]  Advances in neural information processing systems, 30.&amp;lt;br /&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2024, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2716</id>
		<title>Readings</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2716"/>
		<updated>2025-05-06T08:26:11Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Textbooks=&lt;br /&gt;
&lt;br /&gt;
Main course book (&#039;&#039;the whole book is mandatory reading&#039;&#039;):&lt;br /&gt;
* Hogan, A. et al. (2021). &#039;&#039;&#039;Knowledge Graphs.&#039;&#039;&#039; Springer. &#039;&#039;Synthesis Lectures on Data, Semantics, and Knowledge&#039;&#039; 22, 1–237, DOI: 10.2200/S01125ED1V01Y202109DSK022, Springer. https://kgbook.org/&lt;br /&gt;
&lt;br /&gt;
Supplementary books (&#039;&#039;not&#039;&#039; mandatory):&lt;br /&gt;
* Dean Allemang, James Hendler &amp;amp; Fabien Gandon (2020). &#039;&#039;&#039;Semantic Web for the Working Ontologist, Effective Modeling for Linked Data, RDFS and OWL (Third Edition).&#039;&#039;&#039; ISBN: 9781450376143, PDF ISBN: 9781450376150, Hardcover ISBN: 9781450376174, DOI: 10.1145/3382097.&lt;br /&gt;
* Andreas Blumauer and Helmut Nagy (2020). &#039;&#039;&#039;The Knowledge Graph Cookbook - Recipes that Work.&#039;&#039;&#039; mono/monochrom. ISBN-10: ‎3902796707, ISBN-13: 978-3902796707.&lt;br /&gt;
&lt;br /&gt;
=Other materials=&lt;br /&gt;
&lt;br /&gt;
In addition, &#039;&#039;&#039;the materials listed below for each lecture are either mandatory or suggested reading&#039;&#039;&#039;. More materials will be added to each lecture in the coming weeks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The labs, lectures and lectures notes are also part of the curriculum.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039; to download some of the papers, you may need to be inside UiB&#039;s network. Either use a computer directly on the UiB network or connect to your UiB account through VPN.&lt;br /&gt;
&lt;br /&gt;
=Lectures=&lt;br /&gt;
&lt;br /&gt;
Below are the mandatory and suggested readings for each lecture. All the textbook chapters in Hogan et al. (&amp;quot;Knowledge Graphs&amp;quot;) are mandatory, whereas the chapters in Allemang, Hendler &amp;amp; Gandon (&amp;quot;Semantic Web&amp;quot;) are suggested.&lt;br /&gt;
&lt;br /&gt;
==Session 1: Introduction to KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Introduction to Knowledge Graphs&lt;br /&gt;
* Organisation of the course&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 1 Introduction, section 2.1 Models, and Appendix A Background in Hogan et al.&lt;br /&gt;
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web]&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.1.3 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapters 1-3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Wikidata (https://www.wikidata.org/)&lt;br /&gt;
&lt;br /&gt;
==Session 2: Querying and updating KGs (SPARQL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SPARQL queries&lt;br /&gt;
* SPARQL Update&lt;br /&gt;
* Programming SPARQL and SPARQL Update in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 2.2 Queries in Hogan et al.&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.8/sparql.html The SPARQL query language — GraphDB 10.8 documentation]&lt;br /&gt;
* [https://rdflib.readthedocs.io/ rdflib 7.1.3] materials: [https://rdflib.readthedocs.io/en/stable/intro_to_sparql.html Querying with SPARQL]&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapter 6 in Allemang, Hendler &amp;amp; Gandon (3rd edition)3.12	Session 12: KGs and LLMs&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-query/ SPARQL 1.1 Query Language]&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language]&lt;br /&gt;
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]]&lt;br /&gt;
* [https://en.wikibooks.org/wiki/SPARQL/Expressions_and_Functions SPARQL Expressions and Functions]&lt;br /&gt;
&lt;br /&gt;
==Session 3: Creating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Extracting KGs from text&lt;br /&gt;
* Extracting from marked-up sources&lt;br /&gt;
* Extracting from SQL databases and JSON&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 6 Creation and Enrichment, sections 6.1-6.4, in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.0/virtualization.html Virtualization, GraphDB 10.0 documentation]&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
&lt;br /&gt;
==Session 4: Validating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Validating KG schemas (SHACL)&lt;br /&gt;
* Semantic KG schemas/vocabularies (RDFS)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 3.1 Schema in Hogan et al.&lt;br /&gt;
* Sections 5.1, 5.3, 5.5, 5.6.1, and 5.6.3 in [https://book.validatingrdf.com/bookHtml011.html Gayo, J.E. et al. Validating RDF]. &lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* SHACL&lt;br /&gt;
** Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
** [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
** [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* RDFS&lt;br /&gt;
** [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important, and we will go through the most important ones in the lecture&#039;&#039;)&lt;br /&gt;
** [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
** [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need)&lt;br /&gt;
&lt;br /&gt;
==Session 5: Advanced KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about RDF, e.g.,&lt;br /&gt;
** identity&lt;br /&gt;
** blank nodes&lt;br /&gt;
** reification&lt;br /&gt;
** higher-arity graphs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 3.2 Identity and 3.3 Context in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
&lt;br /&gt;
==Session 6: Ontologies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More powerful vocabularies/ontologies (OWL)&lt;br /&gt;
* Creating ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 4.1 Ontologies and 6.3 Schema/ontology creation in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ OWL 2 Primer, sections 2-6 (advanced: 9-10)] (show: Turtle)&lt;br /&gt;
* [https://service.tib.eu/webvowl/ WebVOWL] interactive OWL visualisation tool&lt;br /&gt;
* Selected vocabularies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
* Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
==Session 7: Reasoning==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about semantic KG schemas (RDFS)&lt;br /&gt;
* Description logic&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 4.2 Rules + DL in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important&#039;&#039;)&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview/ W3C OWL 2 Overview]&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ W3C OWL 2 Primer]&lt;br /&gt;
* [https://www.w3.org/TR/2012/REC-owl2-quick-reference-20121211/ W3C OWL 2 Quick Reference Guide (2nd Edition)]&lt;br /&gt;
&lt;br /&gt;
==Session 8: KG Analytics==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph analytics&lt;br /&gt;
** graph metrics&lt;br /&gt;
** directed vector-labelled graphs&lt;br /&gt;
** analysis frameworks and techniques&lt;br /&gt;
* Symbolic learning&lt;br /&gt;
** rule, axiom, and hypothesis mining&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.1 Graph Analytics and 5.4 Symbolic Learning in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://networkx.org/ NetworkX - Network analysis in Python]&lt;br /&gt;
&lt;br /&gt;
==Session 9: KGs in Practice (Guest Lecture)==&lt;br /&gt;
Guest lecture by Sindre Asplem, [https://www.capgemini.com/no-no/ Capgemini].&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
==Session 10: KG Embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Semantic embedding spaces&lt;br /&gt;
* KG embedding techniques&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.2 Knowledge Graph Embeddings and 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
** &#039;&#039;In Section 5.2.1, we focus on the Translational Models. The other models are cursory reading.&#039;&#039;&lt;br /&gt;
* Towards DataScience introduction: [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Towards DataScience introductions:&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://pykeen.readthedocs.io/en/stable/index.html PyKEEN] is an alternative Python API. It is similar and may be more up-to-date than TorchKGE.&lt;br /&gt;
&lt;br /&gt;
==Session 11: Graph Neural Networks (GNNs) ==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
** recurrent/recursive, convolutional, GATs&lt;br /&gt;
* Question answering with GNNs (QA-GNN)&lt;br /&gt;
* Open KGs:&lt;br /&gt;
** WordNet, BabelNet, ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [[:file:Yasunaga2022-QA-GNN-2104.06378v5.pdf | The QA-GNN paper]]&lt;br /&gt;
* [https://conceptnet.io/ ConceptNet:] An open, multilingual knowledge graph&lt;br /&gt;
* [https://pytorch-geometric.readthedocs.io/en/latest/ PyG Documentation:] PyG (PyTorch Geometric) is a library built upon  PyTorch to easily write and train Graph Neural Networks (GNNs) for a wide range of applications related to structured data.&lt;br /&gt;
&lt;br /&gt;
==Session 12: KGs and LLMs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
** KG-LLM synergy&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 8 Completion + Correction in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [[:file:PanEtAl2023-Unifying_Large_Language_Models_and_Knowledge_Graphs_A_Roadmap.pdf | Pan et al. (2024) &#039;&#039;Unifying large language models and knowledge graphs: A roadmap&#039;&#039;]]&lt;br /&gt;
* [[:file:Vaswani17-AttentionIsAllYouNeed-1706.03762%281%29.pdf | Vaswani et al. (2017) &#039;&#039;Attention is all you need&#039;&#039;]]&lt;br /&gt;
* [[:file:HitzlerEtAl-NeuroSymbolicIntegration-swj2291.pdf | Hitzler et al. (2022) &#039;&#039;Neuro-symbolic approaches in artificial intelligence&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Session 13: KGs in Practice==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Open KGs&lt;br /&gt;
* Enterprise KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Important knowledge graphs:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/)&lt;br /&gt;
** DBpedia (https://www.dbpedia.org, https://dbpedia.org/page/Bergen)&lt;br /&gt;
** GeoNames (https://www.geonames.org/)&lt;br /&gt;
** BabelNet (https://babelnet.org/)&lt;br /&gt;
** Linked Open Data (LOD) (http://lod-cloud.net)&lt;br /&gt;
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture: KG Quality==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG completion and correction&lt;br /&gt;
* Best practices&lt;br /&gt;
* Access protocols and usage control&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 8 Completion + Correction and 9 Best Practices + Access Protocols + Usage Control in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==Lecture 2: Representing KGs (RDF)==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Resource Description Framework (RDF)&lt;br /&gt;
* Programming RDF in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-primer/ W3C&#039;s RDF 1.1 Primer] until and including 5.1.2 Turtle (but not the rest for now)&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.0.0 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* [[:File:S02-RDF.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib 7.0.0 packages] (reference for the labs)&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools]&lt;br /&gt;
* Pages 25-28, 92-100, 125-128, and 164-167 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture 4: Linked Open Data (LOD)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Linked Open Data(LOD)&lt;br /&gt;
* The LOD cloud&lt;br /&gt;
* Data provisioning&lt;br /&gt;
&lt;br /&gt;
Mandatory readings &#039;&#039;(both lecture 4 and 5)&#039;&#039;:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27.&lt;br /&gt;
* [[:File:S04-LOD.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* [https://www.ontotext.com/knowledgehub/fundamentals/linked-data-linked-open-data/ What Are Linked Data and Linked Open Data?]&lt;br /&gt;
* [[:File:BizerHeathBernersLee-LinkedData2009-TheStorySoFar.pdf | Bizer, C., Heath, T., &amp;amp; Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 5: Open Knowledge Graphs I==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** Wikidata&lt;br /&gt;
** DBpedia&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/):&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:Introduction Introduction to Wikidata]&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help SPARQL query service/A gentle introduction to the Wikidata Query Service]&lt;br /&gt;
*** example: [https://www.wikidata.org/wiki/Q26793]&lt;br /&gt;
** DBpedia (https://www.dbpedia.org):&lt;br /&gt;
*** [http://wiki.dbpedia.org/about About Dbpedia]&lt;br /&gt;
*** example: [https://dbpedia.org/resource/Bergen]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 6: Open Knowledge Graphs II==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** DBpedia &#039;&#039;(continued)&#039;&#039;&lt;br /&gt;
** GeoNames&lt;br /&gt;
** the GDELT project&lt;br /&gt;
** WordNet&lt;br /&gt;
** BabelNet&lt;br /&gt;
** ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** GeoNames (https://www.geonames.org/):&lt;br /&gt;
*** [http://www.geonames.org/about.html About GeoNames]&lt;br /&gt;
*** example: [https://www.geonames.org/3161732/bergen.html]&lt;br /&gt;
** GDELT (https://www.gdeltproject.org/)&lt;br /&gt;
*** [https://www.gdeltproject.org/ The GDELT Project] - see also the About and Data pages&lt;br /&gt;
** WordNet (https://wordnet.princeton.edu/)&lt;br /&gt;
*** [https://wordnet.princeton.edu/ WordNet - A lexical database for English]&lt;br /&gt;
** BabelNet (https://babelnet.org/):&lt;br /&gt;
*** [http://live.babelnet.org/about About BabelNet]&lt;br /&gt;
*** [https://babelnet.org/how-to-use How to use]&lt;br /&gt;
*** example: [https://babelnet.org/synset?id=bn%3A00010008n&amp;amp;orig=Bergen&amp;amp;lang=EN]&lt;br /&gt;
** ConceptNet (http://conceptnet.io)&lt;br /&gt;
*** [http://conceptnet.io ConceptNet - An open, multilingual knowledge graph]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* Wikidata statistics&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000167/wikidata-datamodel?orgId=1&amp;amp;refresh=30m Entity statistics]&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000175/wikidata-datamodel-statements?orgId=1&amp;amp;refresh=30m Statement statistics]&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* GDELT documentation&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Event_Codebook-V2.0.pdf Event Codebook (and covers mentions)]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook]&lt;br /&gt;
* Parts 1 and 3 in Blumauer &amp;amp; Nagy&#039;s text book (not tightly related to the lecture, but time to finish them by now :-))&lt;br /&gt;
&lt;br /&gt;
==Lecture 7: Enterprise Knowledge Graphs==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Enterprise Knowledge Graphs (EKGs)&lt;br /&gt;
* Google’s Knowledge Graph&lt;br /&gt;
* Amazon’s Product Graph&lt;br /&gt;
* JSON-LD (video presentation)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://www.blog.google/products/search/introducing-knowledge-graph-things-not/ Introducing the Knowledge Graph: Things not Strings], Amit Singhal, Google (2012). &#039;&#039;(The blog post that introduced Google&#039;s knowledge graph to the world.)&#039;&#039;&lt;br /&gt;
* [https://blog.google/products/search/about-knowledge-graph-and-knowledge-panels/ A reintroduction to our Knowledge Graph and knowledge panels], Danny Sullivan, Google (2020).&lt;br /&gt;
* [https://www.aboutamazon.com/news/innovation-at-amazon/making-search-easier How Amazon’s Product Graph is helping customers find products more easily], Arun Krishnan, Amazon (2018). &#039;&#039;(Short blog post that reviews some central ideas from the AutoKnow research paper listed below.)&#039;&#039;&lt;br /&gt;
* [https://www.amazon.science/blog/building-product-graphs-automatically Building product graphs automatically], Xin Luna Dong, Amazon (2020).&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
* [[:File:S07-EnterpriseKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Parts 2 and 4 in Blumauer &amp;amp; Nagy&#039;s text book (&#039;&#039;strongly suggested - this is where Blumauer &amp;amp; Nagy&#039;s book is good!&#039;&#039;)&lt;br /&gt;
* [[:File:Bosch-LIS.pdf | LIS: A knowledge graph-based line information system]] by Grangel-González, I., Rickart, M., Rudolph, O., &amp;amp; Shah, F. (2023, May). In Proceedings of the European Semantic Web Conference (pp. 591-608). Cham: Springer Nature Switzerland.&lt;br /&gt;
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]] by Dong, X. L., He, X., Kan, A., Li, X., Liang, Y., Ma, J., ... &amp;amp; Han, J. (2020, August). In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery &amp;amp; Data Mining (pp. 2724-2734). &#039;&#039;Research paper from Amazon about AutoKnow - this is a bit heavy for Bachelor level, but you can have a look :-)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Lecture 8: Rules (SHACL and RDFS)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SHACL and RDFS&lt;br /&gt;
* Axioms, rules and entailment&lt;br /&gt;
* Programming SHACL and RDFS in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 7-8 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://book.validatingrdf.com/bookHtml011.html Chapter 5 &#039;&#039;SHACL&#039;&#039;] in [https://book.validatingrdf.com/index.html Validating RDF] (available online)&lt;br /&gt;
** Sections 5.1, 5.3-5.5, and 5.6,1-5.6.3&lt;br /&gt;
* [http://www.w3.org/TR/rdf-schema/ W3C&#039;s RDF Schema 1.1], focus on sections 1-3 and 6&lt;br /&gt;
* [[:File:S07-SHACL-RDFS.pdf | Slides from the lecture]] &lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
* [https://docs.google.com/presentation/d/1weO9SzssxgYp3g_44X1LZsVtL0i6FurQ3KbIKZ8iriQ/ Lab presentation containing a short overview of SHACL and pySHACL]&lt;br /&gt;
* [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
* [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture&#039;&#039;)&lt;br /&gt;
* [https://github.com/blazegraph/database/wiki/InferenceAndTruthMaintenance Inference and Thruth Maintenance in Blazegraph]&lt;br /&gt;
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
* [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&lt;br /&gt;
&lt;br /&gt;
==Lecture 9: Ontologies (OWL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Basic OWL concepts&lt;br /&gt;
* Axioms, rules and entailments&lt;br /&gt;
* Programming basic OWL in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 9-10, 12-13 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6 and 9-10&lt;br /&gt;
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [https://protegeproject.github.io/protege/getting-started/ Protégé-OWL Getting Started]&lt;br /&gt;
* [[:File:S09-OWL.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials (cursory):&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-quick-reference/ OWL 2 Quick Reference Guide]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-rdf-based-semantics/ OWL2 RDF-Based Semantics]&lt;br /&gt;
* The OWL-RL materials (from Lecture 5)&lt;br /&gt;
* [http://vowl.visualdataweb.org/v2 VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [http://vowl.visualdataweb.org/webvowl/index.html#sioc WebVOWL]&lt;br /&gt;
* [[:File:LohmannEtAl2016-VisualizingOntologiesWithVOWL.pdf | Lohmann et al. (2019): Visualizing Ontologies with VOWL. &#039;&#039;Semantic Web Journal.&#039;&#039;]]&lt;br /&gt;
* Pages 106-109 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
&lt;br /&gt;
==Lecture 10: Vocabularies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* LOD vocabularies and ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 10-11 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)]&lt;br /&gt;
* Important vocabularies / ontologies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://motools.sourceforge.net/event/event.html Event Ontology (event)]&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [https://www.w3.org/2003/01/geo/ geo: World Geodetic Standard (WGS) 84]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://rdfs.org/sioc/spec/ Semantic Interlinked Online Communities (SIOC)]&lt;br /&gt;
** [http://schema.org/docs/full.html schema.org - Full Hierarchy]&lt;br /&gt;
** [http://wikidata.dbpedia.org/services-resources/ontology DBpedia Ontology]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
** [http://creativecommons.org/ns Creative Commons (CC) Vocabulary]&lt;br /&gt;
** &#039;&#039;What we expect you to know about each vocabulary is this:&#039;&#039; &lt;br /&gt;
*** Its purpose and where and how it can be used.&lt;br /&gt;
*** Its most central 3-6 classes and properties be able to explain its basic structure. &lt;br /&gt;
*** 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. &lt;br /&gt;
* [[:File:S10-Vocabularies.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Lecture 11: KG embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG embeddings&lt;br /&gt;
* Link prediction&lt;br /&gt;
* TorchKGE&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:S11-GraphEmbeddings.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
==Lecture 12: KGs and Large Language Models==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
&lt;br /&gt;
* What are Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
&lt;br /&gt;
* [[:file:S12-KGsAndLLMs.pdf | Slides from the lecture]]&lt;br /&gt;
* No mandatory readings beyond the slides&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
&lt;br /&gt;
* Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., &amp;amp; Wu, X. (2024). [[:file:PanEtAl2023-LLMs_KGs_Opportunities_Challenges.pdf | &#039;&#039;Unifying large language models and knowledge graphs: A roadmap.&#039;&#039;]]  IEEE Transactions on Knowledge and Data Engineering.&lt;br /&gt;
* Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... &amp;amp;  Polosukhin, I. (2017). [[:file:NIPS-2017-attention-is-all-you-need-Paper.pdf | &#039;&#039;Attention is all you need.&#039;&#039;]]  Advances in neural information processing systems, 30.&amp;lt;br /&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2024, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2715</id>
		<title>Readings</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2715"/>
		<updated>2025-04-28T09:16:18Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: /* Session 12: KGs and LLMs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Textbooks=&lt;br /&gt;
&lt;br /&gt;
Main course book (&#039;&#039;the whole book is mandatory reading&#039;&#039;):&lt;br /&gt;
* Hogan, A. et al. (2021). &#039;&#039;&#039;Knowledge Graphs.&#039;&#039;&#039; Springer. &#039;&#039;Synthesis Lectures on Data, Semantics, and Knowledge&#039;&#039; 22, 1–237, DOI: 10.2200/S01125ED1V01Y202109DSK022, Springer. https://kgbook.org/&lt;br /&gt;
&lt;br /&gt;
Supplementary books (&#039;&#039;not&#039;&#039; mandatory):&lt;br /&gt;
* Dean Allemang, James Hendler &amp;amp; Fabien Gandon (2020). &#039;&#039;&#039;Semantic Web for the Working Ontologist, Effective Modeling for Linked Data, RDFS and OWL (Third Edition).&#039;&#039;&#039; ISBN: 9781450376143, PDF ISBN: 9781450376150, Hardcover ISBN: 9781450376174, DOI: 10.1145/3382097.&lt;br /&gt;
* Andreas Blumauer and Helmut Nagy (2020). &#039;&#039;&#039;The Knowledge Graph Cookbook - Recipes that Work.&#039;&#039;&#039; mono/monochrom. ISBN-10: ‎3902796707, ISBN-13: 978-3902796707.&lt;br /&gt;
&lt;br /&gt;
=Other materials=&lt;br /&gt;
&lt;br /&gt;
In addition, &#039;&#039;&#039;the materials listed below for each lecture are either mandatory or suggested reading&#039;&#039;&#039;. More materials will be added to each lecture in the coming weeks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The labs, lectures and lectures notes are also part of the curriculum.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039; to download some of the papers, you may need to be inside UiB&#039;s network. Either use a computer directly on the UiB network or connect to your UiB account through VPN.&lt;br /&gt;
&lt;br /&gt;
=Lectures (in progress)=&lt;br /&gt;
&lt;br /&gt;
Below are the mandatory and suggested readings for each lecture. All the textbook chapters in Hogan et al. (&amp;quot;Knowledge Graphs&amp;quot;) are mandatory, whereas the chapters in Allemang, Hendler &amp;amp; Gandon (&amp;quot;Semantic Web&amp;quot;) are suggested.&lt;br /&gt;
&lt;br /&gt;
==Session 1: Introduction to KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Introduction to Knowledge Graphs&lt;br /&gt;
* Organisation of the course&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 1 Introduction, section 2.1 Models, and Appendix A Background in Hogan et al.&lt;br /&gt;
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web]&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.1.3 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapters 1-3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Wikidata (https://www.wikidata.org/)&lt;br /&gt;
&lt;br /&gt;
==Session 2: Querying and updating KGs (SPARQL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SPARQL queries&lt;br /&gt;
* SPARQL Update&lt;br /&gt;
* Programming SPARQL and SPARQL Update in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 2.2 Queries in Hogan et al.&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.8/sparql.html The SPARQL query language — GraphDB 10.8 documentation]&lt;br /&gt;
* [https://rdflib.readthedocs.io/ rdflib 7.1.3] materials: [https://rdflib.readthedocs.io/en/stable/intro_to_sparql.html Querying with SPARQL]&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapter 6 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-query/ SPARQL 1.1 Query Language]&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language]&lt;br /&gt;
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]]&lt;br /&gt;
* [https://en.wikibooks.org/wiki/SPARQL/Expressions_and_Functions SPARQL Expressions and Functions]&lt;br /&gt;
&lt;br /&gt;
==Session 3: Creating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Extracting KGs from text&lt;br /&gt;
* Extracting from marked-up sources&lt;br /&gt;
* Extracting from SQL databases and JSON&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 6 Creation and Enrichment, sections 6.1-6.4, in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.0/virtualization.html Virtualization, GraphDB 10.0 documentation]&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
&lt;br /&gt;
==Session 4: Validating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Validating KG schemas (SHACL)&lt;br /&gt;
* Semantic KG schemas/vocabularies (RDFS)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 3.1 Schema in Hogan et al.&lt;br /&gt;
* Sections 5.1, 5.3, 5.5, 5.6.1, and 5.6.3 in [https://book.validatingrdf.com/bookHtml011.html Gayo, J.E. et al. Validating RDF]. &lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* SHACL&lt;br /&gt;
** Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
** [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
** [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* RDFS&lt;br /&gt;
** [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important, and we will go through the most important ones in the lecture&#039;&#039;)&lt;br /&gt;
** [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
** [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need)&lt;br /&gt;
&lt;br /&gt;
==Session 5: Advanced KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about RDF, e.g.,&lt;br /&gt;
** identity&lt;br /&gt;
** blank nodes&lt;br /&gt;
** reification&lt;br /&gt;
** higher-arity graphs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 3.2 Identity and 3.3 Context in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
&lt;br /&gt;
==Session 6: Ontologies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More powerful vocabularies/ontologies (OWL)&lt;br /&gt;
* Creating ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 4.1 Ontologies and 6.3 Schema/ontology creation in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ OWL 2 Primer, sections 2-6 (advanced: 9-10)] (show: Turtle)&lt;br /&gt;
* [https://service.tib.eu/webvowl/ WebVOWL] interactive OWL visualisation tool&lt;br /&gt;
* Selected vocabularies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
* Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
==Session 7: Reasoning==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about semantic KG schemas (RDFS)&lt;br /&gt;
* Description logic&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 4.2 Rules + DL in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important&#039;&#039;)&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview/ W3C OWL 2 Overview]&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ W3C OWL 2 Primer]&lt;br /&gt;
* [https://www.w3.org/TR/2012/REC-owl2-quick-reference-20121211/ W3C OWL 2 Quick Reference Guide (2nd Edition)]&lt;br /&gt;
&lt;br /&gt;
==Session 8: KG Analytics==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph analytics&lt;br /&gt;
** graph metrics&lt;br /&gt;
** directed vector-labelled graphs&lt;br /&gt;
** analysis frameworks and techniques&lt;br /&gt;
* Symbolic learning&lt;br /&gt;
** rule, axiom, and hypothesis mining&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.1 Graph Analytics and 5.4 Symbolic Learning in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://networkx.org/ NetworkX - Network analysis in Python]&lt;br /&gt;
&lt;br /&gt;
==Session 9: KGs in Practice (Guest Lecture)==&lt;br /&gt;
Guest lecture by Sindre Asplem, [https://www.capgemini.com/no-no/ Capgemini].&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
==Session 10: KG Embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Semantic embedding spaces&lt;br /&gt;
* KG embedding techniques&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.2 Knowledge Graph Embeddings and 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
** &#039;&#039;In Section 5.2.1, we focus on the Translational Models. The other models are cursory reading.&#039;&#039;&lt;br /&gt;
* Towards DataScience introduction: [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Towards DataScience introductions:&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://pykeen.readthedocs.io/en/stable/index.html PyKEEN] is an alternative Python API. It is similar and may be more up-to-date than TorchKGE.&lt;br /&gt;
&lt;br /&gt;
==Session 11: Graph Neural Networks (GNNs) ==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
** recurrent/recursive, convolutional, GATs&lt;br /&gt;
* Question answering with GNNs (QA-GNN)&lt;br /&gt;
* Open KGs:&lt;br /&gt;
** WordNet, BabelNet, ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [[:file:Yasunaga2022-QA-GNN-2104.06378v5.pdf | The QA-GNN paper]]&lt;br /&gt;
* [https://conceptnet.io/ ConceptNet:] An open, multilingual knowledge graph&lt;br /&gt;
* [https://pytorch-geometric.readthedocs.io/en/latest/ PyG Documentation:] PyG (PyTorch Geometric) is a library built upon  PyTorch to easily write and train Graph Neural Networks (GNNs) for a wide range of applications related to structured data.&lt;br /&gt;
&lt;br /&gt;
==Session 12: KGs and LLMs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
** KG-LLM synergy&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 8 Completion + Correction in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [[:file:PanEtAl2023-Unifying_Large_Language_Models_and_Knowledge_Graphs_A_Roadmap.pdf | Pan et al. (2024) &#039;&#039;Unifying large language models and knowledge graphs: A roadmap&#039;&#039;]]&lt;br /&gt;
* [[:file:Vaswani17-AttentionIsAllYouNeed-1706.03762%281%29.pdf | Vaswani et al. (2017) &#039;&#039;Attention is all you need&#039;&#039;]]&lt;br /&gt;
* [[:file:HitzlerEtAl-NeuroSymbolicIntegration-swj2291.pdf | Hitzler et al. (2022) &#039;&#039;Neuro-symbolic approaches in artificial intelligence&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Session 13: KGs in Practice==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Open KGs&lt;br /&gt;
* Enterprise KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Important knowledge graphs:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/)&lt;br /&gt;
** DBpedia (https://www.dbpedia.org, https://dbpedia.org/page/Bergen)&lt;br /&gt;
** GeoNames (https://www.geonames.org/)&lt;br /&gt;
** BabelNet (https://babelnet.org/)&lt;br /&gt;
** Linked Open Data (LOD) (http://lod-cloud.net)&lt;br /&gt;
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture: KG Quality==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG completion and correction&lt;br /&gt;
* Best practices&lt;br /&gt;
* Access protocols and usage control&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 8 Completion + Correction and 9 Best Practices + Access Protocols + Usage Control in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==Lecture 2: Representing KGs (RDF)==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Resource Description Framework (RDF)&lt;br /&gt;
* Programming RDF in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-primer/ W3C&#039;s RDF 1.1 Primer] until and including 5.1.2 Turtle (but not the rest for now)&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.0.0 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* [[:File:S02-RDF.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib 7.0.0 packages] (reference for the labs)&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools]&lt;br /&gt;
* Pages 25-28, 92-100, 125-128, and 164-167 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture 4: Linked Open Data (LOD)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Linked Open Data(LOD)&lt;br /&gt;
* The LOD cloud&lt;br /&gt;
* Data provisioning&lt;br /&gt;
&lt;br /&gt;
Mandatory readings &#039;&#039;(both lecture 4 and 5)&#039;&#039;:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27.&lt;br /&gt;
* [[:File:S04-LOD.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* [https://www.ontotext.com/knowledgehub/fundamentals/linked-data-linked-open-data/ What Are Linked Data and Linked Open Data?]&lt;br /&gt;
* [[:File:BizerHeathBernersLee-LinkedData2009-TheStorySoFar.pdf | Bizer, C., Heath, T., &amp;amp; Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 5: Open Knowledge Graphs I==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** Wikidata&lt;br /&gt;
** DBpedia&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/):&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:Introduction Introduction to Wikidata]&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help SPARQL query service/A gentle introduction to the Wikidata Query Service]&lt;br /&gt;
*** example: [https://www.wikidata.org/wiki/Q26793]&lt;br /&gt;
** DBpedia (https://www.dbpedia.org):&lt;br /&gt;
*** [http://wiki.dbpedia.org/about About Dbpedia]&lt;br /&gt;
*** example: [https://dbpedia.org/resource/Bergen]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 6: Open Knowledge Graphs II==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** DBpedia &#039;&#039;(continued)&#039;&#039;&lt;br /&gt;
** GeoNames&lt;br /&gt;
** the GDELT project&lt;br /&gt;
** WordNet&lt;br /&gt;
** BabelNet&lt;br /&gt;
** ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** GeoNames (https://www.geonames.org/):&lt;br /&gt;
*** [http://www.geonames.org/about.html About GeoNames]&lt;br /&gt;
*** example: [https://www.geonames.org/3161732/bergen.html]&lt;br /&gt;
** GDELT (https://www.gdeltproject.org/)&lt;br /&gt;
*** [https://www.gdeltproject.org/ The GDELT Project] - see also the About and Data pages&lt;br /&gt;
** WordNet (https://wordnet.princeton.edu/)&lt;br /&gt;
*** [https://wordnet.princeton.edu/ WordNet - A lexical database for English]&lt;br /&gt;
** BabelNet (https://babelnet.org/):&lt;br /&gt;
*** [http://live.babelnet.org/about About BabelNet]&lt;br /&gt;
*** [https://babelnet.org/how-to-use How to use]&lt;br /&gt;
*** example: [https://babelnet.org/synset?id=bn%3A00010008n&amp;amp;orig=Bergen&amp;amp;lang=EN]&lt;br /&gt;
** ConceptNet (http://conceptnet.io)&lt;br /&gt;
*** [http://conceptnet.io ConceptNet - An open, multilingual knowledge graph]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* Wikidata statistics&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000167/wikidata-datamodel?orgId=1&amp;amp;refresh=30m Entity statistics]&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000175/wikidata-datamodel-statements?orgId=1&amp;amp;refresh=30m Statement statistics]&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* GDELT documentation&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Event_Codebook-V2.0.pdf Event Codebook (and covers mentions)]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook]&lt;br /&gt;
* Parts 1 and 3 in Blumauer &amp;amp; Nagy&#039;s text book (not tightly related to the lecture, but time to finish them by now :-))&lt;br /&gt;
&lt;br /&gt;
==Lecture 7: Enterprise Knowledge Graphs==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Enterprise Knowledge Graphs (EKGs)&lt;br /&gt;
* Google’s Knowledge Graph&lt;br /&gt;
* Amazon’s Product Graph&lt;br /&gt;
* JSON-LD (video presentation)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://www.blog.google/products/search/introducing-knowledge-graph-things-not/ Introducing the Knowledge Graph: Things not Strings], Amit Singhal, Google (2012). &#039;&#039;(The blog post that introduced Google&#039;s knowledge graph to the world.)&#039;&#039;&lt;br /&gt;
* [https://blog.google/products/search/about-knowledge-graph-and-knowledge-panels/ A reintroduction to our Knowledge Graph and knowledge panels], Danny Sullivan, Google (2020).&lt;br /&gt;
* [https://www.aboutamazon.com/news/innovation-at-amazon/making-search-easier How Amazon’s Product Graph is helping customers find products more easily], Arun Krishnan, Amazon (2018). &#039;&#039;(Short blog post that reviews some central ideas from the AutoKnow research paper listed below.)&#039;&#039;&lt;br /&gt;
* [https://www.amazon.science/blog/building-product-graphs-automatically Building product graphs automatically], Xin Luna Dong, Amazon (2020).&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
* [[:File:S07-EnterpriseKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Parts 2 and 4 in Blumauer &amp;amp; Nagy&#039;s text book (&#039;&#039;strongly suggested - this is where Blumauer &amp;amp; Nagy&#039;s book is good!&#039;&#039;)&lt;br /&gt;
* [[:File:Bosch-LIS.pdf | LIS: A knowledge graph-based line information system]] by Grangel-González, I., Rickart, M., Rudolph, O., &amp;amp; Shah, F. (2023, May). In Proceedings of the European Semantic Web Conference (pp. 591-608). Cham: Springer Nature Switzerland.&lt;br /&gt;
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]] by Dong, X. L., He, X., Kan, A., Li, X., Liang, Y., Ma, J., ... &amp;amp; Han, J. (2020, August). In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery &amp;amp; Data Mining (pp. 2724-2734). &#039;&#039;Research paper from Amazon about AutoKnow - this is a bit heavy for Bachelor level, but you can have a look :-)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Lecture 8: Rules (SHACL and RDFS)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SHACL and RDFS&lt;br /&gt;
* Axioms, rules and entailment&lt;br /&gt;
* Programming SHACL and RDFS in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 7-8 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://book.validatingrdf.com/bookHtml011.html Chapter 5 &#039;&#039;SHACL&#039;&#039;] in [https://book.validatingrdf.com/index.html Validating RDF] (available online)&lt;br /&gt;
** Sections 5.1, 5.3-5.5, and 5.6,1-5.6.3&lt;br /&gt;
* [http://www.w3.org/TR/rdf-schema/ W3C&#039;s RDF Schema 1.1], focus on sections 1-3 and 6&lt;br /&gt;
* [[:File:S07-SHACL-RDFS.pdf | Slides from the lecture]] &lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
* [https://docs.google.com/presentation/d/1weO9SzssxgYp3g_44X1LZsVtL0i6FurQ3KbIKZ8iriQ/ Lab presentation containing a short overview of SHACL and pySHACL]&lt;br /&gt;
* [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
* [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture&#039;&#039;)&lt;br /&gt;
* [https://github.com/blazegraph/database/wiki/InferenceAndTruthMaintenance Inference and Thruth Maintenance in Blazegraph]&lt;br /&gt;
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
* [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&lt;br /&gt;
&lt;br /&gt;
==Lecture 9: Ontologies (OWL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Basic OWL concepts&lt;br /&gt;
* Axioms, rules and entailments&lt;br /&gt;
* Programming basic OWL in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 9-10, 12-13 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6 and 9-10&lt;br /&gt;
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [https://protegeproject.github.io/protege/getting-started/ Protégé-OWL Getting Started]&lt;br /&gt;
* [[:File:S09-OWL.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials (cursory):&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-quick-reference/ OWL 2 Quick Reference Guide]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-rdf-based-semantics/ OWL2 RDF-Based Semantics]&lt;br /&gt;
* The OWL-RL materials (from Lecture 5)&lt;br /&gt;
* [http://vowl.visualdataweb.org/v2 VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [http://vowl.visualdataweb.org/webvowl/index.html#sioc WebVOWL]&lt;br /&gt;
* [[:File:LohmannEtAl2016-VisualizingOntologiesWithVOWL.pdf | Lohmann et al. (2019): Visualizing Ontologies with VOWL. &#039;&#039;Semantic Web Journal.&#039;&#039;]]&lt;br /&gt;
* Pages 106-109 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
&lt;br /&gt;
==Lecture 10: Vocabularies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* LOD vocabularies and ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 10-11 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)]&lt;br /&gt;
* Important vocabularies / ontologies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://motools.sourceforge.net/event/event.html Event Ontology (event)]&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [https://www.w3.org/2003/01/geo/ geo: World Geodetic Standard (WGS) 84]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://rdfs.org/sioc/spec/ Semantic Interlinked Online Communities (SIOC)]&lt;br /&gt;
** [http://schema.org/docs/full.html schema.org - Full Hierarchy]&lt;br /&gt;
** [http://wikidata.dbpedia.org/services-resources/ontology DBpedia Ontology]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
** [http://creativecommons.org/ns Creative Commons (CC) Vocabulary]&lt;br /&gt;
** &#039;&#039;What we expect you to know about each vocabulary is this:&#039;&#039; &lt;br /&gt;
*** Its purpose and where and how it can be used.&lt;br /&gt;
*** Its most central 3-6 classes and properties be able to explain its basic structure. &lt;br /&gt;
*** 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. &lt;br /&gt;
* [[:File:S10-Vocabularies.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Lecture 11: KG embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG embeddings&lt;br /&gt;
* Link prediction&lt;br /&gt;
* TorchKGE&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:S11-GraphEmbeddings.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
==Lecture 12: KGs and Large Language Models==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
&lt;br /&gt;
* What are Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
&lt;br /&gt;
* [[:file:S12-KGsAndLLMs.pdf | Slides from the lecture]]&lt;br /&gt;
* No mandatory readings beyond the slides&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
&lt;br /&gt;
* Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., &amp;amp; Wu, X. (2024). [[:file:PanEtAl2023-LLMs_KGs_Opportunities_Challenges.pdf | &#039;&#039;Unifying large language models and knowledge graphs: A roadmap.&#039;&#039;]]  IEEE Transactions on Knowledge and Data Engineering.&lt;br /&gt;
* Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... &amp;amp;  Polosukhin, I. (2017). [[:file:NIPS-2017-attention-is-all-you-need-Paper.pdf | &#039;&#039;Attention is all you need.&#039;&#039;]]  Advances in neural information processing systems, 30.&amp;lt;br /&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2024, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2714</id>
		<title>Readings</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2714"/>
		<updated>2025-04-28T09:15:26Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: /* Session 12: KGs and LLMs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Textbooks=&lt;br /&gt;
&lt;br /&gt;
Main course book (&#039;&#039;the whole book is mandatory reading&#039;&#039;):&lt;br /&gt;
* Hogan, A. et al. (2021). &#039;&#039;&#039;Knowledge Graphs.&#039;&#039;&#039; Springer. &#039;&#039;Synthesis Lectures on Data, Semantics, and Knowledge&#039;&#039; 22, 1–237, DOI: 10.2200/S01125ED1V01Y202109DSK022, Springer. https://kgbook.org/&lt;br /&gt;
&lt;br /&gt;
Supplementary books (&#039;&#039;not&#039;&#039; mandatory):&lt;br /&gt;
* Dean Allemang, James Hendler &amp;amp; Fabien Gandon (2020). &#039;&#039;&#039;Semantic Web for the Working Ontologist, Effective Modeling for Linked Data, RDFS and OWL (Third Edition).&#039;&#039;&#039; ISBN: 9781450376143, PDF ISBN: 9781450376150, Hardcover ISBN: 9781450376174, DOI: 10.1145/3382097.&lt;br /&gt;
* Andreas Blumauer and Helmut Nagy (2020). &#039;&#039;&#039;The Knowledge Graph Cookbook - Recipes that Work.&#039;&#039;&#039; mono/monochrom. ISBN-10: ‎3902796707, ISBN-13: 978-3902796707.&lt;br /&gt;
&lt;br /&gt;
=Other materials=&lt;br /&gt;
&lt;br /&gt;
In addition, &#039;&#039;&#039;the materials listed below for each lecture are either mandatory or suggested reading&#039;&#039;&#039;. More materials will be added to each lecture in the coming weeks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The labs, lectures and lectures notes are also part of the curriculum.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039; to download some of the papers, you may need to be inside UiB&#039;s network. Either use a computer directly on the UiB network or connect to your UiB account through VPN.&lt;br /&gt;
&lt;br /&gt;
=Lectures (in progress)=&lt;br /&gt;
&lt;br /&gt;
Below are the mandatory and suggested readings for each lecture. All the textbook chapters in Hogan et al. (&amp;quot;Knowledge Graphs&amp;quot;) are mandatory, whereas the chapters in Allemang, Hendler &amp;amp; Gandon (&amp;quot;Semantic Web&amp;quot;) are suggested.&lt;br /&gt;
&lt;br /&gt;
==Session 1: Introduction to KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Introduction to Knowledge Graphs&lt;br /&gt;
* Organisation of the course&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 1 Introduction, section 2.1 Models, and Appendix A Background in Hogan et al.&lt;br /&gt;
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web]&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.1.3 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapters 1-3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Wikidata (https://www.wikidata.org/)&lt;br /&gt;
&lt;br /&gt;
==Session 2: Querying and updating KGs (SPARQL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SPARQL queries&lt;br /&gt;
* SPARQL Update&lt;br /&gt;
* Programming SPARQL and SPARQL Update in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 2.2 Queries in Hogan et al.&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.8/sparql.html The SPARQL query language — GraphDB 10.8 documentation]&lt;br /&gt;
* [https://rdflib.readthedocs.io/ rdflib 7.1.3] materials: [https://rdflib.readthedocs.io/en/stable/intro_to_sparql.html Querying with SPARQL]&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapter 6 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-query/ SPARQL 1.1 Query Language]&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language]&lt;br /&gt;
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]]&lt;br /&gt;
* [https://en.wikibooks.org/wiki/SPARQL/Expressions_and_Functions SPARQL Expressions and Functions]&lt;br /&gt;
&lt;br /&gt;
==Session 3: Creating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Extracting KGs from text&lt;br /&gt;
* Extracting from marked-up sources&lt;br /&gt;
* Extracting from SQL databases and JSON&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 6 Creation and Enrichment, sections 6.1-6.4, in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.0/virtualization.html Virtualization, GraphDB 10.0 documentation]&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
&lt;br /&gt;
==Session 4: Validating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Validating KG schemas (SHACL)&lt;br /&gt;
* Semantic KG schemas/vocabularies (RDFS)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 3.1 Schema in Hogan et al.&lt;br /&gt;
* Sections 5.1, 5.3, 5.5, 5.6.1, and 5.6.3 in [https://book.validatingrdf.com/bookHtml011.html Gayo, J.E. et al. Validating RDF]. &lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* SHACL&lt;br /&gt;
** Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
** [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
** [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* RDFS&lt;br /&gt;
** [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important, and we will go through the most important ones in the lecture&#039;&#039;)&lt;br /&gt;
** [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
** [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need)&lt;br /&gt;
&lt;br /&gt;
==Session 5: Advanced KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about RDF, e.g.,&lt;br /&gt;
** identity&lt;br /&gt;
** blank nodes&lt;br /&gt;
** reification&lt;br /&gt;
** higher-arity graphs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 3.2 Identity and 3.3 Context in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
&lt;br /&gt;
==Session 6: Ontologies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More powerful vocabularies/ontologies (OWL)&lt;br /&gt;
* Creating ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 4.1 Ontologies and 6.3 Schema/ontology creation in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ OWL 2 Primer, sections 2-6 (advanced: 9-10)] (show: Turtle)&lt;br /&gt;
* [https://service.tib.eu/webvowl/ WebVOWL] interactive OWL visualisation tool&lt;br /&gt;
* Selected vocabularies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
* Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
==Session 7: Reasoning==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about semantic KG schemas (RDFS)&lt;br /&gt;
* Description logic&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 4.2 Rules + DL in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important&#039;&#039;)&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview/ W3C OWL 2 Overview]&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ W3C OWL 2 Primer]&lt;br /&gt;
* [https://www.w3.org/TR/2012/REC-owl2-quick-reference-20121211/ W3C OWL 2 Quick Reference Guide (2nd Edition)]&lt;br /&gt;
&lt;br /&gt;
==Session 8: KG Analytics==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph analytics&lt;br /&gt;
** graph metrics&lt;br /&gt;
** directed vector-labelled graphs&lt;br /&gt;
** analysis frameworks and techniques&lt;br /&gt;
* Symbolic learning&lt;br /&gt;
** rule, axiom, and hypothesis mining&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.1 Graph Analytics and 5.4 Symbolic Learning in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://networkx.org/ NetworkX - Network analysis in Python]&lt;br /&gt;
&lt;br /&gt;
==Session 9: KGs in Practice (Guest Lecture)==&lt;br /&gt;
Guest lecture by Sindre Asplem, [https://www.capgemini.com/no-no/ Capgemini].&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
==Session 10: KG Embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Semantic embedding spaces&lt;br /&gt;
* KG embedding techniques&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.2 Knowledge Graph Embeddings and 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
** &#039;&#039;In Section 5.2.1, we focus on the Translational Models. The other models are cursory reading.&#039;&#039;&lt;br /&gt;
* Towards DataScience introduction: [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Towards DataScience introductions:&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://pykeen.readthedocs.io/en/stable/index.html PyKEEN] is an alternative Python API. It is similar and may be more up-to-date than TorchKGE.&lt;br /&gt;
&lt;br /&gt;
==Session 11: Graph Neural Networks (GNNs) ==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
** recurrent/recursive, convolutional, GATs&lt;br /&gt;
* Question answering with GNNs (QA-GNN)&lt;br /&gt;
* Open KGs:&lt;br /&gt;
** WordNet, BabelNet, ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [[:file:Yasunaga2022-QA-GNN-2104.06378v5.pdf | The QA-GNN paper]]&lt;br /&gt;
* [https://conceptnet.io/ ConceptNet:] An open, multilingual knowledge graph&lt;br /&gt;
* [https://pytorch-geometric.readthedocs.io/en/latest/ PyG Documentation:] PyG (PyTorch Geometric) is a library built upon  PyTorch to easily write and train Graph Neural Networks (GNNs) for a wide range of applications related to structured data.&lt;br /&gt;
&lt;br /&gt;
==Session 12: KGs and LLMs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
** KG-LLM synergy&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 8 Completion + Correction in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [[file:PanEtAl2023-Unifying_Large_Language_Models_and_Knowledge_Graphs_A_Roadmap.pdf Pan et al. (2024) &#039;&#039;Unifying large language models and knowledge graphs: A roadmap&#039;&#039;]]&lt;br /&gt;
* [[file:Vaswani17-AttentionIsAllYouNeed-1706.03762%281%29.pdf Vaswani et al. (2017) &#039;&#039;Attention is all you need&#039;&#039;]]&lt;br /&gt;
* [[file:HitzlerEtAl-NeuroSymbolicIntegration-swj2291.pdf Hitzler et al. (2022) &#039;&#039;Neuro-symbolic approaches in artificial intelligence&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Session 13: KGs in Practice==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Open KGs&lt;br /&gt;
* Enterprise KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Important knowledge graphs:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/)&lt;br /&gt;
** DBpedia (https://www.dbpedia.org, https://dbpedia.org/page/Bergen)&lt;br /&gt;
** GeoNames (https://www.geonames.org/)&lt;br /&gt;
** BabelNet (https://babelnet.org/)&lt;br /&gt;
** Linked Open Data (LOD) (http://lod-cloud.net)&lt;br /&gt;
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture: KG Quality==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG completion and correction&lt;br /&gt;
* Best practices&lt;br /&gt;
* Access protocols and usage control&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 8 Completion + Correction and 9 Best Practices + Access Protocols + Usage Control in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==Lecture 2: Representing KGs (RDF)==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Resource Description Framework (RDF)&lt;br /&gt;
* Programming RDF in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-primer/ W3C&#039;s RDF 1.1 Primer] until and including 5.1.2 Turtle (but not the rest for now)&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.0.0 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* [[:File:S02-RDF.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib 7.0.0 packages] (reference for the labs)&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools]&lt;br /&gt;
* Pages 25-28, 92-100, 125-128, and 164-167 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture 4: Linked Open Data (LOD)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Linked Open Data(LOD)&lt;br /&gt;
* The LOD cloud&lt;br /&gt;
* Data provisioning&lt;br /&gt;
&lt;br /&gt;
Mandatory readings &#039;&#039;(both lecture 4 and 5)&#039;&#039;:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27.&lt;br /&gt;
* [[:File:S04-LOD.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* [https://www.ontotext.com/knowledgehub/fundamentals/linked-data-linked-open-data/ What Are Linked Data and Linked Open Data?]&lt;br /&gt;
* [[:File:BizerHeathBernersLee-LinkedData2009-TheStorySoFar.pdf | Bizer, C., Heath, T., &amp;amp; Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 5: Open Knowledge Graphs I==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** Wikidata&lt;br /&gt;
** DBpedia&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/):&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:Introduction Introduction to Wikidata]&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help SPARQL query service/A gentle introduction to the Wikidata Query Service]&lt;br /&gt;
*** example: [https://www.wikidata.org/wiki/Q26793]&lt;br /&gt;
** DBpedia (https://www.dbpedia.org):&lt;br /&gt;
*** [http://wiki.dbpedia.org/about About Dbpedia]&lt;br /&gt;
*** example: [https://dbpedia.org/resource/Bergen]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 6: Open Knowledge Graphs II==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** DBpedia &#039;&#039;(continued)&#039;&#039;&lt;br /&gt;
** GeoNames&lt;br /&gt;
** the GDELT project&lt;br /&gt;
** WordNet&lt;br /&gt;
** BabelNet&lt;br /&gt;
** ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** GeoNames (https://www.geonames.org/):&lt;br /&gt;
*** [http://www.geonames.org/about.html About GeoNames]&lt;br /&gt;
*** example: [https://www.geonames.org/3161732/bergen.html]&lt;br /&gt;
** GDELT (https://www.gdeltproject.org/)&lt;br /&gt;
*** [https://www.gdeltproject.org/ The GDELT Project] - see also the About and Data pages&lt;br /&gt;
** WordNet (https://wordnet.princeton.edu/)&lt;br /&gt;
*** [https://wordnet.princeton.edu/ WordNet - A lexical database for English]&lt;br /&gt;
** BabelNet (https://babelnet.org/):&lt;br /&gt;
*** [http://live.babelnet.org/about About BabelNet]&lt;br /&gt;
*** [https://babelnet.org/how-to-use How to use]&lt;br /&gt;
*** example: [https://babelnet.org/synset?id=bn%3A00010008n&amp;amp;orig=Bergen&amp;amp;lang=EN]&lt;br /&gt;
** ConceptNet (http://conceptnet.io)&lt;br /&gt;
*** [http://conceptnet.io ConceptNet - An open, multilingual knowledge graph]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* Wikidata statistics&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000167/wikidata-datamodel?orgId=1&amp;amp;refresh=30m Entity statistics]&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000175/wikidata-datamodel-statements?orgId=1&amp;amp;refresh=30m Statement statistics]&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* GDELT documentation&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Event_Codebook-V2.0.pdf Event Codebook (and covers mentions)]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook]&lt;br /&gt;
* Parts 1 and 3 in Blumauer &amp;amp; Nagy&#039;s text book (not tightly related to the lecture, but time to finish them by now :-))&lt;br /&gt;
&lt;br /&gt;
==Lecture 7: Enterprise Knowledge Graphs==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Enterprise Knowledge Graphs (EKGs)&lt;br /&gt;
* Google’s Knowledge Graph&lt;br /&gt;
* Amazon’s Product Graph&lt;br /&gt;
* JSON-LD (video presentation)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://www.blog.google/products/search/introducing-knowledge-graph-things-not/ Introducing the Knowledge Graph: Things not Strings], Amit Singhal, Google (2012). &#039;&#039;(The blog post that introduced Google&#039;s knowledge graph to the world.)&#039;&#039;&lt;br /&gt;
* [https://blog.google/products/search/about-knowledge-graph-and-knowledge-panels/ A reintroduction to our Knowledge Graph and knowledge panels], Danny Sullivan, Google (2020).&lt;br /&gt;
* [https://www.aboutamazon.com/news/innovation-at-amazon/making-search-easier How Amazon’s Product Graph is helping customers find products more easily], Arun Krishnan, Amazon (2018). &#039;&#039;(Short blog post that reviews some central ideas from the AutoKnow research paper listed below.)&#039;&#039;&lt;br /&gt;
* [https://www.amazon.science/blog/building-product-graphs-automatically Building product graphs automatically], Xin Luna Dong, Amazon (2020).&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
* [[:File:S07-EnterpriseKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Parts 2 and 4 in Blumauer &amp;amp; Nagy&#039;s text book (&#039;&#039;strongly suggested - this is where Blumauer &amp;amp; Nagy&#039;s book is good!&#039;&#039;)&lt;br /&gt;
* [[:File:Bosch-LIS.pdf | LIS: A knowledge graph-based line information system]] by Grangel-González, I., Rickart, M., Rudolph, O., &amp;amp; Shah, F. (2023, May). In Proceedings of the European Semantic Web Conference (pp. 591-608). Cham: Springer Nature Switzerland.&lt;br /&gt;
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]] by Dong, X. L., He, X., Kan, A., Li, X., Liang, Y., Ma, J., ... &amp;amp; Han, J. (2020, August). In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery &amp;amp; Data Mining (pp. 2724-2734). &#039;&#039;Research paper from Amazon about AutoKnow - this is a bit heavy for Bachelor level, but you can have a look :-)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Lecture 8: Rules (SHACL and RDFS)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SHACL and RDFS&lt;br /&gt;
* Axioms, rules and entailment&lt;br /&gt;
* Programming SHACL and RDFS in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 7-8 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://book.validatingrdf.com/bookHtml011.html Chapter 5 &#039;&#039;SHACL&#039;&#039;] in [https://book.validatingrdf.com/index.html Validating RDF] (available online)&lt;br /&gt;
** Sections 5.1, 5.3-5.5, and 5.6,1-5.6.3&lt;br /&gt;
* [http://www.w3.org/TR/rdf-schema/ W3C&#039;s RDF Schema 1.1], focus on sections 1-3 and 6&lt;br /&gt;
* [[:File:S07-SHACL-RDFS.pdf | Slides from the lecture]] &lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
* [https://docs.google.com/presentation/d/1weO9SzssxgYp3g_44X1LZsVtL0i6FurQ3KbIKZ8iriQ/ Lab presentation containing a short overview of SHACL and pySHACL]&lt;br /&gt;
* [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
* [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture&#039;&#039;)&lt;br /&gt;
* [https://github.com/blazegraph/database/wiki/InferenceAndTruthMaintenance Inference and Thruth Maintenance in Blazegraph]&lt;br /&gt;
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
* [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&lt;br /&gt;
&lt;br /&gt;
==Lecture 9: Ontologies (OWL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Basic OWL concepts&lt;br /&gt;
* Axioms, rules and entailments&lt;br /&gt;
* Programming basic OWL in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 9-10, 12-13 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6 and 9-10&lt;br /&gt;
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [https://protegeproject.github.io/protege/getting-started/ Protégé-OWL Getting Started]&lt;br /&gt;
* [[:File:S09-OWL.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials (cursory):&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-quick-reference/ OWL 2 Quick Reference Guide]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-rdf-based-semantics/ OWL2 RDF-Based Semantics]&lt;br /&gt;
* The OWL-RL materials (from Lecture 5)&lt;br /&gt;
* [http://vowl.visualdataweb.org/v2 VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [http://vowl.visualdataweb.org/webvowl/index.html#sioc WebVOWL]&lt;br /&gt;
* [[:File:LohmannEtAl2016-VisualizingOntologiesWithVOWL.pdf | Lohmann et al. (2019): Visualizing Ontologies with VOWL. &#039;&#039;Semantic Web Journal.&#039;&#039;]]&lt;br /&gt;
* Pages 106-109 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
&lt;br /&gt;
==Lecture 10: Vocabularies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* LOD vocabularies and ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 10-11 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)]&lt;br /&gt;
* Important vocabularies / ontologies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://motools.sourceforge.net/event/event.html Event Ontology (event)]&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [https://www.w3.org/2003/01/geo/ geo: World Geodetic Standard (WGS) 84]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://rdfs.org/sioc/spec/ Semantic Interlinked Online Communities (SIOC)]&lt;br /&gt;
** [http://schema.org/docs/full.html schema.org - Full Hierarchy]&lt;br /&gt;
** [http://wikidata.dbpedia.org/services-resources/ontology DBpedia Ontology]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
** [http://creativecommons.org/ns Creative Commons (CC) Vocabulary]&lt;br /&gt;
** &#039;&#039;What we expect you to know about each vocabulary is this:&#039;&#039; &lt;br /&gt;
*** Its purpose and where and how it can be used.&lt;br /&gt;
*** Its most central 3-6 classes and properties be able to explain its basic structure. &lt;br /&gt;
*** 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. &lt;br /&gt;
* [[:File:S10-Vocabularies.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Lecture 11: KG embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG embeddings&lt;br /&gt;
* Link prediction&lt;br /&gt;
* TorchKGE&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:S11-GraphEmbeddings.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
==Lecture 12: KGs and Large Language Models==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
&lt;br /&gt;
* What are Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
&lt;br /&gt;
* [[:file:S12-KGsAndLLMs.pdf | Slides from the lecture]]&lt;br /&gt;
* No mandatory readings beyond the slides&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
&lt;br /&gt;
* Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., &amp;amp; Wu, X. (2024). [[:file:PanEtAl2023-LLMs_KGs_Opportunities_Challenges.pdf | &#039;&#039;Unifying large language models and knowledge graphs: A roadmap.&#039;&#039;]]  IEEE Transactions on Knowledge and Data Engineering.&lt;br /&gt;
* Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... &amp;amp;  Polosukhin, I. (2017). [[:file:NIPS-2017-attention-is-all-you-need-Paper.pdf | &#039;&#039;Attention is all you need.&#039;&#039;]]  Advances in neural information processing systems, 30.&amp;lt;br /&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2024, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2713</id>
		<title>Readings</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2713"/>
		<updated>2025-04-28T09:14:47Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Textbooks=&lt;br /&gt;
&lt;br /&gt;
Main course book (&#039;&#039;the whole book is mandatory reading&#039;&#039;):&lt;br /&gt;
* Hogan, A. et al. (2021). &#039;&#039;&#039;Knowledge Graphs.&#039;&#039;&#039; Springer. &#039;&#039;Synthesis Lectures on Data, Semantics, and Knowledge&#039;&#039; 22, 1–237, DOI: 10.2200/S01125ED1V01Y202109DSK022, Springer. https://kgbook.org/&lt;br /&gt;
&lt;br /&gt;
Supplementary books (&#039;&#039;not&#039;&#039; mandatory):&lt;br /&gt;
* Dean Allemang, James Hendler &amp;amp; Fabien Gandon (2020). &#039;&#039;&#039;Semantic Web for the Working Ontologist, Effective Modeling for Linked Data, RDFS and OWL (Third Edition).&#039;&#039;&#039; ISBN: 9781450376143, PDF ISBN: 9781450376150, Hardcover ISBN: 9781450376174, DOI: 10.1145/3382097.&lt;br /&gt;
* Andreas Blumauer and Helmut Nagy (2020). &#039;&#039;&#039;The Knowledge Graph Cookbook - Recipes that Work.&#039;&#039;&#039; mono/monochrom. ISBN-10: ‎3902796707, ISBN-13: 978-3902796707.&lt;br /&gt;
&lt;br /&gt;
=Other materials=&lt;br /&gt;
&lt;br /&gt;
In addition, &#039;&#039;&#039;the materials listed below for each lecture are either mandatory or suggested reading&#039;&#039;&#039;. More materials will be added to each lecture in the coming weeks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The labs, lectures and lectures notes are also part of the curriculum.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039; to download some of the papers, you may need to be inside UiB&#039;s network. Either use a computer directly on the UiB network or connect to your UiB account through VPN.&lt;br /&gt;
&lt;br /&gt;
=Lectures (in progress)=&lt;br /&gt;
&lt;br /&gt;
Below are the mandatory and suggested readings for each lecture. All the textbook chapters in Hogan et al. (&amp;quot;Knowledge Graphs&amp;quot;) are mandatory, whereas the chapters in Allemang, Hendler &amp;amp; Gandon (&amp;quot;Semantic Web&amp;quot;) are suggested.&lt;br /&gt;
&lt;br /&gt;
==Session 1: Introduction to KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Introduction to Knowledge Graphs&lt;br /&gt;
* Organisation of the course&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 1 Introduction, section 2.1 Models, and Appendix A Background in Hogan et al.&lt;br /&gt;
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web]&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.1.3 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapters 1-3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Wikidata (https://www.wikidata.org/)&lt;br /&gt;
&lt;br /&gt;
==Session 2: Querying and updating KGs (SPARQL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SPARQL queries&lt;br /&gt;
* SPARQL Update&lt;br /&gt;
* Programming SPARQL and SPARQL Update in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 2.2 Queries in Hogan et al.&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.8/sparql.html The SPARQL query language — GraphDB 10.8 documentation]&lt;br /&gt;
* [https://rdflib.readthedocs.io/ rdflib 7.1.3] materials: [https://rdflib.readthedocs.io/en/stable/intro_to_sparql.html Querying with SPARQL]&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapter 6 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-query/ SPARQL 1.1 Query Language]&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language]&lt;br /&gt;
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]]&lt;br /&gt;
* [https://en.wikibooks.org/wiki/SPARQL/Expressions_and_Functions SPARQL Expressions and Functions]&lt;br /&gt;
&lt;br /&gt;
==Session 3: Creating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Extracting KGs from text&lt;br /&gt;
* Extracting from marked-up sources&lt;br /&gt;
* Extracting from SQL databases and JSON&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 6 Creation and Enrichment, sections 6.1-6.4, in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.0/virtualization.html Virtualization, GraphDB 10.0 documentation]&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
&lt;br /&gt;
==Session 4: Validating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Validating KG schemas (SHACL)&lt;br /&gt;
* Semantic KG schemas/vocabularies (RDFS)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 3.1 Schema in Hogan et al.&lt;br /&gt;
* Sections 5.1, 5.3, 5.5, 5.6.1, and 5.6.3 in [https://book.validatingrdf.com/bookHtml011.html Gayo, J.E. et al. Validating RDF]. &lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* SHACL&lt;br /&gt;
** Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
** [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
** [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* RDFS&lt;br /&gt;
** [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important, and we will go through the most important ones in the lecture&#039;&#039;)&lt;br /&gt;
** [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
** [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need)&lt;br /&gt;
&lt;br /&gt;
==Session 5: Advanced KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about RDF, e.g.,&lt;br /&gt;
** identity&lt;br /&gt;
** blank nodes&lt;br /&gt;
** reification&lt;br /&gt;
** higher-arity graphs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 3.2 Identity and 3.3 Context in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
&lt;br /&gt;
==Session 6: Ontologies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More powerful vocabularies/ontologies (OWL)&lt;br /&gt;
* Creating ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 4.1 Ontologies and 6.3 Schema/ontology creation in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ OWL 2 Primer, sections 2-6 (advanced: 9-10)] (show: Turtle)&lt;br /&gt;
* [https://service.tib.eu/webvowl/ WebVOWL] interactive OWL visualisation tool&lt;br /&gt;
* Selected vocabularies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
* Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
==Session 7: Reasoning==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about semantic KG schemas (RDFS)&lt;br /&gt;
* Description logic&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 4.2 Rules + DL in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important&#039;&#039;)&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview/ W3C OWL 2 Overview]&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ W3C OWL 2 Primer]&lt;br /&gt;
* [https://www.w3.org/TR/2012/REC-owl2-quick-reference-20121211/ W3C OWL 2 Quick Reference Guide (2nd Edition)]&lt;br /&gt;
&lt;br /&gt;
==Session 8: KG Analytics==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph analytics&lt;br /&gt;
** graph metrics&lt;br /&gt;
** directed vector-labelled graphs&lt;br /&gt;
** analysis frameworks and techniques&lt;br /&gt;
* Symbolic learning&lt;br /&gt;
** rule, axiom, and hypothesis mining&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.1 Graph Analytics and 5.4 Symbolic Learning in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://networkx.org/ NetworkX - Network analysis in Python]&lt;br /&gt;
&lt;br /&gt;
==Session 9: KGs in Practice (Guest Lecture)==&lt;br /&gt;
Guest lecture by Sindre Asplem, [https://www.capgemini.com/no-no/ Capgemini].&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
==Session 10: KG Embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Semantic embedding spaces&lt;br /&gt;
* KG embedding techniques&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.2 Knowledge Graph Embeddings and 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
** &#039;&#039;In Section 5.2.1, we focus on the Translational Models. The other models are cursory reading.&#039;&#039;&lt;br /&gt;
* Towards DataScience introduction: [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Towards DataScience introductions:&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://pykeen.readthedocs.io/en/stable/index.html PyKEEN] is an alternative Python API. It is similar and may be more up-to-date than TorchKGE.&lt;br /&gt;
&lt;br /&gt;
==Session 11: Graph Neural Networks (GNNs) ==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
** recurrent/recursive, convolutional, GATs&lt;br /&gt;
* Question answering with GNNs (QA-GNN)&lt;br /&gt;
* Open KGs:&lt;br /&gt;
** WordNet, BabelNet, ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [[:file:Yasunaga2022-QA-GNN-2104.06378v5.pdf | The QA-GNN paper]]&lt;br /&gt;
* [https://conceptnet.io/ ConceptNet:] An open, multilingual knowledge graph&lt;br /&gt;
* [https://pytorch-geometric.readthedocs.io/en/latest/ PyG Documentation:] PyG (PyTorch Geometric) is a library built upon  PyTorch to easily write and train Graph Neural Networks (GNNs) for a wide range of applications related to structured data.&lt;br /&gt;
&lt;br /&gt;
==Session 12: KGs and LLMs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
** KG-LLM synergy&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 8 Completion + Correction in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [[file:PanEtAl2023-Unifying_Large_Language_Models_and_Knowledge_Graphs_A_Roadmap.pdf | Pan et al. (2024) &#039;&#039;Unifying large language models and knowledge graphs: A roadmap&#039;&#039;]]&lt;br /&gt;
* [[file:Vaswani17-AttentionIsAllYouNeed-1706.03762%281%29.pdf | Vaswani et al. (2017) &#039;&#039;Attention is all you need&#039;&#039;]]&lt;br /&gt;
* [[file:HitzlerEtAl-NeuroSymbolicIntegration-swj2291.pdf | Hitzler et al. (2022) &#039;&#039;Neuro-symbolic approaches in artificial intelligence&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Session 13: KGs in Practice==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Open KGs&lt;br /&gt;
* Enterprise KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Important knowledge graphs:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/)&lt;br /&gt;
** DBpedia (https://www.dbpedia.org, https://dbpedia.org/page/Bergen)&lt;br /&gt;
** GeoNames (https://www.geonames.org/)&lt;br /&gt;
** BabelNet (https://babelnet.org/)&lt;br /&gt;
** Linked Open Data (LOD) (http://lod-cloud.net)&lt;br /&gt;
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture: KG Quality==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG completion and correction&lt;br /&gt;
* Best practices&lt;br /&gt;
* Access protocols and usage control&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 8 Completion + Correction and 9 Best Practices + Access Protocols + Usage Control in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==Lecture 2: Representing KGs (RDF)==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Resource Description Framework (RDF)&lt;br /&gt;
* Programming RDF in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-primer/ W3C&#039;s RDF 1.1 Primer] until and including 5.1.2 Turtle (but not the rest for now)&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.0.0 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* [[:File:S02-RDF.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib 7.0.0 packages] (reference for the labs)&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools]&lt;br /&gt;
* Pages 25-28, 92-100, 125-128, and 164-167 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture 4: Linked Open Data (LOD)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Linked Open Data(LOD)&lt;br /&gt;
* The LOD cloud&lt;br /&gt;
* Data provisioning&lt;br /&gt;
&lt;br /&gt;
Mandatory readings &#039;&#039;(both lecture 4 and 5)&#039;&#039;:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27.&lt;br /&gt;
* [[:File:S04-LOD.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* [https://www.ontotext.com/knowledgehub/fundamentals/linked-data-linked-open-data/ What Are Linked Data and Linked Open Data?]&lt;br /&gt;
* [[:File:BizerHeathBernersLee-LinkedData2009-TheStorySoFar.pdf | Bizer, C., Heath, T., &amp;amp; Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 5: Open Knowledge Graphs I==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** Wikidata&lt;br /&gt;
** DBpedia&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/):&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:Introduction Introduction to Wikidata]&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help SPARQL query service/A gentle introduction to the Wikidata Query Service]&lt;br /&gt;
*** example: [https://www.wikidata.org/wiki/Q26793]&lt;br /&gt;
** DBpedia (https://www.dbpedia.org):&lt;br /&gt;
*** [http://wiki.dbpedia.org/about About Dbpedia]&lt;br /&gt;
*** example: [https://dbpedia.org/resource/Bergen]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 6: Open Knowledge Graphs II==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** DBpedia &#039;&#039;(continued)&#039;&#039;&lt;br /&gt;
** GeoNames&lt;br /&gt;
** the GDELT project&lt;br /&gt;
** WordNet&lt;br /&gt;
** BabelNet&lt;br /&gt;
** ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** GeoNames (https://www.geonames.org/):&lt;br /&gt;
*** [http://www.geonames.org/about.html About GeoNames]&lt;br /&gt;
*** example: [https://www.geonames.org/3161732/bergen.html]&lt;br /&gt;
** GDELT (https://www.gdeltproject.org/)&lt;br /&gt;
*** [https://www.gdeltproject.org/ The GDELT Project] - see also the About and Data pages&lt;br /&gt;
** WordNet (https://wordnet.princeton.edu/)&lt;br /&gt;
*** [https://wordnet.princeton.edu/ WordNet - A lexical database for English]&lt;br /&gt;
** BabelNet (https://babelnet.org/):&lt;br /&gt;
*** [http://live.babelnet.org/about About BabelNet]&lt;br /&gt;
*** [https://babelnet.org/how-to-use How to use]&lt;br /&gt;
*** example: [https://babelnet.org/synset?id=bn%3A00010008n&amp;amp;orig=Bergen&amp;amp;lang=EN]&lt;br /&gt;
** ConceptNet (http://conceptnet.io)&lt;br /&gt;
*** [http://conceptnet.io ConceptNet - An open, multilingual knowledge graph]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* Wikidata statistics&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000167/wikidata-datamodel?orgId=1&amp;amp;refresh=30m Entity statistics]&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000175/wikidata-datamodel-statements?orgId=1&amp;amp;refresh=30m Statement statistics]&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* GDELT documentation&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Event_Codebook-V2.0.pdf Event Codebook (and covers mentions)]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook]&lt;br /&gt;
* Parts 1 and 3 in Blumauer &amp;amp; Nagy&#039;s text book (not tightly related to the lecture, but time to finish them by now :-))&lt;br /&gt;
&lt;br /&gt;
==Lecture 7: Enterprise Knowledge Graphs==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Enterprise Knowledge Graphs (EKGs)&lt;br /&gt;
* Google’s Knowledge Graph&lt;br /&gt;
* Amazon’s Product Graph&lt;br /&gt;
* JSON-LD (video presentation)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://www.blog.google/products/search/introducing-knowledge-graph-things-not/ Introducing the Knowledge Graph: Things not Strings], Amit Singhal, Google (2012). &#039;&#039;(The blog post that introduced Google&#039;s knowledge graph to the world.)&#039;&#039;&lt;br /&gt;
* [https://blog.google/products/search/about-knowledge-graph-and-knowledge-panels/ A reintroduction to our Knowledge Graph and knowledge panels], Danny Sullivan, Google (2020).&lt;br /&gt;
* [https://www.aboutamazon.com/news/innovation-at-amazon/making-search-easier How Amazon’s Product Graph is helping customers find products more easily], Arun Krishnan, Amazon (2018). &#039;&#039;(Short blog post that reviews some central ideas from the AutoKnow research paper listed below.)&#039;&#039;&lt;br /&gt;
* [https://www.amazon.science/blog/building-product-graphs-automatically Building product graphs automatically], Xin Luna Dong, Amazon (2020).&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
* [[:File:S07-EnterpriseKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Parts 2 and 4 in Blumauer &amp;amp; Nagy&#039;s text book (&#039;&#039;strongly suggested - this is where Blumauer &amp;amp; Nagy&#039;s book is good!&#039;&#039;)&lt;br /&gt;
* [[:File:Bosch-LIS.pdf | LIS: A knowledge graph-based line information system]] by Grangel-González, I., Rickart, M., Rudolph, O., &amp;amp; Shah, F. (2023, May). In Proceedings of the European Semantic Web Conference (pp. 591-608). Cham: Springer Nature Switzerland.&lt;br /&gt;
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]] by Dong, X. L., He, X., Kan, A., Li, X., Liang, Y., Ma, J., ... &amp;amp; Han, J. (2020, August). In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery &amp;amp; Data Mining (pp. 2724-2734). &#039;&#039;Research paper from Amazon about AutoKnow - this is a bit heavy for Bachelor level, but you can have a look :-)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Lecture 8: Rules (SHACL and RDFS)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SHACL and RDFS&lt;br /&gt;
* Axioms, rules and entailment&lt;br /&gt;
* Programming SHACL and RDFS in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 7-8 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://book.validatingrdf.com/bookHtml011.html Chapter 5 &#039;&#039;SHACL&#039;&#039;] in [https://book.validatingrdf.com/index.html Validating RDF] (available online)&lt;br /&gt;
** Sections 5.1, 5.3-5.5, and 5.6,1-5.6.3&lt;br /&gt;
* [http://www.w3.org/TR/rdf-schema/ W3C&#039;s RDF Schema 1.1], focus on sections 1-3 and 6&lt;br /&gt;
* [[:File:S07-SHACL-RDFS.pdf | Slides from the lecture]] &lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
* [https://docs.google.com/presentation/d/1weO9SzssxgYp3g_44X1LZsVtL0i6FurQ3KbIKZ8iriQ/ Lab presentation containing a short overview of SHACL and pySHACL]&lt;br /&gt;
* [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
* [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture&#039;&#039;)&lt;br /&gt;
* [https://github.com/blazegraph/database/wiki/InferenceAndTruthMaintenance Inference and Thruth Maintenance in Blazegraph]&lt;br /&gt;
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
* [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&lt;br /&gt;
&lt;br /&gt;
==Lecture 9: Ontologies (OWL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Basic OWL concepts&lt;br /&gt;
* Axioms, rules and entailments&lt;br /&gt;
* Programming basic OWL in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 9-10, 12-13 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6 and 9-10&lt;br /&gt;
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [https://protegeproject.github.io/protege/getting-started/ Protégé-OWL Getting Started]&lt;br /&gt;
* [[:File:S09-OWL.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials (cursory):&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-quick-reference/ OWL 2 Quick Reference Guide]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-rdf-based-semantics/ OWL2 RDF-Based Semantics]&lt;br /&gt;
* The OWL-RL materials (from Lecture 5)&lt;br /&gt;
* [http://vowl.visualdataweb.org/v2 VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [http://vowl.visualdataweb.org/webvowl/index.html#sioc WebVOWL]&lt;br /&gt;
* [[:File:LohmannEtAl2016-VisualizingOntologiesWithVOWL.pdf | Lohmann et al. (2019): Visualizing Ontologies with VOWL. &#039;&#039;Semantic Web Journal.&#039;&#039;]]&lt;br /&gt;
* Pages 106-109 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
&lt;br /&gt;
==Lecture 10: Vocabularies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* LOD vocabularies and ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 10-11 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)]&lt;br /&gt;
* Important vocabularies / ontologies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://motools.sourceforge.net/event/event.html Event Ontology (event)]&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [https://www.w3.org/2003/01/geo/ geo: World Geodetic Standard (WGS) 84]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://rdfs.org/sioc/spec/ Semantic Interlinked Online Communities (SIOC)]&lt;br /&gt;
** [http://schema.org/docs/full.html schema.org - Full Hierarchy]&lt;br /&gt;
** [http://wikidata.dbpedia.org/services-resources/ontology DBpedia Ontology]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
** [http://creativecommons.org/ns Creative Commons (CC) Vocabulary]&lt;br /&gt;
** &#039;&#039;What we expect you to know about each vocabulary is this:&#039;&#039; &lt;br /&gt;
*** Its purpose and where and how it can be used.&lt;br /&gt;
*** Its most central 3-6 classes and properties be able to explain its basic structure. &lt;br /&gt;
*** 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. &lt;br /&gt;
* [[:File:S10-Vocabularies.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Lecture 11: KG embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG embeddings&lt;br /&gt;
* Link prediction&lt;br /&gt;
* TorchKGE&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:S11-GraphEmbeddings.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
==Lecture 12: KGs and Large Language Models==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
&lt;br /&gt;
* What are Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
&lt;br /&gt;
* [[:file:S12-KGsAndLLMs.pdf | Slides from the lecture]]&lt;br /&gt;
* No mandatory readings beyond the slides&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
&lt;br /&gt;
* Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., &amp;amp; Wu, X. (2024). [[:file:PanEtAl2023-LLMs_KGs_Opportunities_Challenges.pdf | &#039;&#039;Unifying large language models and knowledge graphs: A roadmap.&#039;&#039;]]  IEEE Transactions on Knowledge and Data Engineering.&lt;br /&gt;
* Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... &amp;amp;  Polosukhin, I. (2017). [[:file:NIPS-2017-attention-is-all-you-need-Paper.pdf | &#039;&#039;Attention is all you need.&#039;&#039;]]  Advances in neural information processing systems, 30.&amp;lt;br /&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2024, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2712</id>
		<title>Readings</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2712"/>
		<updated>2025-04-28T09:11:44Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Textbooks=&lt;br /&gt;
&lt;br /&gt;
Main course book (&#039;&#039;the whole book is mandatory reading&#039;&#039;):&lt;br /&gt;
* Hogan, A. et al. (2021). &#039;&#039;&#039;Knowledge Graphs.&#039;&#039;&#039; Springer. &#039;&#039;Synthesis Lectures on Data, Semantics, and Knowledge&#039;&#039; 22, 1–237, DOI: 10.2200/S01125ED1V01Y202109DSK022, Springer. https://kgbook.org/&lt;br /&gt;
&lt;br /&gt;
Supplementary books (&#039;&#039;not&#039;&#039; mandatory):&lt;br /&gt;
* Dean Allemang, James Hendler &amp;amp; Fabien Gandon (2020). &#039;&#039;&#039;Semantic Web for the Working Ontologist, Effective Modeling for Linked Data, RDFS and OWL (Third Edition).&#039;&#039;&#039; ISBN: 9781450376143, PDF ISBN: 9781450376150, Hardcover ISBN: 9781450376174, DOI: 10.1145/3382097.&lt;br /&gt;
* Andreas Blumauer and Helmut Nagy (2020). &#039;&#039;&#039;The Knowledge Graph Cookbook - Recipes that Work.&#039;&#039;&#039; mono/monochrom. ISBN-10: ‎3902796707, ISBN-13: 978-3902796707.&lt;br /&gt;
&lt;br /&gt;
=Other materials=&lt;br /&gt;
&lt;br /&gt;
In addition, &#039;&#039;&#039;the materials listed below for each lecture are either mandatory or suggested reading&#039;&#039;&#039;. More materials will be added to each lecture in the coming weeks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The labs, lectures and lectures notes are also part of the curriculum.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039; to download some of the papers, you may need to be inside UiB&#039;s network. Either use a computer directly on the UiB network or connect to your UiB account through VPN.&lt;br /&gt;
&lt;br /&gt;
=Lectures (in progress)=&lt;br /&gt;
&lt;br /&gt;
Below are the mandatory and suggested readings for each lecture. All the textbook chapters in Hogan et al. (&amp;quot;Knowledge Graphs&amp;quot;) are mandatory, whereas the chapters in Allemang, Hendler &amp;amp; Gandon (&amp;quot;Semantic Web&amp;quot;) are suggested.&lt;br /&gt;
&lt;br /&gt;
==Session 1: Introduction to KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Introduction to Knowledge Graphs&lt;br /&gt;
* Organisation of the course&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 1 Introduction, section 2.1 Models, and Appendix A Background in Hogan et al.&lt;br /&gt;
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web]&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.1.3 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapters 1-3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Wikidata (https://www.wikidata.org/)&lt;br /&gt;
&lt;br /&gt;
==Session 2: Querying and updating KGs (SPARQL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SPARQL queries&lt;br /&gt;
* SPARQL Update&lt;br /&gt;
* Programming SPARQL and SPARQL Update in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 2.2 Queries in Hogan et al.&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.8/sparql.html The SPARQL query language — GraphDB 10.8 documentation]&lt;br /&gt;
* [https://rdflib.readthedocs.io/ rdflib 7.1.3] materials: [https://rdflib.readthedocs.io/en/stable/intro_to_sparql.html Querying with SPARQL]&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapter 6 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-query/ SPARQL 1.1 Query Language]&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language]&lt;br /&gt;
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]]&lt;br /&gt;
* [https://en.wikibooks.org/wiki/SPARQL/Expressions_and_Functions SPARQL Expressions and Functions]&lt;br /&gt;
&lt;br /&gt;
==Session 3: Creating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Extracting KGs from text&lt;br /&gt;
* Extracting from marked-up sources&lt;br /&gt;
* Extracting from SQL databases and JSON&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 6 Creation and Enrichment, sections 6.1-6.4, in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.0/virtualization.html Virtualization, GraphDB 10.0 documentation]&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
&lt;br /&gt;
==Session 4: Validating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Validating KG schemas (SHACL)&lt;br /&gt;
* Semantic KG schemas/vocabularies (RDFS)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 3.1 Schema in Hogan et al.&lt;br /&gt;
* Sections 5.1, 5.3, 5.5, 5.6.1, and 5.6.3 in [https://book.validatingrdf.com/bookHtml011.html Gayo, J.E. et al. Validating RDF]. &lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* SHACL&lt;br /&gt;
** Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
** [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
** [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* RDFS&lt;br /&gt;
** [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important, and we will go through the most important ones in the lecture&#039;&#039;)&lt;br /&gt;
** [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
** [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need)&lt;br /&gt;
&lt;br /&gt;
==Session 5: Advanced KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about RDF, e.g.,&lt;br /&gt;
** identity&lt;br /&gt;
** blank nodes&lt;br /&gt;
** reification&lt;br /&gt;
** higher-arity graphs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 3.2 Identity and 3.3 Context in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
&lt;br /&gt;
==Session 6: Ontologies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More powerful vocabularies/ontologies (OWL)&lt;br /&gt;
* Creating ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 4.1 Ontologies and 6.3 Schema/ontology creation in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ OWL 2 Primer, sections 2-6 (advanced: 9-10)] (show: Turtle)&lt;br /&gt;
* [https://service.tib.eu/webvowl/ WebVOWL] interactive OWL visualisation tool&lt;br /&gt;
* Selected vocabularies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
* Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
==Session 7: Reasoning==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about semantic KG schemas (RDFS)&lt;br /&gt;
* Description logic&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 4.2 Rules + DL in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important&#039;&#039;)&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview/ W3C OWL 2 Overview]&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ W3C OWL 2 Primer]&lt;br /&gt;
* [https://www.w3.org/TR/2012/REC-owl2-quick-reference-20121211/ W3C OWL 2 Quick Reference Guide (2nd Edition)]&lt;br /&gt;
&lt;br /&gt;
==Session 8: KG Analytics==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph analytics&lt;br /&gt;
** graph metrics&lt;br /&gt;
** directed vector-labelled graphs&lt;br /&gt;
** analysis frameworks and techniques&lt;br /&gt;
* Symbolic learning&lt;br /&gt;
** rule, axiom, and hypothesis mining&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.1 Graph Analytics and 5.4 Symbolic Learning in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://networkx.org/ NetworkX - Network analysis in Python]&lt;br /&gt;
&lt;br /&gt;
==Session 9: KGs in Practice (Guest Lecture)==&lt;br /&gt;
Guest lecture by Sindre Asplem, [https://www.capgemini.com/no-no/ Capgemini].&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
==Session 10: KG Embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Semantic embedding spaces&lt;br /&gt;
* KG embedding techniques&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.2 Knowledge Graph Embeddings and 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
** &#039;&#039;In Section 5.2.1, we focus on the Translational Models. The other models are cursory reading.&#039;&#039;&lt;br /&gt;
* Towards DataScience introduction: [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Towards DataScience introductions:&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://pykeen.readthedocs.io/en/stable/index.html PyKEEN] is an alternative Python API. It is similar and may be more up-to-date than TorchKGE.&lt;br /&gt;
&lt;br /&gt;
==Session 11: Graph Neural Networks (GNNs) ==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
** recurrent/recursive, convolutional, GATs&lt;br /&gt;
* Question answering with GNNs (QA-GNN)&lt;br /&gt;
* Open KGs:&lt;br /&gt;
** WordNet, BabelNet, ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [[:file:Yasunaga2022-QA-GNN-2104.06378v5.pdf | The QA-GNN paper]]&lt;br /&gt;
* [https://conceptnet.io/ ConceptNet:] An open, multilingual knowledge graph&lt;br /&gt;
* [https://pytorch-geometric.readthedocs.io/en/latest/ PyG Documentation:] PyG (PyTorch Geometric) is a library built upon  PyTorch to easily write and train Graph Neural Networks (GNNs) for a wide range of applications related to structured data.&lt;br /&gt;
&lt;br /&gt;
==Session 12: KGs and LLMs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
** KG-LLM synergy&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 8 Completion + Correction in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [[file:PanEtAl2023-Unifying_Large_Language_Models_and_Knowledge_Graphs_A_Roadmap.pdf | Unifying Large Language Models and Knowledge Graphs: A Roadmap]]&lt;br /&gt;
* [[file:Vaswani17-AttentionIsAllYouNeed-1706.03762%281%29.pdf | Attention is All You Need]]&lt;br /&gt;
* [[file:HitzlerEtAl-NeuroSymbolicIntegration-swj2291.pdf | Neurosymbolic AI]]&lt;br /&gt;
&lt;br /&gt;
==Session 13: KGs in Practice==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Open KGs&lt;br /&gt;
* Enterprise KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Important knowledge graphs:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/)&lt;br /&gt;
** DBpedia (https://www.dbpedia.org, https://dbpedia.org/page/Bergen)&lt;br /&gt;
** GeoNames (https://www.geonames.org/)&lt;br /&gt;
** BabelNet (https://babelnet.org/)&lt;br /&gt;
** Linked Open Data (LOD) (http://lod-cloud.net)&lt;br /&gt;
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture: KG Quality==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG completion and correction&lt;br /&gt;
* Best practices&lt;br /&gt;
* Access protocols and usage control&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 8 Completion + Correction and 9 Best Practices + Access Protocols + Usage Control in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==Lecture 2: Representing KGs (RDF)==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Resource Description Framework (RDF)&lt;br /&gt;
* Programming RDF in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-primer/ W3C&#039;s RDF 1.1 Primer] until and including 5.1.2 Turtle (but not the rest for now)&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.0.0 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* [[:File:S02-RDF.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib 7.0.0 packages] (reference for the labs)&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools]&lt;br /&gt;
* Pages 25-28, 92-100, 125-128, and 164-167 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture 4: Linked Open Data (LOD)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Linked Open Data(LOD)&lt;br /&gt;
* The LOD cloud&lt;br /&gt;
* Data provisioning&lt;br /&gt;
&lt;br /&gt;
Mandatory readings &#039;&#039;(both lecture 4 and 5)&#039;&#039;:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27.&lt;br /&gt;
* [[:File:S04-LOD.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* [https://www.ontotext.com/knowledgehub/fundamentals/linked-data-linked-open-data/ What Are Linked Data and Linked Open Data?]&lt;br /&gt;
* [[:File:BizerHeathBernersLee-LinkedData2009-TheStorySoFar.pdf | Bizer, C., Heath, T., &amp;amp; Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 5: Open Knowledge Graphs I==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** Wikidata&lt;br /&gt;
** DBpedia&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/):&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:Introduction Introduction to Wikidata]&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help SPARQL query service/A gentle introduction to the Wikidata Query Service]&lt;br /&gt;
*** example: [https://www.wikidata.org/wiki/Q26793]&lt;br /&gt;
** DBpedia (https://www.dbpedia.org):&lt;br /&gt;
*** [http://wiki.dbpedia.org/about About Dbpedia]&lt;br /&gt;
*** example: [https://dbpedia.org/resource/Bergen]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 6: Open Knowledge Graphs II==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** DBpedia &#039;&#039;(continued)&#039;&#039;&lt;br /&gt;
** GeoNames&lt;br /&gt;
** the GDELT project&lt;br /&gt;
** WordNet&lt;br /&gt;
** BabelNet&lt;br /&gt;
** ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** GeoNames (https://www.geonames.org/):&lt;br /&gt;
*** [http://www.geonames.org/about.html About GeoNames]&lt;br /&gt;
*** example: [https://www.geonames.org/3161732/bergen.html]&lt;br /&gt;
** GDELT (https://www.gdeltproject.org/)&lt;br /&gt;
*** [https://www.gdeltproject.org/ The GDELT Project] - see also the About and Data pages&lt;br /&gt;
** WordNet (https://wordnet.princeton.edu/)&lt;br /&gt;
*** [https://wordnet.princeton.edu/ WordNet - A lexical database for English]&lt;br /&gt;
** BabelNet (https://babelnet.org/):&lt;br /&gt;
*** [http://live.babelnet.org/about About BabelNet]&lt;br /&gt;
*** [https://babelnet.org/how-to-use How to use]&lt;br /&gt;
*** example: [https://babelnet.org/synset?id=bn%3A00010008n&amp;amp;orig=Bergen&amp;amp;lang=EN]&lt;br /&gt;
** ConceptNet (http://conceptnet.io)&lt;br /&gt;
*** [http://conceptnet.io ConceptNet - An open, multilingual knowledge graph]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* Wikidata statistics&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000167/wikidata-datamodel?orgId=1&amp;amp;refresh=30m Entity statistics]&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000175/wikidata-datamodel-statements?orgId=1&amp;amp;refresh=30m Statement statistics]&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* GDELT documentation&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Event_Codebook-V2.0.pdf Event Codebook (and covers mentions)]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook]&lt;br /&gt;
* Parts 1 and 3 in Blumauer &amp;amp; Nagy&#039;s text book (not tightly related to the lecture, but time to finish them by now :-))&lt;br /&gt;
&lt;br /&gt;
==Lecture 7: Enterprise Knowledge Graphs==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Enterprise Knowledge Graphs (EKGs)&lt;br /&gt;
* Google’s Knowledge Graph&lt;br /&gt;
* Amazon’s Product Graph&lt;br /&gt;
* JSON-LD (video presentation)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://www.blog.google/products/search/introducing-knowledge-graph-things-not/ Introducing the Knowledge Graph: Things not Strings], Amit Singhal, Google (2012). &#039;&#039;(The blog post that introduced Google&#039;s knowledge graph to the world.)&#039;&#039;&lt;br /&gt;
* [https://blog.google/products/search/about-knowledge-graph-and-knowledge-panels/ A reintroduction to our Knowledge Graph and knowledge panels], Danny Sullivan, Google (2020).&lt;br /&gt;
* [https://www.aboutamazon.com/news/innovation-at-amazon/making-search-easier How Amazon’s Product Graph is helping customers find products more easily], Arun Krishnan, Amazon (2018). &#039;&#039;(Short blog post that reviews some central ideas from the AutoKnow research paper listed below.)&#039;&#039;&lt;br /&gt;
* [https://www.amazon.science/blog/building-product-graphs-automatically Building product graphs automatically], Xin Luna Dong, Amazon (2020).&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
* [[:File:S07-EnterpriseKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Parts 2 and 4 in Blumauer &amp;amp; Nagy&#039;s text book (&#039;&#039;strongly suggested - this is where Blumauer &amp;amp; Nagy&#039;s book is good!&#039;&#039;)&lt;br /&gt;
* [[:File:Bosch-LIS.pdf | LIS: A knowledge graph-based line information system]] by Grangel-González, I., Rickart, M., Rudolph, O., &amp;amp; Shah, F. (2023, May). In Proceedings of the European Semantic Web Conference (pp. 591-608). Cham: Springer Nature Switzerland.&lt;br /&gt;
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]] by Dong, X. L., He, X., Kan, A., Li, X., Liang, Y., Ma, J., ... &amp;amp; Han, J. (2020, August). In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery &amp;amp; Data Mining (pp. 2724-2734). &#039;&#039;Research paper from Amazon about AutoKnow - this is a bit heavy for Bachelor level, but you can have a look :-)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Lecture 8: Rules (SHACL and RDFS)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SHACL and RDFS&lt;br /&gt;
* Axioms, rules and entailment&lt;br /&gt;
* Programming SHACL and RDFS in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 7-8 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://book.validatingrdf.com/bookHtml011.html Chapter 5 &#039;&#039;SHACL&#039;&#039;] in [https://book.validatingrdf.com/index.html Validating RDF] (available online)&lt;br /&gt;
** Sections 5.1, 5.3-5.5, and 5.6,1-5.6.3&lt;br /&gt;
* [http://www.w3.org/TR/rdf-schema/ W3C&#039;s RDF Schema 1.1], focus on sections 1-3 and 6&lt;br /&gt;
* [[:File:S07-SHACL-RDFS.pdf | Slides from the lecture]] &lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
* [https://docs.google.com/presentation/d/1weO9SzssxgYp3g_44X1LZsVtL0i6FurQ3KbIKZ8iriQ/ Lab presentation containing a short overview of SHACL and pySHACL]&lt;br /&gt;
* [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
* [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture&#039;&#039;)&lt;br /&gt;
* [https://github.com/blazegraph/database/wiki/InferenceAndTruthMaintenance Inference and Thruth Maintenance in Blazegraph]&lt;br /&gt;
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
* [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&lt;br /&gt;
&lt;br /&gt;
==Lecture 9: Ontologies (OWL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Basic OWL concepts&lt;br /&gt;
* Axioms, rules and entailments&lt;br /&gt;
* Programming basic OWL in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 9-10, 12-13 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6 and 9-10&lt;br /&gt;
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [https://protegeproject.github.io/protege/getting-started/ Protégé-OWL Getting Started]&lt;br /&gt;
* [[:File:S09-OWL.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials (cursory):&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-quick-reference/ OWL 2 Quick Reference Guide]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-rdf-based-semantics/ OWL2 RDF-Based Semantics]&lt;br /&gt;
* The OWL-RL materials (from Lecture 5)&lt;br /&gt;
* [http://vowl.visualdataweb.org/v2 VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [http://vowl.visualdataweb.org/webvowl/index.html#sioc WebVOWL]&lt;br /&gt;
* [[:File:LohmannEtAl2016-VisualizingOntologiesWithVOWL.pdf | Lohmann et al. (2019): Visualizing Ontologies with VOWL. &#039;&#039;Semantic Web Journal.&#039;&#039;]]&lt;br /&gt;
* Pages 106-109 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
&lt;br /&gt;
==Lecture 10: Vocabularies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* LOD vocabularies and ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 10-11 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)]&lt;br /&gt;
* Important vocabularies / ontologies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://motools.sourceforge.net/event/event.html Event Ontology (event)]&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [https://www.w3.org/2003/01/geo/ geo: World Geodetic Standard (WGS) 84]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://rdfs.org/sioc/spec/ Semantic Interlinked Online Communities (SIOC)]&lt;br /&gt;
** [http://schema.org/docs/full.html schema.org - Full Hierarchy]&lt;br /&gt;
** [http://wikidata.dbpedia.org/services-resources/ontology DBpedia Ontology]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
** [http://creativecommons.org/ns Creative Commons (CC) Vocabulary]&lt;br /&gt;
** &#039;&#039;What we expect you to know about each vocabulary is this:&#039;&#039; &lt;br /&gt;
*** Its purpose and where and how it can be used.&lt;br /&gt;
*** Its most central 3-6 classes and properties be able to explain its basic structure. &lt;br /&gt;
*** 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. &lt;br /&gt;
* [[:File:S10-Vocabularies.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Lecture 11: KG embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG embeddings&lt;br /&gt;
* Link prediction&lt;br /&gt;
* TorchKGE&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:S11-GraphEmbeddings.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
==Lecture 12: KGs and Large Language Models==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
&lt;br /&gt;
* What are Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
&lt;br /&gt;
* [[:file:S12-KGsAndLLMs.pdf | Slides from the lecture]]&lt;br /&gt;
* No mandatory readings beyond the slides&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
&lt;br /&gt;
* Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., &amp;amp; Wu, X. (2024). [[:file:PanEtAl2023-LLMs_KGs_Opportunities_Challenges.pdf | &#039;&#039;Unifying large language models and knowledge graphs: A roadmap.&#039;&#039;]]  IEEE Transactions on Knowledge and Data Engineering.&lt;br /&gt;
* Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... &amp;amp;  Polosukhin, I. (2017). [[:file:NIPS-2017-attention-is-all-you-need-Paper.pdf | &#039;&#039;Attention is all you need.&#039;&#039;]]  Advances in neural information processing systems, 30.&amp;lt;br /&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2024, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=File:PanEtAl2023-Unifying_Large_Language_Models_and_Knowledge_Graphs_A_Roadmap.pdf&amp;diff=2711</id>
		<title>File:PanEtAl2023-Unifying Large Language Models and Knowledge Graphs A Roadmap.pdf</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=File:PanEtAl2023-Unifying_Large_Language_Models_and_Knowledge_Graphs_A_Roadmap.pdf&amp;diff=2711"/>
		<updated>2025-04-28T09:07:59Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=File:HitzlerEtAl-NeuroSymbolicIntegration-swj2291.pdf&amp;diff=2710</id>
		<title>File:HitzlerEtAl-NeuroSymbolicIntegration-swj2291.pdf</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=File:HitzlerEtAl-NeuroSymbolicIntegration-swj2291.pdf&amp;diff=2710"/>
		<updated>2025-04-28T09:07:25Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=File:Vaswani17-AttentionIsAllYouNeed-1706.03762(1).pdf&amp;diff=2709</id>
		<title>File:Vaswani17-AttentionIsAllYouNeed-1706.03762(1).pdf</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=File:Vaswani17-AttentionIsAllYouNeed-1706.03762(1).pdf&amp;diff=2709"/>
		<updated>2025-04-28T09:06:29Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2708</id>
		<title>Readings</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2708"/>
		<updated>2025-04-28T09:05:28Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Textbooks=&lt;br /&gt;
&lt;br /&gt;
Main course book (&#039;&#039;the whole book is mandatory reading&#039;&#039;):&lt;br /&gt;
* Hogan, A. et al. (2021). &#039;&#039;&#039;Knowledge Graphs.&#039;&#039;&#039; Springer. &#039;&#039;Synthesis Lectures on Data, Semantics, and Knowledge&#039;&#039; 22, 1–237, DOI: 10.2200/S01125ED1V01Y202109DSK022, Springer. https://kgbook.org/&lt;br /&gt;
&lt;br /&gt;
Supplementary books (&#039;&#039;not&#039;&#039; mandatory):&lt;br /&gt;
* Dean Allemang, James Hendler &amp;amp; Fabien Gandon (2020). &#039;&#039;&#039;Semantic Web for the Working Ontologist, Effective Modeling for Linked Data, RDFS and OWL (Third Edition).&#039;&#039;&#039; ISBN: 9781450376143, PDF ISBN: 9781450376150, Hardcover ISBN: 9781450376174, DOI: 10.1145/3382097.&lt;br /&gt;
* Andreas Blumauer and Helmut Nagy (2020). &#039;&#039;&#039;The Knowledge Graph Cookbook - Recipes that Work.&#039;&#039;&#039; mono/monochrom. ISBN-10: ‎3902796707, ISBN-13: 978-3902796707.&lt;br /&gt;
&lt;br /&gt;
=Other materials=&lt;br /&gt;
&lt;br /&gt;
In addition, &#039;&#039;&#039;the materials listed below for each lecture are either mandatory or suggested reading&#039;&#039;&#039;. More materials will be added to each lecture in the coming weeks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The labs, lectures and lectures notes are also part of the curriculum.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039; to download some of the papers, you may need to be inside UiB&#039;s network. Either use a computer directly on the UiB network or connect to your UiB account through VPN.&lt;br /&gt;
&lt;br /&gt;
=Lectures (in progress)=&lt;br /&gt;
&lt;br /&gt;
Below are the mandatory and suggested readings for each lecture. All the textbook chapters in Hogan et al. (&amp;quot;Knowledge Graphs&amp;quot;) are mandatory, whereas the chapters in Allemang, Hendler &amp;amp; Gandon (&amp;quot;Semantic Web&amp;quot;) are suggested.&lt;br /&gt;
&lt;br /&gt;
==Session 1: Introduction to KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Introduction to Knowledge Graphs&lt;br /&gt;
* Organisation of the course&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 1 Introduction, section 2.1 Models, and Appendix A Background in Hogan et al.&lt;br /&gt;
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web]&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.1.3 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapters 1-3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Wikidata (https://www.wikidata.org/)&lt;br /&gt;
&lt;br /&gt;
==Session 2: Querying and updating KGs (SPARQL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SPARQL queries&lt;br /&gt;
* SPARQL Update&lt;br /&gt;
* Programming SPARQL and SPARQL Update in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 2.2 Queries in Hogan et al.&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.8/sparql.html The SPARQL query language — GraphDB 10.8 documentation]&lt;br /&gt;
* [https://rdflib.readthedocs.io/ rdflib 7.1.3] materials: [https://rdflib.readthedocs.io/en/stable/intro_to_sparql.html Querying with SPARQL]&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapter 6 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-query/ SPARQL 1.1 Query Language]&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language]&lt;br /&gt;
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]]&lt;br /&gt;
* [https://en.wikibooks.org/wiki/SPARQL/Expressions_and_Functions SPARQL Expressions and Functions]&lt;br /&gt;
&lt;br /&gt;
==Session 3: Creating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Extracting KGs from text&lt;br /&gt;
* Extracting from marked-up sources&lt;br /&gt;
* Extracting from SQL databases and JSON&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 6 Creation and Enrichment, sections 6.1-6.4, in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.0/virtualization.html Virtualization, GraphDB 10.0 documentation]&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
&lt;br /&gt;
==Session 4: Validating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Validating KG schemas (SHACL)&lt;br /&gt;
* Semantic KG schemas/vocabularies (RDFS)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 3.1 Schema in Hogan et al.&lt;br /&gt;
* Sections 5.1, 5.3, 5.5, 5.6.1, and 5.6.3 in [https://book.validatingrdf.com/bookHtml011.html Gayo, J.E. et al. Validating RDF]. &lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* SHACL&lt;br /&gt;
** Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
** [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
** [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* RDFS&lt;br /&gt;
** [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important, and we will go through the most important ones in the lecture&#039;&#039;)&lt;br /&gt;
** [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
** [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need)&lt;br /&gt;
&lt;br /&gt;
==Session 5: Advanced KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about RDF, e.g.,&lt;br /&gt;
** identity&lt;br /&gt;
** blank nodes&lt;br /&gt;
** reification&lt;br /&gt;
** higher-arity graphs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 3.2 Identity and 3.3 Context in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
&lt;br /&gt;
==Session 6: Ontologies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More powerful vocabularies/ontologies (OWL)&lt;br /&gt;
* Creating ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 4.1 Ontologies and 6.3 Schema/ontology creation in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ OWL 2 Primer, sections 2-6 (advanced: 9-10)] (show: Turtle)&lt;br /&gt;
* [https://service.tib.eu/webvowl/ WebVOWL] interactive OWL visualisation tool&lt;br /&gt;
* Selected vocabularies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
* Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
==Session 7: Reasoning==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about semantic KG schemas (RDFS)&lt;br /&gt;
* Description logic&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 4.2 Rules + DL in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important&#039;&#039;)&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview/ W3C OWL 2 Overview]&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ W3C OWL 2 Primer]&lt;br /&gt;
* [https://www.w3.org/TR/2012/REC-owl2-quick-reference-20121211/ W3C OWL 2 Quick Reference Guide (2nd Edition)]&lt;br /&gt;
&lt;br /&gt;
==Session 8: KG Analytics==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph analytics&lt;br /&gt;
** graph metrics&lt;br /&gt;
** directed vector-labelled graphs&lt;br /&gt;
** analysis frameworks and techniques&lt;br /&gt;
* Symbolic learning&lt;br /&gt;
** rule, axiom, and hypothesis mining&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.1 Graph Analytics and 5.4 Symbolic Learning in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://networkx.org/ NetworkX - Network analysis in Python]&lt;br /&gt;
&lt;br /&gt;
==Session 9: KGs in Practice (Guest Lecture)==&lt;br /&gt;
Guest lecture by Sindre Asplem, [https://www.capgemini.com/no-no/ Capgemini].&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
==Session 10: KG Embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Semantic embedding spaces&lt;br /&gt;
* KG embedding techniques&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.2 Knowledge Graph Embeddings and 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
** &#039;&#039;In Section 5.2.1, we focus on the Translational Models. The other models are cursory reading.&#039;&#039;&lt;br /&gt;
* Towards DataScience introduction: [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Towards DataScience introductions:&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://pykeen.readthedocs.io/en/stable/index.html PyKEEN] is an alternative Python API. It is similar and may be more up-to-date than TorchKGE.&lt;br /&gt;
&lt;br /&gt;
==Session 11: Graph Neural Networks (GNNs) ==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
** recurrent/recursive, convolutional, GATs&lt;br /&gt;
* Question answering with GNNs (QA-GNN)&lt;br /&gt;
* Open KGs:&lt;br /&gt;
** WordNet, BabelNet, ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [[:file:Yasunaga2022-QA-GNN-2104.06378v5.pdf | The QA-GNN paper]]&lt;br /&gt;
* [https://conceptnet.io/ ConceptNet:] An open, multilingual knowledge graph&lt;br /&gt;
* [https://pytorch-geometric.readthedocs.io/en/latest/ PyG Documentation:] PyG (PyTorch Geometric) is a library built upon  PyTorch to easily write and train Graph Neural Networks (GNNs) for a wide range of applications related to structured data.&lt;br /&gt;
&lt;br /&gt;
==Session 12: KGs and LLMs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
** KG-LLM synergy&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 8 Completion + Correction in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Session 13: KGs in Practice==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Open KGs&lt;br /&gt;
* Enterprise KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Important knowledge graphs:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/)&lt;br /&gt;
** DBpedia (https://www.dbpedia.org, https://dbpedia.org/page/Bergen)&lt;br /&gt;
** GeoNames (https://www.geonames.org/)&lt;br /&gt;
** BabelNet (https://babelnet.org/)&lt;br /&gt;
** Linked Open Data (LOD) (http://lod-cloud.net)&lt;br /&gt;
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture: KG Quality==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG completion and correction&lt;br /&gt;
* Best practices&lt;br /&gt;
* Access protocols and usage control&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 8 Completion + Correction and 9 Best Practices + Access Protocols + Usage Control in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==Lecture 2: Representing KGs (RDF)==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Resource Description Framework (RDF)&lt;br /&gt;
* Programming RDF in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-primer/ W3C&#039;s RDF 1.1 Primer] until and including 5.1.2 Turtle (but not the rest for now)&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.0.0 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* [[:File:S02-RDF.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib 7.0.0 packages] (reference for the labs)&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools]&lt;br /&gt;
* Pages 25-28, 92-100, 125-128, and 164-167 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture 4: Linked Open Data (LOD)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Linked Open Data(LOD)&lt;br /&gt;
* The LOD cloud&lt;br /&gt;
* Data provisioning&lt;br /&gt;
&lt;br /&gt;
Mandatory readings &#039;&#039;(both lecture 4 and 5)&#039;&#039;:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27.&lt;br /&gt;
* [[:File:S04-LOD.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* [https://www.ontotext.com/knowledgehub/fundamentals/linked-data-linked-open-data/ What Are Linked Data and Linked Open Data?]&lt;br /&gt;
* [[:File:BizerHeathBernersLee-LinkedData2009-TheStorySoFar.pdf | Bizer, C., Heath, T., &amp;amp; Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 5: Open Knowledge Graphs I==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** Wikidata&lt;br /&gt;
** DBpedia&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/):&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:Introduction Introduction to Wikidata]&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help SPARQL query service/A gentle introduction to the Wikidata Query Service]&lt;br /&gt;
*** example: [https://www.wikidata.org/wiki/Q26793]&lt;br /&gt;
** DBpedia (https://www.dbpedia.org):&lt;br /&gt;
*** [http://wiki.dbpedia.org/about About Dbpedia]&lt;br /&gt;
*** example: [https://dbpedia.org/resource/Bergen]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 6: Open Knowledge Graphs II==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** DBpedia &#039;&#039;(continued)&#039;&#039;&lt;br /&gt;
** GeoNames&lt;br /&gt;
** the GDELT project&lt;br /&gt;
** WordNet&lt;br /&gt;
** BabelNet&lt;br /&gt;
** ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** GeoNames (https://www.geonames.org/):&lt;br /&gt;
*** [http://www.geonames.org/about.html About GeoNames]&lt;br /&gt;
*** example: [https://www.geonames.org/3161732/bergen.html]&lt;br /&gt;
** GDELT (https://www.gdeltproject.org/)&lt;br /&gt;
*** [https://www.gdeltproject.org/ The GDELT Project] - see also the About and Data pages&lt;br /&gt;
** WordNet (https://wordnet.princeton.edu/)&lt;br /&gt;
*** [https://wordnet.princeton.edu/ WordNet - A lexical database for English]&lt;br /&gt;
** BabelNet (https://babelnet.org/):&lt;br /&gt;
*** [http://live.babelnet.org/about About BabelNet]&lt;br /&gt;
*** [https://babelnet.org/how-to-use How to use]&lt;br /&gt;
*** example: [https://babelnet.org/synset?id=bn%3A00010008n&amp;amp;orig=Bergen&amp;amp;lang=EN]&lt;br /&gt;
** ConceptNet (http://conceptnet.io)&lt;br /&gt;
*** [http://conceptnet.io ConceptNet - An open, multilingual knowledge graph]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* Wikidata statistics&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000167/wikidata-datamodel?orgId=1&amp;amp;refresh=30m Entity statistics]&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000175/wikidata-datamodel-statements?orgId=1&amp;amp;refresh=30m Statement statistics]&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* GDELT documentation&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Event_Codebook-V2.0.pdf Event Codebook (and covers mentions)]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook]&lt;br /&gt;
* Parts 1 and 3 in Blumauer &amp;amp; Nagy&#039;s text book (not tightly related to the lecture, but time to finish them by now :-))&lt;br /&gt;
&lt;br /&gt;
==Lecture 7: Enterprise Knowledge Graphs==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Enterprise Knowledge Graphs (EKGs)&lt;br /&gt;
* Google’s Knowledge Graph&lt;br /&gt;
* Amazon’s Product Graph&lt;br /&gt;
* JSON-LD (video presentation)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://www.blog.google/products/search/introducing-knowledge-graph-things-not/ Introducing the Knowledge Graph: Things not Strings], Amit Singhal, Google (2012). &#039;&#039;(The blog post that introduced Google&#039;s knowledge graph to the world.)&#039;&#039;&lt;br /&gt;
* [https://blog.google/products/search/about-knowledge-graph-and-knowledge-panels/ A reintroduction to our Knowledge Graph and knowledge panels], Danny Sullivan, Google (2020).&lt;br /&gt;
* [https://www.aboutamazon.com/news/innovation-at-amazon/making-search-easier How Amazon’s Product Graph is helping customers find products more easily], Arun Krishnan, Amazon (2018). &#039;&#039;(Short blog post that reviews some central ideas from the AutoKnow research paper listed below.)&#039;&#039;&lt;br /&gt;
* [https://www.amazon.science/blog/building-product-graphs-automatically Building product graphs automatically], Xin Luna Dong, Amazon (2020).&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
* [[:File:S07-EnterpriseKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Parts 2 and 4 in Blumauer &amp;amp; Nagy&#039;s text book (&#039;&#039;strongly suggested - this is where Blumauer &amp;amp; Nagy&#039;s book is good!&#039;&#039;)&lt;br /&gt;
* [[:File:Bosch-LIS.pdf | LIS: A knowledge graph-based line information system]] by Grangel-González, I., Rickart, M., Rudolph, O., &amp;amp; Shah, F. (2023, May). In Proceedings of the European Semantic Web Conference (pp. 591-608). Cham: Springer Nature Switzerland.&lt;br /&gt;
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]] by Dong, X. L., He, X., Kan, A., Li, X., Liang, Y., Ma, J., ... &amp;amp; Han, J. (2020, August). In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery &amp;amp; Data Mining (pp. 2724-2734). &#039;&#039;Research paper from Amazon about AutoKnow - this is a bit heavy for Bachelor level, but you can have a look :-)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Lecture 8: Rules (SHACL and RDFS)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SHACL and RDFS&lt;br /&gt;
* Axioms, rules and entailment&lt;br /&gt;
* Programming SHACL and RDFS in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 7-8 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://book.validatingrdf.com/bookHtml011.html Chapter 5 &#039;&#039;SHACL&#039;&#039;] in [https://book.validatingrdf.com/index.html Validating RDF] (available online)&lt;br /&gt;
** Sections 5.1, 5.3-5.5, and 5.6,1-5.6.3&lt;br /&gt;
* [http://www.w3.org/TR/rdf-schema/ W3C&#039;s RDF Schema 1.1], focus on sections 1-3 and 6&lt;br /&gt;
* [[:File:S07-SHACL-RDFS.pdf | Slides from the lecture]] &lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
* [https://docs.google.com/presentation/d/1weO9SzssxgYp3g_44X1LZsVtL0i6FurQ3KbIKZ8iriQ/ Lab presentation containing a short overview of SHACL and pySHACL]&lt;br /&gt;
* [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
* [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture&#039;&#039;)&lt;br /&gt;
* [https://github.com/blazegraph/database/wiki/InferenceAndTruthMaintenance Inference and Thruth Maintenance in Blazegraph]&lt;br /&gt;
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
* [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&lt;br /&gt;
&lt;br /&gt;
==Lecture 9: Ontologies (OWL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Basic OWL concepts&lt;br /&gt;
* Axioms, rules and entailments&lt;br /&gt;
* Programming basic OWL in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 9-10, 12-13 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6 and 9-10&lt;br /&gt;
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [https://protegeproject.github.io/protege/getting-started/ Protégé-OWL Getting Started]&lt;br /&gt;
* [[:File:S09-OWL.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials (cursory):&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-quick-reference/ OWL 2 Quick Reference Guide]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-rdf-based-semantics/ OWL2 RDF-Based Semantics]&lt;br /&gt;
* The OWL-RL materials (from Lecture 5)&lt;br /&gt;
* [http://vowl.visualdataweb.org/v2 VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [http://vowl.visualdataweb.org/webvowl/index.html#sioc WebVOWL]&lt;br /&gt;
* [[:File:LohmannEtAl2016-VisualizingOntologiesWithVOWL.pdf | Lohmann et al. (2019): Visualizing Ontologies with VOWL. &#039;&#039;Semantic Web Journal.&#039;&#039;]]&lt;br /&gt;
* Pages 106-109 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
&lt;br /&gt;
==Lecture 10: Vocabularies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* LOD vocabularies and ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 10-11 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)]&lt;br /&gt;
* Important vocabularies / ontologies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://motools.sourceforge.net/event/event.html Event Ontology (event)]&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [https://www.w3.org/2003/01/geo/ geo: World Geodetic Standard (WGS) 84]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://rdfs.org/sioc/spec/ Semantic Interlinked Online Communities (SIOC)]&lt;br /&gt;
** [http://schema.org/docs/full.html schema.org - Full Hierarchy]&lt;br /&gt;
** [http://wikidata.dbpedia.org/services-resources/ontology DBpedia Ontology]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
** [http://creativecommons.org/ns Creative Commons (CC) Vocabulary]&lt;br /&gt;
** &#039;&#039;What we expect you to know about each vocabulary is this:&#039;&#039; &lt;br /&gt;
*** Its purpose and where and how it can be used.&lt;br /&gt;
*** Its most central 3-6 classes and properties be able to explain its basic structure. &lt;br /&gt;
*** 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. &lt;br /&gt;
* [[:File:S10-Vocabularies.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Lecture 11: KG embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG embeddings&lt;br /&gt;
* Link prediction&lt;br /&gt;
* TorchKGE&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:S11-GraphEmbeddings.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
==Lecture 12: KGs and Large Language Models==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
&lt;br /&gt;
* What are Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
&lt;br /&gt;
* [[:file:S12-KGsAndLLMs.pdf | Slides from the lecture]]&lt;br /&gt;
* No mandatory readings beyond the slides&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
&lt;br /&gt;
* Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., &amp;amp; Wu, X. (2024). [[:file:PanEtAl2023-LLMs_KGs_Opportunities_Challenges.pdf | &#039;&#039;Unifying large language models and knowledge graphs: A roadmap.&#039;&#039;]]  IEEE Transactions on Knowledge and Data Engineering.&lt;br /&gt;
* Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... &amp;amp;  Polosukhin, I. (2017). [[:file:NIPS-2017-attention-is-all-you-need-Paper.pdf | &#039;&#039;Attention is all you need.&#039;&#039;]]  Advances in neural information processing systems, 30.&amp;lt;br /&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2024, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Lab_Exercises&amp;diff=2707</id>
		<title>Lab Exercises</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Lab_Exercises&amp;diff=2707"/>
		<updated>2025-04-28T09:01:28Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here we will present new lab exercises each week. &lt;br /&gt;
&lt;br /&gt;
# [[Lab: Getting started with VSCode, Python and RDFlib]] (week 5, from 27/1)&lt;br /&gt;
# [[Lab: SPARQL | Lab: SPARQL queries]] (week 6 &#039;&#039;&#039;&#039;&#039;and 7&#039;&#039;&#039;&#039;&#039;, from 3/2)&lt;br /&gt;
# [[Lab: SPARQL Programming | Lab: SPARQL programming]] (week 8, from 17/2)&lt;br /&gt;
# [[Lab: Ontop | Lab: Virtualisation with Ontop]] (week 9, from 24/2)&lt;br /&gt;
# [[Lab: JSON-LD]] (week 10, from 3/3)&lt;br /&gt;
# [[Lab: SHACL | Lab: SHACL constraints]] (week 11, from 10/3)&lt;br /&gt;
# [[Lab: RDFS | Lab: RDFS rules]] (week 12, from 17/3)&lt;br /&gt;
# [[Lab: Wikidata in RDF]] (week 13, from 24/3)&lt;br /&gt;
# [[Lab: OWL 1]] (week 14, from 31/3)&lt;br /&gt;
# [[Lab: OWL 2]] (week 15, from 7/4)&lt;br /&gt;
# [[Lab: Using Graph Embeddings]] (week 17-18, from 14/4 &#039;&#039;--- only the Thursday group in week 17&#039;&#039;)&lt;br /&gt;
# [[Lab: Training Graph Embeddings]] (week 19, from 5/5)&lt;br /&gt;
# [[Lab: Semantic Lifting - CSV | Lab: From CSV to RDF]] (week 20, from 12/5)&lt;br /&gt;
# Lab: Exam training (week 21, from 17/5)&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
# [[Lab: RDF programming with RDFlib]] (week 5, from 29/1)&lt;br /&gt;
# [[Lab: SPARQL 2 | Lab: SPARQL updates]] (week 7, from 12/2)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2025, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Lab:_Using_Graph_Embeddings&amp;diff=2706</id>
		<title>Lab: Using Graph Embeddings</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Lab:_Using_Graph_Embeddings&amp;diff=2706"/>
		<updated>2025-04-19T12:09:28Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: /* Topics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Topics==&lt;br /&gt;
Using knowledge graph embeddings with TorchKGE. (PyKEEN is an alternative that may have become more developed than TorchKGE.)&lt;br /&gt;
&lt;br /&gt;
==Useful readings==&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!]&lt;br /&gt;
* The following TorchKGE classes are central:&lt;br /&gt;
** &#039;&#039;KnowledgeGraph&#039;&#039; - contains the knowledge graph (KG)&lt;br /&gt;
** &#039;&#039;Model&#039;&#039; - contains the embeddings (entity and relation vectors) for some KG&lt;br /&gt;
* [https://pytorch.org/docs/stable/tensors.html PyTorch Tensor Documentation]&lt;br /&gt;
&lt;br /&gt;
==Tasks==&lt;br /&gt;
&#039;&#039;&#039;Task: knowledge graph&#039;&#039;&#039;:&lt;br /&gt;
* Use a [https://torchkge.readthedocs.io/en/latest/reference/utils.html#pre-trained-models dataset loader] to load a KG you want to work with. Freebase FB15k237 is a good choice. (You will need a pre-trained model for your KG later, to choose one of FB15k, FB15k237, WDV5, WN18RR, or Yago3-10. This lab has mostly been tested on FB15k.)&lt;br /&gt;
* Use the methods provided by the [https://torchkge.readthedocs.io/en/latest/reference/data.html#knowledge-graph KnowledgeGraph class] to inspect the KG. &lt;br /&gt;
** Print out the numbers of entities, relations, and facts in the training, validation, and testing sets. &lt;br /&gt;
** Print the identifiers for the first 10 entities and relations (&#039;&#039;tip:&#039;&#039; ent2ix and rel2ix).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task: external identifiers&#039;&#039;&#039;:&lt;br /&gt;
* Download a dataset that provides more understandable labels for the entities (and perhaps relations) in your KnowledgeGraph&lt;br /&gt;
** If you use FB15k, the relation names are not so bad, but the entity identifiers do not give much meaning. Same with WordNet. [https://github.com/villmow/datasets_knowledge_embedding This repository] contains mappings for the Freebase and WordNet datasets.&lt;br /&gt;
** If you use a Wikidata graph, the entities and relations are all P- and Q-codes. To get labels, you can try a combination of [https://query.wikidata.org/ SPARQL queries] and [https://pypi.org/project/Wikidata/ this API].&lt;br /&gt;
* Create mappings from external labels to entity ids (and perhaps relation ids) in the KnowledgeGraph. Also create the inverse mappings.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task: test entities and relations&#039;&#039;&#039;:&lt;br /&gt;
* Get the KG indexes for a few entities and relations. If you use the Freebase or Wikidata graphs, you can try &#039;J. K. Rowling&#039; and &#039;WALL·E&#039; as entities (&#039;&#039;note&#039;&#039; that the dot in &#039;WALL·E&#039; is not a hyphen or usual period.) For relations you can try &#039;influenced by&#039; and &#039;genre&#039;. (&#039;&#039;tip&#039;&#039;: to check names of entites and relations, open the train.txt file you cloned) &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task: model&#039;&#039;&#039;:&lt;br /&gt;
* Load a [https://torchkge.readthedocs.io/en/latest/reference/utils.html#pre-trained-models pre-trained TransE model] that matches your KnowledgeGraph.&lt;br /&gt;
** Print out the numbers of entities, relations, and [https://torchkge.readthedocs.io/en/latest/reference/models.html#transe the dimensions] of the entity and relation vectors. Do they match your KnowledgeGraph. &lt;br /&gt;
* Get the vectors for your test entities and relations (for example, &#039;J. K. Rowling&#039; and &#039;influenced by&#039;).&lt;br /&gt;
* Find vectors for a few more entities (both unrelated and related ones, e.g., &#039;J. R. R. Tolkien&#039;, &#039;C. S. Lewis&#039;, ...). Use the [https://torchkge.readthedocs.io/en/latest/reference/models.html#translationalmodels model.dissimilarity()-method] to estimate how semantically close your entities are. Do the distances make sense?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task: K-nearest neighbours&#039;&#039;&#039;:&lt;br /&gt;
* Find the indexes of the 10 entity vectors that are nearest neighbours to your entity of choice. You can use [https://scikit-learn.org/stable/modules/generated/sklearn.neighbors.NearestNeighbors.html sciKit-learn&#039;s sklearn.neighbors.NearestNeighbors.kneighbors()-method] for this.&lt;br /&gt;
* Map the indexes of the 10-nearest neighbouring entities back into human-understandable labels. Does this make sense? Try the same thing with another entity (e.g., &#039;WALL·E&#039;).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task: translation&#039;&#039;&#039;:&lt;br /&gt;
* Add together the vectors for an entity and a relation that that gives meaning for the entity (e.g., &#039;J. K. Rowling&#039; - &#039;influenced by&#039;, &#039;WALL·E&#039; - &#039;genre&#039;). Find the 10-nearest neighbouring entities for the vector sum. Does this make sense? Try more entities and relations. Try to find examples that work and that do not work well.&lt;br /&gt;
&lt;br /&gt;
==Code to get started==&lt;br /&gt;
With graph embeddings, we ideally want to work with ipynb files. The code below is prepared in the following link: https://colab.research.google.com/drive/1gS2D1XYSviAmhkS8moJIpY0N8ltJFM3C&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
!pip install torchkge&lt;br /&gt;
!pip install sklearn&lt;br /&gt;
!git clone https://github.com/villmow/datasets_knowledge_embedding.git&lt;br /&gt;
&lt;br /&gt;
from torchkge.utils.datasets import load_fb15k237&lt;br /&gt;
&lt;br /&gt;
kg_train, kg_val, kg_test = load_fb15k237()&lt;br /&gt;
&lt;br /&gt;
print(list(kg_train.ent2ix.keys())[-10:])&lt;br /&gt;
print(list(kg_train.rel2ix.keys())[-10:])&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;quot;&amp;quot;&amp;quot;Download files with human-readable labels for (most) Freebase entities used in the dataset. &lt;br /&gt;
Labels seem to be missing for some entities used in FB15k-237.&amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
import json&lt;br /&gt;
&lt;br /&gt;
TEXT_TRIPLES_DIR = &#039;datasets_knowledge_embedding/FB15k-237/&#039;&lt;br /&gt;
with open(TEXT_TRIPLES_DIR+&#039;entity2wikidata.json&#039;) as file:&lt;br /&gt;
    _entity2wikidata = json.load(file)&lt;br /&gt;
&lt;br /&gt;
 ent2lbl = {&lt;br /&gt;
    ent: wd[&#039;label&#039;]&lt;br /&gt;
    for ent, wd in _entity2wikidata.items()&lt;br /&gt;
}&lt;br /&gt;
lbl2ent = {lbl: ent for ent, lbl in ent2lbl.items()}&lt;br /&gt;
&lt;br /&gt;
print([&lt;br /&gt;
    ent2lbl[ent] &lt;br /&gt;
    for ent in kg_train.ent2ix.keys()&lt;br /&gt;
    if ent in ent2lbl][-10:])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==If You Have More Time==&lt;br /&gt;
* Try it out with different datasets, for example one you create youreself using SPARQL queries on an open KG.&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Lab_Exercises&amp;diff=2705</id>
		<title>Lab Exercises</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Lab_Exercises&amp;diff=2705"/>
		<updated>2025-04-19T12:07:50Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here we will present new lab exercises each week. &lt;br /&gt;
&lt;br /&gt;
# [[Lab: Getting started with VSCode, Python and RDFlib]] (week 5, from 27/1)&lt;br /&gt;
# [[Lab: SPARQL | Lab: SPARQL queries]] (week 6 &#039;&#039;&#039;&#039;&#039;and 7&#039;&#039;&#039;&#039;&#039;, from 3/2)&lt;br /&gt;
# [[Lab: SPARQL Programming | Lab: SPARQL programming]] (week 8, from 17/2)&lt;br /&gt;
# [[Lab: Ontop | Lab: Virtualisation with Ontop]] (week 9, from 24/2)&lt;br /&gt;
# [[Lab: JSON-LD]] (week 10, from 3/3)&lt;br /&gt;
# [[Lab: SHACL | Lab: SHACL constraints]] (week 11, from 10/3)&lt;br /&gt;
# [[Lab: RDFS | Lab: RDFS rules]] (week 12, from 17/3)&lt;br /&gt;
# [[Lab: Wikidata in RDF]] (week 13, from 24/3)&lt;br /&gt;
# [[Lab: OWL 1]] (week 14, from 31/3)&lt;br /&gt;
# [[Lab: OWL 2]] (week 15, from 7/4)&lt;br /&gt;
# [[Lab: Using Graph Embeddings]] (week 17-18, from 14/4 &#039;&#039;--- only the Thursday group in week 17&#039;&#039;)&lt;br /&gt;
# [[Lab: Training Graph Embeddings]] (week 19, from 5/5)&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
# [[Lab: RDF programming with RDFlib]] (week 5, from 29/1)&lt;br /&gt;
# [[Lab: SPARQL 2 | Lab: SPARQL updates]] (week 7, from 12/2)&lt;br /&gt;
# [[Lab: Semantic Lifting - CSV | Lab: From CSV to RDF]] (week 10, from 4/3)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2025, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2703</id>
		<title>Readings</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2703"/>
		<updated>2025-04-07T08:52:42Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: /* Session 11: Graph Neural Networks (GNNs) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Textbooks=&lt;br /&gt;
&lt;br /&gt;
Main course book (&#039;&#039;the whole book is mandatory reading&#039;&#039;):&lt;br /&gt;
* Hogan, A. et al. (2021). &#039;&#039;&#039;Knowledge Graphs.&#039;&#039;&#039; Springer. &#039;&#039;Synthesis Lectures on Data, Semantics, and Knowledge&#039;&#039; 22, 1–237, DOI: 10.2200/S01125ED1V01Y202109DSK022, Springer. https://kgbook.org/&lt;br /&gt;
&lt;br /&gt;
Supplementary books (&#039;&#039;not&#039;&#039; mandatory):&lt;br /&gt;
* Dean Allemang, James Hendler &amp;amp; Fabien Gandon (2020). &#039;&#039;&#039;Semantic Web for the Working Ontologist, Effective Modeling for Linked Data, RDFS and OWL (Third Edition).&#039;&#039;&#039; ISBN: 9781450376143, PDF ISBN: 9781450376150, Hardcover ISBN: 9781450376174, DOI: 10.1145/3382097.&lt;br /&gt;
* Andreas Blumauer and Helmut Nagy (2020). &#039;&#039;&#039;The Knowledge Graph Cookbook - Recipes that Work.&#039;&#039;&#039; mono/monochrom. ISBN-10: ‎3902796707, ISBN-13: 978-3902796707.&lt;br /&gt;
&lt;br /&gt;
=Other materials=&lt;br /&gt;
&lt;br /&gt;
In addition, &#039;&#039;&#039;the materials listed below for each lecture are either mandatory or suggested reading&#039;&#039;&#039;. More materials will be added to each lecture in the coming weeks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The labs, lectures and lectures notes are also part of the curriculum.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039; to download some of the papers, you may need to be inside UiB&#039;s network. Either use a computer directly on the UiB network or connect to your UiB account through VPN.&lt;br /&gt;
&lt;br /&gt;
=Lectures (in progress)=&lt;br /&gt;
&lt;br /&gt;
Below are the mandatory and suggested readings for each lecture. All the textbook chapters in Hogan et al. (&amp;quot;Knowledge Graphs&amp;quot;) are mandatory, whereas the chapters in Allemang, Hendler &amp;amp; Gandon (&amp;quot;Semantic Web&amp;quot;) are suggested.&lt;br /&gt;
&lt;br /&gt;
==Session 1: Introduction to KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Introduction to Knowledge Graphs&lt;br /&gt;
* Organisation of the course&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 1 Introduction, section 2.1 Models, and Appendix A Background in Hogan et al.&lt;br /&gt;
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web]&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.1.3 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapters 1-3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Wikidata (https://www.wikidata.org/)&lt;br /&gt;
&lt;br /&gt;
==Session 2: Querying and updating KGs (SPARQL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SPARQL queries&lt;br /&gt;
* SPARQL Update&lt;br /&gt;
* Programming SPARQL and SPARQL Update in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 2.2 Queries in Hogan et al.&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.8/sparql.html The SPARQL query language — GraphDB 10.8 documentation]&lt;br /&gt;
* [https://rdflib.readthedocs.io/ rdflib 7.1.3] materials: [https://rdflib.readthedocs.io/en/stable/intro_to_sparql.html Querying with SPARQL]&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapter 6 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-query/ SPARQL 1.1 Query Language]&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language]&lt;br /&gt;
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]]&lt;br /&gt;
* [https://en.wikibooks.org/wiki/SPARQL/Expressions_and_Functions SPARQL Expressions and Functions]&lt;br /&gt;
&lt;br /&gt;
==Session 3: Creating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Extracting KGs from text&lt;br /&gt;
* Extracting from marked-up sources&lt;br /&gt;
* Extracting from SQL databases and JSON&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 6 Creation and Enrichment, sections 6.1-6.4, in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.0/virtualization.html Virtualization, GraphDB 10.0 documentation]&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
&lt;br /&gt;
==Session 4: Validating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Validating KG schemas (SHACL)&lt;br /&gt;
* Semantic KG schemas/vocabularies (RDFS)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 3.1 Schema in Hogan et al.&lt;br /&gt;
* Sections 5.1, 5.3, 5.5, 5.6.1, and 5.6.3 in [https://book.validatingrdf.com/bookHtml011.html Gayo, J.E. et al. Validating RDF]. &lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* SHACL&lt;br /&gt;
** Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
** [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
** [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* RDFS&lt;br /&gt;
** [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important, and we will go through the most important ones in the lecture&#039;&#039;)&lt;br /&gt;
** [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
** [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need)&lt;br /&gt;
&lt;br /&gt;
==Session 5: Advanced KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about RDF, e.g.,&lt;br /&gt;
** identity&lt;br /&gt;
** blank nodes&lt;br /&gt;
** reification&lt;br /&gt;
** higher-arity graphs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 3.2 Identity and 3.3 Context in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
&lt;br /&gt;
==Session 6: Ontologies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More powerful vocabularies/ontologies (OWL)&lt;br /&gt;
* Creating ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 4.1 Ontologies and 6.3 Schema/ontology creation in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ OWL 2 Primer, sections 2-6 (advanced: 9-10)] (show: Turtle)&lt;br /&gt;
* [https://service.tib.eu/webvowl/ WebVOWL] interactive OWL visualisation tool&lt;br /&gt;
* Selected vocabularies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
* Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
==Session 7: Reasoning==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about semantic KG schemas (RDFS)&lt;br /&gt;
* Description logic&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 4.2 Rules + DL in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important&#039;&#039;)&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview/ W3C OWL 2 Overview]&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ W3C OWL 2 Primer]&lt;br /&gt;
* [https://www.w3.org/TR/2012/REC-owl2-quick-reference-20121211/ W3C OWL 2 Quick Reference Guide (2nd Edition)]&lt;br /&gt;
&lt;br /&gt;
==Session 8: KG Analytics==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph analytics&lt;br /&gt;
** graph metrics&lt;br /&gt;
** directed vector-labelled graphs&lt;br /&gt;
** analysis frameworks and techniques&lt;br /&gt;
* Symbolic learning&lt;br /&gt;
** rule, axiom, and hypothesis mining&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.1 Graph Analytics and 5.4 Symbolic Learning in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://networkx.org/ NetworkX - Network analysis in Python]&lt;br /&gt;
&lt;br /&gt;
==Session 9: KGs in Practice (Guest Lecture)==&lt;br /&gt;
Guest lecture by Sindre Asplem, [https://www.capgemini.com/no-no/ Capgemini].&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
==Session 10: KG Embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Semantic embedding spaces&lt;br /&gt;
* KG embedding techniques&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.2 Knowledge Graph Embeddings and 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
** &#039;&#039;In Section 5.2.1, we focus on the Translational Models. The other models are cursory reading.&#039;&#039;&lt;br /&gt;
* Towards DataScience introduction: [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Towards DataScience introductions:&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://pykeen.readthedocs.io/en/stable/index.html PyKEEN] is an alternative Python API. It is similar and may be more up-to-date than TorchKGE.&lt;br /&gt;
&lt;br /&gt;
==Session 11: Graph Neural Networks (GNNs) ==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
** recurrent/recursive, convolutional, GATs&lt;br /&gt;
* Question answering with GNNs (QA-GNN)&lt;br /&gt;
* Open KGs:&lt;br /&gt;
** WordNet, BabelNet, ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [[:file:Yasunaga2022-QA-GNN-2104.06378v5.pdf | The QA-GNN paper]]&lt;br /&gt;
* [https://conceptnet.io/ ConceptNet:] An open, multilingual knowledge graph&lt;br /&gt;
* [https://pytorch-geometric.readthedocs.io/en/latest/ PyG Documentation:] PyG (PyTorch Geometric) is a library built upon  PyTorch to easily write and train Graph Neural Networks (GNNs) for a wide range of applications related to structured data.&lt;br /&gt;
&lt;br /&gt;
==Session 12: KG Refinement (KGs and LLMs)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Enriching KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 8 Completion + Correction in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Session 13: KGs in Practice==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Open KGs&lt;br /&gt;
* Enterprise KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Important knowledge graphs:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/)&lt;br /&gt;
** DBpedia (https://www.dbpedia.org, https://dbpedia.org/page/Bergen)&lt;br /&gt;
** GeoNames (https://www.geonames.org/)&lt;br /&gt;
** BabelNet (https://babelnet.org/)&lt;br /&gt;
** Linked Open Data (LOD) (http://lod-cloud.net)&lt;br /&gt;
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture: KG Quality==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG completion and correction&lt;br /&gt;
* Best practices&lt;br /&gt;
* Access protocols and usage control&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 8 Completion + Correction and 9 Best Practices + Access Protocols + Usage Control in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==Lecture 2: Representing KGs (RDF)==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Resource Description Framework (RDF)&lt;br /&gt;
* Programming RDF in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-primer/ W3C&#039;s RDF 1.1 Primer] until and including 5.1.2 Turtle (but not the rest for now)&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.0.0 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* [[:File:S02-RDF.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib 7.0.0 packages] (reference for the labs)&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools]&lt;br /&gt;
* Pages 25-28, 92-100, 125-128, and 164-167 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture 4: Linked Open Data (LOD)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Linked Open Data(LOD)&lt;br /&gt;
* The LOD cloud&lt;br /&gt;
* Data provisioning&lt;br /&gt;
&lt;br /&gt;
Mandatory readings &#039;&#039;(both lecture 4 and 5)&#039;&#039;:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27.&lt;br /&gt;
* [[:File:S04-LOD.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* [https://www.ontotext.com/knowledgehub/fundamentals/linked-data-linked-open-data/ What Are Linked Data and Linked Open Data?]&lt;br /&gt;
* [[:File:BizerHeathBernersLee-LinkedData2009-TheStorySoFar.pdf | Bizer, C., Heath, T., &amp;amp; Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 5: Open Knowledge Graphs I==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** Wikidata&lt;br /&gt;
** DBpedia&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/):&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:Introduction Introduction to Wikidata]&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help SPARQL query service/A gentle introduction to the Wikidata Query Service]&lt;br /&gt;
*** example: [https://www.wikidata.org/wiki/Q26793]&lt;br /&gt;
** DBpedia (https://www.dbpedia.org):&lt;br /&gt;
*** [http://wiki.dbpedia.org/about About Dbpedia]&lt;br /&gt;
*** example: [https://dbpedia.org/resource/Bergen]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 6: Open Knowledge Graphs II==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** DBpedia &#039;&#039;(continued)&#039;&#039;&lt;br /&gt;
** GeoNames&lt;br /&gt;
** the GDELT project&lt;br /&gt;
** WordNet&lt;br /&gt;
** BabelNet&lt;br /&gt;
** ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** GeoNames (https://www.geonames.org/):&lt;br /&gt;
*** [http://www.geonames.org/about.html About GeoNames]&lt;br /&gt;
*** example: [https://www.geonames.org/3161732/bergen.html]&lt;br /&gt;
** GDELT (https://www.gdeltproject.org/)&lt;br /&gt;
*** [https://www.gdeltproject.org/ The GDELT Project] - see also the About and Data pages&lt;br /&gt;
** WordNet (https://wordnet.princeton.edu/)&lt;br /&gt;
*** [https://wordnet.princeton.edu/ WordNet - A lexical database for English]&lt;br /&gt;
** BabelNet (https://babelnet.org/):&lt;br /&gt;
*** [http://live.babelnet.org/about About BabelNet]&lt;br /&gt;
*** [https://babelnet.org/how-to-use How to use]&lt;br /&gt;
*** example: [https://babelnet.org/synset?id=bn%3A00010008n&amp;amp;orig=Bergen&amp;amp;lang=EN]&lt;br /&gt;
** ConceptNet (http://conceptnet.io)&lt;br /&gt;
*** [http://conceptnet.io ConceptNet - An open, multilingual knowledge graph]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* Wikidata statistics&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000167/wikidata-datamodel?orgId=1&amp;amp;refresh=30m Entity statistics]&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000175/wikidata-datamodel-statements?orgId=1&amp;amp;refresh=30m Statement statistics]&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* GDELT documentation&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Event_Codebook-V2.0.pdf Event Codebook (and covers mentions)]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook]&lt;br /&gt;
* Parts 1 and 3 in Blumauer &amp;amp; Nagy&#039;s text book (not tightly related to the lecture, but time to finish them by now :-))&lt;br /&gt;
&lt;br /&gt;
==Lecture 7: Enterprise Knowledge Graphs==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Enterprise Knowledge Graphs (EKGs)&lt;br /&gt;
* Google’s Knowledge Graph&lt;br /&gt;
* Amazon’s Product Graph&lt;br /&gt;
* JSON-LD (video presentation)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://www.blog.google/products/search/introducing-knowledge-graph-things-not/ Introducing the Knowledge Graph: Things not Strings], Amit Singhal, Google (2012). &#039;&#039;(The blog post that introduced Google&#039;s knowledge graph to the world.)&#039;&#039;&lt;br /&gt;
* [https://blog.google/products/search/about-knowledge-graph-and-knowledge-panels/ A reintroduction to our Knowledge Graph and knowledge panels], Danny Sullivan, Google (2020).&lt;br /&gt;
* [https://www.aboutamazon.com/news/innovation-at-amazon/making-search-easier How Amazon’s Product Graph is helping customers find products more easily], Arun Krishnan, Amazon (2018). &#039;&#039;(Short blog post that reviews some central ideas from the AutoKnow research paper listed below.)&#039;&#039;&lt;br /&gt;
* [https://www.amazon.science/blog/building-product-graphs-automatically Building product graphs automatically], Xin Luna Dong, Amazon (2020).&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
* [[:File:S07-EnterpriseKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Parts 2 and 4 in Blumauer &amp;amp; Nagy&#039;s text book (&#039;&#039;strongly suggested - this is where Blumauer &amp;amp; Nagy&#039;s book is good!&#039;&#039;)&lt;br /&gt;
* [[:File:Bosch-LIS.pdf | LIS: A knowledge graph-based line information system]] by Grangel-González, I., Rickart, M., Rudolph, O., &amp;amp; Shah, F. (2023, May). In Proceedings of the European Semantic Web Conference (pp. 591-608). Cham: Springer Nature Switzerland.&lt;br /&gt;
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]] by Dong, X. L., He, X., Kan, A., Li, X., Liang, Y., Ma, J., ... &amp;amp; Han, J. (2020, August). In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery &amp;amp; Data Mining (pp. 2724-2734). &#039;&#039;Research paper from Amazon about AutoKnow - this is a bit heavy for Bachelor level, but you can have a look :-)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Lecture 8: Rules (SHACL and RDFS)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SHACL and RDFS&lt;br /&gt;
* Axioms, rules and entailment&lt;br /&gt;
* Programming SHACL and RDFS in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 7-8 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://book.validatingrdf.com/bookHtml011.html Chapter 5 &#039;&#039;SHACL&#039;&#039;] in [https://book.validatingrdf.com/index.html Validating RDF] (available online)&lt;br /&gt;
** Sections 5.1, 5.3-5.5, and 5.6,1-5.6.3&lt;br /&gt;
* [http://www.w3.org/TR/rdf-schema/ W3C&#039;s RDF Schema 1.1], focus on sections 1-3 and 6&lt;br /&gt;
* [[:File:S07-SHACL-RDFS.pdf | Slides from the lecture]] &lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
* [https://docs.google.com/presentation/d/1weO9SzssxgYp3g_44X1LZsVtL0i6FurQ3KbIKZ8iriQ/ Lab presentation containing a short overview of SHACL and pySHACL]&lt;br /&gt;
* [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
* [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture&#039;&#039;)&lt;br /&gt;
* [https://github.com/blazegraph/database/wiki/InferenceAndTruthMaintenance Inference and Thruth Maintenance in Blazegraph]&lt;br /&gt;
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
* [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&lt;br /&gt;
&lt;br /&gt;
==Lecture 9: Ontologies (OWL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Basic OWL concepts&lt;br /&gt;
* Axioms, rules and entailments&lt;br /&gt;
* Programming basic OWL in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 9-10, 12-13 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6 and 9-10&lt;br /&gt;
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [https://protegeproject.github.io/protege/getting-started/ Protégé-OWL Getting Started]&lt;br /&gt;
* [[:File:S09-OWL.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials (cursory):&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-quick-reference/ OWL 2 Quick Reference Guide]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-rdf-based-semantics/ OWL2 RDF-Based Semantics]&lt;br /&gt;
* The OWL-RL materials (from Lecture 5)&lt;br /&gt;
* [http://vowl.visualdataweb.org/v2 VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [http://vowl.visualdataweb.org/webvowl/index.html#sioc WebVOWL]&lt;br /&gt;
* [[:File:LohmannEtAl2016-VisualizingOntologiesWithVOWL.pdf | Lohmann et al. (2019): Visualizing Ontologies with VOWL. &#039;&#039;Semantic Web Journal.&#039;&#039;]]&lt;br /&gt;
* Pages 106-109 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
&lt;br /&gt;
==Lecture 10: Vocabularies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* LOD vocabularies and ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 10-11 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)]&lt;br /&gt;
* Important vocabularies / ontologies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://motools.sourceforge.net/event/event.html Event Ontology (event)]&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [https://www.w3.org/2003/01/geo/ geo: World Geodetic Standard (WGS) 84]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://rdfs.org/sioc/spec/ Semantic Interlinked Online Communities (SIOC)]&lt;br /&gt;
** [http://schema.org/docs/full.html schema.org - Full Hierarchy]&lt;br /&gt;
** [http://wikidata.dbpedia.org/services-resources/ontology DBpedia Ontology]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
** [http://creativecommons.org/ns Creative Commons (CC) Vocabulary]&lt;br /&gt;
** &#039;&#039;What we expect you to know about each vocabulary is this:&#039;&#039; &lt;br /&gt;
*** Its purpose and where and how it can be used.&lt;br /&gt;
*** Its most central 3-6 classes and properties be able to explain its basic structure. &lt;br /&gt;
*** 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. &lt;br /&gt;
* [[:File:S10-Vocabularies.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Lecture 11: KG embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG embeddings&lt;br /&gt;
* Link prediction&lt;br /&gt;
* TorchKGE&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:S11-GraphEmbeddings.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
==Lecture 12: KGs and Large Language Models==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
&lt;br /&gt;
* What are Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
&lt;br /&gt;
* [[:file:S12-KGsAndLLMs.pdf | Slides from the lecture]]&lt;br /&gt;
* No mandatory readings beyond the slides&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
&lt;br /&gt;
* Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., &amp;amp; Wu, X. (2024). [[:file:PanEtAl2023-LLMs_KGs_Opportunities_Challenges.pdf | &#039;&#039;Unifying large language models and knowledge graphs: A roadmap.&#039;&#039;]]  IEEE Transactions on Knowledge and Data Engineering.&lt;br /&gt;
* Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... &amp;amp;  Polosukhin, I. (2017). [[:file:NIPS-2017-attention-is-all-you-need-Paper.pdf | &#039;&#039;Attention is all you need.&#039;&#039;]]  Advances in neural information processing systems, 30.&amp;lt;br /&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2024, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2702</id>
		<title>Readings</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2702"/>
		<updated>2025-04-07T08:51:40Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Textbooks=&lt;br /&gt;
&lt;br /&gt;
Main course book (&#039;&#039;the whole book is mandatory reading&#039;&#039;):&lt;br /&gt;
* Hogan, A. et al. (2021). &#039;&#039;&#039;Knowledge Graphs.&#039;&#039;&#039; Springer. &#039;&#039;Synthesis Lectures on Data, Semantics, and Knowledge&#039;&#039; 22, 1–237, DOI: 10.2200/S01125ED1V01Y202109DSK022, Springer. https://kgbook.org/&lt;br /&gt;
&lt;br /&gt;
Supplementary books (&#039;&#039;not&#039;&#039; mandatory):&lt;br /&gt;
* Dean Allemang, James Hendler &amp;amp; Fabien Gandon (2020). &#039;&#039;&#039;Semantic Web for the Working Ontologist, Effective Modeling for Linked Data, RDFS and OWL (Third Edition).&#039;&#039;&#039; ISBN: 9781450376143, PDF ISBN: 9781450376150, Hardcover ISBN: 9781450376174, DOI: 10.1145/3382097.&lt;br /&gt;
* Andreas Blumauer and Helmut Nagy (2020). &#039;&#039;&#039;The Knowledge Graph Cookbook - Recipes that Work.&#039;&#039;&#039; mono/monochrom. ISBN-10: ‎3902796707, ISBN-13: 978-3902796707.&lt;br /&gt;
&lt;br /&gt;
=Other materials=&lt;br /&gt;
&lt;br /&gt;
In addition, &#039;&#039;&#039;the materials listed below for each lecture are either mandatory or suggested reading&#039;&#039;&#039;. More materials will be added to each lecture in the coming weeks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The labs, lectures and lectures notes are also part of the curriculum.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039; to download some of the papers, you may need to be inside UiB&#039;s network. Either use a computer directly on the UiB network or connect to your UiB account through VPN.&lt;br /&gt;
&lt;br /&gt;
=Lectures (in progress)=&lt;br /&gt;
&lt;br /&gt;
Below are the mandatory and suggested readings for each lecture. All the textbook chapters in Hogan et al. (&amp;quot;Knowledge Graphs&amp;quot;) are mandatory, whereas the chapters in Allemang, Hendler &amp;amp; Gandon (&amp;quot;Semantic Web&amp;quot;) are suggested.&lt;br /&gt;
&lt;br /&gt;
==Session 1: Introduction to KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Introduction to Knowledge Graphs&lt;br /&gt;
* Organisation of the course&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 1 Introduction, section 2.1 Models, and Appendix A Background in Hogan et al.&lt;br /&gt;
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web]&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.1.3 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapters 1-3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Wikidata (https://www.wikidata.org/)&lt;br /&gt;
&lt;br /&gt;
==Session 2: Querying and updating KGs (SPARQL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SPARQL queries&lt;br /&gt;
* SPARQL Update&lt;br /&gt;
* Programming SPARQL and SPARQL Update in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 2.2 Queries in Hogan et al.&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.8/sparql.html The SPARQL query language — GraphDB 10.8 documentation]&lt;br /&gt;
* [https://rdflib.readthedocs.io/ rdflib 7.1.3] materials: [https://rdflib.readthedocs.io/en/stable/intro_to_sparql.html Querying with SPARQL]&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapter 6 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-query/ SPARQL 1.1 Query Language]&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language]&lt;br /&gt;
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]]&lt;br /&gt;
* [https://en.wikibooks.org/wiki/SPARQL/Expressions_and_Functions SPARQL Expressions and Functions]&lt;br /&gt;
&lt;br /&gt;
==Session 3: Creating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Extracting KGs from text&lt;br /&gt;
* Extracting from marked-up sources&lt;br /&gt;
* Extracting from SQL databases and JSON&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 6 Creation and Enrichment, sections 6.1-6.4, in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.0/virtualization.html Virtualization, GraphDB 10.0 documentation]&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
&lt;br /&gt;
==Session 4: Validating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Validating KG schemas (SHACL)&lt;br /&gt;
* Semantic KG schemas/vocabularies (RDFS)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 3.1 Schema in Hogan et al.&lt;br /&gt;
* Sections 5.1, 5.3, 5.5, 5.6.1, and 5.6.3 in [https://book.validatingrdf.com/bookHtml011.html Gayo, J.E. et al. Validating RDF]. &lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* SHACL&lt;br /&gt;
** Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
** [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
** [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* RDFS&lt;br /&gt;
** [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important, and we will go through the most important ones in the lecture&#039;&#039;)&lt;br /&gt;
** [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
** [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need)&lt;br /&gt;
&lt;br /&gt;
==Session 5: Advanced KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about RDF, e.g.,&lt;br /&gt;
** identity&lt;br /&gt;
** blank nodes&lt;br /&gt;
** reification&lt;br /&gt;
** higher-arity graphs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 3.2 Identity and 3.3 Context in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
&lt;br /&gt;
==Session 6: Ontologies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More powerful vocabularies/ontologies (OWL)&lt;br /&gt;
* Creating ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 4.1 Ontologies and 6.3 Schema/ontology creation in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ OWL 2 Primer, sections 2-6 (advanced: 9-10)] (show: Turtle)&lt;br /&gt;
* [https://service.tib.eu/webvowl/ WebVOWL] interactive OWL visualisation tool&lt;br /&gt;
* Selected vocabularies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
* Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
==Session 7: Reasoning==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about semantic KG schemas (RDFS)&lt;br /&gt;
* Description logic&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 4.2 Rules + DL in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important&#039;&#039;)&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview/ W3C OWL 2 Overview]&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ W3C OWL 2 Primer]&lt;br /&gt;
* [https://www.w3.org/TR/2012/REC-owl2-quick-reference-20121211/ W3C OWL 2 Quick Reference Guide (2nd Edition)]&lt;br /&gt;
&lt;br /&gt;
==Session 8: KG Analytics==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph analytics&lt;br /&gt;
** graph metrics&lt;br /&gt;
** directed vector-labelled graphs&lt;br /&gt;
** analysis frameworks and techniques&lt;br /&gt;
* Symbolic learning&lt;br /&gt;
** rule, axiom, and hypothesis mining&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.1 Graph Analytics and 5.4 Symbolic Learning in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://networkx.org/ NetworkX - Network analysis in Python]&lt;br /&gt;
&lt;br /&gt;
==Session 9: KGs in Practice (Guest Lecture)==&lt;br /&gt;
Guest lecture by Sindre Asplem, [https://www.capgemini.com/no-no/ Capgemini].&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
==Session 10: KG Embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Semantic embedding spaces&lt;br /&gt;
* KG embedding techniques&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.2 Knowledge Graph Embeddings and 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
** &#039;&#039;In Section 5.2.1, we focus on the Translational Models. The other models are cursory reading.&#039;&#039;&lt;br /&gt;
* Towards DataScience introduction: [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Towards DataScience introductions:&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://pykeen.readthedocs.io/en/stable/index.html PyKEEN] is an alternative Python API. It is similar and may be more up-to-date than TorchKGE.&lt;br /&gt;
&lt;br /&gt;
==Session 11: Graph Neural Networks (GNNs) ==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
** recurrent/recursive, convolutional, GATs&lt;br /&gt;
* Question answering with GNNs (QA-GNN)&lt;br /&gt;
* Open KGs:&lt;br /&gt;
** WordNet, BabelNet, ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [[:file:Yasunaga2022-QA-GNN-2104.06378v5.pdf | The QA-GNN paper]]&lt;br /&gt;
* [https://conceptnet.io/ ConceptNet:] An open, multilingual knowledge graph&lt;br /&gt;
* [https://pytorch-geometric.readthedocs.io/en/latest/ PyG documentation:] PyG (PyTorch Geometric) is a library built upon  PyTorch to easily write and train Graph Neural Networks (GNNs) for a wide range of applications related to structured data.&lt;br /&gt;
&lt;br /&gt;
==Session 12: KG Refinement (KGs and LLMs)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Enriching KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 8 Completion + Correction in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Session 13: KGs in Practice==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Open KGs&lt;br /&gt;
* Enterprise KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Important knowledge graphs:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/)&lt;br /&gt;
** DBpedia (https://www.dbpedia.org, https://dbpedia.org/page/Bergen)&lt;br /&gt;
** GeoNames (https://www.geonames.org/)&lt;br /&gt;
** BabelNet (https://babelnet.org/)&lt;br /&gt;
** Linked Open Data (LOD) (http://lod-cloud.net)&lt;br /&gt;
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture: KG Quality==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG completion and correction&lt;br /&gt;
* Best practices&lt;br /&gt;
* Access protocols and usage control&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 8 Completion + Correction and 9 Best Practices + Access Protocols + Usage Control in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==Lecture 2: Representing KGs (RDF)==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Resource Description Framework (RDF)&lt;br /&gt;
* Programming RDF in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-primer/ W3C&#039;s RDF 1.1 Primer] until and including 5.1.2 Turtle (but not the rest for now)&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.0.0 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* [[:File:S02-RDF.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib 7.0.0 packages] (reference for the labs)&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools]&lt;br /&gt;
* Pages 25-28, 92-100, 125-128, and 164-167 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture 4: Linked Open Data (LOD)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Linked Open Data(LOD)&lt;br /&gt;
* The LOD cloud&lt;br /&gt;
* Data provisioning&lt;br /&gt;
&lt;br /&gt;
Mandatory readings &#039;&#039;(both lecture 4 and 5)&#039;&#039;:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27.&lt;br /&gt;
* [[:File:S04-LOD.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* [https://www.ontotext.com/knowledgehub/fundamentals/linked-data-linked-open-data/ What Are Linked Data and Linked Open Data?]&lt;br /&gt;
* [[:File:BizerHeathBernersLee-LinkedData2009-TheStorySoFar.pdf | Bizer, C., Heath, T., &amp;amp; Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 5: Open Knowledge Graphs I==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** Wikidata&lt;br /&gt;
** DBpedia&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/):&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:Introduction Introduction to Wikidata]&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help SPARQL query service/A gentle introduction to the Wikidata Query Service]&lt;br /&gt;
*** example: [https://www.wikidata.org/wiki/Q26793]&lt;br /&gt;
** DBpedia (https://www.dbpedia.org):&lt;br /&gt;
*** [http://wiki.dbpedia.org/about About Dbpedia]&lt;br /&gt;
*** example: [https://dbpedia.org/resource/Bergen]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 6: Open Knowledge Graphs II==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** DBpedia &#039;&#039;(continued)&#039;&#039;&lt;br /&gt;
** GeoNames&lt;br /&gt;
** the GDELT project&lt;br /&gt;
** WordNet&lt;br /&gt;
** BabelNet&lt;br /&gt;
** ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** GeoNames (https://www.geonames.org/):&lt;br /&gt;
*** [http://www.geonames.org/about.html About GeoNames]&lt;br /&gt;
*** example: [https://www.geonames.org/3161732/bergen.html]&lt;br /&gt;
** GDELT (https://www.gdeltproject.org/)&lt;br /&gt;
*** [https://www.gdeltproject.org/ The GDELT Project] - see also the About and Data pages&lt;br /&gt;
** WordNet (https://wordnet.princeton.edu/)&lt;br /&gt;
*** [https://wordnet.princeton.edu/ WordNet - A lexical database for English]&lt;br /&gt;
** BabelNet (https://babelnet.org/):&lt;br /&gt;
*** [http://live.babelnet.org/about About BabelNet]&lt;br /&gt;
*** [https://babelnet.org/how-to-use How to use]&lt;br /&gt;
*** example: [https://babelnet.org/synset?id=bn%3A00010008n&amp;amp;orig=Bergen&amp;amp;lang=EN]&lt;br /&gt;
** ConceptNet (http://conceptnet.io)&lt;br /&gt;
*** [http://conceptnet.io ConceptNet - An open, multilingual knowledge graph]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* Wikidata statistics&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000167/wikidata-datamodel?orgId=1&amp;amp;refresh=30m Entity statistics]&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000175/wikidata-datamodel-statements?orgId=1&amp;amp;refresh=30m Statement statistics]&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* GDELT documentation&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Event_Codebook-V2.0.pdf Event Codebook (and covers mentions)]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook]&lt;br /&gt;
* Parts 1 and 3 in Blumauer &amp;amp; Nagy&#039;s text book (not tightly related to the lecture, but time to finish them by now :-))&lt;br /&gt;
&lt;br /&gt;
==Lecture 7: Enterprise Knowledge Graphs==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Enterprise Knowledge Graphs (EKGs)&lt;br /&gt;
* Google’s Knowledge Graph&lt;br /&gt;
* Amazon’s Product Graph&lt;br /&gt;
* JSON-LD (video presentation)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://www.blog.google/products/search/introducing-knowledge-graph-things-not/ Introducing the Knowledge Graph: Things not Strings], Amit Singhal, Google (2012). &#039;&#039;(The blog post that introduced Google&#039;s knowledge graph to the world.)&#039;&#039;&lt;br /&gt;
* [https://blog.google/products/search/about-knowledge-graph-and-knowledge-panels/ A reintroduction to our Knowledge Graph and knowledge panels], Danny Sullivan, Google (2020).&lt;br /&gt;
* [https://www.aboutamazon.com/news/innovation-at-amazon/making-search-easier How Amazon’s Product Graph is helping customers find products more easily], Arun Krishnan, Amazon (2018). &#039;&#039;(Short blog post that reviews some central ideas from the AutoKnow research paper listed below.)&#039;&#039;&lt;br /&gt;
* [https://www.amazon.science/blog/building-product-graphs-automatically Building product graphs automatically], Xin Luna Dong, Amazon (2020).&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
* [[:File:S07-EnterpriseKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Parts 2 and 4 in Blumauer &amp;amp; Nagy&#039;s text book (&#039;&#039;strongly suggested - this is where Blumauer &amp;amp; Nagy&#039;s book is good!&#039;&#039;)&lt;br /&gt;
* [[:File:Bosch-LIS.pdf | LIS: A knowledge graph-based line information system]] by Grangel-González, I., Rickart, M., Rudolph, O., &amp;amp; Shah, F. (2023, May). In Proceedings of the European Semantic Web Conference (pp. 591-608). Cham: Springer Nature Switzerland.&lt;br /&gt;
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]] by Dong, X. L., He, X., Kan, A., Li, X., Liang, Y., Ma, J., ... &amp;amp; Han, J. (2020, August). In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery &amp;amp; Data Mining (pp. 2724-2734). &#039;&#039;Research paper from Amazon about AutoKnow - this is a bit heavy for Bachelor level, but you can have a look :-)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Lecture 8: Rules (SHACL and RDFS)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SHACL and RDFS&lt;br /&gt;
* Axioms, rules and entailment&lt;br /&gt;
* Programming SHACL and RDFS in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 7-8 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://book.validatingrdf.com/bookHtml011.html Chapter 5 &#039;&#039;SHACL&#039;&#039;] in [https://book.validatingrdf.com/index.html Validating RDF] (available online)&lt;br /&gt;
** Sections 5.1, 5.3-5.5, and 5.6,1-5.6.3&lt;br /&gt;
* [http://www.w3.org/TR/rdf-schema/ W3C&#039;s RDF Schema 1.1], focus on sections 1-3 and 6&lt;br /&gt;
* [[:File:S07-SHACL-RDFS.pdf | Slides from the lecture]] &lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
* [https://docs.google.com/presentation/d/1weO9SzssxgYp3g_44X1LZsVtL0i6FurQ3KbIKZ8iriQ/ Lab presentation containing a short overview of SHACL and pySHACL]&lt;br /&gt;
* [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
* [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture&#039;&#039;)&lt;br /&gt;
* [https://github.com/blazegraph/database/wiki/InferenceAndTruthMaintenance Inference and Thruth Maintenance in Blazegraph]&lt;br /&gt;
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
* [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&lt;br /&gt;
&lt;br /&gt;
==Lecture 9: Ontologies (OWL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Basic OWL concepts&lt;br /&gt;
* Axioms, rules and entailments&lt;br /&gt;
* Programming basic OWL in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 9-10, 12-13 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6 and 9-10&lt;br /&gt;
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [https://protegeproject.github.io/protege/getting-started/ Protégé-OWL Getting Started]&lt;br /&gt;
* [[:File:S09-OWL.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials (cursory):&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-quick-reference/ OWL 2 Quick Reference Guide]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-rdf-based-semantics/ OWL2 RDF-Based Semantics]&lt;br /&gt;
* The OWL-RL materials (from Lecture 5)&lt;br /&gt;
* [http://vowl.visualdataweb.org/v2 VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [http://vowl.visualdataweb.org/webvowl/index.html#sioc WebVOWL]&lt;br /&gt;
* [[:File:LohmannEtAl2016-VisualizingOntologiesWithVOWL.pdf | Lohmann et al. (2019): Visualizing Ontologies with VOWL. &#039;&#039;Semantic Web Journal.&#039;&#039;]]&lt;br /&gt;
* Pages 106-109 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
&lt;br /&gt;
==Lecture 10: Vocabularies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* LOD vocabularies and ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 10-11 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)]&lt;br /&gt;
* Important vocabularies / ontologies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://motools.sourceforge.net/event/event.html Event Ontology (event)]&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [https://www.w3.org/2003/01/geo/ geo: World Geodetic Standard (WGS) 84]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://rdfs.org/sioc/spec/ Semantic Interlinked Online Communities (SIOC)]&lt;br /&gt;
** [http://schema.org/docs/full.html schema.org - Full Hierarchy]&lt;br /&gt;
** [http://wikidata.dbpedia.org/services-resources/ontology DBpedia Ontology]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
** [http://creativecommons.org/ns Creative Commons (CC) Vocabulary]&lt;br /&gt;
** &#039;&#039;What we expect you to know about each vocabulary is this:&#039;&#039; &lt;br /&gt;
*** Its purpose and where and how it can be used.&lt;br /&gt;
*** Its most central 3-6 classes and properties be able to explain its basic structure. &lt;br /&gt;
*** 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. &lt;br /&gt;
* [[:File:S10-Vocabularies.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Lecture 11: KG embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG embeddings&lt;br /&gt;
* Link prediction&lt;br /&gt;
* TorchKGE&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:S11-GraphEmbeddings.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
==Lecture 12: KGs and Large Language Models==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
&lt;br /&gt;
* What are Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
&lt;br /&gt;
* [[:file:S12-KGsAndLLMs.pdf | Slides from the lecture]]&lt;br /&gt;
* No mandatory readings beyond the slides&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
&lt;br /&gt;
* Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., &amp;amp; Wu, X. (2024). [[:file:PanEtAl2023-LLMs_KGs_Opportunities_Challenges.pdf | &#039;&#039;Unifying large language models and knowledge graphs: A roadmap.&#039;&#039;]]  IEEE Transactions on Knowledge and Data Engineering.&lt;br /&gt;
* Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... &amp;amp;  Polosukhin, I. (2017). [[:file:NIPS-2017-attention-is-all-you-need-Paper.pdf | &#039;&#039;Attention is all you need.&#039;&#039;]]  Advances in neural information processing systems, 30.&amp;lt;br /&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2024, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2701</id>
		<title>Readings</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2701"/>
		<updated>2025-04-07T08:50:36Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: /* Session 11: Graph Neural Networks (GNNs) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Textbooks=&lt;br /&gt;
&lt;br /&gt;
Main course book (&#039;&#039;the whole book is mandatory reading&#039;&#039;):&lt;br /&gt;
* Hogan, A. et al. (2021). &#039;&#039;&#039;Knowledge Graphs.&#039;&#039;&#039; Springer. &#039;&#039;Synthesis Lectures on Data, Semantics, and Knowledge&#039;&#039; 22, 1–237, DOI: 10.2200/S01125ED1V01Y202109DSK022, Springer. https://kgbook.org/&lt;br /&gt;
&lt;br /&gt;
Supplementary books (&#039;&#039;not&#039;&#039; mandatory):&lt;br /&gt;
* Dean Allemang, James Hendler &amp;amp; Fabien Gandon (2020). &#039;&#039;&#039;Semantic Web for the Working Ontologist, Effective Modeling for Linked Data, RDFS and OWL (Third Edition).&#039;&#039;&#039; ISBN: 9781450376143, PDF ISBN: 9781450376150, Hardcover ISBN: 9781450376174, DOI: 10.1145/3382097.&lt;br /&gt;
* Andreas Blumauer and Helmut Nagy (2020). &#039;&#039;&#039;The Knowledge Graph Cookbook - Recipes that Work.&#039;&#039;&#039; mono/monochrom. ISBN-10: ‎3902796707, ISBN-13: 978-3902796707.&lt;br /&gt;
&lt;br /&gt;
=Other materials=&lt;br /&gt;
&lt;br /&gt;
In addition, &#039;&#039;&#039;the materials listed below for each lecture are either mandatory or suggested reading&#039;&#039;&#039;. More materials will be added to each lecture in the coming weeks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The labs, lectures and lectures notes are also part of the curriculum.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039; to download some of the papers, you may need to be inside UiB&#039;s network. Either use a computer directly on the UiB network or connect to your UiB account through VPN.&lt;br /&gt;
&lt;br /&gt;
=Lectures (in progress)=&lt;br /&gt;
&lt;br /&gt;
Below are the mandatory and suggested readings for each lecture. All the textbook chapters in Hogan et al. (&amp;quot;Knowledge Graphs&amp;quot;) are mandatory, whereas the chapters in Allemang, Hendler &amp;amp; Gandon (&amp;quot;Semantic Web&amp;quot;) are suggested.&lt;br /&gt;
&lt;br /&gt;
==Session 1: Introduction to KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Introduction to Knowledge Graphs&lt;br /&gt;
* Organisation of the course&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 1 Introduction, section 2.1 Models, and Appendix A Background in Hogan et al.&lt;br /&gt;
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web]&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.1.3 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapters 1-3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Wikidata (https://www.wikidata.org/)&lt;br /&gt;
&lt;br /&gt;
==Session 2: Querying and updating KGs (SPARQL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SPARQL queries&lt;br /&gt;
* SPARQL Update&lt;br /&gt;
* Programming SPARQL and SPARQL Update in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 2.2 Queries in Hogan et al.&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.8/sparql.html The SPARQL query language — GraphDB 10.8 documentation]&lt;br /&gt;
* [https://rdflib.readthedocs.io/ rdflib 7.1.3] materials: [https://rdflib.readthedocs.io/en/stable/intro_to_sparql.html Querying with SPARQL]&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapter 6 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-query/ SPARQL 1.1 Query Language]&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language]&lt;br /&gt;
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]]&lt;br /&gt;
* [https://en.wikibooks.org/wiki/SPARQL/Expressions_and_Functions SPARQL Expressions and Functions]&lt;br /&gt;
&lt;br /&gt;
==Session 3: Creating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Extracting KGs from text&lt;br /&gt;
* Extracting from marked-up sources&lt;br /&gt;
* Extracting from SQL databases and JSON&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 6 Creation and Enrichment, sections 6.1-6.4, in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.0/virtualization.html Virtualization, GraphDB 10.0 documentation]&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
&lt;br /&gt;
==Session 4: Validating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Validating KG schemas (SHACL)&lt;br /&gt;
* Semantic KG schemas/vocabularies (RDFS)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 3.1 Schema in Hogan et al.&lt;br /&gt;
* Sections 5.1, 5.3, 5.5, 5.6.1, and 5.6.3 in [https://book.validatingrdf.com/bookHtml011.html Gayo, J.E. et al. Validating RDF]. &lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* SHACL&lt;br /&gt;
** Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
** [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
** [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* RDFS&lt;br /&gt;
** [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important, and we will go through the most important ones in the lecture&#039;&#039;)&lt;br /&gt;
** [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
** [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need)&lt;br /&gt;
&lt;br /&gt;
==Session 5: Advanced KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about RDF, e.g.,&lt;br /&gt;
** identity&lt;br /&gt;
** blank nodes&lt;br /&gt;
** reification&lt;br /&gt;
** higher-arity graphs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 3.2 Identity and 3.3 Context in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
&lt;br /&gt;
==Session 6: Ontologies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More powerful vocabularies/ontologies (OWL)&lt;br /&gt;
* Creating ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 4.1 Ontologies and 6.3 Schema/ontology creation in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ OWL 2 Primer, sections 2-6 (advanced: 9-10)] (show: Turtle)&lt;br /&gt;
* [https://service.tib.eu/webvowl/ WebVOWL] interactive OWL visualisation tool&lt;br /&gt;
* Selected vocabularies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
* Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
==Session 7: Reasoning==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about semantic KG schemas (RDFS)&lt;br /&gt;
* Description logic&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 4.2 Rules + DL in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important&#039;&#039;)&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview/ W3C OWL 2 Overview]&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ W3C OWL 2 Primer]&lt;br /&gt;
* [https://www.w3.org/TR/2012/REC-owl2-quick-reference-20121211/ W3C OWL 2 Quick Reference Guide (2nd Edition)]&lt;br /&gt;
&lt;br /&gt;
==Session 8: KG Analytics==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph analytics&lt;br /&gt;
** graph metrics&lt;br /&gt;
** directed vector-labelled graphs&lt;br /&gt;
** analysis frameworks and techniques&lt;br /&gt;
* Symbolic learning&lt;br /&gt;
** rule, axiom, and hypothesis mining&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.1 Graph Analytics and 5.4 Symbolic Learning in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://networkx.org/ NetworkX - Network analysis in Python]&lt;br /&gt;
&lt;br /&gt;
==Session 9: KGs in Practice (Guest Lecture)==&lt;br /&gt;
Guest lecture by Sindre Asplem, [https://www.capgemini.com/no-no/ Capgemini].&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
==Session 10: KG Embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Semantic embedding spaces&lt;br /&gt;
* KG embedding techniques&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.2 Knowledge Graph Embeddings and 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
** &#039;&#039;In Section 5.2.1, we focus on the Translational Models. The other models are cursory reading.&#039;&#039;&lt;br /&gt;
* Towards DataScience introduction: [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Towards DataScience introductions:&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://pykeen.readthedocs.io/en/stable/index.html PyKEEN] is an alternative Python API. It is similar and may be more up-to-date than TorchKGE.&lt;br /&gt;
&lt;br /&gt;
==Session 11: Graph Neural Networks (GNNs) ==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
** recurrent/recursive, convolutional, GATs&lt;br /&gt;
* Question answering with GNNs (QA-GNN)&lt;br /&gt;
* Open KGs:&lt;br /&gt;
** WordNet, BabelNet, ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [[:file:Yasunaga2022-QA-GNN-2104.06378v5.pdf [[The QA-GNN paper]]]]&lt;br /&gt;
* [https://conceptnet.io/ ConceptNet:] An open, multilingual knowledge graph&lt;br /&gt;
* [https://pytorch-geometric.readthedocs.io/en/latest/ PyG documentation:] PyG (PyTorch Geometric) is a library built upon  PyTorch to easily write and train Graph Neural Networks (GNNs) for a wide range of applications related to structured data.&lt;br /&gt;
&lt;br /&gt;
==Session 12: KG Refinement (KGs and LLMs)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Enriching KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 8 Completion + Correction in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Session 13: KGs in Practice==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Open KGs&lt;br /&gt;
* Enterprise KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Important knowledge graphs:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/)&lt;br /&gt;
** DBpedia (https://www.dbpedia.org, https://dbpedia.org/page/Bergen)&lt;br /&gt;
** GeoNames (https://www.geonames.org/)&lt;br /&gt;
** BabelNet (https://babelnet.org/)&lt;br /&gt;
** Linked Open Data (LOD) (http://lod-cloud.net)&lt;br /&gt;
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture: KG Quality==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG completion and correction&lt;br /&gt;
* Best practices&lt;br /&gt;
* Access protocols and usage control&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 8 Completion + Correction and 9 Best Practices + Access Protocols + Usage Control in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==Lecture 2: Representing KGs (RDF)==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Resource Description Framework (RDF)&lt;br /&gt;
* Programming RDF in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-primer/ W3C&#039;s RDF 1.1 Primer] until and including 5.1.2 Turtle (but not the rest for now)&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.0.0 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* [[:File:S02-RDF.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib 7.0.0 packages] (reference for the labs)&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools]&lt;br /&gt;
* Pages 25-28, 92-100, 125-128, and 164-167 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture 4: Linked Open Data (LOD)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Linked Open Data(LOD)&lt;br /&gt;
* The LOD cloud&lt;br /&gt;
* Data provisioning&lt;br /&gt;
&lt;br /&gt;
Mandatory readings &#039;&#039;(both lecture 4 and 5)&#039;&#039;:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27.&lt;br /&gt;
* [[:File:S04-LOD.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* [https://www.ontotext.com/knowledgehub/fundamentals/linked-data-linked-open-data/ What Are Linked Data and Linked Open Data?]&lt;br /&gt;
* [[:File:BizerHeathBernersLee-LinkedData2009-TheStorySoFar.pdf | Bizer, C., Heath, T., &amp;amp; Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 5: Open Knowledge Graphs I==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** Wikidata&lt;br /&gt;
** DBpedia&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/):&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:Introduction Introduction to Wikidata]&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help SPARQL query service/A gentle introduction to the Wikidata Query Service]&lt;br /&gt;
*** example: [https://www.wikidata.org/wiki/Q26793]&lt;br /&gt;
** DBpedia (https://www.dbpedia.org):&lt;br /&gt;
*** [http://wiki.dbpedia.org/about About Dbpedia]&lt;br /&gt;
*** example: [https://dbpedia.org/resource/Bergen]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 6: Open Knowledge Graphs II==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** DBpedia &#039;&#039;(continued)&#039;&#039;&lt;br /&gt;
** GeoNames&lt;br /&gt;
** the GDELT project&lt;br /&gt;
** WordNet&lt;br /&gt;
** BabelNet&lt;br /&gt;
** ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** GeoNames (https://www.geonames.org/):&lt;br /&gt;
*** [http://www.geonames.org/about.html About GeoNames]&lt;br /&gt;
*** example: [https://www.geonames.org/3161732/bergen.html]&lt;br /&gt;
** GDELT (https://www.gdeltproject.org/)&lt;br /&gt;
*** [https://www.gdeltproject.org/ The GDELT Project] - see also the About and Data pages&lt;br /&gt;
** WordNet (https://wordnet.princeton.edu/)&lt;br /&gt;
*** [https://wordnet.princeton.edu/ WordNet - A lexical database for English]&lt;br /&gt;
** BabelNet (https://babelnet.org/):&lt;br /&gt;
*** [http://live.babelnet.org/about About BabelNet]&lt;br /&gt;
*** [https://babelnet.org/how-to-use How to use]&lt;br /&gt;
*** example: [https://babelnet.org/synset?id=bn%3A00010008n&amp;amp;orig=Bergen&amp;amp;lang=EN]&lt;br /&gt;
** ConceptNet (http://conceptnet.io)&lt;br /&gt;
*** [http://conceptnet.io ConceptNet - An open, multilingual knowledge graph]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* Wikidata statistics&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000167/wikidata-datamodel?orgId=1&amp;amp;refresh=30m Entity statistics]&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000175/wikidata-datamodel-statements?orgId=1&amp;amp;refresh=30m Statement statistics]&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* GDELT documentation&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Event_Codebook-V2.0.pdf Event Codebook (and covers mentions)]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook]&lt;br /&gt;
* Parts 1 and 3 in Blumauer &amp;amp; Nagy&#039;s text book (not tightly related to the lecture, but time to finish them by now :-))&lt;br /&gt;
&lt;br /&gt;
==Lecture 7: Enterprise Knowledge Graphs==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Enterprise Knowledge Graphs (EKGs)&lt;br /&gt;
* Google’s Knowledge Graph&lt;br /&gt;
* Amazon’s Product Graph&lt;br /&gt;
* JSON-LD (video presentation)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://www.blog.google/products/search/introducing-knowledge-graph-things-not/ Introducing the Knowledge Graph: Things not Strings], Amit Singhal, Google (2012). &#039;&#039;(The blog post that introduced Google&#039;s knowledge graph to the world.)&#039;&#039;&lt;br /&gt;
* [https://blog.google/products/search/about-knowledge-graph-and-knowledge-panels/ A reintroduction to our Knowledge Graph and knowledge panels], Danny Sullivan, Google (2020).&lt;br /&gt;
* [https://www.aboutamazon.com/news/innovation-at-amazon/making-search-easier How Amazon’s Product Graph is helping customers find products more easily], Arun Krishnan, Amazon (2018). &#039;&#039;(Short blog post that reviews some central ideas from the AutoKnow research paper listed below.)&#039;&#039;&lt;br /&gt;
* [https://www.amazon.science/blog/building-product-graphs-automatically Building product graphs automatically], Xin Luna Dong, Amazon (2020).&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
* [[:File:S07-EnterpriseKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Parts 2 and 4 in Blumauer &amp;amp; Nagy&#039;s text book (&#039;&#039;strongly suggested - this is where Blumauer &amp;amp; Nagy&#039;s book is good!&#039;&#039;)&lt;br /&gt;
* [[:File:Bosch-LIS.pdf | LIS: A knowledge graph-based line information system]] by Grangel-González, I., Rickart, M., Rudolph, O., &amp;amp; Shah, F. (2023, May). In Proceedings of the European Semantic Web Conference (pp. 591-608). Cham: Springer Nature Switzerland.&lt;br /&gt;
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]] by Dong, X. L., He, X., Kan, A., Li, X., Liang, Y., Ma, J., ... &amp;amp; Han, J. (2020, August). In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery &amp;amp; Data Mining (pp. 2724-2734). &#039;&#039;Research paper from Amazon about AutoKnow - this is a bit heavy for Bachelor level, but you can have a look :-)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Lecture 8: Rules (SHACL and RDFS)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SHACL and RDFS&lt;br /&gt;
* Axioms, rules and entailment&lt;br /&gt;
* Programming SHACL and RDFS in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 7-8 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://book.validatingrdf.com/bookHtml011.html Chapter 5 &#039;&#039;SHACL&#039;&#039;] in [https://book.validatingrdf.com/index.html Validating RDF] (available online)&lt;br /&gt;
** Sections 5.1, 5.3-5.5, and 5.6,1-5.6.3&lt;br /&gt;
* [http://www.w3.org/TR/rdf-schema/ W3C&#039;s RDF Schema 1.1], focus on sections 1-3 and 6&lt;br /&gt;
* [[:File:S07-SHACL-RDFS.pdf | Slides from the lecture]] &lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
* [https://docs.google.com/presentation/d/1weO9SzssxgYp3g_44X1LZsVtL0i6FurQ3KbIKZ8iriQ/ Lab presentation containing a short overview of SHACL and pySHACL]&lt;br /&gt;
* [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
* [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture&#039;&#039;)&lt;br /&gt;
* [https://github.com/blazegraph/database/wiki/InferenceAndTruthMaintenance Inference and Thruth Maintenance in Blazegraph]&lt;br /&gt;
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
* [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&lt;br /&gt;
&lt;br /&gt;
==Lecture 9: Ontologies (OWL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Basic OWL concepts&lt;br /&gt;
* Axioms, rules and entailments&lt;br /&gt;
* Programming basic OWL in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 9-10, 12-13 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6 and 9-10&lt;br /&gt;
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [https://protegeproject.github.io/protege/getting-started/ Protégé-OWL Getting Started]&lt;br /&gt;
* [[:File:S09-OWL.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials (cursory):&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-quick-reference/ OWL 2 Quick Reference Guide]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-rdf-based-semantics/ OWL2 RDF-Based Semantics]&lt;br /&gt;
* The OWL-RL materials (from Lecture 5)&lt;br /&gt;
* [http://vowl.visualdataweb.org/v2 VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [http://vowl.visualdataweb.org/webvowl/index.html#sioc WebVOWL]&lt;br /&gt;
* [[:File:LohmannEtAl2016-VisualizingOntologiesWithVOWL.pdf | Lohmann et al. (2019): Visualizing Ontologies with VOWL. &#039;&#039;Semantic Web Journal.&#039;&#039;]]&lt;br /&gt;
* Pages 106-109 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
&lt;br /&gt;
==Lecture 10: Vocabularies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* LOD vocabularies and ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 10-11 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)]&lt;br /&gt;
* Important vocabularies / ontologies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://motools.sourceforge.net/event/event.html Event Ontology (event)]&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [https://www.w3.org/2003/01/geo/ geo: World Geodetic Standard (WGS) 84]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://rdfs.org/sioc/spec/ Semantic Interlinked Online Communities (SIOC)]&lt;br /&gt;
** [http://schema.org/docs/full.html schema.org - Full Hierarchy]&lt;br /&gt;
** [http://wikidata.dbpedia.org/services-resources/ontology DBpedia Ontology]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
** [http://creativecommons.org/ns Creative Commons (CC) Vocabulary]&lt;br /&gt;
** &#039;&#039;What we expect you to know about each vocabulary is this:&#039;&#039; &lt;br /&gt;
*** Its purpose and where and how it can be used.&lt;br /&gt;
*** Its most central 3-6 classes and properties be able to explain its basic structure. &lt;br /&gt;
*** 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. &lt;br /&gt;
* [[:File:S10-Vocabularies.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Lecture 11: KG embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG embeddings&lt;br /&gt;
* Link prediction&lt;br /&gt;
* TorchKGE&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:S11-GraphEmbeddings.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
==Lecture 12: KGs and Large Language Models==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
&lt;br /&gt;
* What are Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
&lt;br /&gt;
* [[:file:S12-KGsAndLLMs.pdf | Slides from the lecture]]&lt;br /&gt;
* No mandatory readings beyond the slides&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
&lt;br /&gt;
* Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., &amp;amp; Wu, X. (2024). [[:file:PanEtAl2023-LLMs_KGs_Opportunities_Challenges.pdf | &#039;&#039;Unifying large language models and knowledge graphs: A roadmap.&#039;&#039;]]  IEEE Transactions on Knowledge and Data Engineering.&lt;br /&gt;
* Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... &amp;amp;  Polosukhin, I. (2017). [[:file:NIPS-2017-attention-is-all-you-need-Paper.pdf | &#039;&#039;Attention is all you need.&#039;&#039;]]  Advances in neural information processing systems, 30.&amp;lt;br /&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2024, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2700</id>
		<title>Readings</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2700"/>
		<updated>2025-04-07T08:49:38Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: /* Session 11: Graph Neural Networks (GNNs) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Textbooks=&lt;br /&gt;
&lt;br /&gt;
Main course book (&#039;&#039;the whole book is mandatory reading&#039;&#039;):&lt;br /&gt;
* Hogan, A. et al. (2021). &#039;&#039;&#039;Knowledge Graphs.&#039;&#039;&#039; Springer. &#039;&#039;Synthesis Lectures on Data, Semantics, and Knowledge&#039;&#039; 22, 1–237, DOI: 10.2200/S01125ED1V01Y202109DSK022, Springer. https://kgbook.org/&lt;br /&gt;
&lt;br /&gt;
Supplementary books (&#039;&#039;not&#039;&#039; mandatory):&lt;br /&gt;
* Dean Allemang, James Hendler &amp;amp; Fabien Gandon (2020). &#039;&#039;&#039;Semantic Web for the Working Ontologist, Effective Modeling for Linked Data, RDFS and OWL (Third Edition).&#039;&#039;&#039; ISBN: 9781450376143, PDF ISBN: 9781450376150, Hardcover ISBN: 9781450376174, DOI: 10.1145/3382097.&lt;br /&gt;
* Andreas Blumauer and Helmut Nagy (2020). &#039;&#039;&#039;The Knowledge Graph Cookbook - Recipes that Work.&#039;&#039;&#039; mono/monochrom. ISBN-10: ‎3902796707, ISBN-13: 978-3902796707.&lt;br /&gt;
&lt;br /&gt;
=Other materials=&lt;br /&gt;
&lt;br /&gt;
In addition, &#039;&#039;&#039;the materials listed below for each lecture are either mandatory or suggested reading&#039;&#039;&#039;. More materials will be added to each lecture in the coming weeks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The labs, lectures and lectures notes are also part of the curriculum.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039; to download some of the papers, you may need to be inside UiB&#039;s network. Either use a computer directly on the UiB network or connect to your UiB account through VPN.&lt;br /&gt;
&lt;br /&gt;
=Lectures (in progress)=&lt;br /&gt;
&lt;br /&gt;
Below are the mandatory and suggested readings for each lecture. All the textbook chapters in Hogan et al. (&amp;quot;Knowledge Graphs&amp;quot;) are mandatory, whereas the chapters in Allemang, Hendler &amp;amp; Gandon (&amp;quot;Semantic Web&amp;quot;) are suggested.&lt;br /&gt;
&lt;br /&gt;
==Session 1: Introduction to KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Introduction to Knowledge Graphs&lt;br /&gt;
* Organisation of the course&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 1 Introduction, section 2.1 Models, and Appendix A Background in Hogan et al.&lt;br /&gt;
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web]&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.1.3 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapters 1-3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Wikidata (https://www.wikidata.org/)&lt;br /&gt;
&lt;br /&gt;
==Session 2: Querying and updating KGs (SPARQL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SPARQL queries&lt;br /&gt;
* SPARQL Update&lt;br /&gt;
* Programming SPARQL and SPARQL Update in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 2.2 Queries in Hogan et al.&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.8/sparql.html The SPARQL query language — GraphDB 10.8 documentation]&lt;br /&gt;
* [https://rdflib.readthedocs.io/ rdflib 7.1.3] materials: [https://rdflib.readthedocs.io/en/stable/intro_to_sparql.html Querying with SPARQL]&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapter 6 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-query/ SPARQL 1.1 Query Language]&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language]&lt;br /&gt;
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]]&lt;br /&gt;
* [https://en.wikibooks.org/wiki/SPARQL/Expressions_and_Functions SPARQL Expressions and Functions]&lt;br /&gt;
&lt;br /&gt;
==Session 3: Creating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Extracting KGs from text&lt;br /&gt;
* Extracting from marked-up sources&lt;br /&gt;
* Extracting from SQL databases and JSON&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 6 Creation and Enrichment, sections 6.1-6.4, in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.0/virtualization.html Virtualization, GraphDB 10.0 documentation]&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
&lt;br /&gt;
==Session 4: Validating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Validating KG schemas (SHACL)&lt;br /&gt;
* Semantic KG schemas/vocabularies (RDFS)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 3.1 Schema in Hogan et al.&lt;br /&gt;
* Sections 5.1, 5.3, 5.5, 5.6.1, and 5.6.3 in [https://book.validatingrdf.com/bookHtml011.html Gayo, J.E. et al. Validating RDF]. &lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* SHACL&lt;br /&gt;
** Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
** [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
** [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* RDFS&lt;br /&gt;
** [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important, and we will go through the most important ones in the lecture&#039;&#039;)&lt;br /&gt;
** [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
** [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need)&lt;br /&gt;
&lt;br /&gt;
==Session 5: Advanced KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about RDF, e.g.,&lt;br /&gt;
** identity&lt;br /&gt;
** blank nodes&lt;br /&gt;
** reification&lt;br /&gt;
** higher-arity graphs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 3.2 Identity and 3.3 Context in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
&lt;br /&gt;
==Session 6: Ontologies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More powerful vocabularies/ontologies (OWL)&lt;br /&gt;
* Creating ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 4.1 Ontologies and 6.3 Schema/ontology creation in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ OWL 2 Primer, sections 2-6 (advanced: 9-10)] (show: Turtle)&lt;br /&gt;
* [https://service.tib.eu/webvowl/ WebVOWL] interactive OWL visualisation tool&lt;br /&gt;
* Selected vocabularies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
* Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
==Session 7: Reasoning==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about semantic KG schemas (RDFS)&lt;br /&gt;
* Description logic&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 4.2 Rules + DL in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important&#039;&#039;)&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview/ W3C OWL 2 Overview]&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ W3C OWL 2 Primer]&lt;br /&gt;
* [https://www.w3.org/TR/2012/REC-owl2-quick-reference-20121211/ W3C OWL 2 Quick Reference Guide (2nd Edition)]&lt;br /&gt;
&lt;br /&gt;
==Session 8: KG Analytics==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph analytics&lt;br /&gt;
** graph metrics&lt;br /&gt;
** directed vector-labelled graphs&lt;br /&gt;
** analysis frameworks and techniques&lt;br /&gt;
* Symbolic learning&lt;br /&gt;
** rule, axiom, and hypothesis mining&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.1 Graph Analytics and 5.4 Symbolic Learning in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://networkx.org/ NetworkX - Network analysis in Python]&lt;br /&gt;
&lt;br /&gt;
==Session 9: KGs in Practice (Guest Lecture)==&lt;br /&gt;
Guest lecture by Sindre Asplem, [https://www.capgemini.com/no-no/ Capgemini].&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
==Session 10: KG Embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Semantic embedding spaces&lt;br /&gt;
* KG embedding techniques&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.2 Knowledge Graph Embeddings and 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
** &#039;&#039;In Section 5.2.1, we focus on the Translational Models. The other models are cursory reading.&#039;&#039;&lt;br /&gt;
* Towards DataScience introduction: [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Towards DataScience introductions:&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://pykeen.readthedocs.io/en/stable/index.html PyKEEN] is an alternative Python API. It is similar and may be more up-to-date than TorchKGE.&lt;br /&gt;
&lt;br /&gt;
==Session 11: Graph Neural Networks (GNNs) ==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
** recurrent/recursive, convolutional, GATs&lt;br /&gt;
* Question answering with GNNs (QA-GNN)&lt;br /&gt;
* Open KGs:&lt;br /&gt;
** WordNet, BabelNet, ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [:file:Yasunaga2022-QA-GNN-2104.06378v5.pdf The QA-GNN paper]&lt;br /&gt;
* [https://conceptnet.io/ ConceptNet:] An open, multilingual knowledge graph&lt;br /&gt;
* [https://pytorch-geometric.readthedocs.io/en/latest/ PyG documentation:] PyG (PyTorch Geometric) is a library built upon  PyTorch to easily write and train Graph Neural Networks (GNNs) for a wide range of applications related to structured data.&lt;br /&gt;
&lt;br /&gt;
==Session 12: KG Refinement (KGs and LLMs)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Enriching KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 8 Completion + Correction in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Session 13: KGs in Practice==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Open KGs&lt;br /&gt;
* Enterprise KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Important knowledge graphs:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/)&lt;br /&gt;
** DBpedia (https://www.dbpedia.org, https://dbpedia.org/page/Bergen)&lt;br /&gt;
** GeoNames (https://www.geonames.org/)&lt;br /&gt;
** BabelNet (https://babelnet.org/)&lt;br /&gt;
** Linked Open Data (LOD) (http://lod-cloud.net)&lt;br /&gt;
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture: KG Quality==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG completion and correction&lt;br /&gt;
* Best practices&lt;br /&gt;
* Access protocols and usage control&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 8 Completion + Correction and 9 Best Practices + Access Protocols + Usage Control in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==Lecture 2: Representing KGs (RDF)==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Resource Description Framework (RDF)&lt;br /&gt;
* Programming RDF in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-primer/ W3C&#039;s RDF 1.1 Primer] until and including 5.1.2 Turtle (but not the rest for now)&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.0.0 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* [[:File:S02-RDF.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib 7.0.0 packages] (reference for the labs)&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools]&lt;br /&gt;
* Pages 25-28, 92-100, 125-128, and 164-167 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture 4: Linked Open Data (LOD)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Linked Open Data(LOD)&lt;br /&gt;
* The LOD cloud&lt;br /&gt;
* Data provisioning&lt;br /&gt;
&lt;br /&gt;
Mandatory readings &#039;&#039;(both lecture 4 and 5)&#039;&#039;:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27.&lt;br /&gt;
* [[:File:S04-LOD.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* [https://www.ontotext.com/knowledgehub/fundamentals/linked-data-linked-open-data/ What Are Linked Data and Linked Open Data?]&lt;br /&gt;
* [[:File:BizerHeathBernersLee-LinkedData2009-TheStorySoFar.pdf | Bizer, C., Heath, T., &amp;amp; Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 5: Open Knowledge Graphs I==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** Wikidata&lt;br /&gt;
** DBpedia&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/):&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:Introduction Introduction to Wikidata]&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help SPARQL query service/A gentle introduction to the Wikidata Query Service]&lt;br /&gt;
*** example: [https://www.wikidata.org/wiki/Q26793]&lt;br /&gt;
** DBpedia (https://www.dbpedia.org):&lt;br /&gt;
*** [http://wiki.dbpedia.org/about About Dbpedia]&lt;br /&gt;
*** example: [https://dbpedia.org/resource/Bergen]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 6: Open Knowledge Graphs II==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** DBpedia &#039;&#039;(continued)&#039;&#039;&lt;br /&gt;
** GeoNames&lt;br /&gt;
** the GDELT project&lt;br /&gt;
** WordNet&lt;br /&gt;
** BabelNet&lt;br /&gt;
** ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** GeoNames (https://www.geonames.org/):&lt;br /&gt;
*** [http://www.geonames.org/about.html About GeoNames]&lt;br /&gt;
*** example: [https://www.geonames.org/3161732/bergen.html]&lt;br /&gt;
** GDELT (https://www.gdeltproject.org/)&lt;br /&gt;
*** [https://www.gdeltproject.org/ The GDELT Project] - see also the About and Data pages&lt;br /&gt;
** WordNet (https://wordnet.princeton.edu/)&lt;br /&gt;
*** [https://wordnet.princeton.edu/ WordNet - A lexical database for English]&lt;br /&gt;
** BabelNet (https://babelnet.org/):&lt;br /&gt;
*** [http://live.babelnet.org/about About BabelNet]&lt;br /&gt;
*** [https://babelnet.org/how-to-use How to use]&lt;br /&gt;
*** example: [https://babelnet.org/synset?id=bn%3A00010008n&amp;amp;orig=Bergen&amp;amp;lang=EN]&lt;br /&gt;
** ConceptNet (http://conceptnet.io)&lt;br /&gt;
*** [http://conceptnet.io ConceptNet - An open, multilingual knowledge graph]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* Wikidata statistics&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000167/wikidata-datamodel?orgId=1&amp;amp;refresh=30m Entity statistics]&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000175/wikidata-datamodel-statements?orgId=1&amp;amp;refresh=30m Statement statistics]&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* GDELT documentation&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Event_Codebook-V2.0.pdf Event Codebook (and covers mentions)]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook]&lt;br /&gt;
* Parts 1 and 3 in Blumauer &amp;amp; Nagy&#039;s text book (not tightly related to the lecture, but time to finish them by now :-))&lt;br /&gt;
&lt;br /&gt;
==Lecture 7: Enterprise Knowledge Graphs==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Enterprise Knowledge Graphs (EKGs)&lt;br /&gt;
* Google’s Knowledge Graph&lt;br /&gt;
* Amazon’s Product Graph&lt;br /&gt;
* JSON-LD (video presentation)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://www.blog.google/products/search/introducing-knowledge-graph-things-not/ Introducing the Knowledge Graph: Things not Strings], Amit Singhal, Google (2012). &#039;&#039;(The blog post that introduced Google&#039;s knowledge graph to the world.)&#039;&#039;&lt;br /&gt;
* [https://blog.google/products/search/about-knowledge-graph-and-knowledge-panels/ A reintroduction to our Knowledge Graph and knowledge panels], Danny Sullivan, Google (2020).&lt;br /&gt;
* [https://www.aboutamazon.com/news/innovation-at-amazon/making-search-easier How Amazon’s Product Graph is helping customers find products more easily], Arun Krishnan, Amazon (2018). &#039;&#039;(Short blog post that reviews some central ideas from the AutoKnow research paper listed below.)&#039;&#039;&lt;br /&gt;
* [https://www.amazon.science/blog/building-product-graphs-automatically Building product graphs automatically], Xin Luna Dong, Amazon (2020).&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
* [[:File:S07-EnterpriseKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Parts 2 and 4 in Blumauer &amp;amp; Nagy&#039;s text book (&#039;&#039;strongly suggested - this is where Blumauer &amp;amp; Nagy&#039;s book is good!&#039;&#039;)&lt;br /&gt;
* [[:File:Bosch-LIS.pdf | LIS: A knowledge graph-based line information system]] by Grangel-González, I., Rickart, M., Rudolph, O., &amp;amp; Shah, F. (2023, May). In Proceedings of the European Semantic Web Conference (pp. 591-608). Cham: Springer Nature Switzerland.&lt;br /&gt;
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]] by Dong, X. L., He, X., Kan, A., Li, X., Liang, Y., Ma, J., ... &amp;amp; Han, J. (2020, August). In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery &amp;amp; Data Mining (pp. 2724-2734). &#039;&#039;Research paper from Amazon about AutoKnow - this is a bit heavy for Bachelor level, but you can have a look :-)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Lecture 8: Rules (SHACL and RDFS)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SHACL and RDFS&lt;br /&gt;
* Axioms, rules and entailment&lt;br /&gt;
* Programming SHACL and RDFS in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 7-8 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://book.validatingrdf.com/bookHtml011.html Chapter 5 &#039;&#039;SHACL&#039;&#039;] in [https://book.validatingrdf.com/index.html Validating RDF] (available online)&lt;br /&gt;
** Sections 5.1, 5.3-5.5, and 5.6,1-5.6.3&lt;br /&gt;
* [http://www.w3.org/TR/rdf-schema/ W3C&#039;s RDF Schema 1.1], focus on sections 1-3 and 6&lt;br /&gt;
* [[:File:S07-SHACL-RDFS.pdf | Slides from the lecture]] &lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
* [https://docs.google.com/presentation/d/1weO9SzssxgYp3g_44X1LZsVtL0i6FurQ3KbIKZ8iriQ/ Lab presentation containing a short overview of SHACL and pySHACL]&lt;br /&gt;
* [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
* [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture&#039;&#039;)&lt;br /&gt;
* [https://github.com/blazegraph/database/wiki/InferenceAndTruthMaintenance Inference and Thruth Maintenance in Blazegraph]&lt;br /&gt;
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
* [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&lt;br /&gt;
&lt;br /&gt;
==Lecture 9: Ontologies (OWL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Basic OWL concepts&lt;br /&gt;
* Axioms, rules and entailments&lt;br /&gt;
* Programming basic OWL in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 9-10, 12-13 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6 and 9-10&lt;br /&gt;
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [https://protegeproject.github.io/protege/getting-started/ Protégé-OWL Getting Started]&lt;br /&gt;
* [[:File:S09-OWL.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials (cursory):&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-quick-reference/ OWL 2 Quick Reference Guide]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-rdf-based-semantics/ OWL2 RDF-Based Semantics]&lt;br /&gt;
* The OWL-RL materials (from Lecture 5)&lt;br /&gt;
* [http://vowl.visualdataweb.org/v2 VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [http://vowl.visualdataweb.org/webvowl/index.html#sioc WebVOWL]&lt;br /&gt;
* [[:File:LohmannEtAl2016-VisualizingOntologiesWithVOWL.pdf | Lohmann et al. (2019): Visualizing Ontologies with VOWL. &#039;&#039;Semantic Web Journal.&#039;&#039;]]&lt;br /&gt;
* Pages 106-109 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
&lt;br /&gt;
==Lecture 10: Vocabularies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* LOD vocabularies and ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 10-11 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)]&lt;br /&gt;
* Important vocabularies / ontologies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://motools.sourceforge.net/event/event.html Event Ontology (event)]&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [https://www.w3.org/2003/01/geo/ geo: World Geodetic Standard (WGS) 84]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://rdfs.org/sioc/spec/ Semantic Interlinked Online Communities (SIOC)]&lt;br /&gt;
** [http://schema.org/docs/full.html schema.org - Full Hierarchy]&lt;br /&gt;
** [http://wikidata.dbpedia.org/services-resources/ontology DBpedia Ontology]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
** [http://creativecommons.org/ns Creative Commons (CC) Vocabulary]&lt;br /&gt;
** &#039;&#039;What we expect you to know about each vocabulary is this:&#039;&#039; &lt;br /&gt;
*** Its purpose and where and how it can be used.&lt;br /&gt;
*** Its most central 3-6 classes and properties be able to explain its basic structure. &lt;br /&gt;
*** 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. &lt;br /&gt;
* [[:File:S10-Vocabularies.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Lecture 11: KG embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG embeddings&lt;br /&gt;
* Link prediction&lt;br /&gt;
* TorchKGE&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:S11-GraphEmbeddings.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
==Lecture 12: KGs and Large Language Models==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
&lt;br /&gt;
* What are Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
&lt;br /&gt;
* [[:file:S12-KGsAndLLMs.pdf | Slides from the lecture]]&lt;br /&gt;
* No mandatory readings beyond the slides&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
&lt;br /&gt;
* Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., &amp;amp; Wu, X. (2024). [[:file:PanEtAl2023-LLMs_KGs_Opportunities_Challenges.pdf | &#039;&#039;Unifying large language models and knowledge graphs: A roadmap.&#039;&#039;]]  IEEE Transactions on Knowledge and Data Engineering.&lt;br /&gt;
* Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... &amp;amp;  Polosukhin, I. (2017). [[:file:NIPS-2017-attention-is-all-you-need-Paper.pdf | &#039;&#039;Attention is all you need.&#039;&#039;]]  Advances in neural information processing systems, 30.&amp;lt;br /&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2024, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=File:Yasunaga2022-QA-GNN-2104.06378v5.pdf&amp;diff=2699</id>
		<title>File:Yasunaga2022-QA-GNN-2104.06378v5.pdf</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=File:Yasunaga2022-QA-GNN-2104.06378v5.pdf&amp;diff=2699"/>
		<updated>2025-04-07T08:48:28Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2698</id>
		<title>Readings</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2698"/>
		<updated>2025-04-07T08:48:03Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Textbooks=&lt;br /&gt;
&lt;br /&gt;
Main course book (&#039;&#039;the whole book is mandatory reading&#039;&#039;):&lt;br /&gt;
* Hogan, A. et al. (2021). &#039;&#039;&#039;Knowledge Graphs.&#039;&#039;&#039; Springer. &#039;&#039;Synthesis Lectures on Data, Semantics, and Knowledge&#039;&#039; 22, 1–237, DOI: 10.2200/S01125ED1V01Y202109DSK022, Springer. https://kgbook.org/&lt;br /&gt;
&lt;br /&gt;
Supplementary books (&#039;&#039;not&#039;&#039; mandatory):&lt;br /&gt;
* Dean Allemang, James Hendler &amp;amp; Fabien Gandon (2020). &#039;&#039;&#039;Semantic Web for the Working Ontologist, Effective Modeling for Linked Data, RDFS and OWL (Third Edition).&#039;&#039;&#039; ISBN: 9781450376143, PDF ISBN: 9781450376150, Hardcover ISBN: 9781450376174, DOI: 10.1145/3382097.&lt;br /&gt;
* Andreas Blumauer and Helmut Nagy (2020). &#039;&#039;&#039;The Knowledge Graph Cookbook - Recipes that Work.&#039;&#039;&#039; mono/monochrom. ISBN-10: ‎3902796707, ISBN-13: 978-3902796707.&lt;br /&gt;
&lt;br /&gt;
=Other materials=&lt;br /&gt;
&lt;br /&gt;
In addition, &#039;&#039;&#039;the materials listed below for each lecture are either mandatory or suggested reading&#039;&#039;&#039;. More materials will be added to each lecture in the coming weeks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The labs, lectures and lectures notes are also part of the curriculum.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039; to download some of the papers, you may need to be inside UiB&#039;s network. Either use a computer directly on the UiB network or connect to your UiB account through VPN.&lt;br /&gt;
&lt;br /&gt;
=Lectures (in progress)=&lt;br /&gt;
&lt;br /&gt;
Below are the mandatory and suggested readings for each lecture. All the textbook chapters in Hogan et al. (&amp;quot;Knowledge Graphs&amp;quot;) are mandatory, whereas the chapters in Allemang, Hendler &amp;amp; Gandon (&amp;quot;Semantic Web&amp;quot;) are suggested.&lt;br /&gt;
&lt;br /&gt;
==Session 1: Introduction to KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Introduction to Knowledge Graphs&lt;br /&gt;
* Organisation of the course&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 1 Introduction, section 2.1 Models, and Appendix A Background in Hogan et al.&lt;br /&gt;
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web]&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.1.3 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapters 1-3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Wikidata (https://www.wikidata.org/)&lt;br /&gt;
&lt;br /&gt;
==Session 2: Querying and updating KGs (SPARQL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SPARQL queries&lt;br /&gt;
* SPARQL Update&lt;br /&gt;
* Programming SPARQL and SPARQL Update in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 2.2 Queries in Hogan et al.&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.8/sparql.html The SPARQL query language — GraphDB 10.8 documentation]&lt;br /&gt;
* [https://rdflib.readthedocs.io/ rdflib 7.1.3] materials: [https://rdflib.readthedocs.io/en/stable/intro_to_sparql.html Querying with SPARQL]&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapter 6 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-query/ SPARQL 1.1 Query Language]&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language]&lt;br /&gt;
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]]&lt;br /&gt;
* [https://en.wikibooks.org/wiki/SPARQL/Expressions_and_Functions SPARQL Expressions and Functions]&lt;br /&gt;
&lt;br /&gt;
==Session 3: Creating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Extracting KGs from text&lt;br /&gt;
* Extracting from marked-up sources&lt;br /&gt;
* Extracting from SQL databases and JSON&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 6 Creation and Enrichment, sections 6.1-6.4, in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.0/virtualization.html Virtualization, GraphDB 10.0 documentation]&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
&lt;br /&gt;
==Session 4: Validating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Validating KG schemas (SHACL)&lt;br /&gt;
* Semantic KG schemas/vocabularies (RDFS)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 3.1 Schema in Hogan et al.&lt;br /&gt;
* Sections 5.1, 5.3, 5.5, 5.6.1, and 5.6.3 in [https://book.validatingrdf.com/bookHtml011.html Gayo, J.E. et al. Validating RDF]. &lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* SHACL&lt;br /&gt;
** Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
** [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
** [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* RDFS&lt;br /&gt;
** [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important, and we will go through the most important ones in the lecture&#039;&#039;)&lt;br /&gt;
** [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
** [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need)&lt;br /&gt;
&lt;br /&gt;
==Session 5: Advanced KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about RDF, e.g.,&lt;br /&gt;
** identity&lt;br /&gt;
** blank nodes&lt;br /&gt;
** reification&lt;br /&gt;
** higher-arity graphs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 3.2 Identity and 3.3 Context in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
&lt;br /&gt;
==Session 6: Ontologies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More powerful vocabularies/ontologies (OWL)&lt;br /&gt;
* Creating ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 4.1 Ontologies and 6.3 Schema/ontology creation in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ OWL 2 Primer, sections 2-6 (advanced: 9-10)] (show: Turtle)&lt;br /&gt;
* [https://service.tib.eu/webvowl/ WebVOWL] interactive OWL visualisation tool&lt;br /&gt;
* Selected vocabularies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
* Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
==Session 7: Reasoning==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about semantic KG schemas (RDFS)&lt;br /&gt;
* Description logic&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 4.2 Rules + DL in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important&#039;&#039;)&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview/ W3C OWL 2 Overview]&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ W3C OWL 2 Primer]&lt;br /&gt;
* [https://www.w3.org/TR/2012/REC-owl2-quick-reference-20121211/ W3C OWL 2 Quick Reference Guide (2nd Edition)]&lt;br /&gt;
&lt;br /&gt;
==Session 8: KG Analytics==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph analytics&lt;br /&gt;
** graph metrics&lt;br /&gt;
** directed vector-labelled graphs&lt;br /&gt;
** analysis frameworks and techniques&lt;br /&gt;
* Symbolic learning&lt;br /&gt;
** rule, axiom, and hypothesis mining&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.1 Graph Analytics and 5.4 Symbolic Learning in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://networkx.org/ NetworkX - Network analysis in Python]&lt;br /&gt;
&lt;br /&gt;
==Session 9: KGs in Practice (Guest Lecture)==&lt;br /&gt;
Guest lecture by Sindre Asplem, [https://www.capgemini.com/no-no/ Capgemini].&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
==Session 10: KG Embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Semantic embedding spaces&lt;br /&gt;
* KG embedding techniques&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.2 Knowledge Graph Embeddings and 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
** &#039;&#039;In Section 5.2.1, we focus on the Translational Models. The other models are cursory reading.&#039;&#039;&lt;br /&gt;
* Towards DataScience introduction: [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Towards DataScience introductions:&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://pykeen.readthedocs.io/en/stable/index.html PyKEEN] is an alternative Python API. It is similar and may be more up-to-date than TorchKGE.&lt;br /&gt;
&lt;br /&gt;
==Session 11: Graph Neural Networks (GNNs) ==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
** recurrent / recursive&lt;br /&gt;
** convolutional&lt;br /&gt;
** GATs&lt;br /&gt;
* Question answering with GNNs (QA-GNN)&lt;br /&gt;
* Open KGs:&lt;br /&gt;
** WordNet&lt;br /&gt;
** BabelNet&lt;br /&gt;
** ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* QA-GNN paper&lt;br /&gt;
* [https://conceptnet.io/ ConceptNet:] An open, multilingual knowledge graph&lt;br /&gt;
* [https://pytorch-geometric.readthedocs.io/en/latest/ PyG documentation:] PyG (PyTorch Geometric) is a library built upon  PyTorch to easily write and train Graph Neural Networks (GNNs) for a wide range of applications related to structured data.&lt;br /&gt;
&lt;br /&gt;
==Session 12: KG Refinement (KGs and LLMs)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Enriching KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 8 Completion + Correction in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Session 13: KGs in Practice==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Open KGs&lt;br /&gt;
* Enterprise KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Important knowledge graphs:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/)&lt;br /&gt;
** DBpedia (https://www.dbpedia.org, https://dbpedia.org/page/Bergen)&lt;br /&gt;
** GeoNames (https://www.geonames.org/)&lt;br /&gt;
** BabelNet (https://babelnet.org/)&lt;br /&gt;
** Linked Open Data (LOD) (http://lod-cloud.net)&lt;br /&gt;
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture: KG Quality==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG completion and correction&lt;br /&gt;
* Best practices&lt;br /&gt;
* Access protocols and usage control&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 8 Completion + Correction and 9 Best Practices + Access Protocols + Usage Control in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==Lecture 2: Representing KGs (RDF)==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Resource Description Framework (RDF)&lt;br /&gt;
* Programming RDF in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-primer/ W3C&#039;s RDF 1.1 Primer] until and including 5.1.2 Turtle (but not the rest for now)&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.0.0 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* [[:File:S02-RDF.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib 7.0.0 packages] (reference for the labs)&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools]&lt;br /&gt;
* Pages 25-28, 92-100, 125-128, and 164-167 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture 4: Linked Open Data (LOD)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Linked Open Data(LOD)&lt;br /&gt;
* The LOD cloud&lt;br /&gt;
* Data provisioning&lt;br /&gt;
&lt;br /&gt;
Mandatory readings &#039;&#039;(both lecture 4 and 5)&#039;&#039;:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27.&lt;br /&gt;
* [[:File:S04-LOD.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* [https://www.ontotext.com/knowledgehub/fundamentals/linked-data-linked-open-data/ What Are Linked Data and Linked Open Data?]&lt;br /&gt;
* [[:File:BizerHeathBernersLee-LinkedData2009-TheStorySoFar.pdf | Bizer, C., Heath, T., &amp;amp; Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 5: Open Knowledge Graphs I==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** Wikidata&lt;br /&gt;
** DBpedia&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/):&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:Introduction Introduction to Wikidata]&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help SPARQL query service/A gentle introduction to the Wikidata Query Service]&lt;br /&gt;
*** example: [https://www.wikidata.org/wiki/Q26793]&lt;br /&gt;
** DBpedia (https://www.dbpedia.org):&lt;br /&gt;
*** [http://wiki.dbpedia.org/about About Dbpedia]&lt;br /&gt;
*** example: [https://dbpedia.org/resource/Bergen]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 6: Open Knowledge Graphs II==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** DBpedia &#039;&#039;(continued)&#039;&#039;&lt;br /&gt;
** GeoNames&lt;br /&gt;
** the GDELT project&lt;br /&gt;
** WordNet&lt;br /&gt;
** BabelNet&lt;br /&gt;
** ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** GeoNames (https://www.geonames.org/):&lt;br /&gt;
*** [http://www.geonames.org/about.html About GeoNames]&lt;br /&gt;
*** example: [https://www.geonames.org/3161732/bergen.html]&lt;br /&gt;
** GDELT (https://www.gdeltproject.org/)&lt;br /&gt;
*** [https://www.gdeltproject.org/ The GDELT Project] - see also the About and Data pages&lt;br /&gt;
** WordNet (https://wordnet.princeton.edu/)&lt;br /&gt;
*** [https://wordnet.princeton.edu/ WordNet - A lexical database for English]&lt;br /&gt;
** BabelNet (https://babelnet.org/):&lt;br /&gt;
*** [http://live.babelnet.org/about About BabelNet]&lt;br /&gt;
*** [https://babelnet.org/how-to-use How to use]&lt;br /&gt;
*** example: [https://babelnet.org/synset?id=bn%3A00010008n&amp;amp;orig=Bergen&amp;amp;lang=EN]&lt;br /&gt;
** ConceptNet (http://conceptnet.io)&lt;br /&gt;
*** [http://conceptnet.io ConceptNet - An open, multilingual knowledge graph]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* Wikidata statistics&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000167/wikidata-datamodel?orgId=1&amp;amp;refresh=30m Entity statistics]&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000175/wikidata-datamodel-statements?orgId=1&amp;amp;refresh=30m Statement statistics]&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* GDELT documentation&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Event_Codebook-V2.0.pdf Event Codebook (and covers mentions)]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook]&lt;br /&gt;
* Parts 1 and 3 in Blumauer &amp;amp; Nagy&#039;s text book (not tightly related to the lecture, but time to finish them by now :-))&lt;br /&gt;
&lt;br /&gt;
==Lecture 7: Enterprise Knowledge Graphs==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Enterprise Knowledge Graphs (EKGs)&lt;br /&gt;
* Google’s Knowledge Graph&lt;br /&gt;
* Amazon’s Product Graph&lt;br /&gt;
* JSON-LD (video presentation)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://www.blog.google/products/search/introducing-knowledge-graph-things-not/ Introducing the Knowledge Graph: Things not Strings], Amit Singhal, Google (2012). &#039;&#039;(The blog post that introduced Google&#039;s knowledge graph to the world.)&#039;&#039;&lt;br /&gt;
* [https://blog.google/products/search/about-knowledge-graph-and-knowledge-panels/ A reintroduction to our Knowledge Graph and knowledge panels], Danny Sullivan, Google (2020).&lt;br /&gt;
* [https://www.aboutamazon.com/news/innovation-at-amazon/making-search-easier How Amazon’s Product Graph is helping customers find products more easily], Arun Krishnan, Amazon (2018). &#039;&#039;(Short blog post that reviews some central ideas from the AutoKnow research paper listed below.)&#039;&#039;&lt;br /&gt;
* [https://www.amazon.science/blog/building-product-graphs-automatically Building product graphs automatically], Xin Luna Dong, Amazon (2020).&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
* [[:File:S07-EnterpriseKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Parts 2 and 4 in Blumauer &amp;amp; Nagy&#039;s text book (&#039;&#039;strongly suggested - this is where Blumauer &amp;amp; Nagy&#039;s book is good!&#039;&#039;)&lt;br /&gt;
* [[:File:Bosch-LIS.pdf | LIS: A knowledge graph-based line information system]] by Grangel-González, I., Rickart, M., Rudolph, O., &amp;amp; Shah, F. (2023, May). In Proceedings of the European Semantic Web Conference (pp. 591-608). Cham: Springer Nature Switzerland.&lt;br /&gt;
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]] by Dong, X. L., He, X., Kan, A., Li, X., Liang, Y., Ma, J., ... &amp;amp; Han, J. (2020, August). In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery &amp;amp; Data Mining (pp. 2724-2734). &#039;&#039;Research paper from Amazon about AutoKnow - this is a bit heavy for Bachelor level, but you can have a look :-)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Lecture 8: Rules (SHACL and RDFS)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SHACL and RDFS&lt;br /&gt;
* Axioms, rules and entailment&lt;br /&gt;
* Programming SHACL and RDFS in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 7-8 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://book.validatingrdf.com/bookHtml011.html Chapter 5 &#039;&#039;SHACL&#039;&#039;] in [https://book.validatingrdf.com/index.html Validating RDF] (available online)&lt;br /&gt;
** Sections 5.1, 5.3-5.5, and 5.6,1-5.6.3&lt;br /&gt;
* [http://www.w3.org/TR/rdf-schema/ W3C&#039;s RDF Schema 1.1], focus on sections 1-3 and 6&lt;br /&gt;
* [[:File:S07-SHACL-RDFS.pdf | Slides from the lecture]] &lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
* [https://docs.google.com/presentation/d/1weO9SzssxgYp3g_44X1LZsVtL0i6FurQ3KbIKZ8iriQ/ Lab presentation containing a short overview of SHACL and pySHACL]&lt;br /&gt;
* [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
* [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture&#039;&#039;)&lt;br /&gt;
* [https://github.com/blazegraph/database/wiki/InferenceAndTruthMaintenance Inference and Thruth Maintenance in Blazegraph]&lt;br /&gt;
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
* [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&lt;br /&gt;
&lt;br /&gt;
==Lecture 9: Ontologies (OWL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Basic OWL concepts&lt;br /&gt;
* Axioms, rules and entailments&lt;br /&gt;
* Programming basic OWL in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 9-10, 12-13 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6 and 9-10&lt;br /&gt;
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [https://protegeproject.github.io/protege/getting-started/ Protégé-OWL Getting Started]&lt;br /&gt;
* [[:File:S09-OWL.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials (cursory):&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-quick-reference/ OWL 2 Quick Reference Guide]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-rdf-based-semantics/ OWL2 RDF-Based Semantics]&lt;br /&gt;
* The OWL-RL materials (from Lecture 5)&lt;br /&gt;
* [http://vowl.visualdataweb.org/v2 VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [http://vowl.visualdataweb.org/webvowl/index.html#sioc WebVOWL]&lt;br /&gt;
* [[:File:LohmannEtAl2016-VisualizingOntologiesWithVOWL.pdf | Lohmann et al. (2019): Visualizing Ontologies with VOWL. &#039;&#039;Semantic Web Journal.&#039;&#039;]]&lt;br /&gt;
* Pages 106-109 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
&lt;br /&gt;
==Lecture 10: Vocabularies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* LOD vocabularies and ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 10-11 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)]&lt;br /&gt;
* Important vocabularies / ontologies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://motools.sourceforge.net/event/event.html Event Ontology (event)]&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [https://www.w3.org/2003/01/geo/ geo: World Geodetic Standard (WGS) 84]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://rdfs.org/sioc/spec/ Semantic Interlinked Online Communities (SIOC)]&lt;br /&gt;
** [http://schema.org/docs/full.html schema.org - Full Hierarchy]&lt;br /&gt;
** [http://wikidata.dbpedia.org/services-resources/ontology DBpedia Ontology]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
** [http://creativecommons.org/ns Creative Commons (CC) Vocabulary]&lt;br /&gt;
** &#039;&#039;What we expect you to know about each vocabulary is this:&#039;&#039; &lt;br /&gt;
*** Its purpose and where and how it can be used.&lt;br /&gt;
*** Its most central 3-6 classes and properties be able to explain its basic structure. &lt;br /&gt;
*** 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. &lt;br /&gt;
* [[:File:S10-Vocabularies.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Lecture 11: KG embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG embeddings&lt;br /&gt;
* Link prediction&lt;br /&gt;
* TorchKGE&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:S11-GraphEmbeddings.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
==Lecture 12: KGs and Large Language Models==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
&lt;br /&gt;
* What are Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
&lt;br /&gt;
* [[:file:S12-KGsAndLLMs.pdf | Slides from the lecture]]&lt;br /&gt;
* No mandatory readings beyond the slides&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
&lt;br /&gt;
* Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., &amp;amp; Wu, X. (2024). [[:file:PanEtAl2023-LLMs_KGs_Opportunities_Challenges.pdf | &#039;&#039;Unifying large language models and knowledge graphs: A roadmap.&#039;&#039;]]  IEEE Transactions on Knowledge and Data Engineering.&lt;br /&gt;
* Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... &amp;amp;  Polosukhin, I. (2017). [[:file:NIPS-2017-attention-is-all-you-need-Paper.pdf | &#039;&#039;Attention is all you need.&#039;&#039;]]  Advances in neural information processing systems, 30.&amp;lt;br /&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2024, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2696</id>
		<title>Readings</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2696"/>
		<updated>2025-03-31T07:46:55Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: /* Session 10: KG Embeddings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Textbooks=&lt;br /&gt;
&lt;br /&gt;
Main course book (&#039;&#039;the whole book is mandatory reading&#039;&#039;):&lt;br /&gt;
* Hogan, A. et al. (2021). &#039;&#039;&#039;Knowledge Graphs.&#039;&#039;&#039; Springer. &#039;&#039;Synthesis Lectures on Data, Semantics, and Knowledge&#039;&#039; 22, 1–237, DOI: 10.2200/S01125ED1V01Y202109DSK022, Springer. https://kgbook.org/&lt;br /&gt;
&lt;br /&gt;
Supplementary books (&#039;&#039;not&#039;&#039; mandatory):&lt;br /&gt;
* Dean Allemang, James Hendler &amp;amp; Fabien Gandon (2020). &#039;&#039;&#039;Semantic Web for the Working Ontologist, Effective Modeling for Linked Data, RDFS and OWL (Third Edition).&#039;&#039;&#039; ISBN: 9781450376143, PDF ISBN: 9781450376150, Hardcover ISBN: 9781450376174, DOI: 10.1145/3382097.&lt;br /&gt;
* Andreas Blumauer and Helmut Nagy (2020). &#039;&#039;&#039;The Knowledge Graph Cookbook - Recipes that Work.&#039;&#039;&#039; mono/monochrom. ISBN-10: ‎3902796707, ISBN-13: 978-3902796707.&lt;br /&gt;
&lt;br /&gt;
=Other materials=&lt;br /&gt;
&lt;br /&gt;
In addition, &#039;&#039;&#039;the materials listed below for each lecture are either mandatory or suggested reading&#039;&#039;&#039;. More materials will be added to each lecture in the coming weeks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The labs, lectures and lectures notes are also part of the curriculum.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039; to download some of the papers, you may need to be inside UiB&#039;s network. Either use a computer directly on the UiB network or connect to your UiB account through VPN.&lt;br /&gt;
&lt;br /&gt;
=Lectures (in progress)=&lt;br /&gt;
&lt;br /&gt;
Below are the mandatory and suggested readings for each lecture. All the textbook chapters in Hogan et al. (&amp;quot;Knowledge Graphs&amp;quot;) are mandatory, whereas the chapters in Allemang, Hendler &amp;amp; Gandon (&amp;quot;Semantic Web&amp;quot;) are suggested.&lt;br /&gt;
&lt;br /&gt;
==Session 1: Introduction to KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Introduction to Knowledge Graphs&lt;br /&gt;
* Organisation of the course&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 1 Introduction, section 2.1 Models, and Appendix A Background in Hogan et al.&lt;br /&gt;
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web]&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.1.3 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapters 1-3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Wikidata (https://www.wikidata.org/)&lt;br /&gt;
&lt;br /&gt;
==Session 2: Querying and updating KGs (SPARQL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SPARQL queries&lt;br /&gt;
* SPARQL Update&lt;br /&gt;
* Programming SPARQL and SPARQL Update in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 2.2 Queries in Hogan et al.&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.8/sparql.html The SPARQL query language — GraphDB 10.8 documentation]&lt;br /&gt;
* [https://rdflib.readthedocs.io/ rdflib 7.1.3] materials: [https://rdflib.readthedocs.io/en/stable/intro_to_sparql.html Querying with SPARQL]&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapter 6 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-query/ SPARQL 1.1 Query Language]&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language]&lt;br /&gt;
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]]&lt;br /&gt;
* [https://en.wikibooks.org/wiki/SPARQL/Expressions_and_Functions SPARQL Expressions and Functions]&lt;br /&gt;
&lt;br /&gt;
==Session 3: Creating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Extracting KGs from text&lt;br /&gt;
* Extracting from marked-up sources&lt;br /&gt;
* Extracting from SQL databases and JSON&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 6 Creation and Enrichment, sections 6.1-6.4, in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.0/virtualization.html Virtualization, GraphDB 10.0 documentation]&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
&lt;br /&gt;
==Session 4: Validating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Validating KG schemas (SHACL)&lt;br /&gt;
* Semantic KG schemas/vocabularies (RDFS)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 3.1 Schema in Hogan et al.&lt;br /&gt;
* Sections 5.1, 5.3, 5.5, 5.6.1, and 5.6.3 in [https://book.validatingrdf.com/bookHtml011.html Gayo, J.E. et al. Validating RDF]. &lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* SHACL&lt;br /&gt;
** Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
** [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
** [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* RDFS&lt;br /&gt;
** [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important, and we will go through the most important ones in the lecture&#039;&#039;)&lt;br /&gt;
** [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
** [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need)&lt;br /&gt;
&lt;br /&gt;
==Session 5: Advanced KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about RDF, e.g.,&lt;br /&gt;
** identity&lt;br /&gt;
** blank nodes&lt;br /&gt;
** reification&lt;br /&gt;
** higher-arity graphs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 3.2 Identity and 3.3 Context in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
&lt;br /&gt;
==Session 6: Ontologies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More powerful vocabularies/ontologies (OWL)&lt;br /&gt;
* Creating ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 4.1 Ontologies and 6.3 Schema/ontology creation in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ OWL 2 Primer, sections 2-6 (advanced: 9-10)] (show: Turtle)&lt;br /&gt;
* [https://service.tib.eu/webvowl/ WebVOWL] interactive OWL visualisation tool&lt;br /&gt;
* Selected vocabularies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
* Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
==Session 7: Reasoning==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about semantic KG schemas (RDFS)&lt;br /&gt;
* Description logic&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 4.2 Rules + DL in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important&#039;&#039;)&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview/ W3C OWL 2 Overview]&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ W3C OWL 2 Primer]&lt;br /&gt;
* [https://www.w3.org/TR/2012/REC-owl2-quick-reference-20121211/ W3C OWL 2 Quick Reference Guide (2nd Edition)]&lt;br /&gt;
&lt;br /&gt;
==Session 8: KG Analytics==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph analytics&lt;br /&gt;
** graph metrics&lt;br /&gt;
** directed vector-labelled graphs&lt;br /&gt;
** analysis frameworks and techniques&lt;br /&gt;
* Symbolic learning&lt;br /&gt;
** rule, axiom, and hypothesis mining&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.1 Graph Analytics and 5.4 Symbolic Learning in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://networkx.org/ NetworkX - Network analysis in Python]&lt;br /&gt;
&lt;br /&gt;
==Session 9: KGs in Practice (Guest Lecture)==&lt;br /&gt;
Guest lecture by Sindre Asplem, [https://www.capgemini.com/no-no/ Capgemini].&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
==Session 10: KG Embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Semantic embedding spaces&lt;br /&gt;
* KG embedding techniques&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.2 Knowledge Graph Embeddings and 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
** &#039;&#039;In Section 5.2.1, we focus on the Translational Models. The other models are cursory reading.&#039;&#039;&lt;br /&gt;
* Towards DataScience introduction: [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Towards DataScience introductions:&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://pykeen.readthedocs.io/en/stable/index.html PyKEEN] is an alternative Python API. It is similar and may be more up-to-date than TorchKGE.&lt;br /&gt;
&lt;br /&gt;
==Session 10: KG Refinement (KGs and LLMs)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Enriching KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 8 Completion + Correction in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Session 11: KGs in Practice==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Open KGs&lt;br /&gt;
* Enterprise KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Important knowledge graphs:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/)&lt;br /&gt;
** DBpedia (https://www.dbpedia.org, https://dbpedia.org/page/Bergen)&lt;br /&gt;
** GeoNames (https://www.geonames.org/)&lt;br /&gt;
** BabelNet (https://babelnet.org/)&lt;br /&gt;
** Linked Open Data (LOD) (http://lod-cloud.net)&lt;br /&gt;
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture: KG Quality==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG completion and correction&lt;br /&gt;
* Best practices&lt;br /&gt;
* Access protocols and usage control&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 8 Completion + Correction and 9 Best Practices + Access Protocols + Usage Control in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==Lecture 2: Representing KGs (RDF)==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Resource Description Framework (RDF)&lt;br /&gt;
* Programming RDF in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-primer/ W3C&#039;s RDF 1.1 Primer] until and including 5.1.2 Turtle (but not the rest for now)&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.0.0 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* [[:File:S02-RDF.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib 7.0.0 packages] (reference for the labs)&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools]&lt;br /&gt;
* Pages 25-28, 92-100, 125-128, and 164-167 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture 4: Linked Open Data (LOD)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Linked Open Data(LOD)&lt;br /&gt;
* The LOD cloud&lt;br /&gt;
* Data provisioning&lt;br /&gt;
&lt;br /&gt;
Mandatory readings &#039;&#039;(both lecture 4 and 5)&#039;&#039;:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27.&lt;br /&gt;
* [[:File:S04-LOD.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* [https://www.ontotext.com/knowledgehub/fundamentals/linked-data-linked-open-data/ What Are Linked Data and Linked Open Data?]&lt;br /&gt;
* [[:File:BizerHeathBernersLee-LinkedData2009-TheStorySoFar.pdf | Bizer, C., Heath, T., &amp;amp; Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 5: Open Knowledge Graphs I==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** Wikidata&lt;br /&gt;
** DBpedia&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/):&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:Introduction Introduction to Wikidata]&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help SPARQL query service/A gentle introduction to the Wikidata Query Service]&lt;br /&gt;
*** example: [https://www.wikidata.org/wiki/Q26793]&lt;br /&gt;
** DBpedia (https://www.dbpedia.org):&lt;br /&gt;
*** [http://wiki.dbpedia.org/about About Dbpedia]&lt;br /&gt;
*** example: [https://dbpedia.org/resource/Bergen]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 6: Open Knowledge Graphs II==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** DBpedia &#039;&#039;(continued)&#039;&#039;&lt;br /&gt;
** GeoNames&lt;br /&gt;
** the GDELT project&lt;br /&gt;
** WordNet&lt;br /&gt;
** BabelNet&lt;br /&gt;
** ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** GeoNames (https://www.geonames.org/):&lt;br /&gt;
*** [http://www.geonames.org/about.html About GeoNames]&lt;br /&gt;
*** example: [https://www.geonames.org/3161732/bergen.html]&lt;br /&gt;
** GDELT (https://www.gdeltproject.org/)&lt;br /&gt;
*** [https://www.gdeltproject.org/ The GDELT Project] - see also the About and Data pages&lt;br /&gt;
** WordNet (https://wordnet.princeton.edu/)&lt;br /&gt;
*** [https://wordnet.princeton.edu/ WordNet - A lexical database for English]&lt;br /&gt;
** BabelNet (https://babelnet.org/):&lt;br /&gt;
*** [http://live.babelnet.org/about About BabelNet]&lt;br /&gt;
*** [https://babelnet.org/how-to-use How to use]&lt;br /&gt;
*** example: [https://babelnet.org/synset?id=bn%3A00010008n&amp;amp;orig=Bergen&amp;amp;lang=EN]&lt;br /&gt;
** ConceptNet (http://conceptnet.io)&lt;br /&gt;
*** [http://conceptnet.io ConceptNet - An open, multilingual knowledge graph]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* Wikidata statistics&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000167/wikidata-datamodel?orgId=1&amp;amp;refresh=30m Entity statistics]&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000175/wikidata-datamodel-statements?orgId=1&amp;amp;refresh=30m Statement statistics]&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* GDELT documentation&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Event_Codebook-V2.0.pdf Event Codebook (and covers mentions)]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook]&lt;br /&gt;
* Parts 1 and 3 in Blumauer &amp;amp; Nagy&#039;s text book (not tightly related to the lecture, but time to finish them by now :-))&lt;br /&gt;
&lt;br /&gt;
==Lecture 7: Enterprise Knowledge Graphs==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Enterprise Knowledge Graphs (EKGs)&lt;br /&gt;
* Google’s Knowledge Graph&lt;br /&gt;
* Amazon’s Product Graph&lt;br /&gt;
* JSON-LD (video presentation)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://www.blog.google/products/search/introducing-knowledge-graph-things-not/ Introducing the Knowledge Graph: Things not Strings], Amit Singhal, Google (2012). &#039;&#039;(The blog post that introduced Google&#039;s knowledge graph to the world.)&#039;&#039;&lt;br /&gt;
* [https://blog.google/products/search/about-knowledge-graph-and-knowledge-panels/ A reintroduction to our Knowledge Graph and knowledge panels], Danny Sullivan, Google (2020).&lt;br /&gt;
* [https://www.aboutamazon.com/news/innovation-at-amazon/making-search-easier How Amazon’s Product Graph is helping customers find products more easily], Arun Krishnan, Amazon (2018). &#039;&#039;(Short blog post that reviews some central ideas from the AutoKnow research paper listed below.)&#039;&#039;&lt;br /&gt;
* [https://www.amazon.science/blog/building-product-graphs-automatically Building product graphs automatically], Xin Luna Dong, Amazon (2020).&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
* [[:File:S07-EnterpriseKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Parts 2 and 4 in Blumauer &amp;amp; Nagy&#039;s text book (&#039;&#039;strongly suggested - this is where Blumauer &amp;amp; Nagy&#039;s book is good!&#039;&#039;)&lt;br /&gt;
* [[:File:Bosch-LIS.pdf | LIS: A knowledge graph-based line information system]] by Grangel-González, I., Rickart, M., Rudolph, O., &amp;amp; Shah, F. (2023, May). In Proceedings of the European Semantic Web Conference (pp. 591-608). Cham: Springer Nature Switzerland.&lt;br /&gt;
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]] by Dong, X. L., He, X., Kan, A., Li, X., Liang, Y., Ma, J., ... &amp;amp; Han, J. (2020, August). In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery &amp;amp; Data Mining (pp. 2724-2734). &#039;&#039;Research paper from Amazon about AutoKnow - this is a bit heavy for Bachelor level, but you can have a look :-)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Lecture 8: Rules (SHACL and RDFS)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SHACL and RDFS&lt;br /&gt;
* Axioms, rules and entailment&lt;br /&gt;
* Programming SHACL and RDFS in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 7-8 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://book.validatingrdf.com/bookHtml011.html Chapter 5 &#039;&#039;SHACL&#039;&#039;] in [https://book.validatingrdf.com/index.html Validating RDF] (available online)&lt;br /&gt;
** Sections 5.1, 5.3-5.5, and 5.6,1-5.6.3&lt;br /&gt;
* [http://www.w3.org/TR/rdf-schema/ W3C&#039;s RDF Schema 1.1], focus on sections 1-3 and 6&lt;br /&gt;
* [[:File:S07-SHACL-RDFS.pdf | Slides from the lecture]] &lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
* [https://docs.google.com/presentation/d/1weO9SzssxgYp3g_44X1LZsVtL0i6FurQ3KbIKZ8iriQ/ Lab presentation containing a short overview of SHACL and pySHACL]&lt;br /&gt;
* [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
* [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture&#039;&#039;)&lt;br /&gt;
* [https://github.com/blazegraph/database/wiki/InferenceAndTruthMaintenance Inference and Thruth Maintenance in Blazegraph]&lt;br /&gt;
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
* [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&lt;br /&gt;
&lt;br /&gt;
==Lecture 9: Ontologies (OWL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Basic OWL concepts&lt;br /&gt;
* Axioms, rules and entailments&lt;br /&gt;
* Programming basic OWL in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 9-10, 12-13 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6 and 9-10&lt;br /&gt;
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [https://protegeproject.github.io/protege/getting-started/ Protégé-OWL Getting Started]&lt;br /&gt;
* [[:File:S09-OWL.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials (cursory):&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-quick-reference/ OWL 2 Quick Reference Guide]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-rdf-based-semantics/ OWL2 RDF-Based Semantics]&lt;br /&gt;
* The OWL-RL materials (from Lecture 5)&lt;br /&gt;
* [http://vowl.visualdataweb.org/v2 VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [http://vowl.visualdataweb.org/webvowl/index.html#sioc WebVOWL]&lt;br /&gt;
* [[:File:LohmannEtAl2016-VisualizingOntologiesWithVOWL.pdf | Lohmann et al. (2019): Visualizing Ontologies with VOWL. &#039;&#039;Semantic Web Journal.&#039;&#039;]]&lt;br /&gt;
* Pages 106-109 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
&lt;br /&gt;
==Lecture 10: Vocabularies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* LOD vocabularies and ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 10-11 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)]&lt;br /&gt;
* Important vocabularies / ontologies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://motools.sourceforge.net/event/event.html Event Ontology (event)]&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [https://www.w3.org/2003/01/geo/ geo: World Geodetic Standard (WGS) 84]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://rdfs.org/sioc/spec/ Semantic Interlinked Online Communities (SIOC)]&lt;br /&gt;
** [http://schema.org/docs/full.html schema.org - Full Hierarchy]&lt;br /&gt;
** [http://wikidata.dbpedia.org/services-resources/ontology DBpedia Ontology]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
** [http://creativecommons.org/ns Creative Commons (CC) Vocabulary]&lt;br /&gt;
** &#039;&#039;What we expect you to know about each vocabulary is this:&#039;&#039; &lt;br /&gt;
*** Its purpose and where and how it can be used.&lt;br /&gt;
*** Its most central 3-6 classes and properties be able to explain its basic structure. &lt;br /&gt;
*** 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. &lt;br /&gt;
* [[:File:S10-Vocabularies.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Lecture 11: KG embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG embeddings&lt;br /&gt;
* Link prediction&lt;br /&gt;
* TorchKGE&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:S11-GraphEmbeddings.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
==Lecture 12: KGs and Large Language Models==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
&lt;br /&gt;
* What are Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
&lt;br /&gt;
* [[:file:S12-KGsAndLLMs.pdf | Slides from the lecture]]&lt;br /&gt;
* No mandatory readings beyond the slides&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
&lt;br /&gt;
* Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., &amp;amp; Wu, X. (2024). [[:file:PanEtAl2023-LLMs_KGs_Opportunities_Challenges.pdf | &#039;&#039;Unifying large language models and knowledge graphs: A roadmap.&#039;&#039;]]  IEEE Transactions on Knowledge and Data Engineering.&lt;br /&gt;
* Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... &amp;amp;  Polosukhin, I. (2017). [[:file:NIPS-2017-attention-is-all-you-need-Paper.pdf | &#039;&#039;Attention is all you need.&#039;&#039;]]  Advances in neural information processing systems, 30.&amp;lt;br /&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2024, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2695</id>
		<title>Readings</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2695"/>
		<updated>2025-03-29T12:18:37Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: /* Session 10: KG Embeddings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Textbooks=&lt;br /&gt;
&lt;br /&gt;
Main course book (&#039;&#039;the whole book is mandatory reading&#039;&#039;):&lt;br /&gt;
* Hogan, A. et al. (2021). &#039;&#039;&#039;Knowledge Graphs.&#039;&#039;&#039; Springer. &#039;&#039;Synthesis Lectures on Data, Semantics, and Knowledge&#039;&#039; 22, 1–237, DOI: 10.2200/S01125ED1V01Y202109DSK022, Springer. https://kgbook.org/&lt;br /&gt;
&lt;br /&gt;
Supplementary books (&#039;&#039;not&#039;&#039; mandatory):&lt;br /&gt;
* Dean Allemang, James Hendler &amp;amp; Fabien Gandon (2020). &#039;&#039;&#039;Semantic Web for the Working Ontologist, Effective Modeling for Linked Data, RDFS and OWL (Third Edition).&#039;&#039;&#039; ISBN: 9781450376143, PDF ISBN: 9781450376150, Hardcover ISBN: 9781450376174, DOI: 10.1145/3382097.&lt;br /&gt;
* Andreas Blumauer and Helmut Nagy (2020). &#039;&#039;&#039;The Knowledge Graph Cookbook - Recipes that Work.&#039;&#039;&#039; mono/monochrom. ISBN-10: ‎3902796707, ISBN-13: 978-3902796707.&lt;br /&gt;
&lt;br /&gt;
=Other materials=&lt;br /&gt;
&lt;br /&gt;
In addition, &#039;&#039;&#039;the materials listed below for each lecture are either mandatory or suggested reading&#039;&#039;&#039;. More materials will be added to each lecture in the coming weeks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The labs, lectures and lectures notes are also part of the curriculum.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039; to download some of the papers, you may need to be inside UiB&#039;s network. Either use a computer directly on the UiB network or connect to your UiB account through VPN.&lt;br /&gt;
&lt;br /&gt;
=Lectures (in progress)=&lt;br /&gt;
&lt;br /&gt;
Below are the mandatory and suggested readings for each lecture. All the textbook chapters in Hogan et al. (&amp;quot;Knowledge Graphs&amp;quot;) are mandatory, whereas the chapters in Allemang, Hendler &amp;amp; Gandon (&amp;quot;Semantic Web&amp;quot;) are suggested.&lt;br /&gt;
&lt;br /&gt;
==Session 1: Introduction to KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Introduction to Knowledge Graphs&lt;br /&gt;
* Organisation of the course&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 1 Introduction, section 2.1 Models, and Appendix A Background in Hogan et al.&lt;br /&gt;
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web]&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.1.3 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapters 1-3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Wikidata (https://www.wikidata.org/)&lt;br /&gt;
&lt;br /&gt;
==Session 2: Querying and updating KGs (SPARQL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SPARQL queries&lt;br /&gt;
* SPARQL Update&lt;br /&gt;
* Programming SPARQL and SPARQL Update in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 2.2 Queries in Hogan et al.&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.8/sparql.html The SPARQL query language — GraphDB 10.8 documentation]&lt;br /&gt;
* [https://rdflib.readthedocs.io/ rdflib 7.1.3] materials: [https://rdflib.readthedocs.io/en/stable/intro_to_sparql.html Querying with SPARQL]&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapter 6 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-query/ SPARQL 1.1 Query Language]&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language]&lt;br /&gt;
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]]&lt;br /&gt;
* [https://en.wikibooks.org/wiki/SPARQL/Expressions_and_Functions SPARQL Expressions and Functions]&lt;br /&gt;
&lt;br /&gt;
==Session 3: Creating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Extracting KGs from text&lt;br /&gt;
* Extracting from marked-up sources&lt;br /&gt;
* Extracting from SQL databases and JSON&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 6 Creation and Enrichment, sections 6.1-6.4, in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.0/virtualization.html Virtualization, GraphDB 10.0 documentation]&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
&lt;br /&gt;
==Session 4: Validating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Validating KG schemas (SHACL)&lt;br /&gt;
* Semantic KG schemas/vocabularies (RDFS)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 3.1 Schema in Hogan et al.&lt;br /&gt;
* Sections 5.1, 5.3, 5.5, 5.6.1, and 5.6.3 in [https://book.validatingrdf.com/bookHtml011.html Gayo, J.E. et al. Validating RDF]. &lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* SHACL&lt;br /&gt;
** Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
** [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
** [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* RDFS&lt;br /&gt;
** [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important, and we will go through the most important ones in the lecture&#039;&#039;)&lt;br /&gt;
** [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
** [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need)&lt;br /&gt;
&lt;br /&gt;
==Session 5: Advanced KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about RDF, e.g.,&lt;br /&gt;
** identity&lt;br /&gt;
** blank nodes&lt;br /&gt;
** reification&lt;br /&gt;
** higher-arity graphs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 3.2 Identity and 3.3 Context in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
&lt;br /&gt;
==Session 6: Ontologies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More powerful vocabularies/ontologies (OWL)&lt;br /&gt;
* Creating ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 4.1 Ontologies and 6.3 Schema/ontology creation in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ OWL 2 Primer, sections 2-6 (advanced: 9-10)] (show: Turtle)&lt;br /&gt;
* [https://service.tib.eu/webvowl/ WebVOWL] interactive OWL visualisation tool&lt;br /&gt;
* Selected vocabularies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
* Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
==Session 7: Reasoning==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about semantic KG schemas (RDFS)&lt;br /&gt;
* Description logic&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 4.2 Rules + DL in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important&#039;&#039;)&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview/ W3C OWL 2 Overview]&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ W3C OWL 2 Primer]&lt;br /&gt;
* [https://www.w3.org/TR/2012/REC-owl2-quick-reference-20121211/ W3C OWL 2 Quick Reference Guide (2nd Edition)]&lt;br /&gt;
&lt;br /&gt;
==Session 8: KG Analytics==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph analytics&lt;br /&gt;
** graph metrics&lt;br /&gt;
** directed vector-labelled graphs&lt;br /&gt;
** analysis frameworks and techniques&lt;br /&gt;
* Symbolic learning&lt;br /&gt;
** rule, axiom, and hypothesis mining&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.1 Graph Analytics and 5.4 Symbolic Learning in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://networkx.org/ NetworkX - Network analysis in Python]&lt;br /&gt;
&lt;br /&gt;
==Session 9: KGs in Practice (Guest Lecture)==&lt;br /&gt;
Guest lecture by Sindre Asplem, [https://www.capgemini.com/no-no/ Capgemini].&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
==Session 10: KG Embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Semantic embedding spaces&lt;br /&gt;
* KG embedding techniques&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.2 Knowledge Graph Embeddings and 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
** &#039;&#039;In Section 5.2.1, we focus on the Translational Models. The other models are cursory reading.&#039;&#039;&lt;br /&gt;
* Towards DataScience introduction: [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Towards DataScience introductions:&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://pykeen.readthedocs.io/en/stable/index.html PyKEEN] or [https://torchkge.readthedocs.io/en/latest/index.html TorchKGE] Python APIs&lt;br /&gt;
&lt;br /&gt;
==Session 10: KG Refinement (KGs and LLMs)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Enriching KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 8 Completion + Correction in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Session 11: KGs in Practice==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Open KGs&lt;br /&gt;
* Enterprise KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Important knowledge graphs:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/)&lt;br /&gt;
** DBpedia (https://www.dbpedia.org, https://dbpedia.org/page/Bergen)&lt;br /&gt;
** GeoNames (https://www.geonames.org/)&lt;br /&gt;
** BabelNet (https://babelnet.org/)&lt;br /&gt;
** Linked Open Data (LOD) (http://lod-cloud.net)&lt;br /&gt;
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture: KG Quality==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG completion and correction&lt;br /&gt;
* Best practices&lt;br /&gt;
* Access protocols and usage control&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 8 Completion + Correction and 9 Best Practices + Access Protocols + Usage Control in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==Lecture 2: Representing KGs (RDF)==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Resource Description Framework (RDF)&lt;br /&gt;
* Programming RDF in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-primer/ W3C&#039;s RDF 1.1 Primer] until and including 5.1.2 Turtle (but not the rest for now)&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.0.0 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* [[:File:S02-RDF.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib 7.0.0 packages] (reference for the labs)&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools]&lt;br /&gt;
* Pages 25-28, 92-100, 125-128, and 164-167 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture 4: Linked Open Data (LOD)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Linked Open Data(LOD)&lt;br /&gt;
* The LOD cloud&lt;br /&gt;
* Data provisioning&lt;br /&gt;
&lt;br /&gt;
Mandatory readings &#039;&#039;(both lecture 4 and 5)&#039;&#039;:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27.&lt;br /&gt;
* [[:File:S04-LOD.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* [https://www.ontotext.com/knowledgehub/fundamentals/linked-data-linked-open-data/ What Are Linked Data and Linked Open Data?]&lt;br /&gt;
* [[:File:BizerHeathBernersLee-LinkedData2009-TheStorySoFar.pdf | Bizer, C., Heath, T., &amp;amp; Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 5: Open Knowledge Graphs I==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** Wikidata&lt;br /&gt;
** DBpedia&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/):&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:Introduction Introduction to Wikidata]&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help SPARQL query service/A gentle introduction to the Wikidata Query Service]&lt;br /&gt;
*** example: [https://www.wikidata.org/wiki/Q26793]&lt;br /&gt;
** DBpedia (https://www.dbpedia.org):&lt;br /&gt;
*** [http://wiki.dbpedia.org/about About Dbpedia]&lt;br /&gt;
*** example: [https://dbpedia.org/resource/Bergen]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 6: Open Knowledge Graphs II==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** DBpedia &#039;&#039;(continued)&#039;&#039;&lt;br /&gt;
** GeoNames&lt;br /&gt;
** the GDELT project&lt;br /&gt;
** WordNet&lt;br /&gt;
** BabelNet&lt;br /&gt;
** ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** GeoNames (https://www.geonames.org/):&lt;br /&gt;
*** [http://www.geonames.org/about.html About GeoNames]&lt;br /&gt;
*** example: [https://www.geonames.org/3161732/bergen.html]&lt;br /&gt;
** GDELT (https://www.gdeltproject.org/)&lt;br /&gt;
*** [https://www.gdeltproject.org/ The GDELT Project] - see also the About and Data pages&lt;br /&gt;
** WordNet (https://wordnet.princeton.edu/)&lt;br /&gt;
*** [https://wordnet.princeton.edu/ WordNet - A lexical database for English]&lt;br /&gt;
** BabelNet (https://babelnet.org/):&lt;br /&gt;
*** [http://live.babelnet.org/about About BabelNet]&lt;br /&gt;
*** [https://babelnet.org/how-to-use How to use]&lt;br /&gt;
*** example: [https://babelnet.org/synset?id=bn%3A00010008n&amp;amp;orig=Bergen&amp;amp;lang=EN]&lt;br /&gt;
** ConceptNet (http://conceptnet.io)&lt;br /&gt;
*** [http://conceptnet.io ConceptNet - An open, multilingual knowledge graph]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* Wikidata statistics&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000167/wikidata-datamodel?orgId=1&amp;amp;refresh=30m Entity statistics]&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000175/wikidata-datamodel-statements?orgId=1&amp;amp;refresh=30m Statement statistics]&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* GDELT documentation&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Event_Codebook-V2.0.pdf Event Codebook (and covers mentions)]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook]&lt;br /&gt;
* Parts 1 and 3 in Blumauer &amp;amp; Nagy&#039;s text book (not tightly related to the lecture, but time to finish them by now :-))&lt;br /&gt;
&lt;br /&gt;
==Lecture 7: Enterprise Knowledge Graphs==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Enterprise Knowledge Graphs (EKGs)&lt;br /&gt;
* Google’s Knowledge Graph&lt;br /&gt;
* Amazon’s Product Graph&lt;br /&gt;
* JSON-LD (video presentation)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://www.blog.google/products/search/introducing-knowledge-graph-things-not/ Introducing the Knowledge Graph: Things not Strings], Amit Singhal, Google (2012). &#039;&#039;(The blog post that introduced Google&#039;s knowledge graph to the world.)&#039;&#039;&lt;br /&gt;
* [https://blog.google/products/search/about-knowledge-graph-and-knowledge-panels/ A reintroduction to our Knowledge Graph and knowledge panels], Danny Sullivan, Google (2020).&lt;br /&gt;
* [https://www.aboutamazon.com/news/innovation-at-amazon/making-search-easier How Amazon’s Product Graph is helping customers find products more easily], Arun Krishnan, Amazon (2018). &#039;&#039;(Short blog post that reviews some central ideas from the AutoKnow research paper listed below.)&#039;&#039;&lt;br /&gt;
* [https://www.amazon.science/blog/building-product-graphs-automatically Building product graphs automatically], Xin Luna Dong, Amazon (2020).&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
* [[:File:S07-EnterpriseKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Parts 2 and 4 in Blumauer &amp;amp; Nagy&#039;s text book (&#039;&#039;strongly suggested - this is where Blumauer &amp;amp; Nagy&#039;s book is good!&#039;&#039;)&lt;br /&gt;
* [[:File:Bosch-LIS.pdf | LIS: A knowledge graph-based line information system]] by Grangel-González, I., Rickart, M., Rudolph, O., &amp;amp; Shah, F. (2023, May). In Proceedings of the European Semantic Web Conference (pp. 591-608). Cham: Springer Nature Switzerland.&lt;br /&gt;
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]] by Dong, X. L., He, X., Kan, A., Li, X., Liang, Y., Ma, J., ... &amp;amp; Han, J. (2020, August). In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery &amp;amp; Data Mining (pp. 2724-2734). &#039;&#039;Research paper from Amazon about AutoKnow - this is a bit heavy for Bachelor level, but you can have a look :-)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Lecture 8: Rules (SHACL and RDFS)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SHACL and RDFS&lt;br /&gt;
* Axioms, rules and entailment&lt;br /&gt;
* Programming SHACL and RDFS in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 7-8 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://book.validatingrdf.com/bookHtml011.html Chapter 5 &#039;&#039;SHACL&#039;&#039;] in [https://book.validatingrdf.com/index.html Validating RDF] (available online)&lt;br /&gt;
** Sections 5.1, 5.3-5.5, and 5.6,1-5.6.3&lt;br /&gt;
* [http://www.w3.org/TR/rdf-schema/ W3C&#039;s RDF Schema 1.1], focus on sections 1-3 and 6&lt;br /&gt;
* [[:File:S07-SHACL-RDFS.pdf | Slides from the lecture]] &lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
* [https://docs.google.com/presentation/d/1weO9SzssxgYp3g_44X1LZsVtL0i6FurQ3KbIKZ8iriQ/ Lab presentation containing a short overview of SHACL and pySHACL]&lt;br /&gt;
* [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
* [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture&#039;&#039;)&lt;br /&gt;
* [https://github.com/blazegraph/database/wiki/InferenceAndTruthMaintenance Inference and Thruth Maintenance in Blazegraph]&lt;br /&gt;
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
* [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&lt;br /&gt;
&lt;br /&gt;
==Lecture 9: Ontologies (OWL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Basic OWL concepts&lt;br /&gt;
* Axioms, rules and entailments&lt;br /&gt;
* Programming basic OWL in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 9-10, 12-13 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6 and 9-10&lt;br /&gt;
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [https://protegeproject.github.io/protege/getting-started/ Protégé-OWL Getting Started]&lt;br /&gt;
* [[:File:S09-OWL.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials (cursory):&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-quick-reference/ OWL 2 Quick Reference Guide]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-rdf-based-semantics/ OWL2 RDF-Based Semantics]&lt;br /&gt;
* The OWL-RL materials (from Lecture 5)&lt;br /&gt;
* [http://vowl.visualdataweb.org/v2 VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [http://vowl.visualdataweb.org/webvowl/index.html#sioc WebVOWL]&lt;br /&gt;
* [[:File:LohmannEtAl2016-VisualizingOntologiesWithVOWL.pdf | Lohmann et al. (2019): Visualizing Ontologies with VOWL. &#039;&#039;Semantic Web Journal.&#039;&#039;]]&lt;br /&gt;
* Pages 106-109 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
&lt;br /&gt;
==Lecture 10: Vocabularies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* LOD vocabularies and ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 10-11 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)]&lt;br /&gt;
* Important vocabularies / ontologies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://motools.sourceforge.net/event/event.html Event Ontology (event)]&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [https://www.w3.org/2003/01/geo/ geo: World Geodetic Standard (WGS) 84]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://rdfs.org/sioc/spec/ Semantic Interlinked Online Communities (SIOC)]&lt;br /&gt;
** [http://schema.org/docs/full.html schema.org - Full Hierarchy]&lt;br /&gt;
** [http://wikidata.dbpedia.org/services-resources/ontology DBpedia Ontology]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
** [http://creativecommons.org/ns Creative Commons (CC) Vocabulary]&lt;br /&gt;
** &#039;&#039;What we expect you to know about each vocabulary is this:&#039;&#039; &lt;br /&gt;
*** Its purpose and where and how it can be used.&lt;br /&gt;
*** Its most central 3-6 classes and properties be able to explain its basic structure. &lt;br /&gt;
*** 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. &lt;br /&gt;
* [[:File:S10-Vocabularies.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Lecture 11: KG embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG embeddings&lt;br /&gt;
* Link prediction&lt;br /&gt;
* TorchKGE&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:S11-GraphEmbeddings.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
==Lecture 12: KGs and Large Language Models==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
&lt;br /&gt;
* What are Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
&lt;br /&gt;
* [[:file:S12-KGsAndLLMs.pdf | Slides from the lecture]]&lt;br /&gt;
* No mandatory readings beyond the slides&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
&lt;br /&gt;
* Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., &amp;amp; Wu, X. (2024). [[:file:PanEtAl2023-LLMs_KGs_Opportunities_Challenges.pdf | &#039;&#039;Unifying large language models and knowledge graphs: A roadmap.&#039;&#039;]]  IEEE Transactions on Knowledge and Data Engineering.&lt;br /&gt;
* Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... &amp;amp;  Polosukhin, I. (2017). [[:file:NIPS-2017-attention-is-all-you-need-Paper.pdf | &#039;&#039;Attention is all you need.&#039;&#039;]]  Advances in neural information processing systems, 30.&amp;lt;br /&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2024, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2694</id>
		<title>Readings</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2694"/>
		<updated>2025-03-27T13:35:33Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: /* Guest Lecture: KGs in Practice */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Textbooks=&lt;br /&gt;
&lt;br /&gt;
Main course book (&#039;&#039;the whole book is mandatory reading&#039;&#039;):&lt;br /&gt;
* Hogan, A. et al. (2021). &#039;&#039;&#039;Knowledge Graphs.&#039;&#039;&#039; Springer. &#039;&#039;Synthesis Lectures on Data, Semantics, and Knowledge&#039;&#039; 22, 1–237, DOI: 10.2200/S01125ED1V01Y202109DSK022, Springer. https://kgbook.org/&lt;br /&gt;
&lt;br /&gt;
Supplementary books (&#039;&#039;not&#039;&#039; mandatory):&lt;br /&gt;
* Dean Allemang, James Hendler &amp;amp; Fabien Gandon (2020). &#039;&#039;&#039;Semantic Web for the Working Ontologist, Effective Modeling for Linked Data, RDFS and OWL (Third Edition).&#039;&#039;&#039; ISBN: 9781450376143, PDF ISBN: 9781450376150, Hardcover ISBN: 9781450376174, DOI: 10.1145/3382097.&lt;br /&gt;
* Andreas Blumauer and Helmut Nagy (2020). &#039;&#039;&#039;The Knowledge Graph Cookbook - Recipes that Work.&#039;&#039;&#039; mono/monochrom. ISBN-10: ‎3902796707, ISBN-13: 978-3902796707.&lt;br /&gt;
&lt;br /&gt;
=Other materials=&lt;br /&gt;
&lt;br /&gt;
In addition, &#039;&#039;&#039;the materials listed below for each lecture are either mandatory or suggested reading&#039;&#039;&#039;. More materials will be added to each lecture in the coming weeks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The labs, lectures and lectures notes are also part of the curriculum.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039; to download some of the papers, you may need to be inside UiB&#039;s network. Either use a computer directly on the UiB network or connect to your UiB account through VPN.&lt;br /&gt;
&lt;br /&gt;
=Lectures (in progress)=&lt;br /&gt;
&lt;br /&gt;
Below are the mandatory and suggested readings for each lecture. All the textbook chapters in Hogan et al. (&amp;quot;Knowledge Graphs&amp;quot;) are mandatory, whereas the chapters in Allemang, Hendler &amp;amp; Gandon (&amp;quot;Semantic Web&amp;quot;) are suggested.&lt;br /&gt;
&lt;br /&gt;
==Session 1: Introduction to KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Introduction to Knowledge Graphs&lt;br /&gt;
* Organisation of the course&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 1 Introduction, section 2.1 Models, and Appendix A Background in Hogan et al.&lt;br /&gt;
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web]&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.1.3 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapters 1-3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Wikidata (https://www.wikidata.org/)&lt;br /&gt;
&lt;br /&gt;
==Session 2: Querying and updating KGs (SPARQL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SPARQL queries&lt;br /&gt;
* SPARQL Update&lt;br /&gt;
* Programming SPARQL and SPARQL Update in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 2.2 Queries in Hogan et al.&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.8/sparql.html The SPARQL query language — GraphDB 10.8 documentation]&lt;br /&gt;
* [https://rdflib.readthedocs.io/ rdflib 7.1.3] materials: [https://rdflib.readthedocs.io/en/stable/intro_to_sparql.html Querying with SPARQL]&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapter 6 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-query/ SPARQL 1.1 Query Language]&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language]&lt;br /&gt;
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]]&lt;br /&gt;
* [https://en.wikibooks.org/wiki/SPARQL/Expressions_and_Functions SPARQL Expressions and Functions]&lt;br /&gt;
&lt;br /&gt;
==Session 3: Creating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Extracting KGs from text&lt;br /&gt;
* Extracting from marked-up sources&lt;br /&gt;
* Extracting from SQL databases and JSON&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 6 Creation and Enrichment, sections 6.1-6.4, in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.0/virtualization.html Virtualization, GraphDB 10.0 documentation]&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
&lt;br /&gt;
==Session 4: Validating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Validating KG schemas (SHACL)&lt;br /&gt;
* Semantic KG schemas/vocabularies (RDFS)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 3.1 Schema in Hogan et al.&lt;br /&gt;
* Sections 5.1, 5.3, 5.5, 5.6.1, and 5.6.3 in [https://book.validatingrdf.com/bookHtml011.html Gayo, J.E. et al. Validating RDF]. &lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* SHACL&lt;br /&gt;
** Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
** [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
** [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* RDFS&lt;br /&gt;
** [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important, and we will go through the most important ones in the lecture&#039;&#039;)&lt;br /&gt;
** [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
** [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need)&lt;br /&gt;
&lt;br /&gt;
==Session 5: Advanced KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about RDF, e.g.,&lt;br /&gt;
** identity&lt;br /&gt;
** blank nodes&lt;br /&gt;
** reification&lt;br /&gt;
** higher-arity graphs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 3.2 Identity and 3.3 Context in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
&lt;br /&gt;
==Session 6: Ontologies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More powerful vocabularies/ontologies (OWL)&lt;br /&gt;
* Creating ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 4.1 Ontologies and 6.3 Schema/ontology creation in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ OWL 2 Primer, sections 2-6 (advanced: 9-10)] (show: Turtle)&lt;br /&gt;
* [https://service.tib.eu/webvowl/ WebVOWL] interactive OWL visualisation tool&lt;br /&gt;
* Selected vocabularies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
* Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
==Session 7: Reasoning==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about semantic KG schemas (RDFS)&lt;br /&gt;
* Description logic&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 4.2 Rules + DL in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important&#039;&#039;)&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview/ W3C OWL 2 Overview]&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ W3C OWL 2 Primer]&lt;br /&gt;
* [https://www.w3.org/TR/2012/REC-owl2-quick-reference-20121211/ W3C OWL 2 Quick Reference Guide (2nd Edition)]&lt;br /&gt;
&lt;br /&gt;
==Session 8: KG Analytics==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph analytics&lt;br /&gt;
** graph metrics&lt;br /&gt;
** directed vector-labelled graphs&lt;br /&gt;
** analysis frameworks and techniques&lt;br /&gt;
* Symbolic learning&lt;br /&gt;
** rule, axiom, and hypothesis mining&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.1 Graph Analytics and 5.4 Symbolic Learning in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://networkx.org/ NetworkX - Network analysis in Python]&lt;br /&gt;
&lt;br /&gt;
==Session 9: KGs in Practice (Guest Lecture)==&lt;br /&gt;
Guest lecture by Sindre Asplem, [https://www.capgemini.com/no-no/ Capgemini].&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
==Session 10: KG Embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Semantic embedding spaces&lt;br /&gt;
* KG embedding techniques&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.2 Knowledge Graph Embeddings and 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
* Towards DataScience introduction: [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Towards DataScience introductions:&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://pykeen.readthedocs.io/en/stable/index.html PyKEEN] or [https://torchkge.readthedocs.io/en/latest/index.html TorchKGE] Python APIs&lt;br /&gt;
&lt;br /&gt;
==Session 10: KG Refinement (KGs and LLMs)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Enriching KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 8 Completion + Correction in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Session 11: KGs in Practice==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Open KGs&lt;br /&gt;
* Enterprise KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Important knowledge graphs:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/)&lt;br /&gt;
** DBpedia (https://www.dbpedia.org, https://dbpedia.org/page/Bergen)&lt;br /&gt;
** GeoNames (https://www.geonames.org/)&lt;br /&gt;
** BabelNet (https://babelnet.org/)&lt;br /&gt;
** Linked Open Data (LOD) (http://lod-cloud.net)&lt;br /&gt;
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture: KG Quality==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG completion and correction&lt;br /&gt;
* Best practices&lt;br /&gt;
* Access protocols and usage control&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 8 Completion + Correction and 9 Best Practices + Access Protocols + Usage Control in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==Lecture 2: Representing KGs (RDF)==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Resource Description Framework (RDF)&lt;br /&gt;
* Programming RDF in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-primer/ W3C&#039;s RDF 1.1 Primer] until and including 5.1.2 Turtle (but not the rest for now)&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.0.0 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* [[:File:S02-RDF.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib 7.0.0 packages] (reference for the labs)&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools]&lt;br /&gt;
* Pages 25-28, 92-100, 125-128, and 164-167 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture 4: Linked Open Data (LOD)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Linked Open Data(LOD)&lt;br /&gt;
* The LOD cloud&lt;br /&gt;
* Data provisioning&lt;br /&gt;
&lt;br /&gt;
Mandatory readings &#039;&#039;(both lecture 4 and 5)&#039;&#039;:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27.&lt;br /&gt;
* [[:File:S04-LOD.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* [https://www.ontotext.com/knowledgehub/fundamentals/linked-data-linked-open-data/ What Are Linked Data and Linked Open Data?]&lt;br /&gt;
* [[:File:BizerHeathBernersLee-LinkedData2009-TheStorySoFar.pdf | Bizer, C., Heath, T., &amp;amp; Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 5: Open Knowledge Graphs I==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** Wikidata&lt;br /&gt;
** DBpedia&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/):&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:Introduction Introduction to Wikidata]&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help SPARQL query service/A gentle introduction to the Wikidata Query Service]&lt;br /&gt;
*** example: [https://www.wikidata.org/wiki/Q26793]&lt;br /&gt;
** DBpedia (https://www.dbpedia.org):&lt;br /&gt;
*** [http://wiki.dbpedia.org/about About Dbpedia]&lt;br /&gt;
*** example: [https://dbpedia.org/resource/Bergen]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 6: Open Knowledge Graphs II==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** DBpedia &#039;&#039;(continued)&#039;&#039;&lt;br /&gt;
** GeoNames&lt;br /&gt;
** the GDELT project&lt;br /&gt;
** WordNet&lt;br /&gt;
** BabelNet&lt;br /&gt;
** ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** GeoNames (https://www.geonames.org/):&lt;br /&gt;
*** [http://www.geonames.org/about.html About GeoNames]&lt;br /&gt;
*** example: [https://www.geonames.org/3161732/bergen.html]&lt;br /&gt;
** GDELT (https://www.gdeltproject.org/)&lt;br /&gt;
*** [https://www.gdeltproject.org/ The GDELT Project] - see also the About and Data pages&lt;br /&gt;
** WordNet (https://wordnet.princeton.edu/)&lt;br /&gt;
*** [https://wordnet.princeton.edu/ WordNet - A lexical database for English]&lt;br /&gt;
** BabelNet (https://babelnet.org/):&lt;br /&gt;
*** [http://live.babelnet.org/about About BabelNet]&lt;br /&gt;
*** [https://babelnet.org/how-to-use How to use]&lt;br /&gt;
*** example: [https://babelnet.org/synset?id=bn%3A00010008n&amp;amp;orig=Bergen&amp;amp;lang=EN]&lt;br /&gt;
** ConceptNet (http://conceptnet.io)&lt;br /&gt;
*** [http://conceptnet.io ConceptNet - An open, multilingual knowledge graph]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* Wikidata statistics&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000167/wikidata-datamodel?orgId=1&amp;amp;refresh=30m Entity statistics]&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000175/wikidata-datamodel-statements?orgId=1&amp;amp;refresh=30m Statement statistics]&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* GDELT documentation&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Event_Codebook-V2.0.pdf Event Codebook (and covers mentions)]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook]&lt;br /&gt;
* Parts 1 and 3 in Blumauer &amp;amp; Nagy&#039;s text book (not tightly related to the lecture, but time to finish them by now :-))&lt;br /&gt;
&lt;br /&gt;
==Lecture 7: Enterprise Knowledge Graphs==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Enterprise Knowledge Graphs (EKGs)&lt;br /&gt;
* Google’s Knowledge Graph&lt;br /&gt;
* Amazon’s Product Graph&lt;br /&gt;
* JSON-LD (video presentation)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://www.blog.google/products/search/introducing-knowledge-graph-things-not/ Introducing the Knowledge Graph: Things not Strings], Amit Singhal, Google (2012). &#039;&#039;(The blog post that introduced Google&#039;s knowledge graph to the world.)&#039;&#039;&lt;br /&gt;
* [https://blog.google/products/search/about-knowledge-graph-and-knowledge-panels/ A reintroduction to our Knowledge Graph and knowledge panels], Danny Sullivan, Google (2020).&lt;br /&gt;
* [https://www.aboutamazon.com/news/innovation-at-amazon/making-search-easier How Amazon’s Product Graph is helping customers find products more easily], Arun Krishnan, Amazon (2018). &#039;&#039;(Short blog post that reviews some central ideas from the AutoKnow research paper listed below.)&#039;&#039;&lt;br /&gt;
* [https://www.amazon.science/blog/building-product-graphs-automatically Building product graphs automatically], Xin Luna Dong, Amazon (2020).&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
* [[:File:S07-EnterpriseKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Parts 2 and 4 in Blumauer &amp;amp; Nagy&#039;s text book (&#039;&#039;strongly suggested - this is where Blumauer &amp;amp; Nagy&#039;s book is good!&#039;&#039;)&lt;br /&gt;
* [[:File:Bosch-LIS.pdf | LIS: A knowledge graph-based line information system]] by Grangel-González, I., Rickart, M., Rudolph, O., &amp;amp; Shah, F. (2023, May). In Proceedings of the European Semantic Web Conference (pp. 591-608). Cham: Springer Nature Switzerland.&lt;br /&gt;
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]] by Dong, X. L., He, X., Kan, A., Li, X., Liang, Y., Ma, J., ... &amp;amp; Han, J. (2020, August). In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery &amp;amp; Data Mining (pp. 2724-2734). &#039;&#039;Research paper from Amazon about AutoKnow - this is a bit heavy for Bachelor level, but you can have a look :-)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Lecture 8: Rules (SHACL and RDFS)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SHACL and RDFS&lt;br /&gt;
* Axioms, rules and entailment&lt;br /&gt;
* Programming SHACL and RDFS in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 7-8 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://book.validatingrdf.com/bookHtml011.html Chapter 5 &#039;&#039;SHACL&#039;&#039;] in [https://book.validatingrdf.com/index.html Validating RDF] (available online)&lt;br /&gt;
** Sections 5.1, 5.3-5.5, and 5.6,1-5.6.3&lt;br /&gt;
* [http://www.w3.org/TR/rdf-schema/ W3C&#039;s RDF Schema 1.1], focus on sections 1-3 and 6&lt;br /&gt;
* [[:File:S07-SHACL-RDFS.pdf | Slides from the lecture]] &lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
* [https://docs.google.com/presentation/d/1weO9SzssxgYp3g_44X1LZsVtL0i6FurQ3KbIKZ8iriQ/ Lab presentation containing a short overview of SHACL and pySHACL]&lt;br /&gt;
* [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
* [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture&#039;&#039;)&lt;br /&gt;
* [https://github.com/blazegraph/database/wiki/InferenceAndTruthMaintenance Inference and Thruth Maintenance in Blazegraph]&lt;br /&gt;
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
* [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&lt;br /&gt;
&lt;br /&gt;
==Lecture 9: Ontologies (OWL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Basic OWL concepts&lt;br /&gt;
* Axioms, rules and entailments&lt;br /&gt;
* Programming basic OWL in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 9-10, 12-13 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6 and 9-10&lt;br /&gt;
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [https://protegeproject.github.io/protege/getting-started/ Protégé-OWL Getting Started]&lt;br /&gt;
* [[:File:S09-OWL.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials (cursory):&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-quick-reference/ OWL 2 Quick Reference Guide]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-rdf-based-semantics/ OWL2 RDF-Based Semantics]&lt;br /&gt;
* The OWL-RL materials (from Lecture 5)&lt;br /&gt;
* [http://vowl.visualdataweb.org/v2 VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [http://vowl.visualdataweb.org/webvowl/index.html#sioc WebVOWL]&lt;br /&gt;
* [[:File:LohmannEtAl2016-VisualizingOntologiesWithVOWL.pdf | Lohmann et al. (2019): Visualizing Ontologies with VOWL. &#039;&#039;Semantic Web Journal.&#039;&#039;]]&lt;br /&gt;
* Pages 106-109 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
&lt;br /&gt;
==Lecture 10: Vocabularies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* LOD vocabularies and ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 10-11 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)]&lt;br /&gt;
* Important vocabularies / ontologies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://motools.sourceforge.net/event/event.html Event Ontology (event)]&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [https://www.w3.org/2003/01/geo/ geo: World Geodetic Standard (WGS) 84]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://rdfs.org/sioc/spec/ Semantic Interlinked Online Communities (SIOC)]&lt;br /&gt;
** [http://schema.org/docs/full.html schema.org - Full Hierarchy]&lt;br /&gt;
** [http://wikidata.dbpedia.org/services-resources/ontology DBpedia Ontology]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
** [http://creativecommons.org/ns Creative Commons (CC) Vocabulary]&lt;br /&gt;
** &#039;&#039;What we expect you to know about each vocabulary is this:&#039;&#039; &lt;br /&gt;
*** Its purpose and where and how it can be used.&lt;br /&gt;
*** Its most central 3-6 classes and properties be able to explain its basic structure. &lt;br /&gt;
*** 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. &lt;br /&gt;
* [[:File:S10-Vocabularies.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Lecture 11: KG embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG embeddings&lt;br /&gt;
* Link prediction&lt;br /&gt;
* TorchKGE&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:S11-GraphEmbeddings.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
==Lecture 12: KGs and Large Language Models==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
&lt;br /&gt;
* What are Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
&lt;br /&gt;
* [[:file:S12-KGsAndLLMs.pdf | Slides from the lecture]]&lt;br /&gt;
* No mandatory readings beyond the slides&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
&lt;br /&gt;
* Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., &amp;amp; Wu, X. (2024). [[:file:PanEtAl2023-LLMs_KGs_Opportunities_Challenges.pdf | &#039;&#039;Unifying large language models and knowledge graphs: A roadmap.&#039;&#039;]]  IEEE Transactions on Knowledge and Data Engineering.&lt;br /&gt;
* Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... &amp;amp;  Polosukhin, I. (2017). [[:file:NIPS-2017-attention-is-all-you-need-Paper.pdf | &#039;&#039;Attention is all you need.&#039;&#039;]]  Advances in neural information processing systems, 30.&amp;lt;br /&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2024, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2693</id>
		<title>Readings</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2693"/>
		<updated>2025-03-27T13:35:02Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: /* Session 9: KG Embeddings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Textbooks=&lt;br /&gt;
&lt;br /&gt;
Main course book (&#039;&#039;the whole book is mandatory reading&#039;&#039;):&lt;br /&gt;
* Hogan, A. et al. (2021). &#039;&#039;&#039;Knowledge Graphs.&#039;&#039;&#039; Springer. &#039;&#039;Synthesis Lectures on Data, Semantics, and Knowledge&#039;&#039; 22, 1–237, DOI: 10.2200/S01125ED1V01Y202109DSK022, Springer. https://kgbook.org/&lt;br /&gt;
&lt;br /&gt;
Supplementary books (&#039;&#039;not&#039;&#039; mandatory):&lt;br /&gt;
* Dean Allemang, James Hendler &amp;amp; Fabien Gandon (2020). &#039;&#039;&#039;Semantic Web for the Working Ontologist, Effective Modeling for Linked Data, RDFS and OWL (Third Edition).&#039;&#039;&#039; ISBN: 9781450376143, PDF ISBN: 9781450376150, Hardcover ISBN: 9781450376174, DOI: 10.1145/3382097.&lt;br /&gt;
* Andreas Blumauer and Helmut Nagy (2020). &#039;&#039;&#039;The Knowledge Graph Cookbook - Recipes that Work.&#039;&#039;&#039; mono/monochrom. ISBN-10: ‎3902796707, ISBN-13: 978-3902796707.&lt;br /&gt;
&lt;br /&gt;
=Other materials=&lt;br /&gt;
&lt;br /&gt;
In addition, &#039;&#039;&#039;the materials listed below for each lecture are either mandatory or suggested reading&#039;&#039;&#039;. More materials will be added to each lecture in the coming weeks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The labs, lectures and lectures notes are also part of the curriculum.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039; to download some of the papers, you may need to be inside UiB&#039;s network. Either use a computer directly on the UiB network or connect to your UiB account through VPN.&lt;br /&gt;
&lt;br /&gt;
=Lectures (in progress)=&lt;br /&gt;
&lt;br /&gt;
Below are the mandatory and suggested readings for each lecture. All the textbook chapters in Hogan et al. (&amp;quot;Knowledge Graphs&amp;quot;) are mandatory, whereas the chapters in Allemang, Hendler &amp;amp; Gandon (&amp;quot;Semantic Web&amp;quot;) are suggested.&lt;br /&gt;
&lt;br /&gt;
==Session 1: Introduction to KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Introduction to Knowledge Graphs&lt;br /&gt;
* Organisation of the course&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 1 Introduction, section 2.1 Models, and Appendix A Background in Hogan et al.&lt;br /&gt;
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web]&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.1.3 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapters 1-3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Wikidata (https://www.wikidata.org/)&lt;br /&gt;
&lt;br /&gt;
==Session 2: Querying and updating KGs (SPARQL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SPARQL queries&lt;br /&gt;
* SPARQL Update&lt;br /&gt;
* Programming SPARQL and SPARQL Update in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 2.2 Queries in Hogan et al.&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.8/sparql.html The SPARQL query language — GraphDB 10.8 documentation]&lt;br /&gt;
* [https://rdflib.readthedocs.io/ rdflib 7.1.3] materials: [https://rdflib.readthedocs.io/en/stable/intro_to_sparql.html Querying with SPARQL]&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapter 6 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-query/ SPARQL 1.1 Query Language]&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language]&lt;br /&gt;
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]]&lt;br /&gt;
* [https://en.wikibooks.org/wiki/SPARQL/Expressions_and_Functions SPARQL Expressions and Functions]&lt;br /&gt;
&lt;br /&gt;
==Session 3: Creating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Extracting KGs from text&lt;br /&gt;
* Extracting from marked-up sources&lt;br /&gt;
* Extracting from SQL databases and JSON&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 6 Creation and Enrichment, sections 6.1-6.4, in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.0/virtualization.html Virtualization, GraphDB 10.0 documentation]&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
&lt;br /&gt;
==Session 4: Validating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Validating KG schemas (SHACL)&lt;br /&gt;
* Semantic KG schemas/vocabularies (RDFS)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 3.1 Schema in Hogan et al.&lt;br /&gt;
* Sections 5.1, 5.3, 5.5, 5.6.1, and 5.6.3 in [https://book.validatingrdf.com/bookHtml011.html Gayo, J.E. et al. Validating RDF]. &lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* SHACL&lt;br /&gt;
** Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
** [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
** [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* RDFS&lt;br /&gt;
** [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important, and we will go through the most important ones in the lecture&#039;&#039;)&lt;br /&gt;
** [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
** [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need)&lt;br /&gt;
&lt;br /&gt;
==Session 5: Advanced KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about RDF, e.g.,&lt;br /&gt;
** identity&lt;br /&gt;
** blank nodes&lt;br /&gt;
** reification&lt;br /&gt;
** higher-arity graphs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 3.2 Identity and 3.3 Context in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
&lt;br /&gt;
==Session 6: Ontologies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More powerful vocabularies/ontologies (OWL)&lt;br /&gt;
* Creating ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 4.1 Ontologies and 6.3 Schema/ontology creation in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ OWL 2 Primer, sections 2-6 (advanced: 9-10)] (show: Turtle)&lt;br /&gt;
* [https://service.tib.eu/webvowl/ WebVOWL] interactive OWL visualisation tool&lt;br /&gt;
* Selected vocabularies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
* Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
==Session 7: Reasoning==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about semantic KG schemas (RDFS)&lt;br /&gt;
* Description logic&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 4.2 Rules + DL in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important&#039;&#039;)&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview/ W3C OWL 2 Overview]&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ W3C OWL 2 Primer]&lt;br /&gt;
* [https://www.w3.org/TR/2012/REC-owl2-quick-reference-20121211/ W3C OWL 2 Quick Reference Guide (2nd Edition)]&lt;br /&gt;
&lt;br /&gt;
==Session 8: KG Analytics==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph analytics&lt;br /&gt;
** graph metrics&lt;br /&gt;
** directed vector-labelled graphs&lt;br /&gt;
** analysis frameworks and techniques&lt;br /&gt;
* Symbolic learning&lt;br /&gt;
** rule, axiom, and hypothesis mining&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.1 Graph Analytics and 5.4 Symbolic Learning in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://networkx.org/ NetworkX - Network analysis in Python]&lt;br /&gt;
&lt;br /&gt;
==Guest Lecture: KGs in Practice==&lt;br /&gt;
Guest lecture by Sindre Asplem, [https://www.capgemini.com/no-no/ Capgemini].&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
==Session 10: KG Embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Semantic embedding spaces&lt;br /&gt;
* KG embedding techniques&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.2 Knowledge Graph Embeddings and 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
* Towards DataScience introduction: [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Towards DataScience introductions:&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
** [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://pykeen.readthedocs.io/en/stable/index.html PyKEEN] or [https://torchkge.readthedocs.io/en/latest/index.html TorchKGE] Python APIs&lt;br /&gt;
&lt;br /&gt;
==Session 10: KG Refinement (KGs and LLMs)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Enriching KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 8 Completion + Correction in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Session 11: KGs in Practice==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Open KGs&lt;br /&gt;
* Enterprise KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Important knowledge graphs:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/)&lt;br /&gt;
** DBpedia (https://www.dbpedia.org, https://dbpedia.org/page/Bergen)&lt;br /&gt;
** GeoNames (https://www.geonames.org/)&lt;br /&gt;
** BabelNet (https://babelnet.org/)&lt;br /&gt;
** Linked Open Data (LOD) (http://lod-cloud.net)&lt;br /&gt;
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture: KG Quality==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG completion and correction&lt;br /&gt;
* Best practices&lt;br /&gt;
* Access protocols and usage control&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 8 Completion + Correction and 9 Best Practices + Access Protocols + Usage Control in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==Lecture 2: Representing KGs (RDF)==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Resource Description Framework (RDF)&lt;br /&gt;
* Programming RDF in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-primer/ W3C&#039;s RDF 1.1 Primer] until and including 5.1.2 Turtle (but not the rest for now)&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.0.0 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* [[:File:S02-RDF.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib 7.0.0 packages] (reference for the labs)&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools]&lt;br /&gt;
* Pages 25-28, 92-100, 125-128, and 164-167 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture 4: Linked Open Data (LOD)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Linked Open Data(LOD)&lt;br /&gt;
* The LOD cloud&lt;br /&gt;
* Data provisioning&lt;br /&gt;
&lt;br /&gt;
Mandatory readings &#039;&#039;(both lecture 4 and 5)&#039;&#039;:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27.&lt;br /&gt;
* [[:File:S04-LOD.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* [https://www.ontotext.com/knowledgehub/fundamentals/linked-data-linked-open-data/ What Are Linked Data and Linked Open Data?]&lt;br /&gt;
* [[:File:BizerHeathBernersLee-LinkedData2009-TheStorySoFar.pdf | Bizer, C., Heath, T., &amp;amp; Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 5: Open Knowledge Graphs I==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** Wikidata&lt;br /&gt;
** DBpedia&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/):&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:Introduction Introduction to Wikidata]&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help SPARQL query service/A gentle introduction to the Wikidata Query Service]&lt;br /&gt;
*** example: [https://www.wikidata.org/wiki/Q26793]&lt;br /&gt;
** DBpedia (https://www.dbpedia.org):&lt;br /&gt;
*** [http://wiki.dbpedia.org/about About Dbpedia]&lt;br /&gt;
*** example: [https://dbpedia.org/resource/Bergen]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 6: Open Knowledge Graphs II==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** DBpedia &#039;&#039;(continued)&#039;&#039;&lt;br /&gt;
** GeoNames&lt;br /&gt;
** the GDELT project&lt;br /&gt;
** WordNet&lt;br /&gt;
** BabelNet&lt;br /&gt;
** ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** GeoNames (https://www.geonames.org/):&lt;br /&gt;
*** [http://www.geonames.org/about.html About GeoNames]&lt;br /&gt;
*** example: [https://www.geonames.org/3161732/bergen.html]&lt;br /&gt;
** GDELT (https://www.gdeltproject.org/)&lt;br /&gt;
*** [https://www.gdeltproject.org/ The GDELT Project] - see also the About and Data pages&lt;br /&gt;
** WordNet (https://wordnet.princeton.edu/)&lt;br /&gt;
*** [https://wordnet.princeton.edu/ WordNet - A lexical database for English]&lt;br /&gt;
** BabelNet (https://babelnet.org/):&lt;br /&gt;
*** [http://live.babelnet.org/about About BabelNet]&lt;br /&gt;
*** [https://babelnet.org/how-to-use How to use]&lt;br /&gt;
*** example: [https://babelnet.org/synset?id=bn%3A00010008n&amp;amp;orig=Bergen&amp;amp;lang=EN]&lt;br /&gt;
** ConceptNet (http://conceptnet.io)&lt;br /&gt;
*** [http://conceptnet.io ConceptNet - An open, multilingual knowledge graph]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* Wikidata statistics&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000167/wikidata-datamodel?orgId=1&amp;amp;refresh=30m Entity statistics]&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000175/wikidata-datamodel-statements?orgId=1&amp;amp;refresh=30m Statement statistics]&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* GDELT documentation&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Event_Codebook-V2.0.pdf Event Codebook (and covers mentions)]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook]&lt;br /&gt;
* Parts 1 and 3 in Blumauer &amp;amp; Nagy&#039;s text book (not tightly related to the lecture, but time to finish them by now :-))&lt;br /&gt;
&lt;br /&gt;
==Lecture 7: Enterprise Knowledge Graphs==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Enterprise Knowledge Graphs (EKGs)&lt;br /&gt;
* Google’s Knowledge Graph&lt;br /&gt;
* Amazon’s Product Graph&lt;br /&gt;
* JSON-LD (video presentation)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://www.blog.google/products/search/introducing-knowledge-graph-things-not/ Introducing the Knowledge Graph: Things not Strings], Amit Singhal, Google (2012). &#039;&#039;(The blog post that introduced Google&#039;s knowledge graph to the world.)&#039;&#039;&lt;br /&gt;
* [https://blog.google/products/search/about-knowledge-graph-and-knowledge-panels/ A reintroduction to our Knowledge Graph and knowledge panels], Danny Sullivan, Google (2020).&lt;br /&gt;
* [https://www.aboutamazon.com/news/innovation-at-amazon/making-search-easier How Amazon’s Product Graph is helping customers find products more easily], Arun Krishnan, Amazon (2018). &#039;&#039;(Short blog post that reviews some central ideas from the AutoKnow research paper listed below.)&#039;&#039;&lt;br /&gt;
* [https://www.amazon.science/blog/building-product-graphs-automatically Building product graphs automatically], Xin Luna Dong, Amazon (2020).&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
* [[:File:S07-EnterpriseKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Parts 2 and 4 in Blumauer &amp;amp; Nagy&#039;s text book (&#039;&#039;strongly suggested - this is where Blumauer &amp;amp; Nagy&#039;s book is good!&#039;&#039;)&lt;br /&gt;
* [[:File:Bosch-LIS.pdf | LIS: A knowledge graph-based line information system]] by Grangel-González, I., Rickart, M., Rudolph, O., &amp;amp; Shah, F. (2023, May). In Proceedings of the European Semantic Web Conference (pp. 591-608). Cham: Springer Nature Switzerland.&lt;br /&gt;
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]] by Dong, X. L., He, X., Kan, A., Li, X., Liang, Y., Ma, J., ... &amp;amp; Han, J. (2020, August). In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery &amp;amp; Data Mining (pp. 2724-2734). &#039;&#039;Research paper from Amazon about AutoKnow - this is a bit heavy for Bachelor level, but you can have a look :-)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Lecture 8: Rules (SHACL and RDFS)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SHACL and RDFS&lt;br /&gt;
* Axioms, rules and entailment&lt;br /&gt;
* Programming SHACL and RDFS in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 7-8 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://book.validatingrdf.com/bookHtml011.html Chapter 5 &#039;&#039;SHACL&#039;&#039;] in [https://book.validatingrdf.com/index.html Validating RDF] (available online)&lt;br /&gt;
** Sections 5.1, 5.3-5.5, and 5.6,1-5.6.3&lt;br /&gt;
* [http://www.w3.org/TR/rdf-schema/ W3C&#039;s RDF Schema 1.1], focus on sections 1-3 and 6&lt;br /&gt;
* [[:File:S07-SHACL-RDFS.pdf | Slides from the lecture]] &lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
* [https://docs.google.com/presentation/d/1weO9SzssxgYp3g_44X1LZsVtL0i6FurQ3KbIKZ8iriQ/ Lab presentation containing a short overview of SHACL and pySHACL]&lt;br /&gt;
* [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
* [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture&#039;&#039;)&lt;br /&gt;
* [https://github.com/blazegraph/database/wiki/InferenceAndTruthMaintenance Inference and Thruth Maintenance in Blazegraph]&lt;br /&gt;
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
* [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&lt;br /&gt;
&lt;br /&gt;
==Lecture 9: Ontologies (OWL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Basic OWL concepts&lt;br /&gt;
* Axioms, rules and entailments&lt;br /&gt;
* Programming basic OWL in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 9-10, 12-13 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6 and 9-10&lt;br /&gt;
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [https://protegeproject.github.io/protege/getting-started/ Protégé-OWL Getting Started]&lt;br /&gt;
* [[:File:S09-OWL.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials (cursory):&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-quick-reference/ OWL 2 Quick Reference Guide]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-rdf-based-semantics/ OWL2 RDF-Based Semantics]&lt;br /&gt;
* The OWL-RL materials (from Lecture 5)&lt;br /&gt;
* [http://vowl.visualdataweb.org/v2 VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [http://vowl.visualdataweb.org/webvowl/index.html#sioc WebVOWL]&lt;br /&gt;
* [[:File:LohmannEtAl2016-VisualizingOntologiesWithVOWL.pdf | Lohmann et al. (2019): Visualizing Ontologies with VOWL. &#039;&#039;Semantic Web Journal.&#039;&#039;]]&lt;br /&gt;
* Pages 106-109 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
&lt;br /&gt;
==Lecture 10: Vocabularies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* LOD vocabularies and ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 10-11 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)]&lt;br /&gt;
* Important vocabularies / ontologies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://motools.sourceforge.net/event/event.html Event Ontology (event)]&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [https://www.w3.org/2003/01/geo/ geo: World Geodetic Standard (WGS) 84]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://rdfs.org/sioc/spec/ Semantic Interlinked Online Communities (SIOC)]&lt;br /&gt;
** [http://schema.org/docs/full.html schema.org - Full Hierarchy]&lt;br /&gt;
** [http://wikidata.dbpedia.org/services-resources/ontology DBpedia Ontology]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
** [http://creativecommons.org/ns Creative Commons (CC) Vocabulary]&lt;br /&gt;
** &#039;&#039;What we expect you to know about each vocabulary is this:&#039;&#039; &lt;br /&gt;
*** Its purpose and where and how it can be used.&lt;br /&gt;
*** Its most central 3-6 classes and properties be able to explain its basic structure. &lt;br /&gt;
*** 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. &lt;br /&gt;
* [[:File:S10-Vocabularies.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Lecture 11: KG embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG embeddings&lt;br /&gt;
* Link prediction&lt;br /&gt;
* TorchKGE&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:S11-GraphEmbeddings.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
==Lecture 12: KGs and Large Language Models==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
&lt;br /&gt;
* What are Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
&lt;br /&gt;
* [[:file:S12-KGsAndLLMs.pdf | Slides from the lecture]]&lt;br /&gt;
* No mandatory readings beyond the slides&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
&lt;br /&gt;
* Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., &amp;amp; Wu, X. (2024). [[:file:PanEtAl2023-LLMs_KGs_Opportunities_Challenges.pdf | &#039;&#039;Unifying large language models and knowledge graphs: A roadmap.&#039;&#039;]]  IEEE Transactions on Knowledge and Data Engineering.&lt;br /&gt;
* Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... &amp;amp;  Polosukhin, I. (2017). [[:file:NIPS-2017-attention-is-all-you-need-Paper.pdf | &#039;&#039;Attention is all you need.&#039;&#039;]]  Advances in neural information processing systems, 30.&amp;lt;br /&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2024, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2692</id>
		<title>Readings</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2692"/>
		<updated>2025-03-27T13:34:38Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Textbooks=&lt;br /&gt;
&lt;br /&gt;
Main course book (&#039;&#039;the whole book is mandatory reading&#039;&#039;):&lt;br /&gt;
* Hogan, A. et al. (2021). &#039;&#039;&#039;Knowledge Graphs.&#039;&#039;&#039; Springer. &#039;&#039;Synthesis Lectures on Data, Semantics, and Knowledge&#039;&#039; 22, 1–237, DOI: 10.2200/S01125ED1V01Y202109DSK022, Springer. https://kgbook.org/&lt;br /&gt;
&lt;br /&gt;
Supplementary books (&#039;&#039;not&#039;&#039; mandatory):&lt;br /&gt;
* Dean Allemang, James Hendler &amp;amp; Fabien Gandon (2020). &#039;&#039;&#039;Semantic Web for the Working Ontologist, Effective Modeling for Linked Data, RDFS and OWL (Third Edition).&#039;&#039;&#039; ISBN: 9781450376143, PDF ISBN: 9781450376150, Hardcover ISBN: 9781450376174, DOI: 10.1145/3382097.&lt;br /&gt;
* Andreas Blumauer and Helmut Nagy (2020). &#039;&#039;&#039;The Knowledge Graph Cookbook - Recipes that Work.&#039;&#039;&#039; mono/monochrom. ISBN-10: ‎3902796707, ISBN-13: 978-3902796707.&lt;br /&gt;
&lt;br /&gt;
=Other materials=&lt;br /&gt;
&lt;br /&gt;
In addition, &#039;&#039;&#039;the materials listed below for each lecture are either mandatory or suggested reading&#039;&#039;&#039;. More materials will be added to each lecture in the coming weeks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The labs, lectures and lectures notes are also part of the curriculum.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039; to download some of the papers, you may need to be inside UiB&#039;s network. Either use a computer directly on the UiB network or connect to your UiB account through VPN.&lt;br /&gt;
&lt;br /&gt;
=Lectures (in progress)=&lt;br /&gt;
&lt;br /&gt;
Below are the mandatory and suggested readings for each lecture. All the textbook chapters in Hogan et al. (&amp;quot;Knowledge Graphs&amp;quot;) are mandatory, whereas the chapters in Allemang, Hendler &amp;amp; Gandon (&amp;quot;Semantic Web&amp;quot;) are suggested.&lt;br /&gt;
&lt;br /&gt;
==Session 1: Introduction to KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Introduction to Knowledge Graphs&lt;br /&gt;
* Organisation of the course&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 1 Introduction, section 2.1 Models, and Appendix A Background in Hogan et al.&lt;br /&gt;
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web]&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.1.3 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapters 1-3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Wikidata (https://www.wikidata.org/)&lt;br /&gt;
&lt;br /&gt;
==Session 2: Querying and updating KGs (SPARQL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SPARQL queries&lt;br /&gt;
* SPARQL Update&lt;br /&gt;
* Programming SPARQL and SPARQL Update in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 2.2 Queries in Hogan et al.&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.8/sparql.html The SPARQL query language — GraphDB 10.8 documentation]&lt;br /&gt;
* [https://rdflib.readthedocs.io/ rdflib 7.1.3] materials: [https://rdflib.readthedocs.io/en/stable/intro_to_sparql.html Querying with SPARQL]&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapter 6 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-query/ SPARQL 1.1 Query Language]&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language]&lt;br /&gt;
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]]&lt;br /&gt;
* [https://en.wikibooks.org/wiki/SPARQL/Expressions_and_Functions SPARQL Expressions and Functions]&lt;br /&gt;
&lt;br /&gt;
==Session 3: Creating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Extracting KGs from text&lt;br /&gt;
* Extracting from marked-up sources&lt;br /&gt;
* Extracting from SQL databases and JSON&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 6 Creation and Enrichment, sections 6.1-6.4, in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.0/virtualization.html Virtualization, GraphDB 10.0 documentation]&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
&lt;br /&gt;
==Session 4: Validating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Validating KG schemas (SHACL)&lt;br /&gt;
* Semantic KG schemas/vocabularies (RDFS)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 3.1 Schema in Hogan et al.&lt;br /&gt;
* Sections 5.1, 5.3, 5.5, 5.6.1, and 5.6.3 in [https://book.validatingrdf.com/bookHtml011.html Gayo, J.E. et al. Validating RDF]. &lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* SHACL&lt;br /&gt;
** Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
** [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
** [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* RDFS&lt;br /&gt;
** [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important, and we will go through the most important ones in the lecture&#039;&#039;)&lt;br /&gt;
** [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
** [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need)&lt;br /&gt;
&lt;br /&gt;
==Session 5: Advanced KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about RDF, e.g.,&lt;br /&gt;
** identity&lt;br /&gt;
** blank nodes&lt;br /&gt;
** reification&lt;br /&gt;
** higher-arity graphs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 3.2 Identity and 3.3 Context in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
&lt;br /&gt;
==Session 6: Ontologies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More powerful vocabularies/ontologies (OWL)&lt;br /&gt;
* Creating ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 4.1 Ontologies and 6.3 Schema/ontology creation in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ OWL 2 Primer, sections 2-6 (advanced: 9-10)] (show: Turtle)&lt;br /&gt;
* [https://service.tib.eu/webvowl/ WebVOWL] interactive OWL visualisation tool&lt;br /&gt;
* Selected vocabularies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
* Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
==Session 7: Reasoning==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about semantic KG schemas (RDFS)&lt;br /&gt;
* Description logic&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 4.2 Rules + DL in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important&#039;&#039;)&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview/ W3C OWL 2 Overview]&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ W3C OWL 2 Primer]&lt;br /&gt;
* [https://www.w3.org/TR/2012/REC-owl2-quick-reference-20121211/ W3C OWL 2 Quick Reference Guide (2nd Edition)]&lt;br /&gt;
&lt;br /&gt;
==Session 8: KG Analytics==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph analytics&lt;br /&gt;
** graph metrics&lt;br /&gt;
** directed vector-labelled graphs&lt;br /&gt;
** analysis frameworks and techniques&lt;br /&gt;
* Symbolic learning&lt;br /&gt;
** rule, axiom, and hypothesis mining&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.1 Graph Analytics and 5.4 Symbolic Learning in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://networkx.org/ NetworkX - Network analysis in Python]&lt;br /&gt;
&lt;br /&gt;
==Guest Lecture: KGs in Practice==&lt;br /&gt;
Guest lecture by Sindre Asplem, [https://www.capgemini.com/no-no/ Capgemini].&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
==Session 9: KG Embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Semantic embedding spaces&lt;br /&gt;
* KG embedding techniques&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.2 Knowledge Graph Embeddings and 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
* Towards DataScience introduction: [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Towards DataScience introductions:&lt;br /&gt;
  * [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
  * [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://pykeen.readthedocs.io/en/stable/index.html PyKEEN] or [https://torchkge.readthedocs.io/en/latest/index.html TorchKGE] Python APIs&lt;br /&gt;
&lt;br /&gt;
==Session 10: KG Refinement (KGs and LLMs)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Enriching KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 8 Completion + Correction in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Session 11: KGs in Practice==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Open KGs&lt;br /&gt;
* Enterprise KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Important knowledge graphs:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/)&lt;br /&gt;
** DBpedia (https://www.dbpedia.org, https://dbpedia.org/page/Bergen)&lt;br /&gt;
** GeoNames (https://www.geonames.org/)&lt;br /&gt;
** BabelNet (https://babelnet.org/)&lt;br /&gt;
** Linked Open Data (LOD) (http://lod-cloud.net)&lt;br /&gt;
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture: KG Quality==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG completion and correction&lt;br /&gt;
* Best practices&lt;br /&gt;
* Access protocols and usage control&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 8 Completion + Correction and 9 Best Practices + Access Protocols + Usage Control in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==Lecture 2: Representing KGs (RDF)==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Resource Description Framework (RDF)&lt;br /&gt;
* Programming RDF in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-primer/ W3C&#039;s RDF 1.1 Primer] until and including 5.1.2 Turtle (but not the rest for now)&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.0.0 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* [[:File:S02-RDF.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib 7.0.0 packages] (reference for the labs)&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools]&lt;br /&gt;
* Pages 25-28, 92-100, 125-128, and 164-167 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture 4: Linked Open Data (LOD)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Linked Open Data(LOD)&lt;br /&gt;
* The LOD cloud&lt;br /&gt;
* Data provisioning&lt;br /&gt;
&lt;br /&gt;
Mandatory readings &#039;&#039;(both lecture 4 and 5)&#039;&#039;:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27.&lt;br /&gt;
* [[:File:S04-LOD.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* [https://www.ontotext.com/knowledgehub/fundamentals/linked-data-linked-open-data/ What Are Linked Data and Linked Open Data?]&lt;br /&gt;
* [[:File:BizerHeathBernersLee-LinkedData2009-TheStorySoFar.pdf | Bizer, C., Heath, T., &amp;amp; Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 5: Open Knowledge Graphs I==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** Wikidata&lt;br /&gt;
** DBpedia&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/):&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:Introduction Introduction to Wikidata]&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help SPARQL query service/A gentle introduction to the Wikidata Query Service]&lt;br /&gt;
*** example: [https://www.wikidata.org/wiki/Q26793]&lt;br /&gt;
** DBpedia (https://www.dbpedia.org):&lt;br /&gt;
*** [http://wiki.dbpedia.org/about About Dbpedia]&lt;br /&gt;
*** example: [https://dbpedia.org/resource/Bergen]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 6: Open Knowledge Graphs II==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** DBpedia &#039;&#039;(continued)&#039;&#039;&lt;br /&gt;
** GeoNames&lt;br /&gt;
** the GDELT project&lt;br /&gt;
** WordNet&lt;br /&gt;
** BabelNet&lt;br /&gt;
** ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** GeoNames (https://www.geonames.org/):&lt;br /&gt;
*** [http://www.geonames.org/about.html About GeoNames]&lt;br /&gt;
*** example: [https://www.geonames.org/3161732/bergen.html]&lt;br /&gt;
** GDELT (https://www.gdeltproject.org/)&lt;br /&gt;
*** [https://www.gdeltproject.org/ The GDELT Project] - see also the About and Data pages&lt;br /&gt;
** WordNet (https://wordnet.princeton.edu/)&lt;br /&gt;
*** [https://wordnet.princeton.edu/ WordNet - A lexical database for English]&lt;br /&gt;
** BabelNet (https://babelnet.org/):&lt;br /&gt;
*** [http://live.babelnet.org/about About BabelNet]&lt;br /&gt;
*** [https://babelnet.org/how-to-use How to use]&lt;br /&gt;
*** example: [https://babelnet.org/synset?id=bn%3A00010008n&amp;amp;orig=Bergen&amp;amp;lang=EN]&lt;br /&gt;
** ConceptNet (http://conceptnet.io)&lt;br /&gt;
*** [http://conceptnet.io ConceptNet - An open, multilingual knowledge graph]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* Wikidata statistics&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000167/wikidata-datamodel?orgId=1&amp;amp;refresh=30m Entity statistics]&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000175/wikidata-datamodel-statements?orgId=1&amp;amp;refresh=30m Statement statistics]&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* GDELT documentation&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Event_Codebook-V2.0.pdf Event Codebook (and covers mentions)]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook]&lt;br /&gt;
* Parts 1 and 3 in Blumauer &amp;amp; Nagy&#039;s text book (not tightly related to the lecture, but time to finish them by now :-))&lt;br /&gt;
&lt;br /&gt;
==Lecture 7: Enterprise Knowledge Graphs==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Enterprise Knowledge Graphs (EKGs)&lt;br /&gt;
* Google’s Knowledge Graph&lt;br /&gt;
* Amazon’s Product Graph&lt;br /&gt;
* JSON-LD (video presentation)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://www.blog.google/products/search/introducing-knowledge-graph-things-not/ Introducing the Knowledge Graph: Things not Strings], Amit Singhal, Google (2012). &#039;&#039;(The blog post that introduced Google&#039;s knowledge graph to the world.)&#039;&#039;&lt;br /&gt;
* [https://blog.google/products/search/about-knowledge-graph-and-knowledge-panels/ A reintroduction to our Knowledge Graph and knowledge panels], Danny Sullivan, Google (2020).&lt;br /&gt;
* [https://www.aboutamazon.com/news/innovation-at-amazon/making-search-easier How Amazon’s Product Graph is helping customers find products more easily], Arun Krishnan, Amazon (2018). &#039;&#039;(Short blog post that reviews some central ideas from the AutoKnow research paper listed below.)&#039;&#039;&lt;br /&gt;
* [https://www.amazon.science/blog/building-product-graphs-automatically Building product graphs automatically], Xin Luna Dong, Amazon (2020).&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
* [[:File:S07-EnterpriseKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Parts 2 and 4 in Blumauer &amp;amp; Nagy&#039;s text book (&#039;&#039;strongly suggested - this is where Blumauer &amp;amp; Nagy&#039;s book is good!&#039;&#039;)&lt;br /&gt;
* [[:File:Bosch-LIS.pdf | LIS: A knowledge graph-based line information system]] by Grangel-González, I., Rickart, M., Rudolph, O., &amp;amp; Shah, F. (2023, May). In Proceedings of the European Semantic Web Conference (pp. 591-608). Cham: Springer Nature Switzerland.&lt;br /&gt;
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]] by Dong, X. L., He, X., Kan, A., Li, X., Liang, Y., Ma, J., ... &amp;amp; Han, J. (2020, August). In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery &amp;amp; Data Mining (pp. 2724-2734). &#039;&#039;Research paper from Amazon about AutoKnow - this is a bit heavy for Bachelor level, but you can have a look :-)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Lecture 8: Rules (SHACL and RDFS)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SHACL and RDFS&lt;br /&gt;
* Axioms, rules and entailment&lt;br /&gt;
* Programming SHACL and RDFS in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 7-8 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://book.validatingrdf.com/bookHtml011.html Chapter 5 &#039;&#039;SHACL&#039;&#039;] in [https://book.validatingrdf.com/index.html Validating RDF] (available online)&lt;br /&gt;
** Sections 5.1, 5.3-5.5, and 5.6,1-5.6.3&lt;br /&gt;
* [http://www.w3.org/TR/rdf-schema/ W3C&#039;s RDF Schema 1.1], focus on sections 1-3 and 6&lt;br /&gt;
* [[:File:S07-SHACL-RDFS.pdf | Slides from the lecture]] &lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
* [https://docs.google.com/presentation/d/1weO9SzssxgYp3g_44X1LZsVtL0i6FurQ3KbIKZ8iriQ/ Lab presentation containing a short overview of SHACL and pySHACL]&lt;br /&gt;
* [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
* [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture&#039;&#039;)&lt;br /&gt;
* [https://github.com/blazegraph/database/wiki/InferenceAndTruthMaintenance Inference and Thruth Maintenance in Blazegraph]&lt;br /&gt;
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
* [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&lt;br /&gt;
&lt;br /&gt;
==Lecture 9: Ontologies (OWL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Basic OWL concepts&lt;br /&gt;
* Axioms, rules and entailments&lt;br /&gt;
* Programming basic OWL in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 9-10, 12-13 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6 and 9-10&lt;br /&gt;
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [https://protegeproject.github.io/protege/getting-started/ Protégé-OWL Getting Started]&lt;br /&gt;
* [[:File:S09-OWL.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials (cursory):&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-quick-reference/ OWL 2 Quick Reference Guide]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-rdf-based-semantics/ OWL2 RDF-Based Semantics]&lt;br /&gt;
* The OWL-RL materials (from Lecture 5)&lt;br /&gt;
* [http://vowl.visualdataweb.org/v2 VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [http://vowl.visualdataweb.org/webvowl/index.html#sioc WebVOWL]&lt;br /&gt;
* [[:File:LohmannEtAl2016-VisualizingOntologiesWithVOWL.pdf | Lohmann et al. (2019): Visualizing Ontologies with VOWL. &#039;&#039;Semantic Web Journal.&#039;&#039;]]&lt;br /&gt;
* Pages 106-109 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
&lt;br /&gt;
==Lecture 10: Vocabularies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* LOD vocabularies and ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 10-11 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)]&lt;br /&gt;
* Important vocabularies / ontologies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://motools.sourceforge.net/event/event.html Event Ontology (event)]&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [https://www.w3.org/2003/01/geo/ geo: World Geodetic Standard (WGS) 84]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://rdfs.org/sioc/spec/ Semantic Interlinked Online Communities (SIOC)]&lt;br /&gt;
** [http://schema.org/docs/full.html schema.org - Full Hierarchy]&lt;br /&gt;
** [http://wikidata.dbpedia.org/services-resources/ontology DBpedia Ontology]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
** [http://creativecommons.org/ns Creative Commons (CC) Vocabulary]&lt;br /&gt;
** &#039;&#039;What we expect you to know about each vocabulary is this:&#039;&#039; &lt;br /&gt;
*** Its purpose and where and how it can be used.&lt;br /&gt;
*** Its most central 3-6 classes and properties be able to explain its basic structure. &lt;br /&gt;
*** 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. &lt;br /&gt;
* [[:File:S10-Vocabularies.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Lecture 11: KG embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG embeddings&lt;br /&gt;
* Link prediction&lt;br /&gt;
* TorchKGE&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:S11-GraphEmbeddings.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
==Lecture 12: KGs and Large Language Models==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
&lt;br /&gt;
* What are Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
&lt;br /&gt;
* [[:file:S12-KGsAndLLMs.pdf | Slides from the lecture]]&lt;br /&gt;
* No mandatory readings beyond the slides&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
&lt;br /&gt;
* Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., &amp;amp; Wu, X. (2024). [[:file:PanEtAl2023-LLMs_KGs_Opportunities_Challenges.pdf | &#039;&#039;Unifying large language models and knowledge graphs: A roadmap.&#039;&#039;]]  IEEE Transactions on Knowledge and Data Engineering.&lt;br /&gt;
* Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... &amp;amp;  Polosukhin, I. (2017). [[:file:NIPS-2017-attention-is-all-you-need-Paper.pdf | &#039;&#039;Attention is all you need.&#039;&#039;]]  Advances in neural information processing systems, 30.&amp;lt;br /&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2024, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Lab:_OWL_1&amp;diff=2691</id>
		<title>Lab: OWL 1</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Lab:_OWL_1&amp;diff=2691"/>
		<updated>2025-03-27T13:15:38Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: /* Useful materials */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Topics==&lt;br /&gt;
* Basic OWL ontology programming with RDFlib and owlrl.&lt;br /&gt;
* RDFS is relevant too.&lt;br /&gt;
* WebVOWL visualisation.&lt;br /&gt;
&lt;br /&gt;
==Useful materials==&lt;br /&gt;
Readings:&lt;br /&gt;
* [https://wiki.app.uib.no/info216/index.php?title=File:S08-OWL.pdf Lecture Notes]&lt;br /&gt;
* [https://wiki.uib.no/info216/index.php/Python_Examples#RDFS_Plus_.2F_OWL_inference_with_RDFLib Example page]&lt;br /&gt;
* [https://www.w3.org/TR/owl-ref/ OWL Documentation] &lt;br /&gt;
&lt;br /&gt;
Vocabularies and terms:&lt;br /&gt;
* OWL (sameAs, equivalentClass, equivalentProperty, differentFrom, disjointWith, inverseOf)&lt;br /&gt;
* OWL (SymmetricProperty, AsymmetricProperty, ReflexiveProperty, IrreflexiveProperty, TransitiveProperty, FunctionalProperty, InverseFunctionalProperty, AllDifferent)&lt;br /&gt;
&lt;br /&gt;
==Tasks==&lt;br /&gt;
&#039;&#039;&#039;Task.&#039;&#039;&#039;&lt;br /&gt;
&#039;&#039;Write OWL triples that corresponds to the following text.&#039;&#039; Try to continue your example from labs 1 and 2, or extend the triples at the bottom of this page. OWL terms can be imported from rdflib in the same way as RDF and RDFS terms.&lt;br /&gt;
&lt;br /&gt;
* Donald Trump and Robert Mueller are two different persons.&lt;br /&gt;
* Actually, all the names mentioned in connection with the Muelle investigation refer to different people.&lt;br /&gt;
* All these people are &#039;&#039;foaf:Person&#039;&#039;s as well as &#039;&#039;schema:Person&#039;&#039;s (they are http://xmlns.com/foaf/0.1/Person and http://schema.org/Person).&lt;br /&gt;
* Tax evation is a kind of bank and tax fraud.&lt;br /&gt;
* The Donald Trump involved in the Mueller investigation is &#039;&#039;dbpedia:Donald_Trump&#039;&#039; and not &#039;&#039;dbpedia:Donald_Trump_Jr.&#039;&#039; .&lt;br /&gt;
** &#039;&#039;Tip:&#039;&#039; rdflib&#039;s Turtle parser does not like URLs with punctuation marks written &amp;quot;prefix style&amp;quot; (&#039;&#039;dbpedia:Donald_Trump_Jr.&#039;&#039;), but it will accept the full URL written in angle brackets (&#039;&#039;&amp;lt;http://dbpedia.org/resource/Donald_Trump_Jr.&amp;gt;&#039;&#039;)&lt;br /&gt;
* Congress, FBI and the Mueller investigation are &#039;&#039;foaf:Organization&#039;&#039;s.&lt;br /&gt;
* Nothing can be both a person and an organization. &lt;br /&gt;
* Leading an organization is a way of being involved in an organization.&lt;br /&gt;
* Being a campaign manager or an advisor for is a way of supporting someone.&lt;br /&gt;
* Donald Trump is a politician and a Republican. &lt;br /&gt;
* A  Republican politician is both a politician and a Republican.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task.&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
g.add((ex.Paul_Manafort, ex.hasBusinessPartner, ex.Rick_Gates))&lt;br /&gt;
g.add((ex.Michael_Flynn, ex.adviserTo, ex.Donald_Trump))&lt;br /&gt;
g.add((ex.Rick_Gates_Lying, ex.wasLyingTo, ex.FBI))&lt;br /&gt;
g.add((ex.Donald_Trump, ex.presidentOf, ex.USA))&lt;br /&gt;
g.add((ex.USA, ex.hasPresident, ex.Donald_Trump))&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Look through the predicates (properties) above and add new triples for each one that describes them as any of the following: a reflexive, irreflexive, symmetric, asymmetric, transitive, functional, or an inverse functional property.&lt;br /&gt;
e.g&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
g.add((ex.wasLyingTo, RDF.type, OWL.IrreflexiveProperty))&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task.&#039;&#039;&#039;&lt;br /&gt;
Serialize the ontology and look at the results. Create an owlrl closure as below to infer additional triples and serialize it again. Can you spot the many inferences?&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
DeductiveClosure(OWLRL_Semantics).expand(graph)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task.&#039;&#039;&#039;&lt;br /&gt;
Finally write the ontology to a XML file, and visualise it using http://vowl.visualdataweb.org/webvowl.html. The purpose of WebVOWL is to visualise classes and their properties, so the individuals may not show. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Tip:&#039;&#039; When you save OWL files as XML, the extension &#039;&#039;.owl-xml&#039;&#039; can be used.&lt;br /&gt;
&lt;br /&gt;
Most likely, your ontology is still quite disconnected. Add &#039;&#039;rdfs:subClassOf&#039;&#039;, &#039;&#039;rdfs:domain&#039;&#039;, and &#039;&#039;rdfs:range&#039;&#039; triples to turn it into a more connected graph that represents the domain. Calculate owlrl closures to see the effects of your triples as you add them.&lt;br /&gt;
&lt;br /&gt;
===Triples you can use in the first task===&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
@prefix ex: &amp;lt;http://example/org#&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
ex:Mueller_Investigation ex:involved ex:George_Papadopoulos,&lt;br /&gt;
        ex:Michael_Cohen,&lt;br /&gt;
        ex:Michael_Flynn,&lt;br /&gt;
        ex:Paul_Manafort,&lt;br /&gt;
        ex:Rick_Gates,&lt;br /&gt;
        ex:Roger_Stone ;&lt;br /&gt;
    ex:leadBy ex:Robert_Mueller .&lt;br /&gt;
&lt;br /&gt;
ex:Michael_Cohen ex:attorneyFor ex:Donald_Trump ;&lt;br /&gt;
    ex:pleadedGuilty ex:Michael_Cohens_Lying .&lt;br /&gt;
&lt;br /&gt;
ex:Michael_Cohens_Lying a ex:Lying ;&lt;br /&gt;
    ex:wasLyingAbout ex:Trump_RealEstateDeal ;&lt;br /&gt;
    ex:wasLyingTo ex:Congress .&lt;br /&gt;
&lt;br /&gt;
ex:Michael_Flynn ex:adviserTo ex:Donald_Trump ;&lt;br /&gt;
    ex:negotiatedAgreement ex:PleaAgreement ;&lt;br /&gt;
    ex:pleadedGuilty ex:Michael_Flynns_Lying .&lt;br /&gt;
&lt;br /&gt;
ex:Michael_Flynns_Lying a ex:Lying ;&lt;br /&gt;
    ex:wasLyingTo ex:FBI .&lt;br /&gt;
&lt;br /&gt;
ex:Paul_Manafort ex:campaignManager ex:Donald_Trump ;&lt;br /&gt;
    ex:chargedWith ex:ForeignLobbying,&lt;br /&gt;
        ex:MoneyLaundering,&lt;br /&gt;
        ex:TaxEvasion ;&lt;br /&gt;
    ex:convictedFor ex:BankAndTaxFraud ;&lt;br /&gt;
    ex:hasBusinessPartner ex:Rick_Gates ;&lt;br /&gt;
    ex:negotiatedAgreement ex:PleaAgreement ;&lt;br /&gt;
    ex:pleadedGuilty ex:Conspiracy ;&lt;br /&gt;
    ex:sentencedTo ex:Prison .&lt;br /&gt;
&lt;br /&gt;
ex:Rick_Gates_Lying a ex:Lying ;&lt;br /&gt;
    ex:wasLyingTo ex:FBI .&lt;br /&gt;
&lt;br /&gt;
ex:Rick_Gates ex:chargedWith ex:ForeignLobbying,&lt;br /&gt;
        ex:MoneyLaundering,&lt;br /&gt;
        ex:TaxEvasion ;&lt;br /&gt;
    ex:pleadedGuilty ex:Conspiracy,&lt;br /&gt;
        ex:Rick_Gates_Lying .&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==If you have more time==&lt;br /&gt;
&#039;&#039;&#039;Task.&#039;&#039;&#039;&lt;br /&gt;
Inspect your ontology with [https://webprotege.stanford.edu/ Webprotégé]. &lt;br /&gt;
* Register as a new user and log in. &lt;br /&gt;
* &#039;&#039;Create a new project&#039;&#039; and use &#039;&#039;Create from existing sources&#039;&#039; to upload your OWL/XML file. &lt;br /&gt;
* Explore how to edit and extend your ontology using Protégé.&lt;br /&gt;
&lt;br /&gt;
You can also [https://protege.stanford.edu/software.php#desktop-protege download Protégé Desktop] for free and run it on your local machine. The stand-alone version is even more powerful with lots of plug-ins.&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Lab_Exercises&amp;diff=2690</id>
		<title>Lab Exercises</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Lab_Exercises&amp;diff=2690"/>
		<updated>2025-03-27T13:15:08Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here we will present new lab exercises each week. &lt;br /&gt;
&lt;br /&gt;
# [[Lab: Getting started with VSCode, Python and RDFlib]] (week 5, from 27/1)&lt;br /&gt;
# [[Lab: SPARQL | Lab: SPARQL queries]] (week 6 &#039;&#039;&#039;&#039;&#039;and 7&#039;&#039;&#039;&#039;&#039;, from 3/2)&lt;br /&gt;
# [[Lab: SPARQL Programming | Lab: SPARQL programming]] (week 8, from 17/2)&lt;br /&gt;
# [[Lab: Ontop | Lab: Virtualisation with Ontop]] (week 10, from 24/2)&lt;br /&gt;
# [[Lab: JSON-LD]] (week 11, from 3/3)&lt;br /&gt;
# [[Lab: SHACL | Lab: SHACL constraints]] (week 12, from 10/3)&lt;br /&gt;
# [[Lab: RDFS | Lab: RDFS rules]] (week 13, from 17/3)&lt;br /&gt;
# [[Lab: Wikidata in RDF]] (week 14, from 24/3)&lt;br /&gt;
# [[Lab: OWL 1]] (week 15, from 31/3)&lt;br /&gt;
# [[Lab: OWL 2]] (week 16, from 7/4)&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
# [[Lab: RDF programming with RDFlib]] (week 5, from 29/1)&lt;br /&gt;
# [[Lab: SPARQL 2 | Lab: SPARQL updates]] (week 7, from 12/2)&lt;br /&gt;
# [[Lab: Semantic Lifting - CSV | Lab: From CSV to RDF]] (week 10, from 4/3)&lt;br /&gt;
# &#039;&#039;No lab in week 18 - May 1st is a holiday.&#039;&#039;&lt;br /&gt;
# [[Lab: Using Graph Embeddings]] (week 19, from 6/5, &#039;&#039;preliminary&#039;&#039;)&lt;br /&gt;
# [[Lab: Training Graph Embeddings]] (week 20, from 11/5, &#039;&#039;preliminary&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;No exercises in weeks 13-14 and 18.&#039;&#039;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2025, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Lab:_SHACL&amp;diff=2689</id>
		<title>Lab: SHACL</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Lab:_SHACL&amp;diff=2689"/>
		<updated>2025-03-24T09:08:48Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: /* If you have more time */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Topics==&lt;br /&gt;
* Validating RDF graphs with SHACL&lt;br /&gt;
* Running pySHACL&lt;br /&gt;
&lt;br /&gt;
==Useful materials==&lt;br /&gt;
SHACL:&lt;br /&gt;
* Section 7.4 &#039;&#039;Expectation in RDF&#039;&#039; in Allemang, Hendler &amp;amp; Gandon&#039;s textbook (&#039;&#039;Semantic Web for the Working Ontologist&#039;&#039;)&lt;br /&gt;
* [https://book.validatingrdf.com/bookHtml011.html Chapter 5 &#039;&#039;SHACL&#039;&#039;] in [https://book.validatingrdf.com/index.html Validating RDF] (available online)&lt;br /&gt;
* Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
* [https://docs.google.com/presentation/d/1weO9SzssxgYp3g_44X1LZsVtL0i6FurQ3KbIKZ8iriQ/ Lab presentation containing a short overview of SHACL and pySHACL]&lt;br /&gt;
&lt;br /&gt;
pySHACL:&lt;br /&gt;
* [https://pypi.org/project/pyshacl/ pySHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Tasks==&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; &lt;br /&gt;
Go to the interactive, online [https://shacl.org/playground/ SHACL Playground]. Cut-and-paste the Turtle triples below into the Data Graph text field, and click &#039;&#039;Update&#039;&#039;.&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
@prefix rdf: &amp;lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&amp;gt; .&lt;br /&gt;
@prefix rdfs: &amp;lt;http://www.w3.org/2000/01/rdf-schema#&amp;gt; .&lt;br /&gt;
@prefix xsd: &amp;lt;http://www.w3.org/2001/XMLSchema#&amp;gt; .&lt;br /&gt;
@prefix foaf: &amp;lt;http://xmlns.com/foaf/0.1/&amp;gt; .&lt;br /&gt;
@prefix skos: &amp;lt;http://www.w3.org/2004/02/skos/core#&amp;gt; .&lt;br /&gt;
@prefix ex: &amp;lt;http://example.org/&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
ex:Paul_Manafort &lt;br /&gt;
    a ex:PersonUnderInvestigation ;&lt;br /&gt;
    foaf:name &lt;br /&gt;
        &amp;quot;Paul Manafort&amp;quot;@en ;  &lt;br /&gt;
    ex:hasBusinessPartner ex:Rick_Gates .&lt;br /&gt;
&lt;br /&gt;
ex:Rick_Gates &lt;br /&gt;
    a ex:PersonUnderInvestigation ;&lt;br /&gt;
    foaf:name &lt;br /&gt;
        &amp;quot;Rick Gates&amp;quot;@en ;  &lt;br /&gt;
    skos:altLabel &lt;br /&gt;
        &amp;quot;Richard William Gates III&amp;quot;@en ;  &lt;br /&gt;
    ex:chargedWith &lt;br /&gt;
        ex:ForeignLobbying ,  &lt;br /&gt;
        ex:MoneyLaundering ,&lt;br /&gt;
        ex:TaxEvasion ;&lt;br /&gt;
    ex:pleadedGuilty &lt;br /&gt;
        ex:Conspiracy, [&lt;br /&gt;
                a ex:Lying ;&lt;br /&gt;
                ex:wasLyingTo ex:FBI &lt;br /&gt;
            ] .&lt;br /&gt;
&lt;br /&gt;
ex:ForeignLobbying a ex:Offense .  &lt;br /&gt;
ex:MoneyLaundering a ex:Offense .  &lt;br /&gt;
ex:TaxEvasion a ex:Offense .  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
The example is based on Exercises 1 and 2. Take some time to look at it in Turtle and also in JSON-LD, using the drop-down menu next to the &#039;&#039;Data Graph&#039;&#039; heading.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; &lt;br /&gt;
Write Shapes Graphs in Turtle (recommended) or JSON-LD for each of the constraints below. Keep copies of your Shape Graphs in a separate text editor and file. You will need them later. Each time you have entered a Shape Graph into the text field, click &#039;&#039;Update&#039;&#039; to validate the contents of the Data Graph.&lt;br /&gt;
&lt;br /&gt;
You can use the following prefixes:&lt;br /&gt;
 @prefix rdf: &amp;lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&amp;gt; .&lt;br /&gt;
 @prefix xsd: &amp;lt;http://www.w3.org/2001/XMLSchema#&amp;gt; .&lt;br /&gt;
 @prefix sh: &amp;lt;http://www.w3.org/ns/shacl#&amp;gt; .&lt;br /&gt;
 @prefix foaf: &amp;lt;http://xmlns.com/foaf/0.1/&amp;gt; .&lt;br /&gt;
 @prefix ex: &amp;lt;http://example.org/&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
Constraints:&lt;br /&gt;
* Every person under investigation has exactly one name.&lt;br /&gt;
* The object of a charged with property must be a URI.&lt;br /&gt;
* The object of a charged with property must be an offense.&lt;br /&gt;
* All person names must be language-tagged (&#039;&#039;hint:&#039;&#039; rdf:langString is a datatype!).&lt;br /&gt;
&lt;br /&gt;
Change the &#039;&#039;data_graph&#039;&#039; to remove the detected errors as you go along (it is easier to read the outputs then).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; &lt;br /&gt;
Write a Python program using rdflib and pySHACL, which:&lt;br /&gt;
# parses the Turtle example above into a &#039;&#039;data_graph&#039;&#039; (&#039;&#039;tip:&#039;&#039; you can either save it to file, or parse directly from a string using &#039;&#039;graph.parse(data=turtle_data, format=&#039;ttl&#039;)&#039;&#039;),&lt;br /&gt;
# parses the contents of a &#039;&#039;shape_graph&#039;&#039; you made in the previous task (for example checking that every person under investigation has exactly one name),&lt;br /&gt;
# uses pySHACL&#039;s validate method to apply the &#039;&#039;shape_graph&#039;&#039; constraints to the  &#039;&#039;data_graph&#039;&#039;, and&lt;br /&gt;
# prints out the validation result (a boolean value, a &#039;&#039;results_graph&#039;&#039;, and a &#039;&#039;result_text&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
==If you have more time==&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039;&lt;br /&gt;
Add the Turtle triples below (from exercise 3-5) to your &#039;&#039;data_graph&#039;&#039;. &lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
ex:investigation_162 a ex:Indictment ;&lt;br /&gt;
    ex:american &amp;quot;unknown&amp;quot; ;&lt;br /&gt;
    ex:cp_date &amp;quot;2018-02-23&amp;quot;^^xsd:date ;&lt;br /&gt;
    ex:cp_days 282 ;&lt;br /&gt;
    ex:indictment_days 166 ;&lt;br /&gt;
    ex:investigation ex:russia ;&lt;br /&gt;
    ex:investigation_days 659 ;&lt;br /&gt;
    ex:investigation_end &amp;quot;unknown&amp;quot; ;&lt;br /&gt;
    ex:investigation_start &amp;quot;2017-05-17&amp;quot;^^xsd:date ;&lt;br /&gt;
    foaf:name &amp;quot;Rick Gates&amp;quot; ;&lt;br /&gt;
    ex:investigatedPerson ex:Rick_Gates ;&lt;br /&gt;
    ex:outcome ex:guilty_plea ;&lt;br /&gt;
    ex:overturned false ;&lt;br /&gt;
    ex:pardoned false ;&lt;br /&gt;
    ex:president ex:Donald_Trump .&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Extend your shapes graph for each of these constraints:&lt;br /&gt;
* The only allowed values for &#039;&#039;ex:american&#039;&#039; are &#039;&#039;true&#039;&#039;, &#039;&#039;false&#039;&#039; or &#039;&#039;unknown&#039;&#039;.&lt;br /&gt;
* The value of a property that counts days must be an integer.&lt;br /&gt;
* The value of a property that indicates a start date must be &#039;&#039;xsd:date&#039;&#039;.&lt;br /&gt;
* The value of a property that indicates an end date must be &#039;&#039;xsd:date&#039;&#039; or &#039;&#039;unknown&#039;&#039; (&#039;&#039;tip:&#039;&#039; you can use &#039;&#039;sh:or (...)&#039;&#039; ).&lt;br /&gt;
* Every indictment must have exactly one FOAF name for the investigated person.&lt;br /&gt;
* Every indictment must have exactly one investigated person property, and that person must have the type ex:PersonUnderInvestigation.&lt;br /&gt;
* No target URI-s of &#039;&#039;ex:outcome&#039;&#039; can contain hyphens (&#039;-&#039;).&lt;br /&gt;
* Presidents must be identified with URIs.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039;&lt;br /&gt;
When you run SHACL on large data graphs, the &#039;&#039;results_graph&#039;&#039; and &#039;&#039;result_text&#039;&#039; will report the same error many times (but for different nodes). Write a SPARQL query to print out each distinct &#039;&#039;sh:resultMessage&#039;&#039; in the &#039;&#039;results_graph&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039;&lt;br /&gt;
Modify the above query so it prints out each &#039;&#039;sh:resultMessage&#039;&#039; in the &#039;&#039;results_graph&#039;&#039; once, along with the number of times that message has been repeated in the results.&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Lab_Exercises&amp;diff=2688</id>
		<title>Lab Exercises</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Lab_Exercises&amp;diff=2688"/>
		<updated>2025-03-24T08:54:57Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here we will present new lab exercises each week. &lt;br /&gt;
&lt;br /&gt;
# [[Lab: Getting started with VSCode, Python and RDFlib]] (week 5, from 27/1)&lt;br /&gt;
# [[Lab: SPARQL | Lab: SPARQL queries]] (week 6 &#039;&#039;&#039;&#039;&#039;and 7&#039;&#039;&#039;&#039;&#039;, from 3/2)&lt;br /&gt;
# [[Lab: SPARQL Programming | Lab: SPARQL programming]] (week 8, from 17/2)&lt;br /&gt;
# [[Lab: Ontop | Lab: Virtualisation with Ontop]] (week 10, from 24/2)&lt;br /&gt;
# [[Lab: JSON-LD]] (week 11, from 3/3)&lt;br /&gt;
# [[Lab: SHACL | Lab: SHACL constraints]] (week 12, from 10/3)&lt;br /&gt;
# [[Lab: RDFS | Lab: RDFS rules]] (week 13, from 17/3)&lt;br /&gt;
# [[Lab: Wikidata in RDF]] (week 14, from 24/3)&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
# [[Lab: RDF programming with RDFlib]] (week 5, from 29/1)&lt;br /&gt;
# [[Lab: SPARQL | Lab: SPARQL queries]] (week 6, from 5/2)&lt;br /&gt;
# [[Lab: SPARQL 2 | Lab: SPARQL updates]] (week 7, from 12/2)&lt;br /&gt;
# [[Lab: Semantic Lifting - CSV | Lab: From CSV to RDF]] (week 10, from 4/3)&lt;br /&gt;
# [[Lab: OWL 1]] (week 16, from 15/4)&lt;br /&gt;
# [[Lab: OWL 2]] (week 17, from 22/4)&lt;br /&gt;
# &#039;&#039;No lab in week 18 - May 1st is a holiday.&#039;&#039;&lt;br /&gt;
# [[Lab: Using Graph Embeddings]] (week 19, from 6/5, &#039;&#039;preliminary&#039;&#039;)&lt;br /&gt;
# [[Lab: Training Graph Embeddings]] (week 20, from 11/5, &#039;&#039;preliminary&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;No exercises in weeks 13-14 and 18.&#039;&#039;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2025, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2686</id>
		<title>Readings</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2686"/>
		<updated>2025-03-17T08:24:46Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Textbooks=&lt;br /&gt;
&lt;br /&gt;
Main course book (&#039;&#039;the whole book is mandatory reading&#039;&#039;):&lt;br /&gt;
* Hogan, A. et al. (2021). &#039;&#039;&#039;Knowledge Graphs.&#039;&#039;&#039; Springer. &#039;&#039;Synthesis Lectures on Data, Semantics, and Knowledge&#039;&#039; 22, 1–237, DOI: 10.2200/S01125ED1V01Y202109DSK022, Springer. https://kgbook.org/&lt;br /&gt;
&lt;br /&gt;
Supplementary books (&#039;&#039;not&#039;&#039; mandatory):&lt;br /&gt;
* Dean Allemang, James Hendler &amp;amp; Fabien Gandon (2020). &#039;&#039;&#039;Semantic Web for the Working Ontologist, Effective Modeling for Linked Data, RDFS and OWL (Third Edition).&#039;&#039;&#039; ISBN: 9781450376143, PDF ISBN: 9781450376150, Hardcover ISBN: 9781450376174, DOI: 10.1145/3382097.&lt;br /&gt;
* Andreas Blumauer and Helmut Nagy (2020). &#039;&#039;&#039;The Knowledge Graph Cookbook - Recipes that Work.&#039;&#039;&#039; mono/monochrom. ISBN-10: ‎3902796707, ISBN-13: 978-3902796707.&lt;br /&gt;
&lt;br /&gt;
=Other materials=&lt;br /&gt;
&lt;br /&gt;
In addition, &#039;&#039;&#039;the materials listed below for each lecture are either mandatory or suggested reading&#039;&#039;&#039;. More materials will be added to each lecture in the coming weeks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The labs, lectures and lectures notes are also part of the curriculum.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039; to download some of the papers, you may need to be inside UiB&#039;s network. Either use a computer directly on the UiB network or connect to your UiB account through VPN.&lt;br /&gt;
&lt;br /&gt;
=Lectures (in progress)=&lt;br /&gt;
&lt;br /&gt;
Below are the mandatory and suggested readings for each lecture. All the textbook chapters in Hogan et al. (&amp;quot;Knowledge Graphs&amp;quot;) are mandatory, whereas the chapters in Allemang, Hendler &amp;amp; Gandon (&amp;quot;Semantic Web&amp;quot;) are suggested.&lt;br /&gt;
&lt;br /&gt;
==Session 1: Introduction to KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Introduction to Knowledge Graphs&lt;br /&gt;
* Organisation of the course&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 1 Introduction, section 2.1 Models, and Appendix A Background in Hogan et al.&lt;br /&gt;
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web]&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.1.3 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapters 1-3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Wikidata (https://www.wikidata.org/)&lt;br /&gt;
&lt;br /&gt;
==Session 2: Querying and updating KGs (SPARQL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SPARQL queries&lt;br /&gt;
* SPARQL Update&lt;br /&gt;
* Programming SPARQL and SPARQL Update in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 2.2 Queries in Hogan et al.&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.8/sparql.html The SPARQL query language — GraphDB 10.8 documentation]&lt;br /&gt;
* [https://rdflib.readthedocs.io/ rdflib 7.1.3] materials: [https://rdflib.readthedocs.io/en/stable/intro_to_sparql.html Querying with SPARQL]&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapter 6 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-query/ SPARQL 1.1 Query Language]&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language]&lt;br /&gt;
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]]&lt;br /&gt;
* [https://en.wikibooks.org/wiki/SPARQL/Expressions_and_Functions SPARQL Expressions and Functions]&lt;br /&gt;
&lt;br /&gt;
==Session 3: Creating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Extracting KGs from text&lt;br /&gt;
* Extracting from marked-up sources&lt;br /&gt;
* Extracting from SQL databases and JSON&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 6 Creation and Enrichment, sections 6.1-6.4, in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.0/virtualization.html Virtualization, GraphDB 10.0 documentation]&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
&lt;br /&gt;
==Session 4: Validating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Validating KG schemas (SHACL)&lt;br /&gt;
* Semantic KG schemas/vocabularies (RDFS)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 3.1 Schema in Hogan et al.&lt;br /&gt;
* Sections 5.1, 5.3, 5.5, 5.6.1, and 5.6.3 in [https://book.validatingrdf.com/bookHtml011.html Gayo, J.E. et al. Validating RDF]. &lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* SHACL&lt;br /&gt;
** Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
** [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
** [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* RDFS&lt;br /&gt;
** [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important, and we will go through the most important ones in the lecture&#039;&#039;)&lt;br /&gt;
** [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
** [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need)&lt;br /&gt;
&lt;br /&gt;
==Session 5: Advanced KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about RDF, e.g.,&lt;br /&gt;
** identity&lt;br /&gt;
** blank nodes&lt;br /&gt;
** reification&lt;br /&gt;
** higher-arity graphs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 3.2 Identity and 3.3 Context in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
&lt;br /&gt;
==Session 6: Ontologies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More powerful vocabularies/ontologies (OWL)&lt;br /&gt;
* Creating ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 4.1 Ontologies and 6.3 Schema/ontology creation in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ OWL 2 Primer, sections 2-6 (advanced: 9-10)] (show: Turtle)&lt;br /&gt;
* [https://service.tib.eu/webvowl/ WebVOWL] interactive OWL visualisation tool&lt;br /&gt;
* Selected vocabularies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
* Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
==Session 7: Reasoning==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about semantic KG schemas (RDFS)&lt;br /&gt;
* Description logic&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 4.2 Rules + DL in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important&#039;&#039;)&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview/ W3C OWL 2 Overview]&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ W3C OWL 2 Primer]&lt;br /&gt;
* [https://www.w3.org/TR/2012/REC-owl2-quick-reference-20121211/ W3C OWL 2 Quick Reference Guide (2nd Edition)]&lt;br /&gt;
&lt;br /&gt;
==Session 8: KG Analytics==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph analytics&lt;br /&gt;
** graph metrics&lt;br /&gt;
** directed vector-labelled graphs&lt;br /&gt;
** analysis frameworks and techniques&lt;br /&gt;
* Symbolic learning&lt;br /&gt;
** rule, axiom, and hypothesis mining&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.1 Graph Analytics and 5.4 Symbolic Learning in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://networkx.org/ NetworkX - Network analysis in Python]&lt;br /&gt;
&lt;br /&gt;
== Guest Lecture: KGs in Industry ==&lt;br /&gt;
Guest lecture by Sindre Asplem, [https://www.capgemini.com/no-no/ Capgemini].&lt;br /&gt;
&lt;br /&gt;
==Session 9: KG Embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Semantic embedding spaces&lt;br /&gt;
* KG embedding techniques&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.2 Knowledge Graph Embeddings and 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* TorchKGE or PyKeen or ??&lt;br /&gt;
&lt;br /&gt;
==Session 10: KG Refinement==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Enriching KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 8 Completion + Correction in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Session 11: KGs in Practice==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Open KGs&lt;br /&gt;
* Enterprise KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Important knowledge graphs:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/)&lt;br /&gt;
** DBpedia (https://www.dbpedia.org, https://dbpedia.org/page/Bergen)&lt;br /&gt;
** GeoNames (https://www.geonames.org/)&lt;br /&gt;
** BabelNet (https://babelnet.org/)&lt;br /&gt;
** Linked Open Data (LOD) (http://lod-cloud.net)&lt;br /&gt;
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture: KG Quality==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG completion and correction&lt;br /&gt;
* Best practices&lt;br /&gt;
* Access protocols and usage control&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 8 Completion + Correction and 9 Best Practices + Access Protocols + Usage Control in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==Lecture 2: Representing KGs (RDF)==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Resource Description Framework (RDF)&lt;br /&gt;
* Programming RDF in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-primer/ W3C&#039;s RDF 1.1 Primer] until and including 5.1.2 Turtle (but not the rest for now)&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.0.0 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* [[:File:S02-RDF.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib 7.0.0 packages] (reference for the labs)&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools]&lt;br /&gt;
* Pages 25-28, 92-100, 125-128, and 164-167 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture 4: Linked Open Data (LOD)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Linked Open Data(LOD)&lt;br /&gt;
* The LOD cloud&lt;br /&gt;
* Data provisioning&lt;br /&gt;
&lt;br /&gt;
Mandatory readings &#039;&#039;(both lecture 4 and 5)&#039;&#039;:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27.&lt;br /&gt;
* [[:File:S04-LOD.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* [https://www.ontotext.com/knowledgehub/fundamentals/linked-data-linked-open-data/ What Are Linked Data and Linked Open Data?]&lt;br /&gt;
* [[:File:BizerHeathBernersLee-LinkedData2009-TheStorySoFar.pdf | Bizer, C., Heath, T., &amp;amp; Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 5: Open Knowledge Graphs I==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** Wikidata&lt;br /&gt;
** DBpedia&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/):&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:Introduction Introduction to Wikidata]&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help SPARQL query service/A gentle introduction to the Wikidata Query Service]&lt;br /&gt;
*** example: [https://www.wikidata.org/wiki/Q26793]&lt;br /&gt;
** DBpedia (https://www.dbpedia.org):&lt;br /&gt;
*** [http://wiki.dbpedia.org/about About Dbpedia]&lt;br /&gt;
*** example: [https://dbpedia.org/resource/Bergen]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 6: Open Knowledge Graphs II==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** DBpedia &#039;&#039;(continued)&#039;&#039;&lt;br /&gt;
** GeoNames&lt;br /&gt;
** the GDELT project&lt;br /&gt;
** WordNet&lt;br /&gt;
** BabelNet&lt;br /&gt;
** ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** GeoNames (https://www.geonames.org/):&lt;br /&gt;
*** [http://www.geonames.org/about.html About GeoNames]&lt;br /&gt;
*** example: [https://www.geonames.org/3161732/bergen.html]&lt;br /&gt;
** GDELT (https://www.gdeltproject.org/)&lt;br /&gt;
*** [https://www.gdeltproject.org/ The GDELT Project] - see also the About and Data pages&lt;br /&gt;
** WordNet (https://wordnet.princeton.edu/)&lt;br /&gt;
*** [https://wordnet.princeton.edu/ WordNet - A lexical database for English]&lt;br /&gt;
** BabelNet (https://babelnet.org/):&lt;br /&gt;
*** [http://live.babelnet.org/about About BabelNet]&lt;br /&gt;
*** [https://babelnet.org/how-to-use How to use]&lt;br /&gt;
*** example: [https://babelnet.org/synset?id=bn%3A00010008n&amp;amp;orig=Bergen&amp;amp;lang=EN]&lt;br /&gt;
** ConceptNet (http://conceptnet.io)&lt;br /&gt;
*** [http://conceptnet.io ConceptNet - An open, multilingual knowledge graph]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* Wikidata statistics&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000167/wikidata-datamodel?orgId=1&amp;amp;refresh=30m Entity statistics]&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000175/wikidata-datamodel-statements?orgId=1&amp;amp;refresh=30m Statement statistics]&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* GDELT documentation&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Event_Codebook-V2.0.pdf Event Codebook (and covers mentions)]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook]&lt;br /&gt;
* Parts 1 and 3 in Blumauer &amp;amp; Nagy&#039;s text book (not tightly related to the lecture, but time to finish them by now :-))&lt;br /&gt;
&lt;br /&gt;
==Lecture 7: Enterprise Knowledge Graphs==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Enterprise Knowledge Graphs (EKGs)&lt;br /&gt;
* Google’s Knowledge Graph&lt;br /&gt;
* Amazon’s Product Graph&lt;br /&gt;
* JSON-LD (video presentation)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://www.blog.google/products/search/introducing-knowledge-graph-things-not/ Introducing the Knowledge Graph: Things not Strings], Amit Singhal, Google (2012). &#039;&#039;(The blog post that introduced Google&#039;s knowledge graph to the world.)&#039;&#039;&lt;br /&gt;
* [https://blog.google/products/search/about-knowledge-graph-and-knowledge-panels/ A reintroduction to our Knowledge Graph and knowledge panels], Danny Sullivan, Google (2020).&lt;br /&gt;
* [https://www.aboutamazon.com/news/innovation-at-amazon/making-search-easier How Amazon’s Product Graph is helping customers find products more easily], Arun Krishnan, Amazon (2018). &#039;&#039;(Short blog post that reviews some central ideas from the AutoKnow research paper listed below.)&#039;&#039;&lt;br /&gt;
* [https://www.amazon.science/blog/building-product-graphs-automatically Building product graphs automatically], Xin Luna Dong, Amazon (2020).&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
* [[:File:S07-EnterpriseKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Parts 2 and 4 in Blumauer &amp;amp; Nagy&#039;s text book (&#039;&#039;strongly suggested - this is where Blumauer &amp;amp; Nagy&#039;s book is good!&#039;&#039;)&lt;br /&gt;
* [[:File:Bosch-LIS.pdf | LIS: A knowledge graph-based line information system]] by Grangel-González, I., Rickart, M., Rudolph, O., &amp;amp; Shah, F. (2023, May). In Proceedings of the European Semantic Web Conference (pp. 591-608). Cham: Springer Nature Switzerland.&lt;br /&gt;
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]] by Dong, X. L., He, X., Kan, A., Li, X., Liang, Y., Ma, J., ... &amp;amp; Han, J. (2020, August). In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery &amp;amp; Data Mining (pp. 2724-2734). &#039;&#039;Research paper from Amazon about AutoKnow - this is a bit heavy for Bachelor level, but you can have a look :-)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Lecture 8: Rules (SHACL and RDFS)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SHACL and RDFS&lt;br /&gt;
* Axioms, rules and entailment&lt;br /&gt;
* Programming SHACL and RDFS in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 7-8 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://book.validatingrdf.com/bookHtml011.html Chapter 5 &#039;&#039;SHACL&#039;&#039;] in [https://book.validatingrdf.com/index.html Validating RDF] (available online)&lt;br /&gt;
** Sections 5.1, 5.3-5.5, and 5.6,1-5.6.3&lt;br /&gt;
* [http://www.w3.org/TR/rdf-schema/ W3C&#039;s RDF Schema 1.1], focus on sections 1-3 and 6&lt;br /&gt;
* [[:File:S07-SHACL-RDFS.pdf | Slides from the lecture]] &lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
* [https://docs.google.com/presentation/d/1weO9SzssxgYp3g_44X1LZsVtL0i6FurQ3KbIKZ8iriQ/ Lab presentation containing a short overview of SHACL and pySHACL]&lt;br /&gt;
* [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
* [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture&#039;&#039;)&lt;br /&gt;
* [https://github.com/blazegraph/database/wiki/InferenceAndTruthMaintenance Inference and Thruth Maintenance in Blazegraph]&lt;br /&gt;
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
* [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&lt;br /&gt;
&lt;br /&gt;
==Lecture 9: Ontologies (OWL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Basic OWL concepts&lt;br /&gt;
* Axioms, rules and entailments&lt;br /&gt;
* Programming basic OWL in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 9-10, 12-13 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6 and 9-10&lt;br /&gt;
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [https://protegeproject.github.io/protege/getting-started/ Protégé-OWL Getting Started]&lt;br /&gt;
* [[:File:S09-OWL.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials (cursory):&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-quick-reference/ OWL 2 Quick Reference Guide]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-rdf-based-semantics/ OWL2 RDF-Based Semantics]&lt;br /&gt;
* The OWL-RL materials (from Lecture 5)&lt;br /&gt;
* [http://vowl.visualdataweb.org/v2 VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [http://vowl.visualdataweb.org/webvowl/index.html#sioc WebVOWL]&lt;br /&gt;
* [[:File:LohmannEtAl2016-VisualizingOntologiesWithVOWL.pdf | Lohmann et al. (2019): Visualizing Ontologies with VOWL. &#039;&#039;Semantic Web Journal.&#039;&#039;]]&lt;br /&gt;
* Pages 106-109 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
&lt;br /&gt;
==Lecture 10: Vocabularies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* LOD vocabularies and ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 10-11 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)]&lt;br /&gt;
* Important vocabularies / ontologies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://motools.sourceforge.net/event/event.html Event Ontology (event)]&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [https://www.w3.org/2003/01/geo/ geo: World Geodetic Standard (WGS) 84]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://rdfs.org/sioc/spec/ Semantic Interlinked Online Communities (SIOC)]&lt;br /&gt;
** [http://schema.org/docs/full.html schema.org - Full Hierarchy]&lt;br /&gt;
** [http://wikidata.dbpedia.org/services-resources/ontology DBpedia Ontology]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
** [http://creativecommons.org/ns Creative Commons (CC) Vocabulary]&lt;br /&gt;
** &#039;&#039;What we expect you to know about each vocabulary is this:&#039;&#039; &lt;br /&gt;
*** Its purpose and where and how it can be used.&lt;br /&gt;
*** Its most central 3-6 classes and properties be able to explain its basic structure. &lt;br /&gt;
*** 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. &lt;br /&gt;
* [[:File:S10-Vocabularies.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Lecture 11: KG embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG embeddings&lt;br /&gt;
* Link prediction&lt;br /&gt;
* TorchKGE&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:S11-GraphEmbeddings.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
==Lecture 12: KGs and Large Language Models==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
&lt;br /&gt;
* What are Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
&lt;br /&gt;
* [[:file:S12-KGsAndLLMs.pdf | Slides from the lecture]]&lt;br /&gt;
* No mandatory readings beyond the slides&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
&lt;br /&gt;
* Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., &amp;amp; Wu, X. (2024). [[:file:PanEtAl2023-LLMs_KGs_Opportunities_Challenges.pdf | &#039;&#039;Unifying large language models and knowledge graphs: A roadmap.&#039;&#039;]]  IEEE Transactions on Knowledge and Data Engineering.&lt;br /&gt;
* Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... &amp;amp;  Polosukhin, I. (2017). [[:file:NIPS-2017-attention-is-all-you-need-Paper.pdf | &#039;&#039;Attention is all you need.&#039;&#039;]]  Advances in neural information processing systems, 30.&amp;lt;br /&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2024, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2685</id>
		<title>Readings</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2685"/>
		<updated>2025-03-17T08:22:47Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: /* Lecture: KGs in industry */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Textbooks=&lt;br /&gt;
&lt;br /&gt;
Main course book (&#039;&#039;the whole book is mandatory reading&#039;&#039;):&lt;br /&gt;
* Hogan, A. et al. (2021). &#039;&#039;&#039;Knowledge Graphs.&#039;&#039;&#039; Springer. &#039;&#039;Synthesis Lectures on Data, Semantics, and Knowledge&#039;&#039; 22, 1–237, DOI: 10.2200/S01125ED1V01Y202109DSK022, Springer. https://kgbook.org/&lt;br /&gt;
&lt;br /&gt;
Supplementary books (&#039;&#039;not&#039;&#039; mandatory):&lt;br /&gt;
* Dean Allemang, James Hendler &amp;amp; Fabien Gandon (2020). &#039;&#039;&#039;Semantic Web for the Working Ontologist, Effective Modeling for Linked Data, RDFS and OWL (Third Edition).&#039;&#039;&#039; ISBN: 9781450376143, PDF ISBN: 9781450376150, Hardcover ISBN: 9781450376174, DOI: 10.1145/3382097.&lt;br /&gt;
* Andreas Blumauer and Helmut Nagy (2020). &#039;&#039;&#039;The Knowledge Graph Cookbook - Recipes that Work.&#039;&#039;&#039; mono/monochrom. ISBN-10: ‎3902796707, ISBN-13: 978-3902796707.&lt;br /&gt;
&lt;br /&gt;
=Other materials=&lt;br /&gt;
&lt;br /&gt;
In addition, &#039;&#039;&#039;the materials listed below for each lecture are either mandatory or suggested reading&#039;&#039;&#039;. More materials will be added to each lecture in the coming weeks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The labs, lectures and lectures notes are also part of the curriculum.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039; to download some of the papers, you may need to be inside UiB&#039;s network. Either use a computer directly on the UiB network or connect to your UiB account through VPN.&lt;br /&gt;
&lt;br /&gt;
=Lectures (in progress)=&lt;br /&gt;
&lt;br /&gt;
Below are the mandatory and suggested readings for each lecture. All the textbook chapters in Hogan et al. (&amp;quot;Knowledge Graphs&amp;quot;) are mandatory, whereas the chapters in Allemang, Hendler &amp;amp; Gandon (&amp;quot;Semantic Web&amp;quot;) are suggested.&lt;br /&gt;
&lt;br /&gt;
==Session 1: Introduction to KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Introduction to Knowledge Graphs&lt;br /&gt;
* Organisation of the course&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 1 Introduction, section 2.1 Models, and Appendix A Background in Hogan et al.&lt;br /&gt;
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web]&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.1.3 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapters 1-3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Wikidata (https://www.wikidata.org/)&lt;br /&gt;
&lt;br /&gt;
==Session 2: Querying and updating KGs (SPARQL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SPARQL queries&lt;br /&gt;
* SPARQL Update&lt;br /&gt;
* Programming SPARQL and SPARQL Update in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 2.2 Queries in Hogan et al.&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.8/sparql.html The SPARQL query language — GraphDB 10.8 documentation]&lt;br /&gt;
* [https://rdflib.readthedocs.io/ rdflib 7.1.3] materials: [https://rdflib.readthedocs.io/en/stable/intro_to_sparql.html Querying with SPARQL]&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapter 6 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-query/ SPARQL 1.1 Query Language]&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language]&lt;br /&gt;
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]]&lt;br /&gt;
* [https://en.wikibooks.org/wiki/SPARQL/Expressions_and_Functions SPARQL Expressions and Functions]&lt;br /&gt;
&lt;br /&gt;
==Session 3: Creating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Extracting KGs from text&lt;br /&gt;
* Extracting from marked-up sources&lt;br /&gt;
* Extracting from SQL databases and JSON&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 6 Creation and Enrichment, sections 6.1-6.4, in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.0/virtualization.html Virtualization, GraphDB 10.0 documentation]&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
&lt;br /&gt;
==Session 4: Validating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Validating KG schemas (SHACL)&lt;br /&gt;
* Semantic KG schemas/vocabularies (RDFS)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 3.1 Schema in Hogan et al.&lt;br /&gt;
* Sections 5.1, 5.3, 5.5, 5.6.1, and 5.6.3 in [https://book.validatingrdf.com/bookHtml011.html Gayo, J.E. et al. Validating RDF]. &lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* SHACL&lt;br /&gt;
** Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
** [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
** [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* RDFS&lt;br /&gt;
** [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important, and we will go through the most important ones in the lecture&#039;&#039;)&lt;br /&gt;
** [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
** [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need)&lt;br /&gt;
&lt;br /&gt;
==Session 5: Advanced KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about RDF, e.g.,&lt;br /&gt;
** identity&lt;br /&gt;
** blank nodes&lt;br /&gt;
** reification&lt;br /&gt;
** higher-arity graphs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 3.2 Identity and 3.3 Context in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
&lt;br /&gt;
==Session 6: Ontologies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More powerful vocabularies/ontologies (OWL)&lt;br /&gt;
* Creating ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 4.1 Ontologies and 6.3 Schema/ontology creation in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ OWL 2 Primer, sections 2-6 (advanced: 9-10)] (show: Turtle)&lt;br /&gt;
* [https://service.tib.eu/webvowl/ WebVOWL] interactive OWL visualisation tool&lt;br /&gt;
* Selected vocabularies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
* Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
==Session 7: Reasoning==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about semantic KG schemas (RDFS)&lt;br /&gt;
* Description logic&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 4.2 Rules + DL in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important&#039;&#039;)&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview/ W3C OWL 2 Overview]&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ W3C OWL 2 Primer]&lt;br /&gt;
* [https://www.w3.org/TR/2012/REC-owl2-quick-reference-20121211/ W3C OWL 2 Quick Reference Guide (2nd Edition)]&lt;br /&gt;
&lt;br /&gt;
==Session 8: KG Analytics==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph analytics&lt;br /&gt;
** graph metrics&lt;br /&gt;
** directed vector-labelled graphs&lt;br /&gt;
** analysis frameworks and techniques&lt;br /&gt;
* Symbolic learning&lt;br /&gt;
** rule, axiom, and hypothesis mining&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.1 Graph Analytics and 5.4 Symbolic Learning in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://networkx.org/ NetworkX - Network analysis in Python]&lt;br /&gt;
&lt;br /&gt;
== Guest Lecture: KGs in Industry ==&lt;br /&gt;
Guest lecture by Sindre Asplem, [https://www.capgemini.com/no-no/ Capgemini].&lt;br /&gt;
&lt;br /&gt;
==Session 9: KG Embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Semantic embedding spaces&lt;br /&gt;
* KG embedding techniques&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.2 Knowledge Graph Embeddings and 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* TorchKGE or PyKeen or ??&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Refinement==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Enriching KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 8 Completion + Correction in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Lecture: KGs in Practice==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Open KGs&lt;br /&gt;
* Enterprise KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Important knowledge graphs:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/)&lt;br /&gt;
** DBpedia (https://www.dbpedia.org, https://dbpedia.org/page/Bergen)&lt;br /&gt;
** GeoNames (https://www.geonames.org/)&lt;br /&gt;
** BabelNet (https://babelnet.org/)&lt;br /&gt;
** Linked Open Data (LOD) (http://lod-cloud.net)&lt;br /&gt;
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture: KG Quality==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG completion and correction&lt;br /&gt;
* Best practices&lt;br /&gt;
* Access protocols and usage control&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 8 Completion + Correction and 9 Best Practices + Access Protocols + Usage Control in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==Lecture 2: Representing KGs (RDF)==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Resource Description Framework (RDF)&lt;br /&gt;
* Programming RDF in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-primer/ W3C&#039;s RDF 1.1 Primer] until and including 5.1.2 Turtle (but not the rest for now)&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.0.0 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* [[:File:S02-RDF.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib 7.0.0 packages] (reference for the labs)&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools]&lt;br /&gt;
* Pages 25-28, 92-100, 125-128, and 164-167 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture 4: Linked Open Data (LOD)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Linked Open Data(LOD)&lt;br /&gt;
* The LOD cloud&lt;br /&gt;
* Data provisioning&lt;br /&gt;
&lt;br /&gt;
Mandatory readings &#039;&#039;(both lecture 4 and 5)&#039;&#039;:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27.&lt;br /&gt;
* [[:File:S04-LOD.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* [https://www.ontotext.com/knowledgehub/fundamentals/linked-data-linked-open-data/ What Are Linked Data and Linked Open Data?]&lt;br /&gt;
* [[:File:BizerHeathBernersLee-LinkedData2009-TheStorySoFar.pdf | Bizer, C., Heath, T., &amp;amp; Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 5: Open Knowledge Graphs I==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** Wikidata&lt;br /&gt;
** DBpedia&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/):&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:Introduction Introduction to Wikidata]&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help SPARQL query service/A gentle introduction to the Wikidata Query Service]&lt;br /&gt;
*** example: [https://www.wikidata.org/wiki/Q26793]&lt;br /&gt;
** DBpedia (https://www.dbpedia.org):&lt;br /&gt;
*** [http://wiki.dbpedia.org/about About Dbpedia]&lt;br /&gt;
*** example: [https://dbpedia.org/resource/Bergen]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 6: Open Knowledge Graphs II==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** DBpedia &#039;&#039;(continued)&#039;&#039;&lt;br /&gt;
** GeoNames&lt;br /&gt;
** the GDELT project&lt;br /&gt;
** WordNet&lt;br /&gt;
** BabelNet&lt;br /&gt;
** ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** GeoNames (https://www.geonames.org/):&lt;br /&gt;
*** [http://www.geonames.org/about.html About GeoNames]&lt;br /&gt;
*** example: [https://www.geonames.org/3161732/bergen.html]&lt;br /&gt;
** GDELT (https://www.gdeltproject.org/)&lt;br /&gt;
*** [https://www.gdeltproject.org/ The GDELT Project] - see also the About and Data pages&lt;br /&gt;
** WordNet (https://wordnet.princeton.edu/)&lt;br /&gt;
*** [https://wordnet.princeton.edu/ WordNet - A lexical database for English]&lt;br /&gt;
** BabelNet (https://babelnet.org/):&lt;br /&gt;
*** [http://live.babelnet.org/about About BabelNet]&lt;br /&gt;
*** [https://babelnet.org/how-to-use How to use]&lt;br /&gt;
*** example: [https://babelnet.org/synset?id=bn%3A00010008n&amp;amp;orig=Bergen&amp;amp;lang=EN]&lt;br /&gt;
** ConceptNet (http://conceptnet.io)&lt;br /&gt;
*** [http://conceptnet.io ConceptNet - An open, multilingual knowledge graph]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* Wikidata statistics&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000167/wikidata-datamodel?orgId=1&amp;amp;refresh=30m Entity statistics]&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000175/wikidata-datamodel-statements?orgId=1&amp;amp;refresh=30m Statement statistics]&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* GDELT documentation&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Event_Codebook-V2.0.pdf Event Codebook (and covers mentions)]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook]&lt;br /&gt;
* Parts 1 and 3 in Blumauer &amp;amp; Nagy&#039;s text book (not tightly related to the lecture, but time to finish them by now :-))&lt;br /&gt;
&lt;br /&gt;
==Lecture 7: Enterprise Knowledge Graphs==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Enterprise Knowledge Graphs (EKGs)&lt;br /&gt;
* Google’s Knowledge Graph&lt;br /&gt;
* Amazon’s Product Graph&lt;br /&gt;
* JSON-LD (video presentation)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://www.blog.google/products/search/introducing-knowledge-graph-things-not/ Introducing the Knowledge Graph: Things not Strings], Amit Singhal, Google (2012). &#039;&#039;(The blog post that introduced Google&#039;s knowledge graph to the world.)&#039;&#039;&lt;br /&gt;
* [https://blog.google/products/search/about-knowledge-graph-and-knowledge-panels/ A reintroduction to our Knowledge Graph and knowledge panels], Danny Sullivan, Google (2020).&lt;br /&gt;
* [https://www.aboutamazon.com/news/innovation-at-amazon/making-search-easier How Amazon’s Product Graph is helping customers find products more easily], Arun Krishnan, Amazon (2018). &#039;&#039;(Short blog post that reviews some central ideas from the AutoKnow research paper listed below.)&#039;&#039;&lt;br /&gt;
* [https://www.amazon.science/blog/building-product-graphs-automatically Building product graphs automatically], Xin Luna Dong, Amazon (2020).&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
* [[:File:S07-EnterpriseKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Parts 2 and 4 in Blumauer &amp;amp; Nagy&#039;s text book (&#039;&#039;strongly suggested - this is where Blumauer &amp;amp; Nagy&#039;s book is good!&#039;&#039;)&lt;br /&gt;
* [[:File:Bosch-LIS.pdf | LIS: A knowledge graph-based line information system]] by Grangel-González, I., Rickart, M., Rudolph, O., &amp;amp; Shah, F. (2023, May). In Proceedings of the European Semantic Web Conference (pp. 591-608). Cham: Springer Nature Switzerland.&lt;br /&gt;
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]] by Dong, X. L., He, X., Kan, A., Li, X., Liang, Y., Ma, J., ... &amp;amp; Han, J. (2020, August). In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery &amp;amp; Data Mining (pp. 2724-2734). &#039;&#039;Research paper from Amazon about AutoKnow - this is a bit heavy for Bachelor level, but you can have a look :-)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Lecture 8: Rules (SHACL and RDFS)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SHACL and RDFS&lt;br /&gt;
* Axioms, rules and entailment&lt;br /&gt;
* Programming SHACL and RDFS in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 7-8 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://book.validatingrdf.com/bookHtml011.html Chapter 5 &#039;&#039;SHACL&#039;&#039;] in [https://book.validatingrdf.com/index.html Validating RDF] (available online)&lt;br /&gt;
** Sections 5.1, 5.3-5.5, and 5.6,1-5.6.3&lt;br /&gt;
* [http://www.w3.org/TR/rdf-schema/ W3C&#039;s RDF Schema 1.1], focus on sections 1-3 and 6&lt;br /&gt;
* [[:File:S07-SHACL-RDFS.pdf | Slides from the lecture]] &lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
* [https://docs.google.com/presentation/d/1weO9SzssxgYp3g_44X1LZsVtL0i6FurQ3KbIKZ8iriQ/ Lab presentation containing a short overview of SHACL and pySHACL]&lt;br /&gt;
* [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
* [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture&#039;&#039;)&lt;br /&gt;
* [https://github.com/blazegraph/database/wiki/InferenceAndTruthMaintenance Inference and Thruth Maintenance in Blazegraph]&lt;br /&gt;
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
* [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&lt;br /&gt;
&lt;br /&gt;
==Lecture 9: Ontologies (OWL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Basic OWL concepts&lt;br /&gt;
* Axioms, rules and entailments&lt;br /&gt;
* Programming basic OWL in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 9-10, 12-13 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6 and 9-10&lt;br /&gt;
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [https://protegeproject.github.io/protege/getting-started/ Protégé-OWL Getting Started]&lt;br /&gt;
* [[:File:S09-OWL.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials (cursory):&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-quick-reference/ OWL 2 Quick Reference Guide]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-rdf-based-semantics/ OWL2 RDF-Based Semantics]&lt;br /&gt;
* The OWL-RL materials (from Lecture 5)&lt;br /&gt;
* [http://vowl.visualdataweb.org/v2 VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [http://vowl.visualdataweb.org/webvowl/index.html#sioc WebVOWL]&lt;br /&gt;
* [[:File:LohmannEtAl2016-VisualizingOntologiesWithVOWL.pdf | Lohmann et al. (2019): Visualizing Ontologies with VOWL. &#039;&#039;Semantic Web Journal.&#039;&#039;]]&lt;br /&gt;
* Pages 106-109 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
&lt;br /&gt;
==Lecture 10: Vocabularies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* LOD vocabularies and ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 10-11 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)]&lt;br /&gt;
* Important vocabularies / ontologies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://motools.sourceforge.net/event/event.html Event Ontology (event)]&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [https://www.w3.org/2003/01/geo/ geo: World Geodetic Standard (WGS) 84]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://rdfs.org/sioc/spec/ Semantic Interlinked Online Communities (SIOC)]&lt;br /&gt;
** [http://schema.org/docs/full.html schema.org - Full Hierarchy]&lt;br /&gt;
** [http://wikidata.dbpedia.org/services-resources/ontology DBpedia Ontology]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
** [http://creativecommons.org/ns Creative Commons (CC) Vocabulary]&lt;br /&gt;
** &#039;&#039;What we expect you to know about each vocabulary is this:&#039;&#039; &lt;br /&gt;
*** Its purpose and where and how it can be used.&lt;br /&gt;
*** Its most central 3-6 classes and properties be able to explain its basic structure. &lt;br /&gt;
*** 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. &lt;br /&gt;
* [[:File:S10-Vocabularies.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Lecture 11: KG embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG embeddings&lt;br /&gt;
* Link prediction&lt;br /&gt;
* TorchKGE&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:S11-GraphEmbeddings.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
==Lecture 12: KGs and Large Language Models==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
&lt;br /&gt;
* What are Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
&lt;br /&gt;
* [[:file:S12-KGsAndLLMs.pdf | Slides from the lecture]]&lt;br /&gt;
* No mandatory readings beyond the slides&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
&lt;br /&gt;
* Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., &amp;amp; Wu, X. (2024). [[:file:PanEtAl2023-LLMs_KGs_Opportunities_Challenges.pdf | &#039;&#039;Unifying large language models and knowledge graphs: A roadmap.&#039;&#039;]]  IEEE Transactions on Knowledge and Data Engineering.&lt;br /&gt;
* Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... &amp;amp;  Polosukhin, I. (2017). [[:file:NIPS-2017-attention-is-all-you-need-Paper.pdf | &#039;&#039;Attention is all you need.&#039;&#039;]]  Advances in neural information processing systems, 30.&amp;lt;br /&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2024, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2684</id>
		<title>Readings</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2684"/>
		<updated>2025-03-17T08:22:22Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: /* Lecture: KG Quality */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Textbooks=&lt;br /&gt;
&lt;br /&gt;
Main course book (&#039;&#039;the whole book is mandatory reading&#039;&#039;):&lt;br /&gt;
* Hogan, A. et al. (2021). &#039;&#039;&#039;Knowledge Graphs.&#039;&#039;&#039; Springer. &#039;&#039;Synthesis Lectures on Data, Semantics, and Knowledge&#039;&#039; 22, 1–237, DOI: 10.2200/S01125ED1V01Y202109DSK022, Springer. https://kgbook.org/&lt;br /&gt;
&lt;br /&gt;
Supplementary books (&#039;&#039;not&#039;&#039; mandatory):&lt;br /&gt;
* Dean Allemang, James Hendler &amp;amp; Fabien Gandon (2020). &#039;&#039;&#039;Semantic Web for the Working Ontologist, Effective Modeling for Linked Data, RDFS and OWL (Third Edition).&#039;&#039;&#039; ISBN: 9781450376143, PDF ISBN: 9781450376150, Hardcover ISBN: 9781450376174, DOI: 10.1145/3382097.&lt;br /&gt;
* Andreas Blumauer and Helmut Nagy (2020). &#039;&#039;&#039;The Knowledge Graph Cookbook - Recipes that Work.&#039;&#039;&#039; mono/monochrom. ISBN-10: ‎3902796707, ISBN-13: 978-3902796707.&lt;br /&gt;
&lt;br /&gt;
=Other materials=&lt;br /&gt;
&lt;br /&gt;
In addition, &#039;&#039;&#039;the materials listed below for each lecture are either mandatory or suggested reading&#039;&#039;&#039;. More materials will be added to each lecture in the coming weeks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The labs, lectures and lectures notes are also part of the curriculum.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039; to download some of the papers, you may need to be inside UiB&#039;s network. Either use a computer directly on the UiB network or connect to your UiB account through VPN.&lt;br /&gt;
&lt;br /&gt;
=Lectures (in progress)=&lt;br /&gt;
&lt;br /&gt;
Below are the mandatory and suggested readings for each lecture. All the textbook chapters in Hogan et al. (&amp;quot;Knowledge Graphs&amp;quot;) are mandatory, whereas the chapters in Allemang, Hendler &amp;amp; Gandon (&amp;quot;Semantic Web&amp;quot;) are suggested.&lt;br /&gt;
&lt;br /&gt;
==Session 1: Introduction to KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Introduction to Knowledge Graphs&lt;br /&gt;
* Organisation of the course&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 1 Introduction, section 2.1 Models, and Appendix A Background in Hogan et al.&lt;br /&gt;
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web]&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.1.3 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapters 1-3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Wikidata (https://www.wikidata.org/)&lt;br /&gt;
&lt;br /&gt;
==Session 2: Querying and updating KGs (SPARQL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SPARQL queries&lt;br /&gt;
* SPARQL Update&lt;br /&gt;
* Programming SPARQL and SPARQL Update in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 2.2 Queries in Hogan et al.&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.8/sparql.html The SPARQL query language — GraphDB 10.8 documentation]&lt;br /&gt;
* [https://rdflib.readthedocs.io/ rdflib 7.1.3] materials: [https://rdflib.readthedocs.io/en/stable/intro_to_sparql.html Querying with SPARQL]&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapter 6 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-query/ SPARQL 1.1 Query Language]&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language]&lt;br /&gt;
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]]&lt;br /&gt;
* [https://en.wikibooks.org/wiki/SPARQL/Expressions_and_Functions SPARQL Expressions and Functions]&lt;br /&gt;
&lt;br /&gt;
==Session 3: Creating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Extracting KGs from text&lt;br /&gt;
* Extracting from marked-up sources&lt;br /&gt;
* Extracting from SQL databases and JSON&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 6 Creation and Enrichment, sections 6.1-6.4, in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.0/virtualization.html Virtualization, GraphDB 10.0 documentation]&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
&lt;br /&gt;
==Session 4: Validating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Validating KG schemas (SHACL)&lt;br /&gt;
* Semantic KG schemas/vocabularies (RDFS)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 3.1 Schema in Hogan et al.&lt;br /&gt;
* Sections 5.1, 5.3, 5.5, 5.6.1, and 5.6.3 in [https://book.validatingrdf.com/bookHtml011.html Gayo, J.E. et al. Validating RDF]. &lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* SHACL&lt;br /&gt;
** Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
** [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
** [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* RDFS&lt;br /&gt;
** [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important, and we will go through the most important ones in the lecture&#039;&#039;)&lt;br /&gt;
** [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
** [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need)&lt;br /&gt;
&lt;br /&gt;
==Session 5: Advanced KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about RDF, e.g.,&lt;br /&gt;
** identity&lt;br /&gt;
** blank nodes&lt;br /&gt;
** reification&lt;br /&gt;
** higher-arity graphs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 3.2 Identity and 3.3 Context in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
&lt;br /&gt;
==Session 6: Ontologies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More powerful vocabularies/ontologies (OWL)&lt;br /&gt;
* Creating ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 4.1 Ontologies and 6.3 Schema/ontology creation in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ OWL 2 Primer, sections 2-6 (advanced: 9-10)] (show: Turtle)&lt;br /&gt;
* [https://service.tib.eu/webvowl/ WebVOWL] interactive OWL visualisation tool&lt;br /&gt;
* Selected vocabularies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
* Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
==Session 7: Reasoning==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about semantic KG schemas (RDFS)&lt;br /&gt;
* Description logic&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 4.2 Rules + DL in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important&#039;&#039;)&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview/ W3C OWL 2 Overview]&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ W3C OWL 2 Primer]&lt;br /&gt;
* [https://www.w3.org/TR/2012/REC-owl2-quick-reference-20121211/ W3C OWL 2 Quick Reference Guide (2nd Edition)]&lt;br /&gt;
&lt;br /&gt;
==Session 8: KG Analytics==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph analytics&lt;br /&gt;
** graph metrics&lt;br /&gt;
** directed vector-labelled graphs&lt;br /&gt;
** analysis frameworks and techniques&lt;br /&gt;
* Symbolic learning&lt;br /&gt;
** rule, axiom, and hypothesis mining&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.1 Graph Analytics and 5.4 Symbolic Learning in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://networkx.org/ NetworkX - Network analysis in Python]&lt;br /&gt;
&lt;br /&gt;
== Guest Lecture: KGs in Industry ==&lt;br /&gt;
Guest lecture by Sindre Asplem, [https://www.capgemini.com/no-no/ Capgemini].&lt;br /&gt;
&lt;br /&gt;
==Session 9: KG Embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Semantic embedding spaces&lt;br /&gt;
* KG embedding techniques&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.2 Knowledge Graph Embeddings and 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* TorchKGE or PyKeen or ??&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Refinement==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Enriching KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 8 Completion + Correction in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Lecture: KGs in Practice==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Open KGs&lt;br /&gt;
* Enterprise KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Important knowledge graphs:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/)&lt;br /&gt;
** DBpedia (https://www.dbpedia.org, https://dbpedia.org/page/Bergen)&lt;br /&gt;
** GeoNames (https://www.geonames.org/)&lt;br /&gt;
** BabelNet (https://babelnet.org/)&lt;br /&gt;
** Linked Open Data (LOD) (http://lod-cloud.net)&lt;br /&gt;
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture: KG Quality==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG completion and correction&lt;br /&gt;
* Best practices&lt;br /&gt;
* Access protocols and usage control&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 8 Completion + Correction and 9 Best Practices + Access Protocols + Usage Control in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Lecture: KGs in industry==&lt;br /&gt;
&lt;br /&gt;
I am also working to organise a Guest Lecture from a practitioner and former student.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==Lecture 2: Representing KGs (RDF)==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Resource Description Framework (RDF)&lt;br /&gt;
* Programming RDF in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-primer/ W3C&#039;s RDF 1.1 Primer] until and including 5.1.2 Turtle (but not the rest for now)&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.0.0 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* [[:File:S02-RDF.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib 7.0.0 packages] (reference for the labs)&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools]&lt;br /&gt;
* Pages 25-28, 92-100, 125-128, and 164-167 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture 4: Linked Open Data (LOD)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Linked Open Data(LOD)&lt;br /&gt;
* The LOD cloud&lt;br /&gt;
* Data provisioning&lt;br /&gt;
&lt;br /&gt;
Mandatory readings &#039;&#039;(both lecture 4 and 5)&#039;&#039;:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27.&lt;br /&gt;
* [[:File:S04-LOD.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* [https://www.ontotext.com/knowledgehub/fundamentals/linked-data-linked-open-data/ What Are Linked Data and Linked Open Data?]&lt;br /&gt;
* [[:File:BizerHeathBernersLee-LinkedData2009-TheStorySoFar.pdf | Bizer, C., Heath, T., &amp;amp; Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 5: Open Knowledge Graphs I==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** Wikidata&lt;br /&gt;
** DBpedia&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/):&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:Introduction Introduction to Wikidata]&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help SPARQL query service/A gentle introduction to the Wikidata Query Service]&lt;br /&gt;
*** example: [https://www.wikidata.org/wiki/Q26793]&lt;br /&gt;
** DBpedia (https://www.dbpedia.org):&lt;br /&gt;
*** [http://wiki.dbpedia.org/about About Dbpedia]&lt;br /&gt;
*** example: [https://dbpedia.org/resource/Bergen]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 6: Open Knowledge Graphs II==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** DBpedia &#039;&#039;(continued)&#039;&#039;&lt;br /&gt;
** GeoNames&lt;br /&gt;
** the GDELT project&lt;br /&gt;
** WordNet&lt;br /&gt;
** BabelNet&lt;br /&gt;
** ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** GeoNames (https://www.geonames.org/):&lt;br /&gt;
*** [http://www.geonames.org/about.html About GeoNames]&lt;br /&gt;
*** example: [https://www.geonames.org/3161732/bergen.html]&lt;br /&gt;
** GDELT (https://www.gdeltproject.org/)&lt;br /&gt;
*** [https://www.gdeltproject.org/ The GDELT Project] - see also the About and Data pages&lt;br /&gt;
** WordNet (https://wordnet.princeton.edu/)&lt;br /&gt;
*** [https://wordnet.princeton.edu/ WordNet - A lexical database for English]&lt;br /&gt;
** BabelNet (https://babelnet.org/):&lt;br /&gt;
*** [http://live.babelnet.org/about About BabelNet]&lt;br /&gt;
*** [https://babelnet.org/how-to-use How to use]&lt;br /&gt;
*** example: [https://babelnet.org/synset?id=bn%3A00010008n&amp;amp;orig=Bergen&amp;amp;lang=EN]&lt;br /&gt;
** ConceptNet (http://conceptnet.io)&lt;br /&gt;
*** [http://conceptnet.io ConceptNet - An open, multilingual knowledge graph]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* Wikidata statistics&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000167/wikidata-datamodel?orgId=1&amp;amp;refresh=30m Entity statistics]&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000175/wikidata-datamodel-statements?orgId=1&amp;amp;refresh=30m Statement statistics]&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* GDELT documentation&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Event_Codebook-V2.0.pdf Event Codebook (and covers mentions)]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook]&lt;br /&gt;
* Parts 1 and 3 in Blumauer &amp;amp; Nagy&#039;s text book (not tightly related to the lecture, but time to finish them by now :-))&lt;br /&gt;
&lt;br /&gt;
==Lecture 7: Enterprise Knowledge Graphs==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Enterprise Knowledge Graphs (EKGs)&lt;br /&gt;
* Google’s Knowledge Graph&lt;br /&gt;
* Amazon’s Product Graph&lt;br /&gt;
* JSON-LD (video presentation)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://www.blog.google/products/search/introducing-knowledge-graph-things-not/ Introducing the Knowledge Graph: Things not Strings], Amit Singhal, Google (2012). &#039;&#039;(The blog post that introduced Google&#039;s knowledge graph to the world.)&#039;&#039;&lt;br /&gt;
* [https://blog.google/products/search/about-knowledge-graph-and-knowledge-panels/ A reintroduction to our Knowledge Graph and knowledge panels], Danny Sullivan, Google (2020).&lt;br /&gt;
* [https://www.aboutamazon.com/news/innovation-at-amazon/making-search-easier How Amazon’s Product Graph is helping customers find products more easily], Arun Krishnan, Amazon (2018). &#039;&#039;(Short blog post that reviews some central ideas from the AutoKnow research paper listed below.)&#039;&#039;&lt;br /&gt;
* [https://www.amazon.science/blog/building-product-graphs-automatically Building product graphs automatically], Xin Luna Dong, Amazon (2020).&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
* [[:File:S07-EnterpriseKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Parts 2 and 4 in Blumauer &amp;amp; Nagy&#039;s text book (&#039;&#039;strongly suggested - this is where Blumauer &amp;amp; Nagy&#039;s book is good!&#039;&#039;)&lt;br /&gt;
* [[:File:Bosch-LIS.pdf | LIS: A knowledge graph-based line information system]] by Grangel-González, I., Rickart, M., Rudolph, O., &amp;amp; Shah, F. (2023, May). In Proceedings of the European Semantic Web Conference (pp. 591-608). Cham: Springer Nature Switzerland.&lt;br /&gt;
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]] by Dong, X. L., He, X., Kan, A., Li, X., Liang, Y., Ma, J., ... &amp;amp; Han, J. (2020, August). In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery &amp;amp; Data Mining (pp. 2724-2734). &#039;&#039;Research paper from Amazon about AutoKnow - this is a bit heavy for Bachelor level, but you can have a look :-)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Lecture 8: Rules (SHACL and RDFS)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SHACL and RDFS&lt;br /&gt;
* Axioms, rules and entailment&lt;br /&gt;
* Programming SHACL and RDFS in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 7-8 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://book.validatingrdf.com/bookHtml011.html Chapter 5 &#039;&#039;SHACL&#039;&#039;] in [https://book.validatingrdf.com/index.html Validating RDF] (available online)&lt;br /&gt;
** Sections 5.1, 5.3-5.5, and 5.6,1-5.6.3&lt;br /&gt;
* [http://www.w3.org/TR/rdf-schema/ W3C&#039;s RDF Schema 1.1], focus on sections 1-3 and 6&lt;br /&gt;
* [[:File:S07-SHACL-RDFS.pdf | Slides from the lecture]] &lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
* [https://docs.google.com/presentation/d/1weO9SzssxgYp3g_44X1LZsVtL0i6FurQ3KbIKZ8iriQ/ Lab presentation containing a short overview of SHACL and pySHACL]&lt;br /&gt;
* [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
* [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture&#039;&#039;)&lt;br /&gt;
* [https://github.com/blazegraph/database/wiki/InferenceAndTruthMaintenance Inference and Thruth Maintenance in Blazegraph]&lt;br /&gt;
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
* [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&lt;br /&gt;
&lt;br /&gt;
==Lecture 9: Ontologies (OWL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Basic OWL concepts&lt;br /&gt;
* Axioms, rules and entailments&lt;br /&gt;
* Programming basic OWL in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 9-10, 12-13 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6 and 9-10&lt;br /&gt;
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [https://protegeproject.github.io/protege/getting-started/ Protégé-OWL Getting Started]&lt;br /&gt;
* [[:File:S09-OWL.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials (cursory):&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-quick-reference/ OWL 2 Quick Reference Guide]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-rdf-based-semantics/ OWL2 RDF-Based Semantics]&lt;br /&gt;
* The OWL-RL materials (from Lecture 5)&lt;br /&gt;
* [http://vowl.visualdataweb.org/v2 VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [http://vowl.visualdataweb.org/webvowl/index.html#sioc WebVOWL]&lt;br /&gt;
* [[:File:LohmannEtAl2016-VisualizingOntologiesWithVOWL.pdf | Lohmann et al. (2019): Visualizing Ontologies with VOWL. &#039;&#039;Semantic Web Journal.&#039;&#039;]]&lt;br /&gt;
* Pages 106-109 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
&lt;br /&gt;
==Lecture 10: Vocabularies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* LOD vocabularies and ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 10-11 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)]&lt;br /&gt;
* Important vocabularies / ontologies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://motools.sourceforge.net/event/event.html Event Ontology (event)]&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [https://www.w3.org/2003/01/geo/ geo: World Geodetic Standard (WGS) 84]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://rdfs.org/sioc/spec/ Semantic Interlinked Online Communities (SIOC)]&lt;br /&gt;
** [http://schema.org/docs/full.html schema.org - Full Hierarchy]&lt;br /&gt;
** [http://wikidata.dbpedia.org/services-resources/ontology DBpedia Ontology]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
** [http://creativecommons.org/ns Creative Commons (CC) Vocabulary]&lt;br /&gt;
** &#039;&#039;What we expect you to know about each vocabulary is this:&#039;&#039; &lt;br /&gt;
*** Its purpose and where and how it can be used.&lt;br /&gt;
*** Its most central 3-6 classes and properties be able to explain its basic structure. &lt;br /&gt;
*** 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. &lt;br /&gt;
* [[:File:S10-Vocabularies.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Lecture 11: KG embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG embeddings&lt;br /&gt;
* Link prediction&lt;br /&gt;
* TorchKGE&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:S11-GraphEmbeddings.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
==Lecture 12: KGs and Large Language Models==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
&lt;br /&gt;
* What are Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
&lt;br /&gt;
* [[:file:S12-KGsAndLLMs.pdf | Slides from the lecture]]&lt;br /&gt;
* No mandatory readings beyond the slides&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
&lt;br /&gt;
* Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., &amp;amp; Wu, X. (2024). [[:file:PanEtAl2023-LLMs_KGs_Opportunities_Challenges.pdf | &#039;&#039;Unifying large language models and knowledge graphs: A roadmap.&#039;&#039;]]  IEEE Transactions on Knowledge and Data Engineering.&lt;br /&gt;
* Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... &amp;amp;  Polosukhin, I. (2017). [[:file:NIPS-2017-attention-is-all-you-need-Paper.pdf | &#039;&#039;Attention is all you need.&#039;&#039;]]  Advances in neural information processing systems, 30.&amp;lt;br /&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2024, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2683</id>
		<title>Readings</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2683"/>
		<updated>2025-03-17T08:21:47Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: /* Session 7: Reasoning */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Textbooks=&lt;br /&gt;
&lt;br /&gt;
Main course book (&#039;&#039;the whole book is mandatory reading&#039;&#039;):&lt;br /&gt;
* Hogan, A. et al. (2021). &#039;&#039;&#039;Knowledge Graphs.&#039;&#039;&#039; Springer. &#039;&#039;Synthesis Lectures on Data, Semantics, and Knowledge&#039;&#039; 22, 1–237, DOI: 10.2200/S01125ED1V01Y202109DSK022, Springer. https://kgbook.org/&lt;br /&gt;
&lt;br /&gt;
Supplementary books (&#039;&#039;not&#039;&#039; mandatory):&lt;br /&gt;
* Dean Allemang, James Hendler &amp;amp; Fabien Gandon (2020). &#039;&#039;&#039;Semantic Web for the Working Ontologist, Effective Modeling for Linked Data, RDFS and OWL (Third Edition).&#039;&#039;&#039; ISBN: 9781450376143, PDF ISBN: 9781450376150, Hardcover ISBN: 9781450376174, DOI: 10.1145/3382097.&lt;br /&gt;
* Andreas Blumauer and Helmut Nagy (2020). &#039;&#039;&#039;The Knowledge Graph Cookbook - Recipes that Work.&#039;&#039;&#039; mono/monochrom. ISBN-10: ‎3902796707, ISBN-13: 978-3902796707.&lt;br /&gt;
&lt;br /&gt;
=Other materials=&lt;br /&gt;
&lt;br /&gt;
In addition, &#039;&#039;&#039;the materials listed below for each lecture are either mandatory or suggested reading&#039;&#039;&#039;. More materials will be added to each lecture in the coming weeks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The labs, lectures and lectures notes are also part of the curriculum.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039; to download some of the papers, you may need to be inside UiB&#039;s network. Either use a computer directly on the UiB network or connect to your UiB account through VPN.&lt;br /&gt;
&lt;br /&gt;
=Lectures (in progress)=&lt;br /&gt;
&lt;br /&gt;
Below are the mandatory and suggested readings for each lecture. All the textbook chapters in Hogan et al. (&amp;quot;Knowledge Graphs&amp;quot;) are mandatory, whereas the chapters in Allemang, Hendler &amp;amp; Gandon (&amp;quot;Semantic Web&amp;quot;) are suggested.&lt;br /&gt;
&lt;br /&gt;
==Session 1: Introduction to KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Introduction to Knowledge Graphs&lt;br /&gt;
* Organisation of the course&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 1 Introduction, section 2.1 Models, and Appendix A Background in Hogan et al.&lt;br /&gt;
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web]&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.1.3 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapters 1-3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Wikidata (https://www.wikidata.org/)&lt;br /&gt;
&lt;br /&gt;
==Session 2: Querying and updating KGs (SPARQL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SPARQL queries&lt;br /&gt;
* SPARQL Update&lt;br /&gt;
* Programming SPARQL and SPARQL Update in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 2.2 Queries in Hogan et al.&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.8/sparql.html The SPARQL query language — GraphDB 10.8 documentation]&lt;br /&gt;
* [https://rdflib.readthedocs.io/ rdflib 7.1.3] materials: [https://rdflib.readthedocs.io/en/stable/intro_to_sparql.html Querying with SPARQL]&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapter 6 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-query/ SPARQL 1.1 Query Language]&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language]&lt;br /&gt;
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]]&lt;br /&gt;
* [https://en.wikibooks.org/wiki/SPARQL/Expressions_and_Functions SPARQL Expressions and Functions]&lt;br /&gt;
&lt;br /&gt;
==Session 3: Creating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Extracting KGs from text&lt;br /&gt;
* Extracting from marked-up sources&lt;br /&gt;
* Extracting from SQL databases and JSON&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 6 Creation and Enrichment, sections 6.1-6.4, in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.0/virtualization.html Virtualization, GraphDB 10.0 documentation]&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
&lt;br /&gt;
==Session 4: Validating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Validating KG schemas (SHACL)&lt;br /&gt;
* Semantic KG schemas/vocabularies (RDFS)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 3.1 Schema in Hogan et al.&lt;br /&gt;
* Sections 5.1, 5.3, 5.5, 5.6.1, and 5.6.3 in [https://book.validatingrdf.com/bookHtml011.html Gayo, J.E. et al. Validating RDF]. &lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* SHACL&lt;br /&gt;
** Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
** [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
** [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* RDFS&lt;br /&gt;
** [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important, and we will go through the most important ones in the lecture&#039;&#039;)&lt;br /&gt;
** [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
** [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need)&lt;br /&gt;
&lt;br /&gt;
==Session 5: Advanced KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about RDF, e.g.,&lt;br /&gt;
** identity&lt;br /&gt;
** blank nodes&lt;br /&gt;
** reification&lt;br /&gt;
** higher-arity graphs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 3.2 Identity and 3.3 Context in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
&lt;br /&gt;
==Session 6: Ontologies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More powerful vocabularies/ontologies (OWL)&lt;br /&gt;
* Creating ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 4.1 Ontologies and 6.3 Schema/ontology creation in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ OWL 2 Primer, sections 2-6 (advanced: 9-10)] (show: Turtle)&lt;br /&gt;
* [https://service.tib.eu/webvowl/ WebVOWL] interactive OWL visualisation tool&lt;br /&gt;
* Selected vocabularies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
* Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
==Session 7: Reasoning==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about semantic KG schemas (RDFS)&lt;br /&gt;
* Description logic&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 4.2 Rules + DL in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important&#039;&#039;)&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview/ W3C OWL 2 Overview]&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ W3C OWL 2 Primer]&lt;br /&gt;
* [https://www.w3.org/TR/2012/REC-owl2-quick-reference-20121211/ W3C OWL 2 Quick Reference Guide (2nd Edition)]&lt;br /&gt;
&lt;br /&gt;
==Session 8: KG Analytics==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph analytics&lt;br /&gt;
** graph metrics&lt;br /&gt;
** directed vector-labelled graphs&lt;br /&gt;
** analysis frameworks and techniques&lt;br /&gt;
* Symbolic learning&lt;br /&gt;
** rule, axiom, and hypothesis mining&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.1 Graph Analytics and 5.4 Symbolic Learning in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://networkx.org/ NetworkX - Network analysis in Python]&lt;br /&gt;
&lt;br /&gt;
== Guest Lecture: KGs in Industry ==&lt;br /&gt;
Guest lecture by Sindre Asplem, [https://www.capgemini.com/no-no/ Capgemini].&lt;br /&gt;
&lt;br /&gt;
==Session 9: KG Embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Semantic embedding spaces&lt;br /&gt;
* KG embedding techniques&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.2 Knowledge Graph Embeddings and 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* TorchKGE or PyKeen or ??&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Refinement==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Enriching KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 8 Completion + Correction in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Lecture: KGs in Practice==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Open KGs&lt;br /&gt;
* Enterprise KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Important knowledge graphs:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/)&lt;br /&gt;
** DBpedia (https://www.dbpedia.org, https://dbpedia.org/page/Bergen)&lt;br /&gt;
** GeoNames (https://www.geonames.org/)&lt;br /&gt;
** BabelNet (https://babelnet.org/)&lt;br /&gt;
** Linked Open Data (LOD) (http://lod-cloud.net)&lt;br /&gt;
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Quality==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG completion and correction&lt;br /&gt;
* Best practices&lt;br /&gt;
* Access protocols and usage control&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 8 Completion + Correction and 9 Best Practices + Access Protocols + Usage Control in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Lecture: KGs in industry==&lt;br /&gt;
&lt;br /&gt;
I am also working to organise a Guest Lecture from a practitioner and former student.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==Lecture 2: Representing KGs (RDF)==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Resource Description Framework (RDF)&lt;br /&gt;
* Programming RDF in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-primer/ W3C&#039;s RDF 1.1 Primer] until and including 5.1.2 Turtle (but not the rest for now)&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.0.0 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* [[:File:S02-RDF.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib 7.0.0 packages] (reference for the labs)&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools]&lt;br /&gt;
* Pages 25-28, 92-100, 125-128, and 164-167 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture 4: Linked Open Data (LOD)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Linked Open Data(LOD)&lt;br /&gt;
* The LOD cloud&lt;br /&gt;
* Data provisioning&lt;br /&gt;
&lt;br /&gt;
Mandatory readings &#039;&#039;(both lecture 4 and 5)&#039;&#039;:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27.&lt;br /&gt;
* [[:File:S04-LOD.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* [https://www.ontotext.com/knowledgehub/fundamentals/linked-data-linked-open-data/ What Are Linked Data and Linked Open Data?]&lt;br /&gt;
* [[:File:BizerHeathBernersLee-LinkedData2009-TheStorySoFar.pdf | Bizer, C., Heath, T., &amp;amp; Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 5: Open Knowledge Graphs I==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** Wikidata&lt;br /&gt;
** DBpedia&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/):&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:Introduction Introduction to Wikidata]&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help SPARQL query service/A gentle introduction to the Wikidata Query Service]&lt;br /&gt;
*** example: [https://www.wikidata.org/wiki/Q26793]&lt;br /&gt;
** DBpedia (https://www.dbpedia.org):&lt;br /&gt;
*** [http://wiki.dbpedia.org/about About Dbpedia]&lt;br /&gt;
*** example: [https://dbpedia.org/resource/Bergen]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 6: Open Knowledge Graphs II==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** DBpedia &#039;&#039;(continued)&#039;&#039;&lt;br /&gt;
** GeoNames&lt;br /&gt;
** the GDELT project&lt;br /&gt;
** WordNet&lt;br /&gt;
** BabelNet&lt;br /&gt;
** ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** GeoNames (https://www.geonames.org/):&lt;br /&gt;
*** [http://www.geonames.org/about.html About GeoNames]&lt;br /&gt;
*** example: [https://www.geonames.org/3161732/bergen.html]&lt;br /&gt;
** GDELT (https://www.gdeltproject.org/)&lt;br /&gt;
*** [https://www.gdeltproject.org/ The GDELT Project] - see also the About and Data pages&lt;br /&gt;
** WordNet (https://wordnet.princeton.edu/)&lt;br /&gt;
*** [https://wordnet.princeton.edu/ WordNet - A lexical database for English]&lt;br /&gt;
** BabelNet (https://babelnet.org/):&lt;br /&gt;
*** [http://live.babelnet.org/about About BabelNet]&lt;br /&gt;
*** [https://babelnet.org/how-to-use How to use]&lt;br /&gt;
*** example: [https://babelnet.org/synset?id=bn%3A00010008n&amp;amp;orig=Bergen&amp;amp;lang=EN]&lt;br /&gt;
** ConceptNet (http://conceptnet.io)&lt;br /&gt;
*** [http://conceptnet.io ConceptNet - An open, multilingual knowledge graph]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* Wikidata statistics&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000167/wikidata-datamodel?orgId=1&amp;amp;refresh=30m Entity statistics]&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000175/wikidata-datamodel-statements?orgId=1&amp;amp;refresh=30m Statement statistics]&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* GDELT documentation&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Event_Codebook-V2.0.pdf Event Codebook (and covers mentions)]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook]&lt;br /&gt;
* Parts 1 and 3 in Blumauer &amp;amp; Nagy&#039;s text book (not tightly related to the lecture, but time to finish them by now :-))&lt;br /&gt;
&lt;br /&gt;
==Lecture 7: Enterprise Knowledge Graphs==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Enterprise Knowledge Graphs (EKGs)&lt;br /&gt;
* Google’s Knowledge Graph&lt;br /&gt;
* Amazon’s Product Graph&lt;br /&gt;
* JSON-LD (video presentation)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://www.blog.google/products/search/introducing-knowledge-graph-things-not/ Introducing the Knowledge Graph: Things not Strings], Amit Singhal, Google (2012). &#039;&#039;(The blog post that introduced Google&#039;s knowledge graph to the world.)&#039;&#039;&lt;br /&gt;
* [https://blog.google/products/search/about-knowledge-graph-and-knowledge-panels/ A reintroduction to our Knowledge Graph and knowledge panels], Danny Sullivan, Google (2020).&lt;br /&gt;
* [https://www.aboutamazon.com/news/innovation-at-amazon/making-search-easier How Amazon’s Product Graph is helping customers find products more easily], Arun Krishnan, Amazon (2018). &#039;&#039;(Short blog post that reviews some central ideas from the AutoKnow research paper listed below.)&#039;&#039;&lt;br /&gt;
* [https://www.amazon.science/blog/building-product-graphs-automatically Building product graphs automatically], Xin Luna Dong, Amazon (2020).&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
* [[:File:S07-EnterpriseKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Parts 2 and 4 in Blumauer &amp;amp; Nagy&#039;s text book (&#039;&#039;strongly suggested - this is where Blumauer &amp;amp; Nagy&#039;s book is good!&#039;&#039;)&lt;br /&gt;
* [[:File:Bosch-LIS.pdf | LIS: A knowledge graph-based line information system]] by Grangel-González, I., Rickart, M., Rudolph, O., &amp;amp; Shah, F. (2023, May). In Proceedings of the European Semantic Web Conference (pp. 591-608). Cham: Springer Nature Switzerland.&lt;br /&gt;
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]] by Dong, X. L., He, X., Kan, A., Li, X., Liang, Y., Ma, J., ... &amp;amp; Han, J. (2020, August). In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery &amp;amp; Data Mining (pp. 2724-2734). &#039;&#039;Research paper from Amazon about AutoKnow - this is a bit heavy for Bachelor level, but you can have a look :-)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Lecture 8: Rules (SHACL and RDFS)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SHACL and RDFS&lt;br /&gt;
* Axioms, rules and entailment&lt;br /&gt;
* Programming SHACL and RDFS in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 7-8 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://book.validatingrdf.com/bookHtml011.html Chapter 5 &#039;&#039;SHACL&#039;&#039;] in [https://book.validatingrdf.com/index.html Validating RDF] (available online)&lt;br /&gt;
** Sections 5.1, 5.3-5.5, and 5.6,1-5.6.3&lt;br /&gt;
* [http://www.w3.org/TR/rdf-schema/ W3C&#039;s RDF Schema 1.1], focus on sections 1-3 and 6&lt;br /&gt;
* [[:File:S07-SHACL-RDFS.pdf | Slides from the lecture]] &lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
* [https://docs.google.com/presentation/d/1weO9SzssxgYp3g_44X1LZsVtL0i6FurQ3KbIKZ8iriQ/ Lab presentation containing a short overview of SHACL and pySHACL]&lt;br /&gt;
* [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
* [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture&#039;&#039;)&lt;br /&gt;
* [https://github.com/blazegraph/database/wiki/InferenceAndTruthMaintenance Inference and Thruth Maintenance in Blazegraph]&lt;br /&gt;
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
* [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&lt;br /&gt;
&lt;br /&gt;
==Lecture 9: Ontologies (OWL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Basic OWL concepts&lt;br /&gt;
* Axioms, rules and entailments&lt;br /&gt;
* Programming basic OWL in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 9-10, 12-13 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6 and 9-10&lt;br /&gt;
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [https://protegeproject.github.io/protege/getting-started/ Protégé-OWL Getting Started]&lt;br /&gt;
* [[:File:S09-OWL.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials (cursory):&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-quick-reference/ OWL 2 Quick Reference Guide]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-rdf-based-semantics/ OWL2 RDF-Based Semantics]&lt;br /&gt;
* The OWL-RL materials (from Lecture 5)&lt;br /&gt;
* [http://vowl.visualdataweb.org/v2 VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [http://vowl.visualdataweb.org/webvowl/index.html#sioc WebVOWL]&lt;br /&gt;
* [[:File:LohmannEtAl2016-VisualizingOntologiesWithVOWL.pdf | Lohmann et al. (2019): Visualizing Ontologies with VOWL. &#039;&#039;Semantic Web Journal.&#039;&#039;]]&lt;br /&gt;
* Pages 106-109 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
&lt;br /&gt;
==Lecture 10: Vocabularies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* LOD vocabularies and ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 10-11 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)]&lt;br /&gt;
* Important vocabularies / ontologies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://motools.sourceforge.net/event/event.html Event Ontology (event)]&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [https://www.w3.org/2003/01/geo/ geo: World Geodetic Standard (WGS) 84]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://rdfs.org/sioc/spec/ Semantic Interlinked Online Communities (SIOC)]&lt;br /&gt;
** [http://schema.org/docs/full.html schema.org - Full Hierarchy]&lt;br /&gt;
** [http://wikidata.dbpedia.org/services-resources/ontology DBpedia Ontology]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
** [http://creativecommons.org/ns Creative Commons (CC) Vocabulary]&lt;br /&gt;
** &#039;&#039;What we expect you to know about each vocabulary is this:&#039;&#039; &lt;br /&gt;
*** Its purpose and where and how it can be used.&lt;br /&gt;
*** Its most central 3-6 classes and properties be able to explain its basic structure. &lt;br /&gt;
*** 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. &lt;br /&gt;
* [[:File:S10-Vocabularies.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Lecture 11: KG embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG embeddings&lt;br /&gt;
* Link prediction&lt;br /&gt;
* TorchKGE&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:S11-GraphEmbeddings.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
==Lecture 12: KGs and Large Language Models==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
&lt;br /&gt;
* What are Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
&lt;br /&gt;
* [[:file:S12-KGsAndLLMs.pdf | Slides from the lecture]]&lt;br /&gt;
* No mandatory readings beyond the slides&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
&lt;br /&gt;
* Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., &amp;amp; Wu, X. (2024). [[:file:PanEtAl2023-LLMs_KGs_Opportunities_Challenges.pdf | &#039;&#039;Unifying large language models and knowledge graphs: A roadmap.&#039;&#039;]]  IEEE Transactions on Knowledge and Data Engineering.&lt;br /&gt;
* Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... &amp;amp;  Polosukhin, I. (2017). [[:file:NIPS-2017-attention-is-all-you-need-Paper.pdf | &#039;&#039;Attention is all you need.&#039;&#039;]]  Advances in neural information processing systems, 30.&amp;lt;br /&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2024, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2682</id>
		<title>Readings</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2682"/>
		<updated>2025-03-17T08:17:50Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: /* Lecture: Reasoning */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Textbooks=&lt;br /&gt;
&lt;br /&gt;
Main course book (&#039;&#039;the whole book is mandatory reading&#039;&#039;):&lt;br /&gt;
* Hogan, A. et al. (2021). &#039;&#039;&#039;Knowledge Graphs.&#039;&#039;&#039; Springer. &#039;&#039;Synthesis Lectures on Data, Semantics, and Knowledge&#039;&#039; 22, 1–237, DOI: 10.2200/S01125ED1V01Y202109DSK022, Springer. https://kgbook.org/&lt;br /&gt;
&lt;br /&gt;
Supplementary books (&#039;&#039;not&#039;&#039; mandatory):&lt;br /&gt;
* Dean Allemang, James Hendler &amp;amp; Fabien Gandon (2020). &#039;&#039;&#039;Semantic Web for the Working Ontologist, Effective Modeling for Linked Data, RDFS and OWL (Third Edition).&#039;&#039;&#039; ISBN: 9781450376143, PDF ISBN: 9781450376150, Hardcover ISBN: 9781450376174, DOI: 10.1145/3382097.&lt;br /&gt;
* Andreas Blumauer and Helmut Nagy (2020). &#039;&#039;&#039;The Knowledge Graph Cookbook - Recipes that Work.&#039;&#039;&#039; mono/monochrom. ISBN-10: ‎3902796707, ISBN-13: 978-3902796707.&lt;br /&gt;
&lt;br /&gt;
=Other materials=&lt;br /&gt;
&lt;br /&gt;
In addition, &#039;&#039;&#039;the materials listed below for each lecture are either mandatory or suggested reading&#039;&#039;&#039;. More materials will be added to each lecture in the coming weeks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The labs, lectures and lectures notes are also part of the curriculum.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039; to download some of the papers, you may need to be inside UiB&#039;s network. Either use a computer directly on the UiB network or connect to your UiB account through VPN.&lt;br /&gt;
&lt;br /&gt;
=Lectures (in progress)=&lt;br /&gt;
&lt;br /&gt;
Below are the mandatory and suggested readings for each lecture. All the textbook chapters in Hogan et al. (&amp;quot;Knowledge Graphs&amp;quot;) are mandatory, whereas the chapters in Allemang, Hendler &amp;amp; Gandon (&amp;quot;Semantic Web&amp;quot;) are suggested.&lt;br /&gt;
&lt;br /&gt;
==Session 1: Introduction to KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Introduction to Knowledge Graphs&lt;br /&gt;
* Organisation of the course&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 1 Introduction, section 2.1 Models, and Appendix A Background in Hogan et al.&lt;br /&gt;
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web]&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.1.3 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapters 1-3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Wikidata (https://www.wikidata.org/)&lt;br /&gt;
&lt;br /&gt;
==Session 2: Querying and updating KGs (SPARQL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SPARQL queries&lt;br /&gt;
* SPARQL Update&lt;br /&gt;
* Programming SPARQL and SPARQL Update in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 2.2 Queries in Hogan et al.&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.8/sparql.html The SPARQL query language — GraphDB 10.8 documentation]&lt;br /&gt;
* [https://rdflib.readthedocs.io/ rdflib 7.1.3] materials: [https://rdflib.readthedocs.io/en/stable/intro_to_sparql.html Querying with SPARQL]&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapter 6 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-query/ SPARQL 1.1 Query Language]&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language]&lt;br /&gt;
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]]&lt;br /&gt;
* [https://en.wikibooks.org/wiki/SPARQL/Expressions_and_Functions SPARQL Expressions and Functions]&lt;br /&gt;
&lt;br /&gt;
==Session 3: Creating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Extracting KGs from text&lt;br /&gt;
* Extracting from marked-up sources&lt;br /&gt;
* Extracting from SQL databases and JSON&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 6 Creation and Enrichment, sections 6.1-6.4, in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.0/virtualization.html Virtualization, GraphDB 10.0 documentation]&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
&lt;br /&gt;
==Session 4: Validating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Validating KG schemas (SHACL)&lt;br /&gt;
* Semantic KG schemas/vocabularies (RDFS)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 3.1 Schema in Hogan et al.&lt;br /&gt;
* Sections 5.1, 5.3, 5.5, 5.6.1, and 5.6.3 in [https://book.validatingrdf.com/bookHtml011.html Gayo, J.E. et al. Validating RDF]. &lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* SHACL&lt;br /&gt;
** Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
** [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
** [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* RDFS&lt;br /&gt;
** [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important, and we will go throught the most important ones in the lecture&#039;&#039;)&lt;br /&gt;
** [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
** [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need)&lt;br /&gt;
&lt;br /&gt;
==Session 5: Advanced KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about RDF, e.g.,&lt;br /&gt;
** identity&lt;br /&gt;
** blank nodes&lt;br /&gt;
** reification&lt;br /&gt;
** higher-arity graphs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 3.2 Identity and 3.3 Context in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
&lt;br /&gt;
==Session 6: Ontologies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More powerful vocabularies/ontologies (OWL)&lt;br /&gt;
* Creating ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 4.1 Ontologies and 6.3 Schema/ontology creation in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ OWL 2 Primer, sections 2-6 (advanced: 9-10)] (show: Turtle)&lt;br /&gt;
* [https://service.tib.eu/webvowl/ WebVOWL] interactive OWL visualisation tool&lt;br /&gt;
* Selected vocabularies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
* Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
==Session 7: Reasoning==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about semantic KG schemas (RDFS)&lt;br /&gt;
* Description logic&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 4.2 Rules + DL in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* RDFS&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
==Session 8: KG Analytics==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph analytics&lt;br /&gt;
** graph metrics&lt;br /&gt;
** directed vector-labelled graphs&lt;br /&gt;
** analysis frameworks and techniques&lt;br /&gt;
* Symbolic learning&lt;br /&gt;
** rule, axiom, and hypothesis mining&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.1 Graph Analytics and 5.4 Symbolic Learning in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://networkx.org/ NetworkX - Network analysis in Python]&lt;br /&gt;
&lt;br /&gt;
== Guest Lecture: KGs in Industry ==&lt;br /&gt;
Guest lecture by Sindre Asplem, [https://www.capgemini.com/no-no/ Capgemini].&lt;br /&gt;
&lt;br /&gt;
==Session 9: KG Embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Semantic embedding spaces&lt;br /&gt;
* KG embedding techniques&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.2 Knowledge Graph Embeddings and 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* TorchKGE or PyKeen or ??&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Refinement==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Enriching KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 8 Completion + Correction in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Lecture: KGs in Practice==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Open KGs&lt;br /&gt;
* Enterprise KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Important knowledge graphs:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/)&lt;br /&gt;
** DBpedia (https://www.dbpedia.org, https://dbpedia.org/page/Bergen)&lt;br /&gt;
** GeoNames (https://www.geonames.org/)&lt;br /&gt;
** BabelNet (https://babelnet.org/)&lt;br /&gt;
** Linked Open Data (LOD) (http://lod-cloud.net)&lt;br /&gt;
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Quality==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG completion and correction&lt;br /&gt;
* Best practices&lt;br /&gt;
* Access protocols and usage control&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 8 Completion + Correction and 9 Best Practices + Access Protocols + Usage Control in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Lecture: KGs in industry==&lt;br /&gt;
&lt;br /&gt;
I am also working to organise a Guest Lecture from a practitioner and former student.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==Lecture 2: Representing KGs (RDF)==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Resource Description Framework (RDF)&lt;br /&gt;
* Programming RDF in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-primer/ W3C&#039;s RDF 1.1 Primer] until and including 5.1.2 Turtle (but not the rest for now)&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.0.0 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* [[:File:S02-RDF.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib 7.0.0 packages] (reference for the labs)&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools]&lt;br /&gt;
* Pages 25-28, 92-100, 125-128, and 164-167 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture 4: Linked Open Data (LOD)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Linked Open Data(LOD)&lt;br /&gt;
* The LOD cloud&lt;br /&gt;
* Data provisioning&lt;br /&gt;
&lt;br /&gt;
Mandatory readings &#039;&#039;(both lecture 4 and 5)&#039;&#039;:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27.&lt;br /&gt;
* [[:File:S04-LOD.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* [https://www.ontotext.com/knowledgehub/fundamentals/linked-data-linked-open-data/ What Are Linked Data and Linked Open Data?]&lt;br /&gt;
* [[:File:BizerHeathBernersLee-LinkedData2009-TheStorySoFar.pdf | Bizer, C., Heath, T., &amp;amp; Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 5: Open Knowledge Graphs I==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** Wikidata&lt;br /&gt;
** DBpedia&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/):&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:Introduction Introduction to Wikidata]&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help SPARQL query service/A gentle introduction to the Wikidata Query Service]&lt;br /&gt;
*** example: [https://www.wikidata.org/wiki/Q26793]&lt;br /&gt;
** DBpedia (https://www.dbpedia.org):&lt;br /&gt;
*** [http://wiki.dbpedia.org/about About Dbpedia]&lt;br /&gt;
*** example: [https://dbpedia.org/resource/Bergen]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 6: Open Knowledge Graphs II==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** DBpedia &#039;&#039;(continued)&#039;&#039;&lt;br /&gt;
** GeoNames&lt;br /&gt;
** the GDELT project&lt;br /&gt;
** WordNet&lt;br /&gt;
** BabelNet&lt;br /&gt;
** ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** GeoNames (https://www.geonames.org/):&lt;br /&gt;
*** [http://www.geonames.org/about.html About GeoNames]&lt;br /&gt;
*** example: [https://www.geonames.org/3161732/bergen.html]&lt;br /&gt;
** GDELT (https://www.gdeltproject.org/)&lt;br /&gt;
*** [https://www.gdeltproject.org/ The GDELT Project] - see also the About and Data pages&lt;br /&gt;
** WordNet (https://wordnet.princeton.edu/)&lt;br /&gt;
*** [https://wordnet.princeton.edu/ WordNet - A lexical database for English]&lt;br /&gt;
** BabelNet (https://babelnet.org/):&lt;br /&gt;
*** [http://live.babelnet.org/about About BabelNet]&lt;br /&gt;
*** [https://babelnet.org/how-to-use How to use]&lt;br /&gt;
*** example: [https://babelnet.org/synset?id=bn%3A00010008n&amp;amp;orig=Bergen&amp;amp;lang=EN]&lt;br /&gt;
** ConceptNet (http://conceptnet.io)&lt;br /&gt;
*** [http://conceptnet.io ConceptNet - An open, multilingual knowledge graph]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* Wikidata statistics&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000167/wikidata-datamodel?orgId=1&amp;amp;refresh=30m Entity statistics]&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000175/wikidata-datamodel-statements?orgId=1&amp;amp;refresh=30m Statement statistics]&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* GDELT documentation&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Event_Codebook-V2.0.pdf Event Codebook (and covers mentions)]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook]&lt;br /&gt;
* Parts 1 and 3 in Blumauer &amp;amp; Nagy&#039;s text book (not tightly related to the lecture, but time to finish them by now :-))&lt;br /&gt;
&lt;br /&gt;
==Lecture 7: Enterprise Knowledge Graphs==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Enterprise Knowledge Graphs (EKGs)&lt;br /&gt;
* Google’s Knowledge Graph&lt;br /&gt;
* Amazon’s Product Graph&lt;br /&gt;
* JSON-LD (video presentation)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://www.blog.google/products/search/introducing-knowledge-graph-things-not/ Introducing the Knowledge Graph: Things not Strings], Amit Singhal, Google (2012). &#039;&#039;(The blog post that introduced Google&#039;s knowledge graph to the world.)&#039;&#039;&lt;br /&gt;
* [https://blog.google/products/search/about-knowledge-graph-and-knowledge-panels/ A reintroduction to our Knowledge Graph and knowledge panels], Danny Sullivan, Google (2020).&lt;br /&gt;
* [https://www.aboutamazon.com/news/innovation-at-amazon/making-search-easier How Amazon’s Product Graph is helping customers find products more easily], Arun Krishnan, Amazon (2018). &#039;&#039;(Short blog post that reviews some central ideas from the AutoKnow research paper listed below.)&#039;&#039;&lt;br /&gt;
* [https://www.amazon.science/blog/building-product-graphs-automatically Building product graphs automatically], Xin Luna Dong, Amazon (2020).&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
* [[:File:S07-EnterpriseKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Parts 2 and 4 in Blumauer &amp;amp; Nagy&#039;s text book (&#039;&#039;strongly suggested - this is where Blumauer &amp;amp; Nagy&#039;s book is good!&#039;&#039;)&lt;br /&gt;
* [[:File:Bosch-LIS.pdf | LIS: A knowledge graph-based line information system]] by Grangel-González, I., Rickart, M., Rudolph, O., &amp;amp; Shah, F. (2023, May). In Proceedings of the European Semantic Web Conference (pp. 591-608). Cham: Springer Nature Switzerland.&lt;br /&gt;
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]] by Dong, X. L., He, X., Kan, A., Li, X., Liang, Y., Ma, J., ... &amp;amp; Han, J. (2020, August). In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery &amp;amp; Data Mining (pp. 2724-2734). &#039;&#039;Research paper from Amazon about AutoKnow - this is a bit heavy for Bachelor level, but you can have a look :-)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Lecture 8: Rules (SHACL and RDFS)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SHACL and RDFS&lt;br /&gt;
* Axioms, rules and entailment&lt;br /&gt;
* Programming SHACL and RDFS in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 7-8 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://book.validatingrdf.com/bookHtml011.html Chapter 5 &#039;&#039;SHACL&#039;&#039;] in [https://book.validatingrdf.com/index.html Validating RDF] (available online)&lt;br /&gt;
** Sections 5.1, 5.3-5.5, and 5.6,1-5.6.3&lt;br /&gt;
* [http://www.w3.org/TR/rdf-schema/ W3C&#039;s RDF Schema 1.1], focus on sections 1-3 and 6&lt;br /&gt;
* [[:File:S07-SHACL-RDFS.pdf | Slides from the lecture]] &lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
* [https://docs.google.com/presentation/d/1weO9SzssxgYp3g_44X1LZsVtL0i6FurQ3KbIKZ8iriQ/ Lab presentation containing a short overview of SHACL and pySHACL]&lt;br /&gt;
* [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
* [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture&#039;&#039;)&lt;br /&gt;
* [https://github.com/blazegraph/database/wiki/InferenceAndTruthMaintenance Inference and Thruth Maintenance in Blazegraph]&lt;br /&gt;
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
* [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&lt;br /&gt;
&lt;br /&gt;
==Lecture 9: Ontologies (OWL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Basic OWL concepts&lt;br /&gt;
* Axioms, rules and entailments&lt;br /&gt;
* Programming basic OWL in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 9-10, 12-13 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6 and 9-10&lt;br /&gt;
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [https://protegeproject.github.io/protege/getting-started/ Protégé-OWL Getting Started]&lt;br /&gt;
* [[:File:S09-OWL.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials (cursory):&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-quick-reference/ OWL 2 Quick Reference Guide]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-rdf-based-semantics/ OWL2 RDF-Based Semantics]&lt;br /&gt;
* The OWL-RL materials (from Lecture 5)&lt;br /&gt;
* [http://vowl.visualdataweb.org/v2 VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [http://vowl.visualdataweb.org/webvowl/index.html#sioc WebVOWL]&lt;br /&gt;
* [[:File:LohmannEtAl2016-VisualizingOntologiesWithVOWL.pdf | Lohmann et al. (2019): Visualizing Ontologies with VOWL. &#039;&#039;Semantic Web Journal.&#039;&#039;]]&lt;br /&gt;
* Pages 106-109 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
&lt;br /&gt;
==Lecture 10: Vocabularies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* LOD vocabularies and ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 10-11 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)]&lt;br /&gt;
* Important vocabularies / ontologies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://motools.sourceforge.net/event/event.html Event Ontology (event)]&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [https://www.w3.org/2003/01/geo/ geo: World Geodetic Standard (WGS) 84]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://rdfs.org/sioc/spec/ Semantic Interlinked Online Communities (SIOC)]&lt;br /&gt;
** [http://schema.org/docs/full.html schema.org - Full Hierarchy]&lt;br /&gt;
** [http://wikidata.dbpedia.org/services-resources/ontology DBpedia Ontology]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
** [http://creativecommons.org/ns Creative Commons (CC) Vocabulary]&lt;br /&gt;
** &#039;&#039;What we expect you to know about each vocabulary is this:&#039;&#039; &lt;br /&gt;
*** Its purpose and where and how it can be used.&lt;br /&gt;
*** Its most central 3-6 classes and properties be able to explain its basic structure. &lt;br /&gt;
*** 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. &lt;br /&gt;
* [[:File:S10-Vocabularies.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Lecture 11: KG embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG embeddings&lt;br /&gt;
* Link prediction&lt;br /&gt;
* TorchKGE&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:S11-GraphEmbeddings.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
==Lecture 12: KGs and Large Language Models==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
&lt;br /&gt;
* What are Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
&lt;br /&gt;
* [[:file:S12-KGsAndLLMs.pdf | Slides from the lecture]]&lt;br /&gt;
* No mandatory readings beyond the slides&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
&lt;br /&gt;
* Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., &amp;amp; Wu, X. (2024). [[:file:PanEtAl2023-LLMs_KGs_Opportunities_Challenges.pdf | &#039;&#039;Unifying large language models and knowledge graphs: A roadmap.&#039;&#039;]]  IEEE Transactions on Knowledge and Data Engineering.&lt;br /&gt;
* Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... &amp;amp;  Polosukhin, I. (2017). [[:file:NIPS-2017-attention-is-all-you-need-Paper.pdf | &#039;&#039;Attention is all you need.&#039;&#039;]]  Advances in neural information processing systems, 30.&amp;lt;br /&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2024, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2676</id>
		<title>Readings</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2676"/>
		<updated>2025-03-03T09:42:38Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Textbooks=&lt;br /&gt;
&lt;br /&gt;
Main course book (&#039;&#039;the whole book is mandatory reading&#039;&#039;):&lt;br /&gt;
* Hogan, A. et al. (2021). &#039;&#039;&#039;Knowledge Graphs.&#039;&#039;&#039; Springer. &#039;&#039;Synthesis Lectures on Data, Semantics, and Knowledge&#039;&#039; 22, 1–237, DOI: 10.2200/S01125ED1V01Y202109DSK022, Springer. https://kgbook.org/&lt;br /&gt;
&lt;br /&gt;
Supplementary books (&#039;&#039;not&#039;&#039; mandatory):&lt;br /&gt;
* Dean Allemang, James Hendler &amp;amp; Fabien Gandon (2020). &#039;&#039;&#039;Semantic Web for the Working Ontologist, Effective Modeling for Linked Data, RDFS and OWL (Third Edition).&#039;&#039;&#039; ISBN: 9781450376143, PDF ISBN: 9781450376150, Hardcover ISBN: 9781450376174, DOI: 10.1145/3382097.&lt;br /&gt;
* Andreas Blumauer and Helmut Nagy (2020). &#039;&#039;&#039;The Knowledge Graph Cookbook - Recipes that Work.&#039;&#039;&#039; mono/monochrom. ISBN-10: ‎3902796707, ISBN-13: 978-3902796707.&lt;br /&gt;
&lt;br /&gt;
=Other materials=&lt;br /&gt;
&lt;br /&gt;
In addition, &#039;&#039;&#039;the materials listed below for each lecture are either mandatory or suggested reading&#039;&#039;&#039;. More materials will be added to each lecture in the coming weeks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The labs, lectures and lectures notes are also part of the curriculum.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039; to download some of the papers, you may need to be inside UiB&#039;s network. Either use a computer directly on the UiB network or connect to your UiB account through VPN.&lt;br /&gt;
&lt;br /&gt;
=Lectures (in progress)=&lt;br /&gt;
&lt;br /&gt;
Below are the mandatory and suggested readings for each lecture. All the textbook chapters in Hogan et al. (&amp;quot;Knowledge Graphs&amp;quot;) are mandatory, whereas the chapters in Allemang, Hendler &amp;amp; Gandon (&amp;quot;Semantic Web&amp;quot;) are suggested.&lt;br /&gt;
&lt;br /&gt;
==Session 1: Introduction to KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Introduction to Knowledge Graphs&lt;br /&gt;
* Organisation of the course&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 1 Introduction, section 2.1 Models, and Appendix A Background in Hogan et al.&lt;br /&gt;
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web]&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.1.3 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapters 1-3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Wikidata (https://www.wikidata.org/)&lt;br /&gt;
&lt;br /&gt;
==Session 2: Querying and updating KGs (SPARQL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SPARQL queries&lt;br /&gt;
* SPARQL Update&lt;br /&gt;
* Programming SPARQL and SPARQL Update in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 2.2 Queries in Hogan et al.&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.8/sparql.html The SPARQL query language — GraphDB 10.8 documentation]&lt;br /&gt;
* [https://rdflib.readthedocs.io/ rdflib 7.1.3] materials: [https://rdflib.readthedocs.io/en/stable/intro_to_sparql.html Querying with SPARQL]&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapter 6 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-query/ SPARQL 1.1 Query Language]&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language]&lt;br /&gt;
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]]&lt;br /&gt;
* [https://en.wikibooks.org/wiki/SPARQL/Expressions_and_Functions SPARQL Expressions and Functions]&lt;br /&gt;
&lt;br /&gt;
==Session 3: Creating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Extracting KGs from text&lt;br /&gt;
* Extracting from marked-up sources&lt;br /&gt;
* Extracting from SQL databases and JSON&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 6 Creation and Enrichment, sections 6.1-6.4, in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.0/virtualization.html Virtualization, GraphDB 10.0 documentation]&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
&lt;br /&gt;
==Session 4: Validating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Validating KG schemas (SHACL)&lt;br /&gt;
* Semantic KG schemas/vocabularies (RDFS)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 3.1 Schema in Hogan et al.&lt;br /&gt;
* Sections 5.1, 5.3, 5.5, 5.6.1, and 5.6.3 in [https://book.validatingrdf.com/bookHtml011.html Gayo, J.E. et al. Validating RDF]. &lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* SHACL&lt;br /&gt;
** Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
** [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
** [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* RDFS&lt;br /&gt;
** [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important, and we will go throught the most important ones in the lecture&#039;&#039;)&lt;br /&gt;
** [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
** [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need)&lt;br /&gt;
&lt;br /&gt;
==Session 5: Advanced KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about RDF, e.g.,&lt;br /&gt;
** identity&lt;br /&gt;
** blank nodes&lt;br /&gt;
** reification&lt;br /&gt;
** higher-arity graphs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 3.2 Identity and 3.3 Context in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
&lt;br /&gt;
==Session 6: Ontologies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More powerful vocabularies/ontologies (OWL)&lt;br /&gt;
* Creating ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 4.1 Ontologies and 6.3 Schema/ontology creation in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ OWL 2 Primer, sections 2-6 (advanced: 9-10)] (show: Turtle)&lt;br /&gt;
* [https://service.tib.eu/webvowl/ WebVOWL] interactive OWL visualisation tool&lt;br /&gt;
* Selected vocabularies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
* Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
==Lecture: Reasoning==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about semantic KG schemas (RDFS)&lt;br /&gt;
* Description logic&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 4.2 Rules + DL in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* RDFS&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Analytics==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph analytics&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 5.1 Graph Analytics in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* networkx&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Semantic embedding spaces&lt;br /&gt;
* KG embedding techniques&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.2 Knowledge Graph Embeddings and 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* TorchKGE or PyKeen or ??&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Refinement==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Enriching KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 8 Completion + Correction in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Lecture: KGs in Practice==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Open KGs&lt;br /&gt;
* Enterprise KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Important knowledge graphs:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/)&lt;br /&gt;
** DBpedia (https://www.dbpedia.org, https://dbpedia.org/page/Bergen)&lt;br /&gt;
** GeoNames (https://www.geonames.org/)&lt;br /&gt;
** BabelNet (https://babelnet.org/)&lt;br /&gt;
** Linked Open Data (LOD) (http://lod-cloud.net)&lt;br /&gt;
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Quality==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG completion and correction&lt;br /&gt;
* Best practices&lt;br /&gt;
* Access protocols and usage control&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 8 Completion + Correction and 9 Best Practices + Access Protocols + Usage Control in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Lecture: KGs in industry==&lt;br /&gt;
&lt;br /&gt;
I am also working to organise a Guest Lecture from a practitioner and former student.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==Lecture 2: Representing KGs (RDF)==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Resource Description Framework (RDF)&lt;br /&gt;
* Programming RDF in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-primer/ W3C&#039;s RDF 1.1 Primer] until and including 5.1.2 Turtle (but not the rest for now)&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.0.0 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* [[:File:S02-RDF.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib 7.0.0 packages] (reference for the labs)&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools]&lt;br /&gt;
* Pages 25-28, 92-100, 125-128, and 164-167 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture 4: Linked Open Data (LOD)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Linked Open Data(LOD)&lt;br /&gt;
* The LOD cloud&lt;br /&gt;
* Data provisioning&lt;br /&gt;
&lt;br /&gt;
Mandatory readings &#039;&#039;(both lecture 4 and 5)&#039;&#039;:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27.&lt;br /&gt;
* [[:File:S04-LOD.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* [https://www.ontotext.com/knowledgehub/fundamentals/linked-data-linked-open-data/ What Are Linked Data and Linked Open Data?]&lt;br /&gt;
* [[:File:BizerHeathBernersLee-LinkedData2009-TheStorySoFar.pdf | Bizer, C., Heath, T., &amp;amp; Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 5: Open Knowledge Graphs I==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** Wikidata&lt;br /&gt;
** DBpedia&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/):&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:Introduction Introduction to Wikidata]&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help SPARQL query service/A gentle introduction to the Wikidata Query Service]&lt;br /&gt;
*** example: [https://www.wikidata.org/wiki/Q26793]&lt;br /&gt;
** DBpedia (https://www.dbpedia.org):&lt;br /&gt;
*** [http://wiki.dbpedia.org/about About Dbpedia]&lt;br /&gt;
*** example: [https://dbpedia.org/resource/Bergen]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 6: Open Knowledge Graphs II==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** DBpedia &#039;&#039;(continued)&#039;&#039;&lt;br /&gt;
** GeoNames&lt;br /&gt;
** the GDELT project&lt;br /&gt;
** WordNet&lt;br /&gt;
** BabelNet&lt;br /&gt;
** ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** GeoNames (https://www.geonames.org/):&lt;br /&gt;
*** [http://www.geonames.org/about.html About GeoNames]&lt;br /&gt;
*** example: [https://www.geonames.org/3161732/bergen.html]&lt;br /&gt;
** GDELT (https://www.gdeltproject.org/)&lt;br /&gt;
*** [https://www.gdeltproject.org/ The GDELT Project] - see also the About and Data pages&lt;br /&gt;
** WordNet (https://wordnet.princeton.edu/)&lt;br /&gt;
*** [https://wordnet.princeton.edu/ WordNet - A lexical database for English]&lt;br /&gt;
** BabelNet (https://babelnet.org/):&lt;br /&gt;
*** [http://live.babelnet.org/about About BabelNet]&lt;br /&gt;
*** [https://babelnet.org/how-to-use How to use]&lt;br /&gt;
*** example: [https://babelnet.org/synset?id=bn%3A00010008n&amp;amp;orig=Bergen&amp;amp;lang=EN]&lt;br /&gt;
** ConceptNet (http://conceptnet.io)&lt;br /&gt;
*** [http://conceptnet.io ConceptNet - An open, multilingual knowledge graph]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* Wikidata statistics&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000167/wikidata-datamodel?orgId=1&amp;amp;refresh=30m Entity statistics]&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000175/wikidata-datamodel-statements?orgId=1&amp;amp;refresh=30m Statement statistics]&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* GDELT documentation&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Event_Codebook-V2.0.pdf Event Codebook (and covers mentions)]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook]&lt;br /&gt;
* Parts 1 and 3 in Blumauer &amp;amp; Nagy&#039;s text book (not tightly related to the lecture, but time to finish them by now :-))&lt;br /&gt;
&lt;br /&gt;
==Lecture 7: Enterprise Knowledge Graphs==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Enterprise Knowledge Graphs (EKGs)&lt;br /&gt;
* Google’s Knowledge Graph&lt;br /&gt;
* Amazon’s Product Graph&lt;br /&gt;
* JSON-LD (video presentation)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://www.blog.google/products/search/introducing-knowledge-graph-things-not/ Introducing the Knowledge Graph: Things not Strings], Amit Singhal, Google (2012). &#039;&#039;(The blog post that introduced Google&#039;s knowledge graph to the world.)&#039;&#039;&lt;br /&gt;
* [https://blog.google/products/search/about-knowledge-graph-and-knowledge-panels/ A reintroduction to our Knowledge Graph and knowledge panels], Danny Sullivan, Google (2020).&lt;br /&gt;
* [https://www.aboutamazon.com/news/innovation-at-amazon/making-search-easier How Amazon’s Product Graph is helping customers find products more easily], Arun Krishnan, Amazon (2018). &#039;&#039;(Short blog post that reviews some central ideas from the AutoKnow research paper listed below.)&#039;&#039;&lt;br /&gt;
* [https://www.amazon.science/blog/building-product-graphs-automatically Building product graphs automatically], Xin Luna Dong, Amazon (2020).&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
* [[:File:S07-EnterpriseKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Parts 2 and 4 in Blumauer &amp;amp; Nagy&#039;s text book (&#039;&#039;strongly suggested - this is where Blumauer &amp;amp; Nagy&#039;s book is good!&#039;&#039;)&lt;br /&gt;
* [[:File:Bosch-LIS.pdf | LIS: A knowledge graph-based line information system]] by Grangel-González, I., Rickart, M., Rudolph, O., &amp;amp; Shah, F. (2023, May). In Proceedings of the European Semantic Web Conference (pp. 591-608). Cham: Springer Nature Switzerland.&lt;br /&gt;
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]] by Dong, X. L., He, X., Kan, A., Li, X., Liang, Y., Ma, J., ... &amp;amp; Han, J. (2020, August). In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery &amp;amp; Data Mining (pp. 2724-2734). &#039;&#039;Research paper from Amazon about AutoKnow - this is a bit heavy for Bachelor level, but you can have a look :-)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Lecture 8: Rules (SHACL and RDFS)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SHACL and RDFS&lt;br /&gt;
* Axioms, rules and entailment&lt;br /&gt;
* Programming SHACL and RDFS in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 7-8 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://book.validatingrdf.com/bookHtml011.html Chapter 5 &#039;&#039;SHACL&#039;&#039;] in [https://book.validatingrdf.com/index.html Validating RDF] (available online)&lt;br /&gt;
** Sections 5.1, 5.3-5.5, and 5.6,1-5.6.3&lt;br /&gt;
* [http://www.w3.org/TR/rdf-schema/ W3C&#039;s RDF Schema 1.1], focus on sections 1-3 and 6&lt;br /&gt;
* [[:File:S07-SHACL-RDFS.pdf | Slides from the lecture]] &lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
* [https://docs.google.com/presentation/d/1weO9SzssxgYp3g_44X1LZsVtL0i6FurQ3KbIKZ8iriQ/ Lab presentation containing a short overview of SHACL and pySHACL]&lt;br /&gt;
* [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
* [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture&#039;&#039;)&lt;br /&gt;
* [https://github.com/blazegraph/database/wiki/InferenceAndTruthMaintenance Inference and Thruth Maintenance in Blazegraph]&lt;br /&gt;
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
* [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&lt;br /&gt;
&lt;br /&gt;
==Lecture 9: Ontologies (OWL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Basic OWL concepts&lt;br /&gt;
* Axioms, rules and entailments&lt;br /&gt;
* Programming basic OWL in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 9-10, 12-13 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6 and 9-10&lt;br /&gt;
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [https://protegeproject.github.io/protege/getting-started/ Protégé-OWL Getting Started]&lt;br /&gt;
* [[:File:S09-OWL.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials (cursory):&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-quick-reference/ OWL 2 Quick Reference Guide]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-rdf-based-semantics/ OWL2 RDF-Based Semantics]&lt;br /&gt;
* The OWL-RL materials (from Lecture 5)&lt;br /&gt;
* [http://vowl.visualdataweb.org/v2 VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [http://vowl.visualdataweb.org/webvowl/index.html#sioc WebVOWL]&lt;br /&gt;
* [[:File:LohmannEtAl2016-VisualizingOntologiesWithVOWL.pdf | Lohmann et al. (2019): Visualizing Ontologies with VOWL. &#039;&#039;Semantic Web Journal.&#039;&#039;]]&lt;br /&gt;
* Pages 106-109 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
&lt;br /&gt;
==Lecture 10: Vocabularies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* LOD vocabularies and ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 10-11 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)]&lt;br /&gt;
* Important vocabularies / ontologies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://motools.sourceforge.net/event/event.html Event Ontology (event)]&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [https://www.w3.org/2003/01/geo/ geo: World Geodetic Standard (WGS) 84]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://rdfs.org/sioc/spec/ Semantic Interlinked Online Communities (SIOC)]&lt;br /&gt;
** [http://schema.org/docs/full.html schema.org - Full Hierarchy]&lt;br /&gt;
** [http://wikidata.dbpedia.org/services-resources/ontology DBpedia Ontology]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
** [http://creativecommons.org/ns Creative Commons (CC) Vocabulary]&lt;br /&gt;
** &#039;&#039;What we expect you to know about each vocabulary is this:&#039;&#039; &lt;br /&gt;
*** Its purpose and where and how it can be used.&lt;br /&gt;
*** Its most central 3-6 classes and properties be able to explain its basic structure. &lt;br /&gt;
*** 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. &lt;br /&gt;
* [[:File:S10-Vocabularies.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Lecture 11: KG embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG embeddings&lt;br /&gt;
* Link prediction&lt;br /&gt;
* TorchKGE&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:S11-GraphEmbeddings.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
==Lecture 12: KGs and Large Language Models==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
&lt;br /&gt;
* What are Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
&lt;br /&gt;
* [[:file:S12-KGsAndLLMs.pdf | Slides from the lecture]]&lt;br /&gt;
* No mandatory readings beyond the slides&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
&lt;br /&gt;
* Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., &amp;amp; Wu, X. (2024). [[:file:PanEtAl2023-LLMs_KGs_Opportunities_Challenges.pdf | &#039;&#039;Unifying large language models and knowledge graphs: A roadmap.&#039;&#039;]]  IEEE Transactions on Knowledge and Data Engineering.&lt;br /&gt;
* Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... &amp;amp;  Polosukhin, I. (2017). [[:file:NIPS-2017-attention-is-all-you-need-Paper.pdf | &#039;&#039;Attention is all you need.&#039;&#039;]]  Advances in neural information processing systems, 30.&amp;lt;br /&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2024, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=MediaWiki:Sidebar&amp;diff=2675</id>
		<title>MediaWiki:Sidebar</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=MediaWiki:Sidebar&amp;diff=2675"/>
		<updated>2025-03-03T09:15:36Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
* navigation&lt;br /&gt;
** INFO216_Wiki|INFO216 Wiki&lt;br /&gt;
** Readings|Lectures and Readings&lt;br /&gt;
** Examples from the lectures|Lecture Examples&lt;br /&gt;
** Lab Exercises|Lab Exercises&lt;br /&gt;
** Lab Solutions|Lab Solutions&lt;br /&gt;
** Exams|Past Exams&lt;br /&gt;
&amp;lt;!-- ** mainpage|mainpage-description --&amp;gt;&lt;br /&gt;
** recentchanges-url|recentchanges&lt;br /&gt;
&amp;lt;!-- ** randompage-url|randompage --&amp;gt;&lt;br /&gt;
** helppage|help&lt;br /&gt;
* SEARCH&lt;br /&gt;
* TOOLBOX&lt;br /&gt;
* LANGUAGES&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Exams&amp;diff=2674</id>
		<title>Exams</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Exams&amp;diff=2674"/>
		<updated>2025-03-03T09:13:40Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here are all the past exams in INFO216. &#039;&#039;Note that the continuation exams (in the autumn) usually are different from the ordinary (spring) exams: there is less multiple choice because there are fewer students...&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[:File:skeks-ord-2024-m-korrekte-svar.pdf | Spring 2024]] &lt;br /&gt;
** due to a strike in public sector, this exam text was not created by the professor who taught the course: therefore, the &amp;quot;question style&amp;quot; in the exams for 2022 and 2023 are better examples of what you can expect for the ordinary 2025 exam&lt;br /&gt;
** also, the curriculum has changed since 2024&lt;br /&gt;
** [solution examples and comments] to the exam will follow&lt;br /&gt;
* [[:File:skeks-ord-2023-m-korrekte-svar.pdf | Spring 2023]] &lt;br /&gt;
** the little green hooks on pages 1-25 show correct answers to the closed questions in Task 1&lt;br /&gt;
** [[solution examples 2023 | examples related to the open questions from page 26 onward]]&lt;br /&gt;
&amp;lt;!-- ** further comments below --&amp;gt;&lt;br /&gt;
* [[:File:skeks-ord-2022-m-korrekte-svar.pdf | Spring 2022]]&lt;br /&gt;
** the little green hooks show correct answers to the closed questions in tasks 1, 3 and 5&lt;br /&gt;
** [[solution examples 2022 | examples related to the open questions]]&lt;br /&gt;
** the program file mentioned in the last task about RDFlib errors is available [[:File:Question_78_115275701_1653650433860.pdf | here]]&lt;br /&gt;
** see further comments below &lt;br /&gt;
* [[:File:skeks-ord-2021-m-korrekte-svar.pdf | Spring 2021]]&lt;br /&gt;
** the little green hooks show correct answers to the closed questions&lt;br /&gt;
** [[solution examples 2021 | examples related to the open questions]] (77-88 and 94-99)&lt;br /&gt;
** see further comments below &lt;br /&gt;
* [[:File:INFO216-exam-2020-spring.pdf | Spring 2020]]&lt;br /&gt;
* [[:File:INFO216-exam-2019.pdf | Spring 2019]]&lt;br /&gt;
* [[:File:INFO216-exam-2018-spring.pdf | Spring 2018]]&lt;br /&gt;
* [[:File:INFO216-spring2017.pdf | Spring 2017]]&lt;br /&gt;
* [[:File:INFO216-autumn2016.pdf | Autumn 2016]]&lt;br /&gt;
* [[:File:INFO216-spring2016.pdf | Spring 2016]]&lt;br /&gt;
* [[:File:INFO216-spring2015.pdf | Spring 2015]]&lt;br /&gt;
* [[:File:INFO216-spring2014.pdf | Spring 2014]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- &#039;&#039;&#039;About the Spring 2023 exam:&#039;&#039;&#039; --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;About the Spring 2022 exam:&#039;&#039;&#039;&lt;br /&gt;
* There is a problem with question 22: The answer states that &#039;&#039;hasSibling&#039;&#039; (excluding half-siblings) is Symmetric and Transitive, and also Irreflexive. But, if there is at least one pair of siblings, symmetry+transitivity implies reflexivity, so it cannot in practice be Irreflexive too. When there are errors like this in the questions, we always grade to your advantage as students: so that both the anticipated and correct answers are given full score.&lt;br /&gt;
* On Task 3, BIBO is no longer in the curriculum.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;About the Spring 2021 exam:&#039;&#039;&#039;&lt;br /&gt;
* On Task 2, these vocabularies are no longer in the curriculum: BIBO, BIO, MO, VS, VANN&lt;br /&gt;
* On Task 3, this open KG is no longer in the curriculum: EventKG&lt;br /&gt;
* The questions about OWL properties were open to interpretations so there may be more ok answers than indicated.&lt;br /&gt;
* Additional information given during/after the exam:&lt;br /&gt;
** Unfortunately, there is an error in the first question in part 3 of the INFO216 exam: &amp;quot;Which open knowledge graph (or knowledge base) is best matched?&amp;quot;&lt;br /&gt;
*** &amp;quot;Contains information about more than 90 billion things.&amp;quot; This should have said &amp;quot;millions&amp;quot;, not &amp;quot;billions&amp;quot;, so we will ignore this question during the correction ... Sorry about that!&lt;br /&gt;
** On the last question in part 5, we will of course accept both answers with &amp;quot;city population&amp;quot; and with &amp;quot;city count&amp;quot;:&lt;br /&gt;
*** &amp;quot;Continue with the same triple store. Extend the previous SPARQL query so that it lists the city population in each region in Norway in descending order.&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2020, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=File:Skeks-ord-2024-m-korrekte-svar.pdf&amp;diff=2673</id>
		<title>File:Skeks-ord-2024-m-korrekte-svar.pdf</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=File:Skeks-ord-2024-m-korrekte-svar.pdf&amp;diff=2673"/>
		<updated>2025-03-03T09:12:42Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Exams&amp;diff=2672</id>
		<title>Exams</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Exams&amp;diff=2672"/>
		<updated>2025-03-03T08:57:54Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here are all the past exams in INFO216. Be aware that the continuation exams (in the autumn) usually are different from the ordinary (spring) exams: there is less multiple choice because there are fewer students...&lt;br /&gt;
&lt;br /&gt;
* [[:File:skeks-ord-2024-m-korrekte-svar.pdf | Spring 2024]] &lt;br /&gt;
** due to a strike in public sector, this exam text was not created by the professor who taught the course&lt;br /&gt;
** the &amp;quot;question style&amp;quot; in the exams for 2022 and 2023 are better examples of what you can expect for the ordinary 2025 exam&lt;br /&gt;
** also, the curriculum has changed since 2024&lt;br /&gt;
** [solution examples and comments] to the exam will follow&lt;br /&gt;
* [[:File:skeks-ord-2023-m-korrekte-svar.pdf | Spring 2023]] &lt;br /&gt;
** the little green hooks on pages 1-25 show correct answers to the closed questions in Task 1&lt;br /&gt;
** [[solution examples 2023 | examples related to the open questions from page 26 onward]]&lt;br /&gt;
&amp;lt;!-- ** further comments below --&amp;gt;&lt;br /&gt;
* [[:File:skeks-ord-2022-m-korrekte-svar.pdf | Spring 2022]]&lt;br /&gt;
** the little green hooks show correct answers to the closed questions in tasks 1, 3 and 5&lt;br /&gt;
** [[solution examples 2022 | examples related to the open questions]]&lt;br /&gt;
** the program file mentioned in the last task about RDFlib errors is available [[:File:Question_78_115275701_1653650433860.pdf | here]]&lt;br /&gt;
** see further comments below &lt;br /&gt;
* [[:File:skeks-ord-2021-m-korrekte-svar.pdf | Spring 2021]]&lt;br /&gt;
** the little green hooks show correct answers to the closed questions&lt;br /&gt;
** [[solution examples 2021 | examples related to the open questions]] (77-88 and 94-99)&lt;br /&gt;
** see further comments below &lt;br /&gt;
* [[:File:INFO216-exam-2020-spring.pdf | Spring 2020]]&lt;br /&gt;
* [[:File:INFO216-exam-2019.pdf | Spring 2019]]&lt;br /&gt;
* [[:File:INFO216-exam-2018-spring.pdf | Spring 2018]]&lt;br /&gt;
* [[:File:INFO216-spring2017.pdf | Spring 2017]]&lt;br /&gt;
* [[:File:INFO216-autumn2016.pdf | Autumn 2016]]&lt;br /&gt;
* [[:File:INFO216-spring2016.pdf | Spring 2016]]&lt;br /&gt;
* [[:File:INFO216-spring2015.pdf | Spring 2015]]&lt;br /&gt;
* [[:File:INFO216-spring2014.pdf | Spring 2014]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- &#039;&#039;&#039;About the Spring 2023 exam:&#039;&#039;&#039; --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;About the Spring 2022 exam:&#039;&#039;&#039;&lt;br /&gt;
* There is a problem with question 22: The answer states that &#039;&#039;hasSibling&#039;&#039; (excluding half-siblings) is Symmetric and Transitive, and also Irreflexive. But, if there is at least one pair of siblings, symmetry+transitivity implies reflexivity, so it cannot in practice be Irreflexive too. When there are errors like this in the questions, we always grade to your advantage as students: so that both the anticipated and correct answers are given full score.&lt;br /&gt;
* On Task 3, BIBO is no longer in the curriculum.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;About the Spring 2021 exam:&#039;&#039;&#039;&lt;br /&gt;
* On Task 2, these vocabularies are no longer in the curriculum: BIBO, BIO, MO, VS, VANN&lt;br /&gt;
* On Task 3, this open KG is no longer in the curriculum: EventKG&lt;br /&gt;
* The questions about OWL properties were open to interpretations so there may be more ok answers than indicated.&lt;br /&gt;
* Additional information given during/after the exam:&lt;br /&gt;
** Unfortunately, there is an error in the first question in part 3 of the INFO216 exam: &amp;quot;Which open knowledge graph (or knowledge base) is best matched?&amp;quot;&lt;br /&gt;
*** &amp;quot;Contains information about more than 90 billion things.&amp;quot; This should have said &amp;quot;millions&amp;quot;, not &amp;quot;billions&amp;quot;, so we will ignore this question during the correction ... Sorry about that!&lt;br /&gt;
** On the last question in part 5, we will of course accept both answers with &amp;quot;city population&amp;quot; and with &amp;quot;city count&amp;quot;:&lt;br /&gt;
*** &amp;quot;Continue with the same triple store. Extend the previous SPARQL query so that it lists the city population in each region in Norway in descending order.&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2020, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Exams&amp;diff=2671</id>
		<title>Exams</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Exams&amp;diff=2671"/>
		<updated>2025-03-03T08:55:24Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here are all the past exams in INFO216:&lt;br /&gt;
&lt;br /&gt;
* [[:File:skeks-ord-2024-m-korrekte-svar.pdf | Spring 2024]] &lt;br /&gt;
** due to a strike in public sector, this exam text was not created by the professor who taught the course&lt;br /&gt;
** the &amp;quot;question style&amp;quot; in the exams for 2022 and 2023 are better examples of what you can expect&lt;br /&gt;
** also, the curriculum has changed since 2024&lt;br /&gt;
** [solution examples and comments] to the exam will follow&lt;br /&gt;
* [[:File:skeks-ord-2023-m-korrekte-svar.pdf | Spring 2023]] &lt;br /&gt;
** the little green hooks on pages 1-25 show correct answers to the closed questions in Task 1&lt;br /&gt;
** [[solution examples 2023 | examples related to the open questions from page 26 onward]]&lt;br /&gt;
&amp;lt;!-- ** further comments below --&amp;gt;&lt;br /&gt;
* [[:File:skeks-ord-2022-m-korrekte-svar.pdf | Spring 2022]]&lt;br /&gt;
** the little green hooks show correct answers to the closed questions in tasks 1, 3 and 5&lt;br /&gt;
** [[solution examples 2022 | examples related to the open questions]]&lt;br /&gt;
** the program file mentioned in the last task about RDFlib errors is available [[:File:Question_78_115275701_1653650433860.pdf | here]]&lt;br /&gt;
** see further comments below &lt;br /&gt;
* [[:File:skeks-ord-2021-m-korrekte-svar.pdf | Spring 2021]]&lt;br /&gt;
** the little green hooks show correct answers to the closed questions&lt;br /&gt;
** [[solution examples 2021 | examples related to the open questions]] (77-88 and 94-99)&lt;br /&gt;
** see further comments below &lt;br /&gt;
* [[:File:INFO216-exam-2020-spring.pdf | Spring 2020]]&lt;br /&gt;
* [[:File:INFO216-exam-2019.pdf | Spring 2019]]&lt;br /&gt;
* [[:File:INFO216-exam-2018-spring.pdf | Spring 2018]]&lt;br /&gt;
* [[:File:INFO216-spring2017.pdf | Spring 2017]]&lt;br /&gt;
* [[:File:INFO216-autumn2016.pdf | Autumn 2016]]&lt;br /&gt;
* [[:File:INFO216-spring2016.pdf | Spring 2016]]&lt;br /&gt;
* [[:File:INFO216-spring2015.pdf | Spring 2015]]&lt;br /&gt;
* [[:File:INFO216-spring2014.pdf | Spring 2014]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- &#039;&#039;&#039;About the Spring 2023 exam:&#039;&#039;&#039; --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;About the Spring 2022 exam:&#039;&#039;&#039;&lt;br /&gt;
* There is a problem with question 22: The answer states that &#039;&#039;hasSibling&#039;&#039; (excluding half-siblings) is Symmetric and Transitive, and also Irreflexive. But, if there is at least one pair of siblings, symmetry+transitivity implies reflexivity, so it cannot in practice be Irreflexive too. When there are errors like this in the questions, we always grade to your advantage as students: so that both the anticipated and correct answers are given full score.&lt;br /&gt;
* On Task 3, BIBO is no longer in the curriculum.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;About the Spring 2021 exam:&#039;&#039;&#039;&lt;br /&gt;
* On Task 2, these vocabularies are no longer in the curriculum: BIBO, BIO, MO, VS, VANN&lt;br /&gt;
* On Task 3, this open KG is no longer in the curriculum: EventKG&lt;br /&gt;
* The questions about OWL properties were open to interpretations so there may be more ok answers than indicated.&lt;br /&gt;
* Additional information given during/after the exam:&lt;br /&gt;
** Unfortunately, there is an error in the first question in part 3 of the INFO216 exam: &amp;quot;Which open knowledge graph (or knowledge base) is best matched?&amp;quot;&lt;br /&gt;
*** &amp;quot;Contains information about more than 90 billion things.&amp;quot; This should have said &amp;quot;millions&amp;quot;, not &amp;quot;billions&amp;quot;, so we will ignore this question during the correction ... Sorry about that!&lt;br /&gt;
** On the last question in part 5, we will of course accept both answers with &amp;quot;city population&amp;quot; and with &amp;quot;city count&amp;quot;:&lt;br /&gt;
*** &amp;quot;Continue with the same triple store. Extend the previous SPARQL query so that it lists the city population in each region in Norway in descending order.&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2020, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2670</id>
		<title>Readings</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2670"/>
		<updated>2025-02-28T15:16:12Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: /* Session 6: Ontologies */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Textbooks=&lt;br /&gt;
&lt;br /&gt;
Main course book (&#039;&#039;the whole book is mandatory reading&#039;&#039;):&lt;br /&gt;
* Hogan, A. et al. (2021). &#039;&#039;&#039;Knowledge Graphs.&#039;&#039;&#039; Springer. &#039;&#039;Synthesis Lectures on Data, Semantics, and Knowledge&#039;&#039; 22, 1–237, DOI: 10.2200/S01125ED1V01Y202109DSK022, Springer. https://kgbook.org/&lt;br /&gt;
&lt;br /&gt;
Supplementary books (&#039;&#039;not&#039;&#039; mandatory):&lt;br /&gt;
* Dean Allemang, James Hendler &amp;amp; Fabien Gandon (2020). &#039;&#039;&#039;Semantic Web for the Working Ontologist, Effective Modeling for Linked Data, RDFS and OWL (Third Edition).&#039;&#039;&#039; ISBN: 9781450376143, PDF ISBN: 9781450376150, Hardcover ISBN: 9781450376174, DOI: 10.1145/3382097.&lt;br /&gt;
* Andreas Blumauer and Helmut Nagy (2020). &#039;&#039;&#039;The Knowledge Graph Cookbook - Recipes that Work.&#039;&#039;&#039; mono/monochrom. ISBN-10: ‎3902796707, ISBN-13: 978-3902796707.&lt;br /&gt;
&lt;br /&gt;
=Other materials=&lt;br /&gt;
&lt;br /&gt;
In addition, &#039;&#039;&#039;the materials listed below for each lecture are either mandatory or suggested reading&#039;&#039;&#039;. More materials will be added to each lecture in the coming weeks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The labs, lectures and lectures notes are also part of the curriculum.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039; to download some of the papers, you may need to be inside UiB&#039;s network. Either use a computer directly on the UiB network or connect to your UiB account through VPN.&lt;br /&gt;
&lt;br /&gt;
=Lectures (in progress)=&lt;br /&gt;
&lt;br /&gt;
Below are the mandatory and suggested readings for each lecture. All the textbook chapters in Hogan et al. (&amp;quot;Knowledge Graphs&amp;quot;) are mandatory, whereas the chapters in Allemang, Hendler &amp;amp; Gandon (&amp;quot;Semantic Web&amp;quot;) are suggested.&lt;br /&gt;
&lt;br /&gt;
==Session 1: Introduction to KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Introduction to Knowledge Graphs&lt;br /&gt;
* Organisation of the course&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 1 Introduction, section 2.1 Models, and Appendix A Background in Hogan et al.&lt;br /&gt;
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web]&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.1.3 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapters 1-3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Wikidata (https://www.wikidata.org/)&lt;br /&gt;
&lt;br /&gt;
==Session 2: Querying and updating KGs (SPARQL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SPARQL queries&lt;br /&gt;
* SPARQL Update&lt;br /&gt;
* Programming SPARQL and SPARQL Update in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 2.2 Queries in Hogan et al.&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.8/sparql.html The SPARQL query language — GraphDB 10.8 documentation]&lt;br /&gt;
* [https://rdflib.readthedocs.io/ rdflib 7.1.3] materials: [https://rdflib.readthedocs.io/en/stable/intro_to_sparql.html Querying with SPARQL]&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapter 6 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-query/ SPARQL 1.1 Query Language]&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language]&lt;br /&gt;
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]]&lt;br /&gt;
* [https://en.wikibooks.org/wiki/SPARQL/Expressions_and_Functions SPARQL Expressions and Functions]&lt;br /&gt;
&lt;br /&gt;
==Session 3: Creating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Extracting KGs from text&lt;br /&gt;
* Extracting from marked-up sources&lt;br /&gt;
* Extracting from SQL databases and JSON&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 6 Creation and Enrichment, sections 6.1-6.4, in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.0/virtualization.html Virtualization, GraphDB 10.0 documentation]&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
&lt;br /&gt;
==Session 4: Validating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Validating KG schemas (SHACL)&lt;br /&gt;
* Semantic KG schemas/vocabularies (RDFS)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 3.1 Schema in Hogan et al.&lt;br /&gt;
* Sections 5.1, 5.3, 5.5, 5.6.1, and 5.6.3 in [https://book.validatingrdf.com/bookHtml011.html Gayo, J.E. et al. Validating RDF]. &lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* SHACL&lt;br /&gt;
** Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
** [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
** [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* RDFS&lt;br /&gt;
** [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important, and we will go throught the most important ones in the lecture&#039;&#039;)&lt;br /&gt;
** [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
** [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need)&lt;br /&gt;
&lt;br /&gt;
==Session 5: Advanced KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about RDF, e.g.,&lt;br /&gt;
** identity&lt;br /&gt;
** blank nodes&lt;br /&gt;
** reification&lt;br /&gt;
** higher-arity graphs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 3.2 Identity and 3.3 Context in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
&lt;br /&gt;
==Session 6: Ontologies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More powerful vocabularies/ontologies (OWL)&lt;br /&gt;
* Creating ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 4.1 Ontologies and 6.3 Schema/ontology creation in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ OWL 2 Primer, sections 2-6 (advanced: 9-10)] (show: Turtle)&lt;br /&gt;
* [https://service.tib.eu/webvowl/ WebVOWL] interactive OWL visualisation tool&lt;br /&gt;
&lt;br /&gt;
==Lecture: Reasoning==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about semantic KG schemas (RDFS)&lt;br /&gt;
* Description logic&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 4.2 Rules + DL in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* RDFS&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Analytics==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph analytics&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 5.1 Graph Analytics in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* networkx&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Semantic embedding spaces&lt;br /&gt;
* KG embedding techniques&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.2 Knowledge Graph Embeddings and 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* TorchKGE or PyKeen or ??&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Refinement==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Enriching KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 8 Completion + Correction in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Lecture: KGs in Practice==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Open KGs&lt;br /&gt;
* Enterprise KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Important knowledge graphs:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/)&lt;br /&gt;
** DBpedia (https://www.dbpedia.org, https://dbpedia.org/page/Bergen)&lt;br /&gt;
** GeoNames (https://www.geonames.org/)&lt;br /&gt;
** BabelNet (https://babelnet.org/)&lt;br /&gt;
** Linking Open Data (LOD) (http://lod-cloud.net)&lt;br /&gt;
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Quality==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG completion and correction&lt;br /&gt;
* Best practices&lt;br /&gt;
* Access protocols and usage control&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 8 Completion + Correction and 9 Best Practices + Access Protocols + Usage Control in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Lecture: KGs in industry==&lt;br /&gt;
&lt;br /&gt;
I am also working to organise a Guest Lecture from a practitioner and former student.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==Lecture 2: Representing KGs (RDF)==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Resource Description Framework (RDF)&lt;br /&gt;
* Programming RDF in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-primer/ W3C&#039;s RDF 1.1 Primer] until and including 5.1.2 Turtle (but not the rest for now)&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.0.0 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* [[:File:S02-RDF.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib 7.0.0 packages] (reference for the labs)&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools]&lt;br /&gt;
* Pages 25-28, 92-100, 125-128, and 164-167 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture 4: Linked Open Data (LOD)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Linked Open Data(LOD)&lt;br /&gt;
* The LOD cloud&lt;br /&gt;
* Data provisioning&lt;br /&gt;
&lt;br /&gt;
Mandatory readings &#039;&#039;(both lecture 4 and 5)&#039;&#039;:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27.&lt;br /&gt;
* [[:File:S04-LOD.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* [https://www.ontotext.com/knowledgehub/fundamentals/linked-data-linked-open-data/ What Are Linked Data and Linked Open Data?]&lt;br /&gt;
* [[:File:BizerHeathBernersLee-LinkedData2009-TheStorySoFar.pdf | Bizer, C., Heath, T., &amp;amp; Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 5: Open Knowledge Graphs I==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** Wikidata&lt;br /&gt;
** DBpedia&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/):&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:Introduction Introduction to Wikidata]&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help SPARQL query service/A gentle introduction to the Wikidata Query Service]&lt;br /&gt;
*** example: [https://www.wikidata.org/wiki/Q26793]&lt;br /&gt;
** DBpedia (https://www.dbpedia.org):&lt;br /&gt;
*** [http://wiki.dbpedia.org/about About Dbpedia]&lt;br /&gt;
*** example: [https://dbpedia.org/resource/Bergen]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 6: Open Knowledge Graphs II==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** DBpedia &#039;&#039;(continued)&#039;&#039;&lt;br /&gt;
** GeoNames&lt;br /&gt;
** the GDELT project&lt;br /&gt;
** WordNet&lt;br /&gt;
** BabelNet&lt;br /&gt;
** ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** GeoNames (https://www.geonames.org/):&lt;br /&gt;
*** [http://www.geonames.org/about.html About GeoNames]&lt;br /&gt;
*** example: [https://www.geonames.org/3161732/bergen.html]&lt;br /&gt;
** GDELT (https://www.gdeltproject.org/)&lt;br /&gt;
*** [https://www.gdeltproject.org/ The GDELT Project] - see also the About and Data pages&lt;br /&gt;
** WordNet (https://wordnet.princeton.edu/)&lt;br /&gt;
*** [https://wordnet.princeton.edu/ WordNet - A lexical database for English]&lt;br /&gt;
** BabelNet (https://babelnet.org/):&lt;br /&gt;
*** [http://live.babelnet.org/about About BabelNet]&lt;br /&gt;
*** [https://babelnet.org/how-to-use How to use]&lt;br /&gt;
*** example: [https://babelnet.org/synset?id=bn%3A00010008n&amp;amp;orig=Bergen&amp;amp;lang=EN]&lt;br /&gt;
** ConceptNet (http://conceptnet.io)&lt;br /&gt;
*** [http://conceptnet.io ConceptNet - An open, multilingual knowledge graph]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* Wikidata statistics&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000167/wikidata-datamodel?orgId=1&amp;amp;refresh=30m Entity statistics]&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000175/wikidata-datamodel-statements?orgId=1&amp;amp;refresh=30m Statement statistics]&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* GDELT documentation&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Event_Codebook-V2.0.pdf Event Codebook (and covers mentions)]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook]&lt;br /&gt;
* Parts 1 and 3 in Blumauer &amp;amp; Nagy&#039;s text book (not tightly related to the lecture, but time to finish them by now :-))&lt;br /&gt;
&lt;br /&gt;
==Lecture 7: Enterprise Knowledge Graphs==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Enterprise Knowledge Graphs (EKGs)&lt;br /&gt;
* Google’s Knowledge Graph&lt;br /&gt;
* Amazon’s Product Graph&lt;br /&gt;
* JSON-LD (video presentation)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://www.blog.google/products/search/introducing-knowledge-graph-things-not/ Introducing the Knowledge Graph: Things not Strings], Amit Singhal, Google (2012). &#039;&#039;(The blog post that introduced Google&#039;s knowledge graph to the world.)&#039;&#039;&lt;br /&gt;
* [https://blog.google/products/search/about-knowledge-graph-and-knowledge-panels/ A reintroduction to our Knowledge Graph and knowledge panels], Danny Sullivan, Google (2020).&lt;br /&gt;
* [https://www.aboutamazon.com/news/innovation-at-amazon/making-search-easier How Amazon’s Product Graph is helping customers find products more easily], Arun Krishnan, Amazon (2018). &#039;&#039;(Short blog post that reviews some central ideas from the AutoKnow research paper listed below.)&#039;&#039;&lt;br /&gt;
* [https://www.amazon.science/blog/building-product-graphs-automatically Building product graphs automatically], Xin Luna Dong, Amazon (2020).&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
* [[:File:S07-EnterpriseKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Parts 2 and 4 in Blumauer &amp;amp; Nagy&#039;s text book (&#039;&#039;strongly suggested - this is where Blumauer &amp;amp; Nagy&#039;s book is good!&#039;&#039;)&lt;br /&gt;
* [[:File:Bosch-LIS.pdf | LIS: A knowledge graph-based line information system]] by Grangel-González, I., Rickart, M., Rudolph, O., &amp;amp; Shah, F. (2023, May). In Proceedings of the European Semantic Web Conference (pp. 591-608). Cham: Springer Nature Switzerland.&lt;br /&gt;
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]] by Dong, X. L., He, X., Kan, A., Li, X., Liang, Y., Ma, J., ... &amp;amp; Han, J. (2020, August). In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery &amp;amp; Data Mining (pp. 2724-2734). &#039;&#039;Research paper from Amazon about AutoKnow - this is a bit heavy for Bachelor level, but you can have a look :-)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Lecture 8: Rules (SHACL and RDFS)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SHACL and RDFS&lt;br /&gt;
* Axioms, rules and entailment&lt;br /&gt;
* Programming SHACL and RDFS in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 7-8 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://book.validatingrdf.com/bookHtml011.html Chapter 5 &#039;&#039;SHACL&#039;&#039;] in [https://book.validatingrdf.com/index.html Validating RDF] (available online)&lt;br /&gt;
** Sections 5.1, 5.3-5.5, and 5.6,1-5.6.3&lt;br /&gt;
* [http://www.w3.org/TR/rdf-schema/ W3C&#039;s RDF Schema 1.1], focus on sections 1-3 and 6&lt;br /&gt;
* [[:File:S07-SHACL-RDFS.pdf | Slides from the lecture]] &lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
* [https://docs.google.com/presentation/d/1weO9SzssxgYp3g_44X1LZsVtL0i6FurQ3KbIKZ8iriQ/ Lab presentation containing a short overview of SHACL and pySHACL]&lt;br /&gt;
* [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
* [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture&#039;&#039;)&lt;br /&gt;
* [https://github.com/blazegraph/database/wiki/InferenceAndTruthMaintenance Inference and Thruth Maintenance in Blazegraph]&lt;br /&gt;
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
* [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&lt;br /&gt;
&lt;br /&gt;
==Lecture 9: Ontologies (OWL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Basic OWL concepts&lt;br /&gt;
* Axioms, rules and entailments&lt;br /&gt;
* Programming basic OWL in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 9-10, 12-13 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6 and 9-10&lt;br /&gt;
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [https://protegeproject.github.io/protege/getting-started/ Protégé-OWL Getting Started]&lt;br /&gt;
* [[:File:S09-OWL.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials (cursory):&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-quick-reference/ OWL 2 Quick Reference Guide]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-rdf-based-semantics/ OWL2 RDF-Based Semantics]&lt;br /&gt;
* The OWL-RL materials (from Lecture 5)&lt;br /&gt;
* [http://vowl.visualdataweb.org/v2 VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [http://vowl.visualdataweb.org/webvowl/index.html#sioc WebVOWL]&lt;br /&gt;
* [[:File:LohmannEtAl2016-VisualizingOntologiesWithVOWL.pdf | Lohmann et al. (2019): Visualizing Ontologies with VOWL. &#039;&#039;Semantic Web Journal.&#039;&#039;]]&lt;br /&gt;
* Pages 106-109 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
&lt;br /&gt;
==Lecture 10: Vocabularies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* LOD vocabularies and ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 10-11 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)]&lt;br /&gt;
* Important vocabularies / ontologies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://motools.sourceforge.net/event/event.html Event Ontology (event)]&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [https://www.w3.org/2003/01/geo/ geo: World Geodetic Standard (WGS) 84]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://rdfs.org/sioc/spec/ Semantic Interlinked Online Communities (SIOC)]&lt;br /&gt;
** [http://schema.org/docs/full.html schema.org - Full Hierarchy]&lt;br /&gt;
** [http://wikidata.dbpedia.org/services-resources/ontology DBpedia Ontology]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
** [http://creativecommons.org/ns Creative Commons (CC) Vocabulary]&lt;br /&gt;
** &#039;&#039;What we expect you to know about each vocabulary is this:&#039;&#039; &lt;br /&gt;
*** Its purpose and where and how it can be used.&lt;br /&gt;
*** Its most central 3-6 classes and properties be able to explain its basic structure. &lt;br /&gt;
*** 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. &lt;br /&gt;
* [[:File:S10-Vocabularies.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Lecture 11: KG embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG embeddings&lt;br /&gt;
* Link prediction&lt;br /&gt;
* TorchKGE&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:S11-GraphEmbeddings.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
==Lecture 12: KGs and Large Language Models==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
&lt;br /&gt;
* What are Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
&lt;br /&gt;
* [[:file:S12-KGsAndLLMs.pdf | Slides from the lecture]]&lt;br /&gt;
* No mandatory readings beyond the slides&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
&lt;br /&gt;
* Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., &amp;amp; Wu, X. (2024). [[:file:PanEtAl2023-LLMs_KGs_Opportunities_Challenges.pdf | &#039;&#039;Unifying large language models and knowledge graphs: A roadmap.&#039;&#039;]]  IEEE Transactions on Knowledge and Data Engineering.&lt;br /&gt;
* Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... &amp;amp;  Polosukhin, I. (2017). [[:file:NIPS-2017-attention-is-all-you-need-Paper.pdf | &#039;&#039;Attention is all you need.&#039;&#039;]]  Advances in neural information processing systems, 30.&amp;lt;br /&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2024, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2669</id>
		<title>Readings</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2669"/>
		<updated>2025-02-28T15:15:51Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: /* Session 6: Ontologies */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Textbooks=&lt;br /&gt;
&lt;br /&gt;
Main course book (&#039;&#039;the whole book is mandatory reading&#039;&#039;):&lt;br /&gt;
* Hogan, A. et al. (2021). &#039;&#039;&#039;Knowledge Graphs.&#039;&#039;&#039; Springer. &#039;&#039;Synthesis Lectures on Data, Semantics, and Knowledge&#039;&#039; 22, 1–237, DOI: 10.2200/S01125ED1V01Y202109DSK022, Springer. https://kgbook.org/&lt;br /&gt;
&lt;br /&gt;
Supplementary books (&#039;&#039;not&#039;&#039; mandatory):&lt;br /&gt;
* Dean Allemang, James Hendler &amp;amp; Fabien Gandon (2020). &#039;&#039;&#039;Semantic Web for the Working Ontologist, Effective Modeling for Linked Data, RDFS and OWL (Third Edition).&#039;&#039;&#039; ISBN: 9781450376143, PDF ISBN: 9781450376150, Hardcover ISBN: 9781450376174, DOI: 10.1145/3382097.&lt;br /&gt;
* Andreas Blumauer and Helmut Nagy (2020). &#039;&#039;&#039;The Knowledge Graph Cookbook - Recipes that Work.&#039;&#039;&#039; mono/monochrom. ISBN-10: ‎3902796707, ISBN-13: 978-3902796707.&lt;br /&gt;
&lt;br /&gt;
=Other materials=&lt;br /&gt;
&lt;br /&gt;
In addition, &#039;&#039;&#039;the materials listed below for each lecture are either mandatory or suggested reading&#039;&#039;&#039;. More materials will be added to each lecture in the coming weeks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The labs, lectures and lectures notes are also part of the curriculum.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039; to download some of the papers, you may need to be inside UiB&#039;s network. Either use a computer directly on the UiB network or connect to your UiB account through VPN.&lt;br /&gt;
&lt;br /&gt;
=Lectures (in progress)=&lt;br /&gt;
&lt;br /&gt;
Below are the mandatory and suggested readings for each lecture. All the textbook chapters in Hogan et al. (&amp;quot;Knowledge Graphs&amp;quot;) are mandatory, whereas the chapters in Allemang, Hendler &amp;amp; Gandon (&amp;quot;Semantic Web&amp;quot;) are suggested.&lt;br /&gt;
&lt;br /&gt;
==Session 1: Introduction to KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Introduction to Knowledge Graphs&lt;br /&gt;
* Organisation of the course&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 1 Introduction, section 2.1 Models, and Appendix A Background in Hogan et al.&lt;br /&gt;
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web]&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.1.3 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapters 1-3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Wikidata (https://www.wikidata.org/)&lt;br /&gt;
&lt;br /&gt;
==Session 2: Querying and updating KGs (SPARQL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SPARQL queries&lt;br /&gt;
* SPARQL Update&lt;br /&gt;
* Programming SPARQL and SPARQL Update in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 2.2 Queries in Hogan et al.&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.8/sparql.html The SPARQL query language — GraphDB 10.8 documentation]&lt;br /&gt;
* [https://rdflib.readthedocs.io/ rdflib 7.1.3] materials: [https://rdflib.readthedocs.io/en/stable/intro_to_sparql.html Querying with SPARQL]&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapter 6 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-query/ SPARQL 1.1 Query Language]&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language]&lt;br /&gt;
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]]&lt;br /&gt;
* [https://en.wikibooks.org/wiki/SPARQL/Expressions_and_Functions SPARQL Expressions and Functions]&lt;br /&gt;
&lt;br /&gt;
==Session 3: Creating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Extracting KGs from text&lt;br /&gt;
* Extracting from marked-up sources&lt;br /&gt;
* Extracting from SQL databases and JSON&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 6 Creation and Enrichment, sections 6.1-6.4, in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.0/virtualization.html Virtualization, GraphDB 10.0 documentation]&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
&lt;br /&gt;
==Session 4: Validating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Validating KG schemas (SHACL)&lt;br /&gt;
* Semantic KG schemas/vocabularies (RDFS)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 3.1 Schema in Hogan et al.&lt;br /&gt;
* Sections 5.1, 5.3, 5.5, 5.6.1, and 5.6.3 in [https://book.validatingrdf.com/bookHtml011.html Gayo, J.E. et al. Validating RDF]. &lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* SHACL&lt;br /&gt;
** Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
** [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
** [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* RDFS&lt;br /&gt;
** [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important, and we will go throught the most important ones in the lecture&#039;&#039;)&lt;br /&gt;
** [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
** [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need)&lt;br /&gt;
&lt;br /&gt;
==Session 5: Advanced KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about RDF, e.g.,&lt;br /&gt;
** identity&lt;br /&gt;
** blank nodes&lt;br /&gt;
** reification&lt;br /&gt;
** higher-arity graphs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 3.2 Identity and 3.3 Context in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
&lt;br /&gt;
==Session 6: Ontologies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More powerful vocabularies/ontologies (OWL)&lt;br /&gt;
* Creating ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 4.1 Ontologies and 6.3 Schema/ontology creation in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ OWL 2 Primer, sections 2-6 (advanced: 9-10)] (show: Turtle)&lt;br /&gt;
* [https://service.tib.eu/webvowl/ WebVOWL] interactive ontology visualisation tool&lt;br /&gt;
&lt;br /&gt;
==Lecture: Reasoning==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about semantic KG schemas (RDFS)&lt;br /&gt;
* Description logic&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 4.2 Rules + DL in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* RDFS&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Analytics==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph analytics&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 5.1 Graph Analytics in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* networkx&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Semantic embedding spaces&lt;br /&gt;
* KG embedding techniques&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.2 Knowledge Graph Embeddings and 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* TorchKGE or PyKeen or ??&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Refinement==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Enriching KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 8 Completion + Correction in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Lecture: KGs in Practice==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Open KGs&lt;br /&gt;
* Enterprise KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Important knowledge graphs:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/)&lt;br /&gt;
** DBpedia (https://www.dbpedia.org, https://dbpedia.org/page/Bergen)&lt;br /&gt;
** GeoNames (https://www.geonames.org/)&lt;br /&gt;
** BabelNet (https://babelnet.org/)&lt;br /&gt;
** Linking Open Data (LOD) (http://lod-cloud.net)&lt;br /&gt;
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Quality==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG completion and correction&lt;br /&gt;
* Best practices&lt;br /&gt;
* Access protocols and usage control&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 8 Completion + Correction and 9 Best Practices + Access Protocols + Usage Control in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Lecture: KGs in industry==&lt;br /&gt;
&lt;br /&gt;
I am also working to organise a Guest Lecture from a practitioner and former student.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==Lecture 2: Representing KGs (RDF)==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Resource Description Framework (RDF)&lt;br /&gt;
* Programming RDF in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-primer/ W3C&#039;s RDF 1.1 Primer] until and including 5.1.2 Turtle (but not the rest for now)&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.0.0 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* [[:File:S02-RDF.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib 7.0.0 packages] (reference for the labs)&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools]&lt;br /&gt;
* Pages 25-28, 92-100, 125-128, and 164-167 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture 4: Linked Open Data (LOD)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Linked Open Data(LOD)&lt;br /&gt;
* The LOD cloud&lt;br /&gt;
* Data provisioning&lt;br /&gt;
&lt;br /&gt;
Mandatory readings &#039;&#039;(both lecture 4 and 5)&#039;&#039;:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27.&lt;br /&gt;
* [[:File:S04-LOD.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* [https://www.ontotext.com/knowledgehub/fundamentals/linked-data-linked-open-data/ What Are Linked Data and Linked Open Data?]&lt;br /&gt;
* [[:File:BizerHeathBernersLee-LinkedData2009-TheStorySoFar.pdf | Bizer, C., Heath, T., &amp;amp; Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 5: Open Knowledge Graphs I==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** Wikidata&lt;br /&gt;
** DBpedia&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/):&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:Introduction Introduction to Wikidata]&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help SPARQL query service/A gentle introduction to the Wikidata Query Service]&lt;br /&gt;
*** example: [https://www.wikidata.org/wiki/Q26793]&lt;br /&gt;
** DBpedia (https://www.dbpedia.org):&lt;br /&gt;
*** [http://wiki.dbpedia.org/about About Dbpedia]&lt;br /&gt;
*** example: [https://dbpedia.org/resource/Bergen]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 6: Open Knowledge Graphs II==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** DBpedia &#039;&#039;(continued)&#039;&#039;&lt;br /&gt;
** GeoNames&lt;br /&gt;
** the GDELT project&lt;br /&gt;
** WordNet&lt;br /&gt;
** BabelNet&lt;br /&gt;
** ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** GeoNames (https://www.geonames.org/):&lt;br /&gt;
*** [http://www.geonames.org/about.html About GeoNames]&lt;br /&gt;
*** example: [https://www.geonames.org/3161732/bergen.html]&lt;br /&gt;
** GDELT (https://www.gdeltproject.org/)&lt;br /&gt;
*** [https://www.gdeltproject.org/ The GDELT Project] - see also the About and Data pages&lt;br /&gt;
** WordNet (https://wordnet.princeton.edu/)&lt;br /&gt;
*** [https://wordnet.princeton.edu/ WordNet - A lexical database for English]&lt;br /&gt;
** BabelNet (https://babelnet.org/):&lt;br /&gt;
*** [http://live.babelnet.org/about About BabelNet]&lt;br /&gt;
*** [https://babelnet.org/how-to-use How to use]&lt;br /&gt;
*** example: [https://babelnet.org/synset?id=bn%3A00010008n&amp;amp;orig=Bergen&amp;amp;lang=EN]&lt;br /&gt;
** ConceptNet (http://conceptnet.io)&lt;br /&gt;
*** [http://conceptnet.io ConceptNet - An open, multilingual knowledge graph]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* Wikidata statistics&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000167/wikidata-datamodel?orgId=1&amp;amp;refresh=30m Entity statistics]&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000175/wikidata-datamodel-statements?orgId=1&amp;amp;refresh=30m Statement statistics]&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* GDELT documentation&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Event_Codebook-V2.0.pdf Event Codebook (and covers mentions)]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook]&lt;br /&gt;
* Parts 1 and 3 in Blumauer &amp;amp; Nagy&#039;s text book (not tightly related to the lecture, but time to finish them by now :-))&lt;br /&gt;
&lt;br /&gt;
==Lecture 7: Enterprise Knowledge Graphs==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Enterprise Knowledge Graphs (EKGs)&lt;br /&gt;
* Google’s Knowledge Graph&lt;br /&gt;
* Amazon’s Product Graph&lt;br /&gt;
* JSON-LD (video presentation)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://www.blog.google/products/search/introducing-knowledge-graph-things-not/ Introducing the Knowledge Graph: Things not Strings], Amit Singhal, Google (2012). &#039;&#039;(The blog post that introduced Google&#039;s knowledge graph to the world.)&#039;&#039;&lt;br /&gt;
* [https://blog.google/products/search/about-knowledge-graph-and-knowledge-panels/ A reintroduction to our Knowledge Graph and knowledge panels], Danny Sullivan, Google (2020).&lt;br /&gt;
* [https://www.aboutamazon.com/news/innovation-at-amazon/making-search-easier How Amazon’s Product Graph is helping customers find products more easily], Arun Krishnan, Amazon (2018). &#039;&#039;(Short blog post that reviews some central ideas from the AutoKnow research paper listed below.)&#039;&#039;&lt;br /&gt;
* [https://www.amazon.science/blog/building-product-graphs-automatically Building product graphs automatically], Xin Luna Dong, Amazon (2020).&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
* [[:File:S07-EnterpriseKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Parts 2 and 4 in Blumauer &amp;amp; Nagy&#039;s text book (&#039;&#039;strongly suggested - this is where Blumauer &amp;amp; Nagy&#039;s book is good!&#039;&#039;)&lt;br /&gt;
* [[:File:Bosch-LIS.pdf | LIS: A knowledge graph-based line information system]] by Grangel-González, I., Rickart, M., Rudolph, O., &amp;amp; Shah, F. (2023, May). In Proceedings of the European Semantic Web Conference (pp. 591-608). Cham: Springer Nature Switzerland.&lt;br /&gt;
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]] by Dong, X. L., He, X., Kan, A., Li, X., Liang, Y., Ma, J., ... &amp;amp; Han, J. (2020, August). In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery &amp;amp; Data Mining (pp. 2724-2734). &#039;&#039;Research paper from Amazon about AutoKnow - this is a bit heavy for Bachelor level, but you can have a look :-)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Lecture 8: Rules (SHACL and RDFS)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SHACL and RDFS&lt;br /&gt;
* Axioms, rules and entailment&lt;br /&gt;
* Programming SHACL and RDFS in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 7-8 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://book.validatingrdf.com/bookHtml011.html Chapter 5 &#039;&#039;SHACL&#039;&#039;] in [https://book.validatingrdf.com/index.html Validating RDF] (available online)&lt;br /&gt;
** Sections 5.1, 5.3-5.5, and 5.6,1-5.6.3&lt;br /&gt;
* [http://www.w3.org/TR/rdf-schema/ W3C&#039;s RDF Schema 1.1], focus on sections 1-3 and 6&lt;br /&gt;
* [[:File:S07-SHACL-RDFS.pdf | Slides from the lecture]] &lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
* [https://docs.google.com/presentation/d/1weO9SzssxgYp3g_44X1LZsVtL0i6FurQ3KbIKZ8iriQ/ Lab presentation containing a short overview of SHACL and pySHACL]&lt;br /&gt;
* [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
* [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture&#039;&#039;)&lt;br /&gt;
* [https://github.com/blazegraph/database/wiki/InferenceAndTruthMaintenance Inference and Thruth Maintenance in Blazegraph]&lt;br /&gt;
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
* [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&lt;br /&gt;
&lt;br /&gt;
==Lecture 9: Ontologies (OWL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Basic OWL concepts&lt;br /&gt;
* Axioms, rules and entailments&lt;br /&gt;
* Programming basic OWL in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 9-10, 12-13 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6 and 9-10&lt;br /&gt;
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [https://protegeproject.github.io/protege/getting-started/ Protégé-OWL Getting Started]&lt;br /&gt;
* [[:File:S09-OWL.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials (cursory):&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-quick-reference/ OWL 2 Quick Reference Guide]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-rdf-based-semantics/ OWL2 RDF-Based Semantics]&lt;br /&gt;
* The OWL-RL materials (from Lecture 5)&lt;br /&gt;
* [http://vowl.visualdataweb.org/v2 VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [http://vowl.visualdataweb.org/webvowl/index.html#sioc WebVOWL]&lt;br /&gt;
* [[:File:LohmannEtAl2016-VisualizingOntologiesWithVOWL.pdf | Lohmann et al. (2019): Visualizing Ontologies with VOWL. &#039;&#039;Semantic Web Journal.&#039;&#039;]]&lt;br /&gt;
* Pages 106-109 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
&lt;br /&gt;
==Lecture 10: Vocabularies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* LOD vocabularies and ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 10-11 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)]&lt;br /&gt;
* Important vocabularies / ontologies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://motools.sourceforge.net/event/event.html Event Ontology (event)]&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [https://www.w3.org/2003/01/geo/ geo: World Geodetic Standard (WGS) 84]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://rdfs.org/sioc/spec/ Semantic Interlinked Online Communities (SIOC)]&lt;br /&gt;
** [http://schema.org/docs/full.html schema.org - Full Hierarchy]&lt;br /&gt;
** [http://wikidata.dbpedia.org/services-resources/ontology DBpedia Ontology]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
** [http://creativecommons.org/ns Creative Commons (CC) Vocabulary]&lt;br /&gt;
** &#039;&#039;What we expect you to know about each vocabulary is this:&#039;&#039; &lt;br /&gt;
*** Its purpose and where and how it can be used.&lt;br /&gt;
*** Its most central 3-6 classes and properties be able to explain its basic structure. &lt;br /&gt;
*** 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. &lt;br /&gt;
* [[:File:S10-Vocabularies.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Lecture 11: KG embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG embeddings&lt;br /&gt;
* Link prediction&lt;br /&gt;
* TorchKGE&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:S11-GraphEmbeddings.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
==Lecture 12: KGs and Large Language Models==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
&lt;br /&gt;
* What are Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
&lt;br /&gt;
* [[:file:S12-KGsAndLLMs.pdf | Slides from the lecture]]&lt;br /&gt;
* No mandatory readings beyond the slides&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
&lt;br /&gt;
* Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., &amp;amp; Wu, X. (2024). [[:file:PanEtAl2023-LLMs_KGs_Opportunities_Challenges.pdf | &#039;&#039;Unifying large language models and knowledge graphs: A roadmap.&#039;&#039;]]  IEEE Transactions on Knowledge and Data Engineering.&lt;br /&gt;
* Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... &amp;amp;  Polosukhin, I. (2017). [[:file:NIPS-2017-attention-is-all-you-need-Paper.pdf | &#039;&#039;Attention is all you need.&#039;&#039;]]  Advances in neural information processing systems, 30.&amp;lt;br /&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2024, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2668</id>
		<title>Readings</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2668"/>
		<updated>2025-02-28T15:15:15Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: /* Session 6: Ontologies */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Textbooks=&lt;br /&gt;
&lt;br /&gt;
Main course book (&#039;&#039;the whole book is mandatory reading&#039;&#039;):&lt;br /&gt;
* Hogan, A. et al. (2021). &#039;&#039;&#039;Knowledge Graphs.&#039;&#039;&#039; Springer. &#039;&#039;Synthesis Lectures on Data, Semantics, and Knowledge&#039;&#039; 22, 1–237, DOI: 10.2200/S01125ED1V01Y202109DSK022, Springer. https://kgbook.org/&lt;br /&gt;
&lt;br /&gt;
Supplementary books (&#039;&#039;not&#039;&#039; mandatory):&lt;br /&gt;
* Dean Allemang, James Hendler &amp;amp; Fabien Gandon (2020). &#039;&#039;&#039;Semantic Web for the Working Ontologist, Effective Modeling for Linked Data, RDFS and OWL (Third Edition).&#039;&#039;&#039; ISBN: 9781450376143, PDF ISBN: 9781450376150, Hardcover ISBN: 9781450376174, DOI: 10.1145/3382097.&lt;br /&gt;
* Andreas Blumauer and Helmut Nagy (2020). &#039;&#039;&#039;The Knowledge Graph Cookbook - Recipes that Work.&#039;&#039;&#039; mono/monochrom. ISBN-10: ‎3902796707, ISBN-13: 978-3902796707.&lt;br /&gt;
&lt;br /&gt;
=Other materials=&lt;br /&gt;
&lt;br /&gt;
In addition, &#039;&#039;&#039;the materials listed below for each lecture are either mandatory or suggested reading&#039;&#039;&#039;. More materials will be added to each lecture in the coming weeks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The labs, lectures and lectures notes are also part of the curriculum.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039; to download some of the papers, you may need to be inside UiB&#039;s network. Either use a computer directly on the UiB network or connect to your UiB account through VPN.&lt;br /&gt;
&lt;br /&gt;
=Lectures (in progress)=&lt;br /&gt;
&lt;br /&gt;
Below are the mandatory and suggested readings for each lecture. All the textbook chapters in Hogan et al. (&amp;quot;Knowledge Graphs&amp;quot;) are mandatory, whereas the chapters in Allemang, Hendler &amp;amp; Gandon (&amp;quot;Semantic Web&amp;quot;) are suggested.&lt;br /&gt;
&lt;br /&gt;
==Session 1: Introduction to KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Introduction to Knowledge Graphs&lt;br /&gt;
* Organisation of the course&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 1 Introduction, section 2.1 Models, and Appendix A Background in Hogan et al.&lt;br /&gt;
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web]&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.1.3 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapters 1-3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Wikidata (https://www.wikidata.org/)&lt;br /&gt;
&lt;br /&gt;
==Session 2: Querying and updating KGs (SPARQL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SPARQL queries&lt;br /&gt;
* SPARQL Update&lt;br /&gt;
* Programming SPARQL and SPARQL Update in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 2.2 Queries in Hogan et al.&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.8/sparql.html The SPARQL query language — GraphDB 10.8 documentation]&lt;br /&gt;
* [https://rdflib.readthedocs.io/ rdflib 7.1.3] materials: [https://rdflib.readthedocs.io/en/stable/intro_to_sparql.html Querying with SPARQL]&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapter 6 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-query/ SPARQL 1.1 Query Language]&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language]&lt;br /&gt;
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]]&lt;br /&gt;
* [https://en.wikibooks.org/wiki/SPARQL/Expressions_and_Functions SPARQL Expressions and Functions]&lt;br /&gt;
&lt;br /&gt;
==Session 3: Creating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Extracting KGs from text&lt;br /&gt;
* Extracting from marked-up sources&lt;br /&gt;
* Extracting from SQL databases and JSON&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 6 Creation and Enrichment, sections 6.1-6.4, in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.0/virtualization.html Virtualization, GraphDB 10.0 documentation]&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
&lt;br /&gt;
==Session 4: Validating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Validating KG schemas (SHACL)&lt;br /&gt;
* Semantic KG schemas/vocabularies (RDFS)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 3.1 Schema in Hogan et al.&lt;br /&gt;
* Sections 5.1, 5.3, 5.5, 5.6.1, and 5.6.3 in [https://book.validatingrdf.com/bookHtml011.html Gayo, J.E. et al. Validating RDF]. &lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* SHACL&lt;br /&gt;
** Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
** [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
** [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* RDFS&lt;br /&gt;
** [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important, and we will go throught the most important ones in the lecture&#039;&#039;)&lt;br /&gt;
** [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
** [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need)&lt;br /&gt;
&lt;br /&gt;
==Session 5: Advanced KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about RDF, e.g.,&lt;br /&gt;
** identity&lt;br /&gt;
** blank nodes&lt;br /&gt;
** reification&lt;br /&gt;
** higher-arity graphs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 3.2 Identity and 3.3 Context in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
&lt;br /&gt;
==Session 6: Ontologies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More powerful vocabularies/ontologies (OWL)&lt;br /&gt;
* Creating ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 4.1 Ontologies and 6.3 Schema/ontology creation in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer/ OWL 2 Primer, sections 2-6 (advanced: 9-10)] (show: Turtle)&lt;br /&gt;
* [https://service.tib.eu/webvowl/ Interactive ontology visualisation tool]&lt;br /&gt;
&lt;br /&gt;
==Lecture: Reasoning==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about semantic KG schemas (RDFS)&lt;br /&gt;
* Description logic&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 4.2 Rules + DL in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* RDFS&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Analytics==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph analytics&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 5.1 Graph Analytics in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* networkx&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Semantic embedding spaces&lt;br /&gt;
* KG embedding techniques&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.2 Knowledge Graph Embeddings and 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* TorchKGE or PyKeen or ??&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Refinement==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Enriching KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 8 Completion + Correction in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Lecture: KGs in Practice==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Open KGs&lt;br /&gt;
* Enterprise KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Important knowledge graphs:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/)&lt;br /&gt;
** DBpedia (https://www.dbpedia.org, https://dbpedia.org/page/Bergen)&lt;br /&gt;
** GeoNames (https://www.geonames.org/)&lt;br /&gt;
** BabelNet (https://babelnet.org/)&lt;br /&gt;
** Linking Open Data (LOD) (http://lod-cloud.net)&lt;br /&gt;
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Quality==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG completion and correction&lt;br /&gt;
* Best practices&lt;br /&gt;
* Access protocols and usage control&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 8 Completion + Correction and 9 Best Practices + Access Protocols + Usage Control in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Lecture: KGs in industry==&lt;br /&gt;
&lt;br /&gt;
I am also working to organise a Guest Lecture from a practitioner and former student.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==Lecture 2: Representing KGs (RDF)==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Resource Description Framework (RDF)&lt;br /&gt;
* Programming RDF in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-primer/ W3C&#039;s RDF 1.1 Primer] until and including 5.1.2 Turtle (but not the rest for now)&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.0.0 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* [[:File:S02-RDF.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib 7.0.0 packages] (reference for the labs)&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools]&lt;br /&gt;
* Pages 25-28, 92-100, 125-128, and 164-167 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture 4: Linked Open Data (LOD)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Linked Open Data(LOD)&lt;br /&gt;
* The LOD cloud&lt;br /&gt;
* Data provisioning&lt;br /&gt;
&lt;br /&gt;
Mandatory readings &#039;&#039;(both lecture 4 and 5)&#039;&#039;:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27.&lt;br /&gt;
* [[:File:S04-LOD.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* [https://www.ontotext.com/knowledgehub/fundamentals/linked-data-linked-open-data/ What Are Linked Data and Linked Open Data?]&lt;br /&gt;
* [[:File:BizerHeathBernersLee-LinkedData2009-TheStorySoFar.pdf | Bizer, C., Heath, T., &amp;amp; Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 5: Open Knowledge Graphs I==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** Wikidata&lt;br /&gt;
** DBpedia&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/):&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:Introduction Introduction to Wikidata]&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help SPARQL query service/A gentle introduction to the Wikidata Query Service]&lt;br /&gt;
*** example: [https://www.wikidata.org/wiki/Q26793]&lt;br /&gt;
** DBpedia (https://www.dbpedia.org):&lt;br /&gt;
*** [http://wiki.dbpedia.org/about About Dbpedia]&lt;br /&gt;
*** example: [https://dbpedia.org/resource/Bergen]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 6: Open Knowledge Graphs II==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** DBpedia &#039;&#039;(continued)&#039;&#039;&lt;br /&gt;
** GeoNames&lt;br /&gt;
** the GDELT project&lt;br /&gt;
** WordNet&lt;br /&gt;
** BabelNet&lt;br /&gt;
** ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** GeoNames (https://www.geonames.org/):&lt;br /&gt;
*** [http://www.geonames.org/about.html About GeoNames]&lt;br /&gt;
*** example: [https://www.geonames.org/3161732/bergen.html]&lt;br /&gt;
** GDELT (https://www.gdeltproject.org/)&lt;br /&gt;
*** [https://www.gdeltproject.org/ The GDELT Project] - see also the About and Data pages&lt;br /&gt;
** WordNet (https://wordnet.princeton.edu/)&lt;br /&gt;
*** [https://wordnet.princeton.edu/ WordNet - A lexical database for English]&lt;br /&gt;
** BabelNet (https://babelnet.org/):&lt;br /&gt;
*** [http://live.babelnet.org/about About BabelNet]&lt;br /&gt;
*** [https://babelnet.org/how-to-use How to use]&lt;br /&gt;
*** example: [https://babelnet.org/synset?id=bn%3A00010008n&amp;amp;orig=Bergen&amp;amp;lang=EN]&lt;br /&gt;
** ConceptNet (http://conceptnet.io)&lt;br /&gt;
*** [http://conceptnet.io ConceptNet - An open, multilingual knowledge graph]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* Wikidata statistics&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000167/wikidata-datamodel?orgId=1&amp;amp;refresh=30m Entity statistics]&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000175/wikidata-datamodel-statements?orgId=1&amp;amp;refresh=30m Statement statistics]&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* GDELT documentation&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Event_Codebook-V2.0.pdf Event Codebook (and covers mentions)]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook]&lt;br /&gt;
* Parts 1 and 3 in Blumauer &amp;amp; Nagy&#039;s text book (not tightly related to the lecture, but time to finish them by now :-))&lt;br /&gt;
&lt;br /&gt;
==Lecture 7: Enterprise Knowledge Graphs==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Enterprise Knowledge Graphs (EKGs)&lt;br /&gt;
* Google’s Knowledge Graph&lt;br /&gt;
* Amazon’s Product Graph&lt;br /&gt;
* JSON-LD (video presentation)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://www.blog.google/products/search/introducing-knowledge-graph-things-not/ Introducing the Knowledge Graph: Things not Strings], Amit Singhal, Google (2012). &#039;&#039;(The blog post that introduced Google&#039;s knowledge graph to the world.)&#039;&#039;&lt;br /&gt;
* [https://blog.google/products/search/about-knowledge-graph-and-knowledge-panels/ A reintroduction to our Knowledge Graph and knowledge panels], Danny Sullivan, Google (2020).&lt;br /&gt;
* [https://www.aboutamazon.com/news/innovation-at-amazon/making-search-easier How Amazon’s Product Graph is helping customers find products more easily], Arun Krishnan, Amazon (2018). &#039;&#039;(Short blog post that reviews some central ideas from the AutoKnow research paper listed below.)&#039;&#039;&lt;br /&gt;
* [https://www.amazon.science/blog/building-product-graphs-automatically Building product graphs automatically], Xin Luna Dong, Amazon (2020).&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
* [[:File:S07-EnterpriseKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Parts 2 and 4 in Blumauer &amp;amp; Nagy&#039;s text book (&#039;&#039;strongly suggested - this is where Blumauer &amp;amp; Nagy&#039;s book is good!&#039;&#039;)&lt;br /&gt;
* [[:File:Bosch-LIS.pdf | LIS: A knowledge graph-based line information system]] by Grangel-González, I., Rickart, M., Rudolph, O., &amp;amp; Shah, F. (2023, May). In Proceedings of the European Semantic Web Conference (pp. 591-608). Cham: Springer Nature Switzerland.&lt;br /&gt;
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]] by Dong, X. L., He, X., Kan, A., Li, X., Liang, Y., Ma, J., ... &amp;amp; Han, J. (2020, August). In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery &amp;amp; Data Mining (pp. 2724-2734). &#039;&#039;Research paper from Amazon about AutoKnow - this is a bit heavy for Bachelor level, but you can have a look :-)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Lecture 8: Rules (SHACL and RDFS)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SHACL and RDFS&lt;br /&gt;
* Axioms, rules and entailment&lt;br /&gt;
* Programming SHACL and RDFS in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 7-8 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://book.validatingrdf.com/bookHtml011.html Chapter 5 &#039;&#039;SHACL&#039;&#039;] in [https://book.validatingrdf.com/index.html Validating RDF] (available online)&lt;br /&gt;
** Sections 5.1, 5.3-5.5, and 5.6,1-5.6.3&lt;br /&gt;
* [http://www.w3.org/TR/rdf-schema/ W3C&#039;s RDF Schema 1.1], focus on sections 1-3 and 6&lt;br /&gt;
* [[:File:S07-SHACL-RDFS.pdf | Slides from the lecture]] &lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
* [https://docs.google.com/presentation/d/1weO9SzssxgYp3g_44X1LZsVtL0i6FurQ3KbIKZ8iriQ/ Lab presentation containing a short overview of SHACL and pySHACL]&lt;br /&gt;
* [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
* [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture&#039;&#039;)&lt;br /&gt;
* [https://github.com/blazegraph/database/wiki/InferenceAndTruthMaintenance Inference and Thruth Maintenance in Blazegraph]&lt;br /&gt;
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
* [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&lt;br /&gt;
&lt;br /&gt;
==Lecture 9: Ontologies (OWL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Basic OWL concepts&lt;br /&gt;
* Axioms, rules and entailments&lt;br /&gt;
* Programming basic OWL in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 9-10, 12-13 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6 and 9-10&lt;br /&gt;
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [https://protegeproject.github.io/protege/getting-started/ Protégé-OWL Getting Started]&lt;br /&gt;
* [[:File:S09-OWL.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials (cursory):&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-quick-reference/ OWL 2 Quick Reference Guide]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-rdf-based-semantics/ OWL2 RDF-Based Semantics]&lt;br /&gt;
* The OWL-RL materials (from Lecture 5)&lt;br /&gt;
* [http://vowl.visualdataweb.org/v2 VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [http://vowl.visualdataweb.org/webvowl/index.html#sioc WebVOWL]&lt;br /&gt;
* [[:File:LohmannEtAl2016-VisualizingOntologiesWithVOWL.pdf | Lohmann et al. (2019): Visualizing Ontologies with VOWL. &#039;&#039;Semantic Web Journal.&#039;&#039;]]&lt;br /&gt;
* Pages 106-109 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
&lt;br /&gt;
==Lecture 10: Vocabularies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* LOD vocabularies and ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 10-11 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)]&lt;br /&gt;
* Important vocabularies / ontologies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://motools.sourceforge.net/event/event.html Event Ontology (event)]&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [https://www.w3.org/2003/01/geo/ geo: World Geodetic Standard (WGS) 84]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://rdfs.org/sioc/spec/ Semantic Interlinked Online Communities (SIOC)]&lt;br /&gt;
** [http://schema.org/docs/full.html schema.org - Full Hierarchy]&lt;br /&gt;
** [http://wikidata.dbpedia.org/services-resources/ontology DBpedia Ontology]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
** [http://creativecommons.org/ns Creative Commons (CC) Vocabulary]&lt;br /&gt;
** &#039;&#039;What we expect you to know about each vocabulary is this:&#039;&#039; &lt;br /&gt;
*** Its purpose and where and how it can be used.&lt;br /&gt;
*** Its most central 3-6 classes and properties be able to explain its basic structure. &lt;br /&gt;
*** 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. &lt;br /&gt;
* [[:File:S10-Vocabularies.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Lecture 11: KG embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG embeddings&lt;br /&gt;
* Link prediction&lt;br /&gt;
* TorchKGE&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:S11-GraphEmbeddings.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
==Lecture 12: KGs and Large Language Models==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
&lt;br /&gt;
* What are Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
&lt;br /&gt;
* [[:file:S12-KGsAndLLMs.pdf | Slides from the lecture]]&lt;br /&gt;
* No mandatory readings beyond the slides&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
&lt;br /&gt;
* Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., &amp;amp; Wu, X. (2024). [[:file:PanEtAl2023-LLMs_KGs_Opportunities_Challenges.pdf | &#039;&#039;Unifying large language models and knowledge graphs: A roadmap.&#039;&#039;]]  IEEE Transactions on Knowledge and Data Engineering.&lt;br /&gt;
* Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... &amp;amp;  Polosukhin, I. (2017). [[:file:NIPS-2017-attention-is-all-you-need-Paper.pdf | &#039;&#039;Attention is all you need.&#039;&#039;]]  Advances in neural information processing systems, 30.&amp;lt;br /&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2024, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2667</id>
		<title>Readings</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2667"/>
		<updated>2025-02-28T15:10:51Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Textbooks=&lt;br /&gt;
&lt;br /&gt;
Main course book (&#039;&#039;the whole book is mandatory reading&#039;&#039;):&lt;br /&gt;
* Hogan, A. et al. (2021). &#039;&#039;&#039;Knowledge Graphs.&#039;&#039;&#039; Springer. &#039;&#039;Synthesis Lectures on Data, Semantics, and Knowledge&#039;&#039; 22, 1–237, DOI: 10.2200/S01125ED1V01Y202109DSK022, Springer. https://kgbook.org/&lt;br /&gt;
&lt;br /&gt;
Supplementary books (&#039;&#039;not&#039;&#039; mandatory):&lt;br /&gt;
* Dean Allemang, James Hendler &amp;amp; Fabien Gandon (2020). &#039;&#039;&#039;Semantic Web for the Working Ontologist, Effective Modeling for Linked Data, RDFS and OWL (Third Edition).&#039;&#039;&#039; ISBN: 9781450376143, PDF ISBN: 9781450376150, Hardcover ISBN: 9781450376174, DOI: 10.1145/3382097.&lt;br /&gt;
* Andreas Blumauer and Helmut Nagy (2020). &#039;&#039;&#039;The Knowledge Graph Cookbook - Recipes that Work.&#039;&#039;&#039; mono/monochrom. ISBN-10: ‎3902796707, ISBN-13: 978-3902796707.&lt;br /&gt;
&lt;br /&gt;
=Other materials=&lt;br /&gt;
&lt;br /&gt;
In addition, &#039;&#039;&#039;the materials listed below for each lecture are either mandatory or suggested reading&#039;&#039;&#039;. More materials will be added to each lecture in the coming weeks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The labs, lectures and lectures notes are also part of the curriculum.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039; to download some of the papers, you may need to be inside UiB&#039;s network. Either use a computer directly on the UiB network or connect to your UiB account through VPN.&lt;br /&gt;
&lt;br /&gt;
=Lectures (in progress)=&lt;br /&gt;
&lt;br /&gt;
Below are the mandatory and suggested readings for each lecture. All the textbook chapters in Hogan et al. (&amp;quot;Knowledge Graphs&amp;quot;) are mandatory, whereas the chapters in Allemang, Hendler &amp;amp; Gandon (&amp;quot;Semantic Web&amp;quot;) are suggested.&lt;br /&gt;
&lt;br /&gt;
==Session 1: Introduction to KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Introduction to Knowledge Graphs&lt;br /&gt;
* Organisation of the course&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 1 Introduction, section 2.1 Models, and Appendix A Background in Hogan et al.&lt;br /&gt;
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web]&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.1.3 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapters 1-3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Wikidata (https://www.wikidata.org/)&lt;br /&gt;
&lt;br /&gt;
==Session 2: Querying and updating KGs (SPARQL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SPARQL queries&lt;br /&gt;
* SPARQL Update&lt;br /&gt;
* Programming SPARQL and SPARQL Update in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 2.2 Queries in Hogan et al.&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.8/sparql.html The SPARQL query language — GraphDB 10.8 documentation]&lt;br /&gt;
* [https://rdflib.readthedocs.io/ rdflib 7.1.3] materials: [https://rdflib.readthedocs.io/en/stable/intro_to_sparql.html Querying with SPARQL]&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapter 6 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-query/ SPARQL 1.1 Query Language]&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language]&lt;br /&gt;
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]]&lt;br /&gt;
* [https://en.wikibooks.org/wiki/SPARQL/Expressions_and_Functions SPARQL Expressions and Functions]&lt;br /&gt;
&lt;br /&gt;
==Session 3: Creating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Extracting KGs from text&lt;br /&gt;
* Extracting from marked-up sources&lt;br /&gt;
* Extracting from SQL databases and JSON&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 6 Creation and Enrichment, sections 6.1-6.4, in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.0/virtualization.html Virtualization, GraphDB 10.0 documentation]&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
&lt;br /&gt;
==Session 4: Validating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Validating KG schemas (SHACL)&lt;br /&gt;
* Semantic KG schemas/vocabularies (RDFS)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 3.1 Schema in Hogan et al.&lt;br /&gt;
* Sections 5.1, 5.3, 5.5, 5.6.1, and 5.6.3 in [https://book.validatingrdf.com/bookHtml011.html Gayo, J.E. et al. Validating RDF]. &lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* SHACL&lt;br /&gt;
** Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
** [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
** [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* RDFS&lt;br /&gt;
** [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important, and we will go throught the most important ones in the lecture&#039;&#039;)&lt;br /&gt;
** [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
** [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need)&lt;br /&gt;
&lt;br /&gt;
==Session 5: Advanced KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about RDF, e.g.,&lt;br /&gt;
** identity&lt;br /&gt;
** blank nodes&lt;br /&gt;
** reification&lt;br /&gt;
** higher-arity graphs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 3.2 Identity and 3.3 Context in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
&lt;br /&gt;
==Session 6: Ontologies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More powerful vocabularies/ontologies (OWL)&lt;br /&gt;
* Creating ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 4.1 Ontologies and 6.3 Schema/ontology creation in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* OWL 2 Primer, sections 2-6 (advanced: 9-10): http://www.w3.org/TR/owl-primer/ (show: Turtle)&lt;br /&gt;
* VOWL: Visual Notation for OWL Ontologies&lt;br /&gt;
&lt;br /&gt;
==Lecture: Reasoning==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about semantic KG schemas (RDFS)&lt;br /&gt;
* Description logic&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 4.2 Rules + DL in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* RDFS&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Analytics==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph analytics&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 5.1 Graph Analytics in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* networkx&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Semantic embedding spaces&lt;br /&gt;
* KG embedding techniques&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.2 Knowledge Graph Embeddings and 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* TorchKGE or PyKeen or ??&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Refinement==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Enriching KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 8 Completion + Correction in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Lecture: KGs in Practice==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Open KGs&lt;br /&gt;
* Enterprise KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Important knowledge graphs:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/)&lt;br /&gt;
** DBpedia (https://www.dbpedia.org, https://dbpedia.org/page/Bergen)&lt;br /&gt;
** GeoNames (https://www.geonames.org/)&lt;br /&gt;
** BabelNet (https://babelnet.org/)&lt;br /&gt;
** Linking Open Data (LOD) (http://lod-cloud.net)&lt;br /&gt;
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Quality==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG completion and correction&lt;br /&gt;
* Best practices&lt;br /&gt;
* Access protocols and usage control&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 8 Completion + Correction and 9 Best Practices + Access Protocols + Usage Control in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Lecture: KGs in industry==&lt;br /&gt;
&lt;br /&gt;
I am also working to organise a Guest Lecture from a practitioner and former student.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==Lecture 2: Representing KGs (RDF)==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Resource Description Framework (RDF)&lt;br /&gt;
* Programming RDF in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-primer/ W3C&#039;s RDF 1.1 Primer] until and including 5.1.2 Turtle (but not the rest for now)&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.0.0 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* [[:File:S02-RDF.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib 7.0.0 packages] (reference for the labs)&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools]&lt;br /&gt;
* Pages 25-28, 92-100, 125-128, and 164-167 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture 4: Linked Open Data (LOD)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Linked Open Data(LOD)&lt;br /&gt;
* The LOD cloud&lt;br /&gt;
* Data provisioning&lt;br /&gt;
&lt;br /&gt;
Mandatory readings &#039;&#039;(both lecture 4 and 5)&#039;&#039;:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27.&lt;br /&gt;
* [[:File:S04-LOD.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* [https://www.ontotext.com/knowledgehub/fundamentals/linked-data-linked-open-data/ What Are Linked Data and Linked Open Data?]&lt;br /&gt;
* [[:File:BizerHeathBernersLee-LinkedData2009-TheStorySoFar.pdf | Bizer, C., Heath, T., &amp;amp; Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 5: Open Knowledge Graphs I==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** Wikidata&lt;br /&gt;
** DBpedia&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/):&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:Introduction Introduction to Wikidata]&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help SPARQL query service/A gentle introduction to the Wikidata Query Service]&lt;br /&gt;
*** example: [https://www.wikidata.org/wiki/Q26793]&lt;br /&gt;
** DBpedia (https://www.dbpedia.org):&lt;br /&gt;
*** [http://wiki.dbpedia.org/about About Dbpedia]&lt;br /&gt;
*** example: [https://dbpedia.org/resource/Bergen]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 6: Open Knowledge Graphs II==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** DBpedia &#039;&#039;(continued)&#039;&#039;&lt;br /&gt;
** GeoNames&lt;br /&gt;
** the GDELT project&lt;br /&gt;
** WordNet&lt;br /&gt;
** BabelNet&lt;br /&gt;
** ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** GeoNames (https://www.geonames.org/):&lt;br /&gt;
*** [http://www.geonames.org/about.html About GeoNames]&lt;br /&gt;
*** example: [https://www.geonames.org/3161732/bergen.html]&lt;br /&gt;
** GDELT (https://www.gdeltproject.org/)&lt;br /&gt;
*** [https://www.gdeltproject.org/ The GDELT Project] - see also the About and Data pages&lt;br /&gt;
** WordNet (https://wordnet.princeton.edu/)&lt;br /&gt;
*** [https://wordnet.princeton.edu/ WordNet - A lexical database for English]&lt;br /&gt;
** BabelNet (https://babelnet.org/):&lt;br /&gt;
*** [http://live.babelnet.org/about About BabelNet]&lt;br /&gt;
*** [https://babelnet.org/how-to-use How to use]&lt;br /&gt;
*** example: [https://babelnet.org/synset?id=bn%3A00010008n&amp;amp;orig=Bergen&amp;amp;lang=EN]&lt;br /&gt;
** ConceptNet (http://conceptnet.io)&lt;br /&gt;
*** [http://conceptnet.io ConceptNet - An open, multilingual knowledge graph]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* Wikidata statistics&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000167/wikidata-datamodel?orgId=1&amp;amp;refresh=30m Entity statistics]&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000175/wikidata-datamodel-statements?orgId=1&amp;amp;refresh=30m Statement statistics]&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* GDELT documentation&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Event_Codebook-V2.0.pdf Event Codebook (and covers mentions)]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook]&lt;br /&gt;
* Parts 1 and 3 in Blumauer &amp;amp; Nagy&#039;s text book (not tightly related to the lecture, but time to finish them by now :-))&lt;br /&gt;
&lt;br /&gt;
==Lecture 7: Enterprise Knowledge Graphs==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Enterprise Knowledge Graphs (EKGs)&lt;br /&gt;
* Google’s Knowledge Graph&lt;br /&gt;
* Amazon’s Product Graph&lt;br /&gt;
* JSON-LD (video presentation)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://www.blog.google/products/search/introducing-knowledge-graph-things-not/ Introducing the Knowledge Graph: Things not Strings], Amit Singhal, Google (2012). &#039;&#039;(The blog post that introduced Google&#039;s knowledge graph to the world.)&#039;&#039;&lt;br /&gt;
* [https://blog.google/products/search/about-knowledge-graph-and-knowledge-panels/ A reintroduction to our Knowledge Graph and knowledge panels], Danny Sullivan, Google (2020).&lt;br /&gt;
* [https://www.aboutamazon.com/news/innovation-at-amazon/making-search-easier How Amazon’s Product Graph is helping customers find products more easily], Arun Krishnan, Amazon (2018). &#039;&#039;(Short blog post that reviews some central ideas from the AutoKnow research paper listed below.)&#039;&#039;&lt;br /&gt;
* [https://www.amazon.science/blog/building-product-graphs-automatically Building product graphs automatically], Xin Luna Dong, Amazon (2020).&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
* [[:File:S07-EnterpriseKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Parts 2 and 4 in Blumauer &amp;amp; Nagy&#039;s text book (&#039;&#039;strongly suggested - this is where Blumauer &amp;amp; Nagy&#039;s book is good!&#039;&#039;)&lt;br /&gt;
* [[:File:Bosch-LIS.pdf | LIS: A knowledge graph-based line information system]] by Grangel-González, I., Rickart, M., Rudolph, O., &amp;amp; Shah, F. (2023, May). In Proceedings of the European Semantic Web Conference (pp. 591-608). Cham: Springer Nature Switzerland.&lt;br /&gt;
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]] by Dong, X. L., He, X., Kan, A., Li, X., Liang, Y., Ma, J., ... &amp;amp; Han, J. (2020, August). In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery &amp;amp; Data Mining (pp. 2724-2734). &#039;&#039;Research paper from Amazon about AutoKnow - this is a bit heavy for Bachelor level, but you can have a look :-)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Lecture 8: Rules (SHACL and RDFS)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SHACL and RDFS&lt;br /&gt;
* Axioms, rules and entailment&lt;br /&gt;
* Programming SHACL and RDFS in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 7-8 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://book.validatingrdf.com/bookHtml011.html Chapter 5 &#039;&#039;SHACL&#039;&#039;] in [https://book.validatingrdf.com/index.html Validating RDF] (available online)&lt;br /&gt;
** Sections 5.1, 5.3-5.5, and 5.6,1-5.6.3&lt;br /&gt;
* [http://www.w3.org/TR/rdf-schema/ W3C&#039;s RDF Schema 1.1], focus on sections 1-3 and 6&lt;br /&gt;
* [[:File:S07-SHACL-RDFS.pdf | Slides from the lecture]] &lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
* [https://docs.google.com/presentation/d/1weO9SzssxgYp3g_44X1LZsVtL0i6FurQ3KbIKZ8iriQ/ Lab presentation containing a short overview of SHACL and pySHACL]&lt;br /&gt;
* [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
* [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture&#039;&#039;)&lt;br /&gt;
* [https://github.com/blazegraph/database/wiki/InferenceAndTruthMaintenance Inference and Thruth Maintenance in Blazegraph]&lt;br /&gt;
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
* [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&lt;br /&gt;
&lt;br /&gt;
==Lecture 9: Ontologies (OWL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Basic OWL concepts&lt;br /&gt;
* Axioms, rules and entailments&lt;br /&gt;
* Programming basic OWL in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 9-10, 12-13 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6 and 9-10&lt;br /&gt;
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [https://protegeproject.github.io/protege/getting-started/ Protégé-OWL Getting Started]&lt;br /&gt;
* [[:File:S09-OWL.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials (cursory):&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-quick-reference/ OWL 2 Quick Reference Guide]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-rdf-based-semantics/ OWL2 RDF-Based Semantics]&lt;br /&gt;
* The OWL-RL materials (from Lecture 5)&lt;br /&gt;
* [http://vowl.visualdataweb.org/v2 VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [http://vowl.visualdataweb.org/webvowl/index.html#sioc WebVOWL]&lt;br /&gt;
* [[:File:LohmannEtAl2016-VisualizingOntologiesWithVOWL.pdf | Lohmann et al. (2019): Visualizing Ontologies with VOWL. &#039;&#039;Semantic Web Journal.&#039;&#039;]]&lt;br /&gt;
* Pages 106-109 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
&lt;br /&gt;
==Lecture 10: Vocabularies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* LOD vocabularies and ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 10-11 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)]&lt;br /&gt;
* Important vocabularies / ontologies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://motools.sourceforge.net/event/event.html Event Ontology (event)]&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [https://www.w3.org/2003/01/geo/ geo: World Geodetic Standard (WGS) 84]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://rdfs.org/sioc/spec/ Semantic Interlinked Online Communities (SIOC)]&lt;br /&gt;
** [http://schema.org/docs/full.html schema.org - Full Hierarchy]&lt;br /&gt;
** [http://wikidata.dbpedia.org/services-resources/ontology DBpedia Ontology]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
** [http://creativecommons.org/ns Creative Commons (CC) Vocabulary]&lt;br /&gt;
** &#039;&#039;What we expect you to know about each vocabulary is this:&#039;&#039; &lt;br /&gt;
*** Its purpose and where and how it can be used.&lt;br /&gt;
*** Its most central 3-6 classes and properties be able to explain its basic structure. &lt;br /&gt;
*** 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. &lt;br /&gt;
* [[:File:S10-Vocabularies.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Lecture 11: KG embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG embeddings&lt;br /&gt;
* Link prediction&lt;br /&gt;
* TorchKGE&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:S11-GraphEmbeddings.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
==Lecture 12: KGs and Large Language Models==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
&lt;br /&gt;
* What are Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
&lt;br /&gt;
* [[:file:S12-KGsAndLLMs.pdf | Slides from the lecture]]&lt;br /&gt;
* No mandatory readings beyond the slides&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
&lt;br /&gt;
* Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., &amp;amp; Wu, X. (2024). [[:file:PanEtAl2023-LLMs_KGs_Opportunities_Challenges.pdf | &#039;&#039;Unifying large language models and knowledge graphs: A roadmap.&#039;&#039;]]  IEEE Transactions on Knowledge and Data Engineering.&lt;br /&gt;
* Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... &amp;amp;  Polosukhin, I. (2017). [[:file:NIPS-2017-attention-is-all-you-need-Paper.pdf | &#039;&#039;Attention is all you need.&#039;&#039;]]  Advances in neural information processing systems, 30.&amp;lt;br /&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2024, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2666</id>
		<title>Readings</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2666"/>
		<updated>2025-02-28T15:09:24Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: /* Session 6: Ontologies */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Textbooks=&lt;br /&gt;
&lt;br /&gt;
Main course book (&#039;&#039;the whole book is mandatory reading&#039;&#039;):&lt;br /&gt;
* Hogan, A. et al. (2021). &#039;&#039;&#039;Knowledge Graphs.&#039;&#039;&#039; Springer. &#039;&#039;Synthesis Lectures on Data, Semantics, and Knowledge&#039;&#039; 22, 1–237, DOI: 10.2200/S01125ED1V01Y202109DSK022, Springer. https://kgbook.org/&lt;br /&gt;
&lt;br /&gt;
Supplementary books (&#039;&#039;not&#039;&#039; mandatory):&lt;br /&gt;
* Dean Allemang, James Hendler &amp;amp; Fabien Gandon (2020). &#039;&#039;&#039;Semantic Web for the Working Ontologist, Effective Modeling for Linked Data, RDFS and OWL (Third Edition).&#039;&#039;&#039; ISBN: 9781450376143, PDF ISBN: 9781450376150, Hardcover ISBN: 9781450376174, DOI: 10.1145/3382097.&lt;br /&gt;
* Andreas Blumauer and Helmut Nagy (2020). &#039;&#039;&#039;The Knowledge Graph Cookbook - Recipes that Work.&#039;&#039;&#039; mono/monochrom. ISBN-10: ‎3902796707, ISBN-13: 978-3902796707.&lt;br /&gt;
&lt;br /&gt;
=Other materials=&lt;br /&gt;
&lt;br /&gt;
In addition, &#039;&#039;&#039;the materials listed below for each lecture are either mandatory or suggested reading&#039;&#039;&#039;. More materials will be added to each lecture in the coming weeks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The labs, lectures and lectures notes are also part of the curriculum.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039; to download some of the papers, you may need to be inside UiB&#039;s network. Either use a computer directly on the UiB network or connect to your UiB account through VPN.&lt;br /&gt;
&lt;br /&gt;
=Lectures (in progress)=&lt;br /&gt;
&lt;br /&gt;
Below are the mandatory and suggested readings for each lecture. All the textbook chapters in Hogan et al. (&amp;quot;Knowledge Graphs&amp;quot;) are mandatory, whereas the chapters in Allemang, Hendler &amp;amp; Gandon (&amp;quot;Semantic Web&amp;quot;) are suggested.&lt;br /&gt;
&lt;br /&gt;
==Session 1: Introduction to KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Introduction to Knowledge Graphs&lt;br /&gt;
* Organisation of the course&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 1 Introduction, section 2.1 Models, and Appendix A Background in Hogan et al.&lt;br /&gt;
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web]&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.1.3 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapters 1-3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Wikidata (https://www.wikidata.org/)&lt;br /&gt;
&lt;br /&gt;
==Session 2: Querying and updating KGs (SPARQL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SPARQL queries&lt;br /&gt;
* SPARQL Update&lt;br /&gt;
* Programming SPARQL and SPARQL Update in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 2.2 Queries in Hogan et al.&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.8/sparql.html The SPARQL query language — GraphDB 10.8 documentation]&lt;br /&gt;
* [https://rdflib.readthedocs.io/ rdflib 7.1.3] materials: [https://rdflib.readthedocs.io/en/stable/intro_to_sparql.html Querying with SPARQL]&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapter 6 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-query/ SPARQL 1.1 Query Language]&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language]&lt;br /&gt;
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]]&lt;br /&gt;
* [https://en.wikibooks.org/wiki/SPARQL/Expressions_and_Functions SPARQL Expressions and Functions]&lt;br /&gt;
&lt;br /&gt;
==Session 3: Creating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Extracting KGs from text&lt;br /&gt;
* Extracting from marked-up sources&lt;br /&gt;
* Extracting from SQL databases and JSON&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 6 Creation and Enrichment, sections 6.1-6.4, in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.0/virtualization.html Virtualization, GraphDB 10.0 documentation]&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
&lt;br /&gt;
==Session 4: Validating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Validating KG schemas (SHACL)&lt;br /&gt;
* Semantic KG schemas/vocabularies (RDFS)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 3.1 Schema in Hogan et al.&lt;br /&gt;
* Sections 5.1, 5.3, 5.5, 5.6.1, and 5.6.3 in [https://book.validatingrdf.com/bookHtml011.html Gayo, J.E. et al. Validating RDF]. &lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* SHACL&lt;br /&gt;
** Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
** [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
** [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* RDFS&lt;br /&gt;
** [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important, and we will go throught the most important ones in the lecture&#039;&#039;)&lt;br /&gt;
** [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
** [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need)&lt;br /&gt;
&lt;br /&gt;
==Session 5: Advanced KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about RDF, e.g.,&lt;br /&gt;
** identity&lt;br /&gt;
** blank nodes&lt;br /&gt;
** reification&lt;br /&gt;
** higher-arity graphs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 3.2 Identity and 3.3 Context in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* TBD&lt;br /&gt;
&lt;br /&gt;
==Session 6: Ontologies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More powerful vocabularies/ontologies (OWL)&lt;br /&gt;
* Creating ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 4.1 Ontologies and 6.3 Schema/ontology creation in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* OWL 2 Primer, sections 2-6 (advanced: 9-10): http://www.w3.org/TR/owl-primer/ (show: Turtle)&lt;br /&gt;
* VOWL: Visual Notation for OWL Ontologies&lt;br /&gt;
&lt;br /&gt;
==Lecture: Reasoning==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about semantic KG schemas (RDFS)&lt;br /&gt;
* Description logic&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 4.2 Rules + DL in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* RDFS&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Analytics==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph analytics&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 5.1 Graph Analytics in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* networkx&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Semantic embedding spaces&lt;br /&gt;
* KG embedding techniques&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.2 Knowledge Graph Embeddings and 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* TorchKGE or PyKeen or ??&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Refinement==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Enriching KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 8 Completion + Correction in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Lecture: KGs in Practice==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Open KGs&lt;br /&gt;
* Enterprise KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Important knowledge graphs:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/)&lt;br /&gt;
** DBpedia (https://www.dbpedia.org, https://dbpedia.org/page/Bergen)&lt;br /&gt;
** GeoNames (https://www.geonames.org/)&lt;br /&gt;
** BabelNet (https://babelnet.org/)&lt;br /&gt;
** Linking Open Data (LOD) (http://lod-cloud.net)&lt;br /&gt;
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Quality==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG completion and correction&lt;br /&gt;
* Best practices&lt;br /&gt;
* Access protocols and usage control&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 8 Completion + Correction and 9 Best Practices + Access Protocols + Usage Control in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Lecture: KGs in industry==&lt;br /&gt;
&lt;br /&gt;
I am also working to organise a Guest Lecture from a practitioner and former student.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==Lecture 2: Representing KGs (RDF)==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Resource Description Framework (RDF)&lt;br /&gt;
* Programming RDF in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-primer/ W3C&#039;s RDF 1.1 Primer] until and including 5.1.2 Turtle (but not the rest for now)&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.0.0 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* [[:File:S02-RDF.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib 7.0.0 packages] (reference for the labs)&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools]&lt;br /&gt;
* Pages 25-28, 92-100, 125-128, and 164-167 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture 4: Linked Open Data (LOD)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Linked Open Data(LOD)&lt;br /&gt;
* The LOD cloud&lt;br /&gt;
* Data provisioning&lt;br /&gt;
&lt;br /&gt;
Mandatory readings &#039;&#039;(both lecture 4 and 5)&#039;&#039;:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27.&lt;br /&gt;
* [[:File:S04-LOD.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* [https://www.ontotext.com/knowledgehub/fundamentals/linked-data-linked-open-data/ What Are Linked Data and Linked Open Data?]&lt;br /&gt;
* [[:File:BizerHeathBernersLee-LinkedData2009-TheStorySoFar.pdf | Bizer, C., Heath, T., &amp;amp; Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 5: Open Knowledge Graphs I==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** Wikidata&lt;br /&gt;
** DBpedia&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/):&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:Introduction Introduction to Wikidata]&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help SPARQL query service/A gentle introduction to the Wikidata Query Service]&lt;br /&gt;
*** example: [https://www.wikidata.org/wiki/Q26793]&lt;br /&gt;
** DBpedia (https://www.dbpedia.org):&lt;br /&gt;
*** [http://wiki.dbpedia.org/about About Dbpedia]&lt;br /&gt;
*** example: [https://dbpedia.org/resource/Bergen]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 6: Open Knowledge Graphs II==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** DBpedia &#039;&#039;(continued)&#039;&#039;&lt;br /&gt;
** GeoNames&lt;br /&gt;
** the GDELT project&lt;br /&gt;
** WordNet&lt;br /&gt;
** BabelNet&lt;br /&gt;
** ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** GeoNames (https://www.geonames.org/):&lt;br /&gt;
*** [http://www.geonames.org/about.html About GeoNames]&lt;br /&gt;
*** example: [https://www.geonames.org/3161732/bergen.html]&lt;br /&gt;
** GDELT (https://www.gdeltproject.org/)&lt;br /&gt;
*** [https://www.gdeltproject.org/ The GDELT Project] - see also the About and Data pages&lt;br /&gt;
** WordNet (https://wordnet.princeton.edu/)&lt;br /&gt;
*** [https://wordnet.princeton.edu/ WordNet - A lexical database for English]&lt;br /&gt;
** BabelNet (https://babelnet.org/):&lt;br /&gt;
*** [http://live.babelnet.org/about About BabelNet]&lt;br /&gt;
*** [https://babelnet.org/how-to-use How to use]&lt;br /&gt;
*** example: [https://babelnet.org/synset?id=bn%3A00010008n&amp;amp;orig=Bergen&amp;amp;lang=EN]&lt;br /&gt;
** ConceptNet (http://conceptnet.io)&lt;br /&gt;
*** [http://conceptnet.io ConceptNet - An open, multilingual knowledge graph]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* Wikidata statistics&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000167/wikidata-datamodel?orgId=1&amp;amp;refresh=30m Entity statistics]&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000175/wikidata-datamodel-statements?orgId=1&amp;amp;refresh=30m Statement statistics]&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* GDELT documentation&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Event_Codebook-V2.0.pdf Event Codebook (and covers mentions)]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook]&lt;br /&gt;
* Parts 1 and 3 in Blumauer &amp;amp; Nagy&#039;s text book (not tightly related to the lecture, but time to finish them by now :-))&lt;br /&gt;
&lt;br /&gt;
==Lecture 7: Enterprise Knowledge Graphs==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Enterprise Knowledge Graphs (EKGs)&lt;br /&gt;
* Google’s Knowledge Graph&lt;br /&gt;
* Amazon’s Product Graph&lt;br /&gt;
* JSON-LD (video presentation)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://www.blog.google/products/search/introducing-knowledge-graph-things-not/ Introducing the Knowledge Graph: Things not Strings], Amit Singhal, Google (2012). &#039;&#039;(The blog post that introduced Google&#039;s knowledge graph to the world.)&#039;&#039;&lt;br /&gt;
* [https://blog.google/products/search/about-knowledge-graph-and-knowledge-panels/ A reintroduction to our Knowledge Graph and knowledge panels], Danny Sullivan, Google (2020).&lt;br /&gt;
* [https://www.aboutamazon.com/news/innovation-at-amazon/making-search-easier How Amazon’s Product Graph is helping customers find products more easily], Arun Krishnan, Amazon (2018). &#039;&#039;(Short blog post that reviews some central ideas from the AutoKnow research paper listed below.)&#039;&#039;&lt;br /&gt;
* [https://www.amazon.science/blog/building-product-graphs-automatically Building product graphs automatically], Xin Luna Dong, Amazon (2020).&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
* [[:File:S07-EnterpriseKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Parts 2 and 4 in Blumauer &amp;amp; Nagy&#039;s text book (&#039;&#039;strongly suggested - this is where Blumauer &amp;amp; Nagy&#039;s book is good!&#039;&#039;)&lt;br /&gt;
* [[:File:Bosch-LIS.pdf | LIS: A knowledge graph-based line information system]] by Grangel-González, I., Rickart, M., Rudolph, O., &amp;amp; Shah, F. (2023, May). In Proceedings of the European Semantic Web Conference (pp. 591-608). Cham: Springer Nature Switzerland.&lt;br /&gt;
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]] by Dong, X. L., He, X., Kan, A., Li, X., Liang, Y., Ma, J., ... &amp;amp; Han, J. (2020, August). In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery &amp;amp; Data Mining (pp. 2724-2734). &#039;&#039;Research paper from Amazon about AutoKnow - this is a bit heavy for Bachelor level, but you can have a look :-)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Lecture 8: Rules (SHACL and RDFS)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SHACL and RDFS&lt;br /&gt;
* Axioms, rules and entailment&lt;br /&gt;
* Programming SHACL and RDFS in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 7-8 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://book.validatingrdf.com/bookHtml011.html Chapter 5 &#039;&#039;SHACL&#039;&#039;] in [https://book.validatingrdf.com/index.html Validating RDF] (available online)&lt;br /&gt;
** Sections 5.1, 5.3-5.5, and 5.6,1-5.6.3&lt;br /&gt;
* [http://www.w3.org/TR/rdf-schema/ W3C&#039;s RDF Schema 1.1], focus on sections 1-3 and 6&lt;br /&gt;
* [[:File:S07-SHACL-RDFS.pdf | Slides from the lecture]] &lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
* [https://docs.google.com/presentation/d/1weO9SzssxgYp3g_44X1LZsVtL0i6FurQ3KbIKZ8iriQ/ Lab presentation containing a short overview of SHACL and pySHACL]&lt;br /&gt;
* [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
* [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture&#039;&#039;)&lt;br /&gt;
* [https://github.com/blazegraph/database/wiki/InferenceAndTruthMaintenance Inference and Thruth Maintenance in Blazegraph]&lt;br /&gt;
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
* [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&lt;br /&gt;
&lt;br /&gt;
==Lecture 9: Ontologies (OWL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Basic OWL concepts&lt;br /&gt;
* Axioms, rules and entailments&lt;br /&gt;
* Programming basic OWL in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 9-10, 12-13 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6 and 9-10&lt;br /&gt;
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [https://protegeproject.github.io/protege/getting-started/ Protégé-OWL Getting Started]&lt;br /&gt;
* [[:File:S09-OWL.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials (cursory):&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-quick-reference/ OWL 2 Quick Reference Guide]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-rdf-based-semantics/ OWL2 RDF-Based Semantics]&lt;br /&gt;
* The OWL-RL materials (from Lecture 5)&lt;br /&gt;
* [http://vowl.visualdataweb.org/v2 VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [http://vowl.visualdataweb.org/webvowl/index.html#sioc WebVOWL]&lt;br /&gt;
* [[:File:LohmannEtAl2016-VisualizingOntologiesWithVOWL.pdf | Lohmann et al. (2019): Visualizing Ontologies with VOWL. &#039;&#039;Semantic Web Journal.&#039;&#039;]]&lt;br /&gt;
* Pages 106-109 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
&lt;br /&gt;
==Lecture 10: Vocabularies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* LOD vocabularies and ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 10-11 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)]&lt;br /&gt;
* Important vocabularies / ontologies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://motools.sourceforge.net/event/event.html Event Ontology (event)]&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [https://www.w3.org/2003/01/geo/ geo: World Geodetic Standard (WGS) 84]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://rdfs.org/sioc/spec/ Semantic Interlinked Online Communities (SIOC)]&lt;br /&gt;
** [http://schema.org/docs/full.html schema.org - Full Hierarchy]&lt;br /&gt;
** [http://wikidata.dbpedia.org/services-resources/ontology DBpedia Ontology]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
** [http://creativecommons.org/ns Creative Commons (CC) Vocabulary]&lt;br /&gt;
** &#039;&#039;What we expect you to know about each vocabulary is this:&#039;&#039; &lt;br /&gt;
*** Its purpose and where and how it can be used.&lt;br /&gt;
*** Its most central 3-6 classes and properties be able to explain its basic structure. &lt;br /&gt;
*** 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. &lt;br /&gt;
* [[:File:S10-Vocabularies.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Lecture 11: KG embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG embeddings&lt;br /&gt;
* Link prediction&lt;br /&gt;
* TorchKGE&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:S11-GraphEmbeddings.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
==Lecture 12: KGs and Large Language Models==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
&lt;br /&gt;
* What are Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
&lt;br /&gt;
* [[:file:S12-KGsAndLLMs.pdf | Slides from the lecture]]&lt;br /&gt;
* No mandatory readings beyond the slides&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
&lt;br /&gt;
* Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., &amp;amp; Wu, X. (2024). [[:file:PanEtAl2023-LLMs_KGs_Opportunities_Challenges.pdf | &#039;&#039;Unifying large language models and knowledge graphs: A roadmap.&#039;&#039;]]  IEEE Transactions on Knowledge and Data Engineering.&lt;br /&gt;
* Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... &amp;amp;  Polosukhin, I. (2017). [[:file:NIPS-2017-attention-is-all-you-need-Paper.pdf | &#039;&#039;Attention is all you need.&#039;&#039;]]  Advances in neural information processing systems, 30.&amp;lt;br /&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2024, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Lab_Exercises&amp;diff=2665</id>
		<title>Lab Exercises</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Lab_Exercises&amp;diff=2665"/>
		<updated>2025-02-28T13:32:59Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here we will present new lab exercises each week. &lt;br /&gt;
&lt;br /&gt;
# [[Lab: Getting started with VSCode, Python and RDFlib]] (week 5, from 27/1)&lt;br /&gt;
# [[Lab: SPARQL | Lab: SPARQL queries]] (week 6 &#039;&#039;&#039;&#039;&#039;and 7&#039;&#039;&#039;&#039;&#039;, from 3/2)&lt;br /&gt;
# [[Lab: SPARQL Programming | Lab: SPARQL programming]] (week 8, from 17/2)&lt;br /&gt;
# [[Lab: Ontop | Lab: Virtualisation with Ontop]] (week 10, from 24/2)&lt;br /&gt;
# [[Lab: JSON-LD]] (week 11, from 2/3)&lt;br /&gt;
# [[Lab: SHACL | Lab: SHACL constraints]] (week 12, from 9/3)&lt;br /&gt;
# [[Lab: RDFS | Lab: RDFS rules]] (week 13, from 16/3)&lt;br /&gt;
# [[Lab: Wikidata in RDF]] (week 14, from 23/3)&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
# [[Lab: RDF programming with RDFlib]] (week 5, from 29/1)&lt;br /&gt;
# [[Lab: SPARQL | Lab: SPARQL queries]] (week 6, from 5/2)&lt;br /&gt;
# [[Lab: SPARQL 2 | Lab: SPARQL updates]] (week 7, from 12/2)&lt;br /&gt;
# [[Lab: Semantic Lifting - CSV | Lab: From CSV to RDF]] (week 10, from 4/3)&lt;br /&gt;
# [[Lab: OWL 1]] (week 16, from 15/4)&lt;br /&gt;
# [[Lab: OWL 2]] (week 17, from 22/4)&lt;br /&gt;
# &#039;&#039;No lab in week 18 - May 1st is a holiday.&#039;&#039;&lt;br /&gt;
# [[Lab: Using Graph Embeddings]] (week 19, from 6/5, &#039;&#039;preliminary&#039;&#039;)&lt;br /&gt;
# [[Lab: Training Graph Embeddings]] (week 20, from 11/5, &#039;&#039;preliminary&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;No exercises in weeks 13-14 and 18.&#039;&#039;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2025, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Lab_Exercises&amp;diff=2664</id>
		<title>Lab Exercises</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Lab_Exercises&amp;diff=2664"/>
		<updated>2025-02-28T13:27:24Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here we will present new lab exercises each week. &lt;br /&gt;
&lt;br /&gt;
# [[Lab: Getting started with VSCode, Python and RDFlib]] (week 5, from 27/1)&lt;br /&gt;
# [[Lab: SPARQL | Lab: SPARQL queries]] (week 6 &#039;&#039;&#039;&#039;&#039;and 7&#039;&#039;&#039;&#039;&#039;, from 3/2)&lt;br /&gt;
# [[Lab: SPARQL Programming | Lab: SPARQL programming]] (week 8, from 17/2)&lt;br /&gt;
# [[Lab: Ontop | Lab: Virtualisation with Ontop]] (week 10, from 24/2)&lt;br /&gt;
# [[Lab: Wikidata in RDF]] (week 11, from 2/3)&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
# [[Lab: RDF programming with RDFlib]] (week 5, from 29/1)&lt;br /&gt;
# [[Lab: SPARQL | Lab: SPARQL queries]] (week 6, from 5/2)&lt;br /&gt;
# [[Lab: SPARQL 2 | Lab: SPARQL updates]] (week 7, from 12/2)&lt;br /&gt;
# [[Lab: Semantic Lifting - CSV | Lab: From CSV to RDF]] (week 10, from 4/3)&lt;br /&gt;
# [[Lab: JSON-LD]]  (week 11, from 11/3)&lt;br /&gt;
# [[Lab: SHACL | Lab: SHACL constraints]]  (week 12, from 18/3)&lt;br /&gt;
# [[Lab: RDFS | Lab: RDFS rules]]  (week 15, from 8/4)&lt;br /&gt;
# [[Lab: OWL 1]] (week 16, from 15/4)&lt;br /&gt;
# [[Lab: OWL 2]] (week 17, from 22/4)&lt;br /&gt;
# &#039;&#039;No lab in week 18 - May 1st is a holiday.&#039;&#039;&lt;br /&gt;
# [[Lab: Using Graph Embeddings]] (week 19, from 6/5, &#039;&#039;preliminary&#039;&#039;)&lt;br /&gt;
# [[Lab: Training Graph Embeddings]] (week 20, from 11/5, &#039;&#039;preliminary&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;No exercises in weeks 13-14 and 18.&#039;&#039;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2025, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Lab_Exercises&amp;diff=2663</id>
		<title>Lab Exercises</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Lab_Exercises&amp;diff=2663"/>
		<updated>2025-02-28T13:27:01Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here we will present new lab exercises each week. &#039;&#039;The two last exercises may be updated.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# [[Lab: Getting started with VSCode, Python and RDFlib]] (week 5, from 27/1)&lt;br /&gt;
# [[Lab: SPARQL | Lab: SPARQL queries]] (week 6 &#039;&#039;&#039;&#039;&#039;and 7&#039;&#039;&#039;&#039;&#039;, from 3/2)&lt;br /&gt;
# [[Lab: SPARQL Programming | Lab: SPARQL programming]] (week 8, from 17/2)&lt;br /&gt;
# [[Lab: Ontop | Lab: Virtualisation with Ontop]] (week 10, from 24/2)&lt;br /&gt;
# [[Lab: Wikidata in RDF]] (week 11, from 2/3)&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
# [[Lab: RDF programming with RDFlib]] (week 5, from 29/1)&lt;br /&gt;
# [[Lab: SPARQL | Lab: SPARQL queries]] (week 6, from 5/2)&lt;br /&gt;
# [[Lab: SPARQL 2 | Lab: SPARQL updates]] (week 7, from 12/2)&lt;br /&gt;
# [[Lab: Semantic Lifting - CSV | Lab: From CSV to RDF]] (week 10, from 4/3)&lt;br /&gt;
# [[Lab: JSON-LD]]  (week 11, from 11/3)&lt;br /&gt;
# [[Lab: SHACL | Lab: SHACL constraints]]  (week 12, from 18/3)&lt;br /&gt;
# [[Lab: RDFS | Lab: RDFS rules]]  (week 15, from 8/4)&lt;br /&gt;
# [[Lab: OWL 1]] (week 16, from 15/4)&lt;br /&gt;
# [[Lab: OWL 2]] (week 17, from 22/4)&lt;br /&gt;
# &#039;&#039;No lab in week 18 - May 1st is a holiday.&#039;&#039;&lt;br /&gt;
# [[Lab: Using Graph Embeddings]] (week 19, from 6/5, &#039;&#039;preliminary&#039;&#039;)&lt;br /&gt;
# [[Lab: Training Graph Embeddings]] (week 20, from 11/5, &#039;&#039;preliminary&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;No exercises in weeks 13-14 and 18.&#039;&#039;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2025, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2662</id>
		<title>Readings</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Readings&amp;diff=2662"/>
		<updated>2025-02-27T22:17:28Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Textbooks=&lt;br /&gt;
&lt;br /&gt;
Main course book (&#039;&#039;the whole book is mandatory reading&#039;&#039;):&lt;br /&gt;
* Hogan, A. et al. (2021). &#039;&#039;&#039;Knowledge Graphs.&#039;&#039;&#039; Springer. &#039;&#039;Synthesis Lectures on Data, Semantics, and Knowledge&#039;&#039; 22, 1–237, DOI: 10.2200/S01125ED1V01Y202109DSK022, Springer. https://kgbook.org/&lt;br /&gt;
&lt;br /&gt;
Supplementary books (&#039;&#039;not&#039;&#039; mandatory):&lt;br /&gt;
* Dean Allemang, James Hendler &amp;amp; Fabien Gandon (2020). &#039;&#039;&#039;Semantic Web for the Working Ontologist, Effective Modeling for Linked Data, RDFS and OWL (Third Edition).&#039;&#039;&#039; ISBN: 9781450376143, PDF ISBN: 9781450376150, Hardcover ISBN: 9781450376174, DOI: 10.1145/3382097.&lt;br /&gt;
* Andreas Blumauer and Helmut Nagy (2020). &#039;&#039;&#039;The Knowledge Graph Cookbook - Recipes that Work.&#039;&#039;&#039; mono/monochrom. ISBN-10: ‎3902796707, ISBN-13: 978-3902796707.&lt;br /&gt;
&lt;br /&gt;
=Other materials=&lt;br /&gt;
&lt;br /&gt;
In addition, &#039;&#039;&#039;the materials listed below for each lecture are either mandatory or suggested reading&#039;&#039;&#039;. More materials will be added to each lecture in the coming weeks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The labs, lectures and lectures notes are also part of the curriculum.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039; to download some of the papers, you may need to be inside UiB&#039;s network. Either use a computer directly on the UiB network or connect to your UiB account through VPN.&lt;br /&gt;
&lt;br /&gt;
=Lectures (in progress)=&lt;br /&gt;
&lt;br /&gt;
Below are the mandatory and suggested readings for each lecture. All the textbook chapters in Hogan et al. (&amp;quot;Knowledge Graphs&amp;quot;) are mandatory, whereas the chapters in Allemang, Hendler &amp;amp; Gandon (&amp;quot;Semantic Web&amp;quot;) are suggested.&lt;br /&gt;
&lt;br /&gt;
==Session 1: Introduction to KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Introduction to Knowledge Graphs&lt;br /&gt;
* Organisation of the course&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 1 Introduction, section 2.1 Models, and Appendix A Background in Hogan et al.&lt;br /&gt;
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web]&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.1.3 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapters 1-3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Wikidata (https://www.wikidata.org/)&lt;br /&gt;
&lt;br /&gt;
==Session 2: Querying and updating KGs (SPARQL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SPARQL queries&lt;br /&gt;
* SPARQL Update&lt;br /&gt;
* Programming SPARQL and SPARQL Update in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 2.2 Queries in Hogan et al.&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.8/sparql.html The SPARQL query language — GraphDB 10.8 documentation]&lt;br /&gt;
* [https://rdflib.readthedocs.io/ rdflib 7.1.3] materials: [https://rdflib.readthedocs.io/en/stable/intro_to_sparql.html Querying with SPARQL]&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Chapter 6 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-query/ SPARQL 1.1 Query Language]&lt;br /&gt;
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language]&lt;br /&gt;
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]]&lt;br /&gt;
* [https://en.wikibooks.org/wiki/SPARQL/Expressions_and_Functions SPARQL Expressions and Functions]&lt;br /&gt;
&lt;br /&gt;
==Session 3: Creating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Extracting KGs from text&lt;br /&gt;
* Extracting from marked-up sources&lt;br /&gt;
* Extracting from SQL databases and JSON&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 6 Creation and Enrichment, sections 6.1-6.4, in Hogan et al.&lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.0/virtualization.html Virtualization, GraphDB 10.0 documentation]&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
&lt;br /&gt;
==Session 4: Validating KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Validating KG schemas (SHACL)&lt;br /&gt;
* Semantic KG schemas/vocabularies (RDFS)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 3.1 Schema in Hogan et al.&lt;br /&gt;
* Sections 5.1, 5.3, 5.5, 5.6.1, and 5.6.3 in [https://book.validatingrdf.com/bookHtml011.html Gayo, J.E. et al. Validating RDF]. &lt;br /&gt;
* The slides from the lecture (available under [https://mitt.uib.no/courses/51914/files/folder/Slides Files/Slides in http://mitt.uib.no]).&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* SHACL&lt;br /&gt;
** Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
** [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
** [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* RDFS&lt;br /&gt;
** [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9 are most important, and we will go throught the most important ones in the lecture&#039;&#039;)&lt;br /&gt;
** [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
** [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need)&lt;br /&gt;
&lt;br /&gt;
==Session 5: Advanced KGs==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about RDF, e.g.,&lt;br /&gt;
** identity&lt;br /&gt;
** blank nodes&lt;br /&gt;
** reification&lt;br /&gt;
** higher-arity graphs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 3.2 Identity and 3.3 Context in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* TBD&lt;br /&gt;
&lt;br /&gt;
==Session 6: Ontologies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More powerful vocabularies/ontologies (OWL)&lt;br /&gt;
* Creating ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 4.1 Ontologies and 6.3 Schema/ontology creation in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* OWL&lt;br /&gt;
&lt;br /&gt;
==Lecture: Reasoning==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* More about semantic KG schemas (RDFS)&lt;br /&gt;
* Description logic&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 4.2 Rules + DL in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* RDFS&lt;br /&gt;
* OWL-DL&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Analytics==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Graph analytics&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Section 5.1 Graph Analytics in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* networkx&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Semantic embedding spaces&lt;br /&gt;
* KG embedding techniques&lt;br /&gt;
* Graph neural networks&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Sections 5.2 Knowledge Graph Embeddings and 5.3 Graph neural networks in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* TorchKGE or PyKeen or ??&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Refinement==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Enriching KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 8 Completion + Correction in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Lecture: KGs in Practice==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Open KGs&lt;br /&gt;
* Enterprise KGs&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Important knowledge graphs:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/)&lt;br /&gt;
** DBpedia (https://www.dbpedia.org, https://dbpedia.org/page/Bergen)&lt;br /&gt;
** GeoNames (https://www.geonames.org/)&lt;br /&gt;
** BabelNet (https://babelnet.org/)&lt;br /&gt;
** Linking Open Data (LOD) (http://lod-cloud.net)&lt;br /&gt;
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Lecture: KG Quality==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG completion and correction&lt;br /&gt;
* Best practices&lt;br /&gt;
* Access protocols and usage control&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 8 Completion + Correction and 9 Best Practices + Access Protocols + Usage Control in Hogan et al.&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
&lt;br /&gt;
==Lecture: KGs in industry==&lt;br /&gt;
&lt;br /&gt;
I am also working to organise a Guest Lecture from a practitioner and former student.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==Lecture 2: Representing KGs (RDF)==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Resource Description Framework (RDF)&lt;br /&gt;
* Programming RDF in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 3 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-primer/ W3C&#039;s RDF 1.1 Primer] until and including 5.1.2 Turtle (but not the rest for now)&lt;br /&gt;
* [http://rdflib.readthedocs.io/ RDFlib 7.0.0 documentation], the following pages:&lt;br /&gt;
** The main page&lt;br /&gt;
** Getting started with RDFLib&lt;br /&gt;
** Loading and saving RDF&lt;br /&gt;
** Creating RDF triples&lt;br /&gt;
** Navigating Graphs&lt;br /&gt;
** Utilities and convenience functions&lt;br /&gt;
** RDF terms in rdflib&lt;br /&gt;
** Namespaces and Bindings&lt;br /&gt;
* [[:File:S02-RDF.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib 7.0.0 packages] (reference for the labs)&lt;br /&gt;
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs&lt;br /&gt;
* [https://issemantic.net/rdf-visualizer RDF Visualizer] for drawing RDF graphs&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-concepts/ W3C&#039;s RDF 1.1 Concepts and Abstract Syntax]&lt;br /&gt;
* An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools]&lt;br /&gt;
* Pages 25-28, 92-100, 125-128, and 164-167 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Lecture 4: Linked Open Data (LOD)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Linked Open Data(LOD)&lt;br /&gt;
* The LOD cloud&lt;br /&gt;
* Data provisioning&lt;br /&gt;
&lt;br /&gt;
Mandatory readings &#039;&#039;(both lecture 4 and 5)&#039;&#039;:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27.&lt;br /&gt;
* [[:File:S04-LOD.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* [https://www.ontotext.com/knowledgehub/fundamentals/linked-data-linked-open-data/ What Are Linked Data and Linked Open Data?]&lt;br /&gt;
* [[:File:BizerHeathBernersLee-LinkedData2009-TheStorySoFar.pdf | Bizer, C., Heath, T., &amp;amp; Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 5: Open Knowledge Graphs I==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** Wikidata&lt;br /&gt;
** DBpedia&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** Wikidata (https://www.wikidata.org/):&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:Introduction Introduction to Wikidata]&lt;br /&gt;
*** [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help SPARQL query service/A gentle introduction to the Wikidata Query Service]&lt;br /&gt;
*** example: [https://www.wikidata.org/wiki/Q26793]&lt;br /&gt;
** DBpedia (https://www.dbpedia.org):&lt;br /&gt;
*** [http://wiki.dbpedia.org/about About Dbpedia]&lt;br /&gt;
*** example: [https://dbpedia.org/resource/Bergen]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
==Lecture 6: Open Knowledge Graphs II==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Important open KGs (LOD datasets)&lt;br /&gt;
** DBpedia &#039;&#039;(continued)&#039;&#039;&lt;br /&gt;
** GeoNames&lt;br /&gt;
** the GDELT project&lt;br /&gt;
** WordNet&lt;br /&gt;
** BabelNet&lt;br /&gt;
** ConceptNet&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 5 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* Important knowledge graphs - and what to read:&lt;br /&gt;
** GeoNames (https://www.geonames.org/):&lt;br /&gt;
*** [http://www.geonames.org/about.html About GeoNames]&lt;br /&gt;
*** example: [https://www.geonames.org/3161732/bergen.html]&lt;br /&gt;
** GDELT (https://www.gdeltproject.org/)&lt;br /&gt;
*** [https://www.gdeltproject.org/ The GDELT Project] - see also the About and Data pages&lt;br /&gt;
** WordNet (https://wordnet.princeton.edu/)&lt;br /&gt;
*** [https://wordnet.princeton.edu/ WordNet - A lexical database for English]&lt;br /&gt;
** BabelNet (https://babelnet.org/):&lt;br /&gt;
*** [http://live.babelnet.org/about About BabelNet]&lt;br /&gt;
*** [https://babelnet.org/how-to-use How to use]&lt;br /&gt;
*** example: [https://babelnet.org/synset?id=bn%3A00010008n&amp;amp;orig=Bergen&amp;amp;lang=EN]&lt;br /&gt;
** ConceptNet (http://conceptnet.io)&lt;br /&gt;
*** [http://conceptnet.io ConceptNet - An open, multilingual knowledge graph]&lt;br /&gt;
*  [[:File:S05-S06-OpenKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials&lt;br /&gt;
* Wikidata statistics&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000167/wikidata-datamodel?orgId=1&amp;amp;refresh=30m Entity statistics]&lt;br /&gt;
** [https://grafana.wikimedia.org/d/000000175/wikidata-datamodel-statements?orgId=1&amp;amp;refresh=30m Statement statistics]&lt;br /&gt;
* [https://www.dbpedia-spotlight.org/ DBpedia Spotlight]&lt;br /&gt;
* GDELT documentation&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Event_Codebook-V2.0.pdf Event Codebook (and covers mentions)]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes]&lt;br /&gt;
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook]&lt;br /&gt;
* Parts 1 and 3 in Blumauer &amp;amp; Nagy&#039;s text book (not tightly related to the lecture, but time to finish them by now :-))&lt;br /&gt;
&lt;br /&gt;
==Lecture 7: Enterprise Knowledge Graphs==&lt;br /&gt;
&lt;br /&gt;
Themes: &lt;br /&gt;
* Enterprise Knowledge Graphs (EKGs)&lt;br /&gt;
* Google’s Knowledge Graph&lt;br /&gt;
* Amazon’s Product Graph&lt;br /&gt;
* JSON-LD (video presentation)&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://www.blog.google/products/search/introducing-knowledge-graph-things-not/ Introducing the Knowledge Graph: Things not Strings], Amit Singhal, Google (2012). &#039;&#039;(The blog post that introduced Google&#039;s knowledge graph to the world.)&#039;&#039;&lt;br /&gt;
* [https://blog.google/products/search/about-knowledge-graph-and-knowledge-panels/ A reintroduction to our Knowledge Graph and knowledge panels], Danny Sullivan, Google (2020).&lt;br /&gt;
* [https://www.aboutamazon.com/news/innovation-at-amazon/making-search-easier How Amazon’s Product Graph is helping customers find products more easily], Arun Krishnan, Amazon (2018). &#039;&#039;(Short blog post that reviews some central ideas from the AutoKnow research paper listed below.)&#039;&#039;&lt;br /&gt;
* [https://www.amazon.science/blog/building-product-graphs-automatically Building product graphs automatically], Xin Luna Dong, Amazon (2020).&lt;br /&gt;
* [https://json-ld.org/ JSON for Linking Data]&lt;br /&gt;
* [[:File:S07-EnterpriseKGs.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* Parts 2 and 4 in Blumauer &amp;amp; Nagy&#039;s text book (&#039;&#039;strongly suggested - this is where Blumauer &amp;amp; Nagy&#039;s book is good!&#039;&#039;)&lt;br /&gt;
* [[:File:Bosch-LIS.pdf | LIS: A knowledge graph-based line information system]] by Grangel-González, I., Rickart, M., Rudolph, O., &amp;amp; Shah, F. (2023, May). In Proceedings of the European Semantic Web Conference (pp. 591-608). Cham: Springer Nature Switzerland.&lt;br /&gt;
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]] by Dong, X. L., He, X., Kan, A., Li, X., Liang, Y., Ma, J., ... &amp;amp; Han, J. (2020, August). In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery &amp;amp; Data Mining (pp. 2724-2734). &#039;&#039;Research paper from Amazon about AutoKnow - this is a bit heavy for Bachelor level, but you can have a look :-)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Lecture 8: Rules (SHACL and RDFS)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* SHACL and RDFS&lt;br /&gt;
* Axioms, rules and entailment&lt;br /&gt;
* Programming SHACL and RDFS in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 7-8 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [https://book.validatingrdf.com/bookHtml011.html Chapter 5 &#039;&#039;SHACL&#039;&#039;] in [https://book.validatingrdf.com/index.html Validating RDF] (available online)&lt;br /&gt;
** Sections 5.1, 5.3-5.5, and 5.6,1-5.6.3&lt;br /&gt;
* [http://www.w3.org/TR/rdf-schema/ W3C&#039;s RDF Schema 1.1], focus on sections 1-3 and 6&lt;br /&gt;
* [[:File:S07-SHACL-RDFS.pdf | Slides from the lecture]] &lt;br /&gt;
&lt;br /&gt;
Useful materials:&lt;br /&gt;
* Interactive, online [https://shacl.org/playground/ SHACL Playground]&lt;br /&gt;
* [https://docs.google.com/presentation/d/1weO9SzssxgYp3g_44X1LZsVtL0i6FurQ3KbIKZ8iriQ/ Lab presentation containing a short overview of SHACL and pySHACL]&lt;br /&gt;
* [https://pypi.org/project/pyshacl/ pySHACL - A Python validator for SHACL at PyPi.org] &#039;&#039;(after installation, go straight to &amp;quot;Python Module Use&amp;quot;.)&#039;&#039;&lt;br /&gt;
* [https://w3c.github.io/data-shapes/shacl/ Shapes Constraint Language (SHACL) (Editor&#039;s Draft)]&lt;br /&gt;
* [https://www.w3.org/TR/rdf11-mt/ W3C&#039;s RDF 1.1 Semantics] (&#039;&#039;the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture&#039;&#039;)&lt;br /&gt;
* [https://github.com/blazegraph/database/wiki/InferenceAndTruthMaintenance Inference and Thruth Maintenance in Blazegraph]&lt;br /&gt;
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the &#039;&#039;owlrl&#039;&#039; folder into your project folder, next to your Python files, and import it with &#039;&#039;import owlrl&#039;&#039;.&lt;br /&gt;
* [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&lt;br /&gt;
&lt;br /&gt;
==Lecture 9: Ontologies (OWL)==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* Basic OWL concepts&lt;br /&gt;
* Axioms, rules and entailments&lt;br /&gt;
* Programming basic OWL in Python&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapter 9-10, 12-13 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6 and 9-10&lt;br /&gt;
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [https://protegeproject.github.io/protege/getting-started/ Protégé-OWL Getting Started]&lt;br /&gt;
* [[:File:S09-OWL.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Useful materials (cursory):&lt;br /&gt;
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-quick-reference/ OWL 2 Quick Reference Guide]&lt;br /&gt;
* [https://www.w3.org/TR/owl2-rdf-based-semantics/ OWL2 RDF-Based Semantics]&lt;br /&gt;
* The OWL-RL materials (from Lecture 5)&lt;br /&gt;
* [http://vowl.visualdataweb.org/v2 VOWL: Visual Notation for OWL Ontologies]&lt;br /&gt;
* [http://vowl.visualdataweb.org/webvowl/index.html#sioc WebVOWL]&lt;br /&gt;
* [[:File:LohmannEtAl2016-VisualizingOntologiesWithVOWL.pdf | Lohmann et al. (2019): Visualizing Ontologies with VOWL. &#039;&#039;Semantic Web Journal.&#039;&#039;]]&lt;br /&gt;
* Pages 106-109 in Blumauer &amp;amp; Nagy (suggested)&lt;br /&gt;
&lt;br /&gt;
==Lecture 10: Vocabularies==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* LOD vocabularies and ontologies&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* Chapters 10-11 in Allemang, Hendler &amp;amp; Gandon (3rd edition)&lt;br /&gt;
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)]&lt;br /&gt;
* Important vocabularies / ontologies:&lt;br /&gt;
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)] (if necessary follow the link to the 2004 version)&lt;br /&gt;
** [http://motools.sourceforge.net/event/event.html Event Ontology (event)]&lt;br /&gt;
** [http://www.w3.org/TR/owl-time/ Time ontology in OWL (time, OWL-time)]&lt;br /&gt;
** [https://www.w3.org/2003/01/geo/ geo: World Geodetic Standard (WGS) 84]&lt;br /&gt;
** [http://dublincore.org/ Dublin Core (DC)]&lt;br /&gt;
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]&lt;br /&gt;
** [http://rdfs.org/sioc/spec/ Semantic Interlinked Online Communities (SIOC)]&lt;br /&gt;
** [http://schema.org/docs/full.html schema.org - Full Hierarchy]&lt;br /&gt;
** [http://wikidata.dbpedia.org/services-resources/ontology DBpedia Ontology]&lt;br /&gt;
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]&lt;br /&gt;
** [http://creativecommons.org/ns Creative Commons (CC) Vocabulary]&lt;br /&gt;
** &#039;&#039;What we expect you to know about each vocabulary is this:&#039;&#039; &lt;br /&gt;
*** Its purpose and where and how it can be used.&lt;br /&gt;
*** Its most central 3-6 classes and properties be able to explain its basic structure. &lt;br /&gt;
*** 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. &lt;br /&gt;
* [[:File:S10-Vocabularies.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Lecture 11: KG embeddings==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
* KG embeddings&lt;br /&gt;
* Link prediction&lt;br /&gt;
* TorchKGE&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])&lt;br /&gt;
* [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])&lt;br /&gt;
* [[:file:S11-GraphEmbeddings.pdf | Slides from the lecture]]&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]&lt;br /&gt;
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]&lt;br /&gt;
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)&lt;br /&gt;
&lt;br /&gt;
==Lecture 12: KGs and Large Language Models==&lt;br /&gt;
&lt;br /&gt;
Themes:&lt;br /&gt;
&lt;br /&gt;
* What are Large Language Models (LLMs)&lt;br /&gt;
* Combining KGs and Large Language Models (LLMs)&lt;br /&gt;
** retrieval augmented knowledge fusion&lt;br /&gt;
** end-to-end KG construction&lt;br /&gt;
** LLM-augmented KG to text generation&lt;br /&gt;
&lt;br /&gt;
Mandatory readings:&lt;br /&gt;
&lt;br /&gt;
* [[:file:S12-KGsAndLLMs.pdf | Slides from the lecture]]&lt;br /&gt;
* No mandatory readings beyond the slides&lt;br /&gt;
&lt;br /&gt;
Supplementary readings:&lt;br /&gt;
&lt;br /&gt;
* Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., &amp;amp; Wu, X. (2024). [[:file:PanEtAl2023-LLMs_KGs_Opportunities_Challenges.pdf | &#039;&#039;Unifying large language models and knowledge graphs: A roadmap.&#039;&#039;]]  IEEE Transactions on Knowledge and Data Engineering.&lt;br /&gt;
* Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... &amp;amp;  Polosukhin, I. (2017). [[:file:NIPS-2017-attention-is-all-you-need-Paper.pdf | &#039;&#039;Attention is all you need.&#039;&#039;]]  Advances in neural information processing systems, 30.&amp;lt;br /&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div class=&amp;quot;credits&amp;quot; style=&amp;quot;text-align: right; direction: ltr; margin-left: 1em;&amp;quot;&amp;gt;&#039;&#039;INFO216, UiB, 2017-2024, Andreas L. Opdahl (c)&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Lab:_Ontop&amp;diff=2661</id>
		<title>Lab: Ontop</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Lab:_Ontop&amp;diff=2661"/>
		<updated>2025-02-25T18:09:23Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: /* If you really have a lot of time */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Topics==&lt;br /&gt;
* Creating SQLite3 databases&lt;br /&gt;
* Creating OBDA or R2RML mappings&lt;br /&gt;
* Setting up Ontop in GraphDB&lt;br /&gt;
* Querying SQLite3 databases through a virtual Ontop KG&lt;br /&gt;
&lt;br /&gt;
==Useful materials==&lt;br /&gt;
* The [https://sqlite.org/index.html SQLite] project page.&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.8/virtualization.html Accessing relational databases with data virtualization] (GraphDB&#039;s Ontop documentation)&lt;br /&gt;
* The [https://github.com/ontop/ontop-examples/tree/master ontop-examples] repository on GitHub contains many OBDA mapping examples&lt;br /&gt;
* Section 2 in [https://www.w3.org/TR/sparql11-federated-query/ SPARQL 1.1 Federated Query]&lt;br /&gt;
&lt;br /&gt;
==Tasks==&lt;br /&gt;
We recommend you run this exercise through the Ontop plugin to the free desktop version of OntoText&#039;s GraphDB tool. You can also use one of the [https://ontop-vkg.org/ open-source versions of Ontop].&lt;br /&gt;
&lt;br /&gt;
===Installing and running SQLite3===&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Download and install a relational database system on your computer. If you are not experienced in databases, we recommend the very light-weight and easy-to-install [https://sqlite.org/download.html SQLite3].&lt;br /&gt;
&lt;br /&gt;
(Unfortunately, SQLite3 is not fully integrated with Ontop. A more powerful alternative is H2. At the end of this exercise you will find guidelines for doing the exercise with H2 instead.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Create a folder on your local computer for this exercise. Go to the new folder and open a Console or Terminal window. Start SQLite3 with the name of a new database, for example &#039;MyTestDB.sqlite&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Based on the example files &#039;&#039;Fig6.3-ReportClaimantTable-original.sql&#039;&#039; in [https://mitt.uib.no/courses/51914/files/folder/Examples the Examples folder in mitt.uib.no], create the following two tables and fill them with test data:&lt;br /&gt;
&lt;br /&gt;
Table &#039;&#039;&#039;InvestigatedPeople:&#039;&#039;&#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;InvestigationID&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;American&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;CPDate&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;CPDays&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;IndictmentDays&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Investigation&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Outcome&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Overturned&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Pardoned&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|investigation_114&lt;br /&gt;
|true&lt;br /&gt;
|None&lt;br /&gt;
|None&lt;br /&gt;
|None&lt;br /&gt;
|bush-clinton-passport&lt;br /&gt;
|None&lt;br /&gt;
|None&lt;br /&gt;
|false&lt;br /&gt;
|false&lt;br /&gt;
|-&lt;br /&gt;
|investigation_100&lt;br /&gt;
|true&lt;br /&gt;
|1993-10-26&lt;br /&gt;
|1335&lt;br /&gt;
|789&lt;br /&gt;
|pierce&lt;br /&gt;
|Deborah Gore Dean&lt;br /&gt;
|conviction&lt;br /&gt;
|false&lt;br /&gt;
|false&lt;br /&gt;
|-&lt;br /&gt;
|investigation_113&lt;br /&gt;
|true&lt;br /&gt;
|None&lt;br /&gt;
|None&lt;br /&gt;
|None&lt;br /&gt;
|sealed-investigation-hwbush-2&lt;br /&gt;
|None&lt;br /&gt;
|None&lt;br /&gt;
|false&lt;br /&gt;
|false&lt;br /&gt;
|-&lt;br /&gt;
|investigation_10&lt;br /&gt;
|true&lt;br /&gt;
|1975-01-01&lt;br /&gt;
|592&lt;br /&gt;
|286&lt;br /&gt;
|watergate&lt;br /&gt;
|Robert C. Mardian&lt;br /&gt;
|conviction&lt;br /&gt;
|true&lt;br /&gt;
|false&lt;br /&gt;
|-&lt;br /&gt;
|investigation_11&lt;br /&gt;
|true&lt;br /&gt;
|None&lt;br /&gt;
|None&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-9&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|watergate&lt;br /&gt;
|Maurice H. Stans&lt;br /&gt;
|indictment&lt;br /&gt;
|false&lt;br /&gt;
|false&lt;br /&gt;
|-&lt;br /&gt;
|investigation_115&lt;br /&gt;
|true&lt;br /&gt;
|1994-03-22&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-136&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-316&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|whitewater&lt;br /&gt;
|David L. Hale&lt;br /&gt;
|guilty-plea&lt;br /&gt;
|false&lt;br /&gt;
|false&lt;br /&gt;
|}&lt;br /&gt;
Table &#039;&#039;&#039;Investigations:&#039;&#039;&#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;Investigation&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;InvestigationDays&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;InvestigationStart&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;InvestigationEnd&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;President&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|bush-clinton-passport&lt;br /&gt;
|1081&lt;br /&gt;
|1992-12-14&lt;br /&gt;
|1995-11-30&lt;br /&gt;
|Bill Clinton&lt;br /&gt;
|-&lt;br /&gt;
|pierce&lt;br /&gt;
|3162&lt;br /&gt;
|1990-03-01&lt;br /&gt;
|1998-10-27&lt;br /&gt;
|George H.W. Bush&lt;br /&gt;
|-&lt;br /&gt;
|sealed-investigation-hwbush-2&lt;br /&gt;
|453&lt;br /&gt;
|1991-04-19&lt;br /&gt;
|1992-07-15&lt;br /&gt;
|George H.W. Bush&lt;br /&gt;
|-&lt;br /&gt;
|watergate&lt;br /&gt;
|1492&lt;br /&gt;
|1973-05-19&lt;br /&gt;
|1977-06-19&lt;br /&gt;
|Richard Nixon&lt;br /&gt;
|-&lt;br /&gt;
|whitewater&lt;br /&gt;
|2770&lt;br /&gt;
|1994-08-05&lt;br /&gt;
|2002-03-06&lt;br /&gt;
|Bill Clinton&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Tip:&#039;&#039; You can either enter SQL statements interactively one by one, or you can save them to a file and use SQLite3&#039;s &#039;&#039;.read&#039;&#039; command. Use the &#039;&#039;.exit&#039;&#039; command when you are done.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Tip:&#039;&#039; Although SQLite3 does not require it, Ontop will later expect that you have declared all PRIMARY KEYS as NOT NULL (for example: &amp;quot;InvestigationID text NOT NULL PRIMARY KEY,&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
(If you want more data, the full CSV file is [https://github.com/fivethirtyeight/data/blob/master/russia-investigation/russia-investigation.csv available on GitHub].)&lt;br /&gt;
&lt;br /&gt;
===OBDA and R2RML mappings===&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Draw an example graph on paper that represents the &#039;&#039;investigation_100&#039;&#039; and &#039;&#039;pierce&#039;&#039; rows of the two tables.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Based on the example files &#039;&#039;Fig6.4-ReportClaimant-mapping.obda&#039;&#039; and/or &#039;&#039;Fig6.4-ReportClaimant-mapping.r2rml&#039;&#039; in [https://mitt.uib.no/courses/51914/files/folder/Examples the Examples folder], create a mapping from the two tables into an RDF graph.&lt;br /&gt;
&lt;br /&gt;
===GraphDB Ontop configuration===&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; You already have Ontop as part of your GraphDB installation, but you need an additional &#039;&#039;.jar&#039;&#039;-file - a JDBC driver - for connecting to your database of choice. For SQLite3, you can download the driver from [https://github.com/xerial/sqlite-jdbc Xenial on GitHub]. Place the &#039;&#039;.jar&#039;&#039;-file in the &#039;&#039;lib/&#039;&#039;-subfolder of your GraphDB installation folder(*). Restart Ontop.&lt;br /&gt;
&lt;br /&gt;
(*) On Linux, the path is &amp;lt;ONTOP_INSTALL_DIR&amp;gt;/lib/app/lib/sqlite-jdbc-3.49.0.0.jar .&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; &lt;br /&gt;
* Create a new Ontop repository. &lt;br /&gt;
* The &#039;&#039;Driver class&#039;&#039; should be &amp;lt;code&amp;gt;org.sqlite.JDBC&amp;lt;/code&amp;gt;. The &#039;&#039;JDBC URL&#039;&#039; should be &amp;lt;code&amp;gt;jdbc:sqlite:PATH&amp;lt;/code&amp;gt;, where PATH is the location of your SQLite3 database, for example &amp;lt;code&amp;gt;jdbc:sqlite:C:/Users/MyUser/OntopLab/MyTestDB.sqlite&amp;lt;/code&amp;gt;. &lt;br /&gt;
* Load the OBDA or R2RML mapping file. &lt;br /&gt;
* Click &#039;&#039;Create&#039;&#039; and activate the new repository.&lt;br /&gt;
&lt;br /&gt;
===Running SPARQL queries===&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Write SPARQL queries that answer the following questions:&lt;br /&gt;
* List all investigations in your graph.&lt;br /&gt;
* Count the number of investigations in your graph.&lt;br /&gt;
* List all investigated people in your graph.&lt;br /&gt;
* List all investigated people in your graph along with the investigations they were involved in.&lt;br /&gt;
* You can also re-do the following queries from before (you may need to load more data):&lt;br /&gt;
** List everyone who pleaded guilty, along with the name of the investigation.&lt;br /&gt;
** List everyone who were convicted, but who had their conviction overturned by which president.&lt;br /&gt;
** For each investigation, list the number of indictments made.&lt;br /&gt;
** For each investigation with multiple indictments, list the number of indictments made.&lt;br /&gt;
** For each investigation with multiple indictments, list the number of indictments made, sorted with the most indictments first.&lt;br /&gt;
&lt;br /&gt;
==If you have more time==&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Create a new &#039;&#039;No inference&#039;&#039; (plain RDF) GraphDB repository and import triples from the file &#039;&#039;Presidents.ttl&#039;&#039; in [https://mitt.uib.no/courses/51914/files/folder/Examples the Examples folder in mitt.uib.no]. &lt;br /&gt;
&lt;br /&gt;
Activate the new repository. Its triples connect the names of recent US presidents to their Wikidata URIs. Run a SPARQL SELECT query to list them all.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Create a new &#039;&#039;Federated&#039;&#039; (FedX Virtual SPARQL) repository. &lt;br /&gt;
* As a local repository, add the new &#039;&#039;Presidents&#039;&#039; repository.&lt;br /&gt;
* As a remote repository, add &#039;&#039;https://query.wikidata.org/sparql&#039;&#039; as a &#039;&#039;Generic SPARQL endpoint&#039;&#039;.&lt;br /&gt;
Activate the new repository.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Re-run the SPARQL SELECT query that lists the names of recent US presidents along with their Wikidata URIs.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Extend the SPARQL SELECT query to also list the &#039;&#039;schema:description&#039;&#039; of each US president.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Use &#039;&#039;FILTER&#039;&#039; and the &#039;&#039;LANG&#039;&#039; function to only list president descriptions with language &#039;&#039;&amp;quot;en&amp;quot;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;...from here we could have gone on to add the Ontop repository too as a local repository, but Ontop does not support SQLite3 fully, unfortunately. Using H2 instead of SQLite3 is an option, as we outline below.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Tip:&#039;&#039; Here are some useful PREFIXES:&lt;br /&gt;
&lt;br /&gt;
 PREFIX foaf: &amp;lt;http://xmlns.com/foaf/0.1/&amp;gt;&lt;br /&gt;
 PREFIX owl: &amp;lt;http://www.w3.org/2002/07/owl#&amp;gt;&lt;br /&gt;
 PREFIX schema: &amp;lt;http://schema.org/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==If you &#039;&#039;really&#039;&#039; have a lot of time==&lt;br /&gt;
It is possible to create a &#039;&#039;Federated&#039;&#039; (FedX Virtual SPARQL) repository that federates&lt;br /&gt;
* a local repository (like the &#039;&#039;Presidents&#039;&#039; repository),&lt;br /&gt;
* a remote repository (for example &#039;&#039;https://query.wikidata.org/sparql&#039;&#039; as a &#039;&#039;Generic SPARQL endpoint&#039;&#039;), &#039;&#039;and&#039;&#039;&lt;br /&gt;
* a virtual repository (like the &#039;&#039;Investigations&#039;&#039; and &#039;&#039;InvestigatedPeople&#039;&#039; repository) as long as it runs on top of &#039;&#039;H2&#039;&#039; instead of &#039;&#039;SQLite3&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Install a recent Java on your computer if you do not have already, for example [https://adoptium.net/en-GB/download/ the open version from Adoptium].&lt;br /&gt;
 java -version&lt;br /&gt;
must show version 11 or later, and Java cannot be blocked by your firewall.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; [https://www.h2database.com/html/download.html Download] and [https://www.h2database.com/html/installation.html install H2].&lt;br /&gt;
&lt;br /&gt;
Again, Ontop needs an additional &#039;&#039;.jar&#039;&#039;-file - a JDBC driver - for connecting to your H2 database. You will find this file in the folder where you installed H2. It is called something like &#039;&#039;h2-2.3.232.jar&#039;&#039;. Place a copy of it in &#039;&#039;lib/&#039;&#039;-subfolder of your GraphDB installation folder (same place where you put the &#039;&#039;sqlite-jdbc-3.49.0.0.jar&#039;&#039;-file). Restart Ontop.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Start H2. Normally it opens a browser window on port &#039;&#039;8082&#039;&#039;, but there is a console (command line) option too. &lt;br /&gt;
* Default driver class: &#039;&#039;org.h2.Driver&#039;&#039; - this one is fine&lt;br /&gt;
* Default JDBC URL: &#039;&#039;jdbc:h2:~/test&#039;&#039; - if you want, you can replace the &#039;&#039;~&#039;&#039; with a full path and perhaps give the DB a better name than &#039;&#039;test&#039;&#039; too&lt;br /&gt;
You do not need a password or to change the user name.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Click connect and define your database. You can cut-and-paste the same SQL commands as before to create the &#039;&#039;Investigations&#039;&#039; and &#039;&#039;InvestigatedPeople&#039;&#039; databases. But be aware of a few critical differences:&lt;br /&gt;
* H2 uses &#039;&#039;schemas&#039;&#039; to organise tables. So first you need to create one for your two tables, for example:&lt;br /&gt;
 CREATE SCHEMA MyTestSchema ;&lt;br /&gt;
* After that, you must always prefix your table names with the schema: &#039;&#039;MyTestSchema.Investigations&#039;&#039; and &#039;&#039;MyTestSchema.InvestigatedPeople&#039;&#039; - both in your SQL commands and in your OBDA mappings.&lt;br /&gt;
* If you do not write schema, table, and column names inside &amp;quot;quotation marks&amp;quot;, H2 will automatically convert them to UPPER CASE. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Create a new virtual repository like you did before, but using the driver class and JDBC URL for H2 instead. You need to enter a H2 user name too. This virtual repository is more stable than the one that wraps SQLite3.&lt;br /&gt;
&lt;br /&gt;
You may need to disconnect from H2 in the browser window before you connect to it via GraphDB and Ontop.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Add the new virtual repository to the FedX federated repository you created before. You can now write a SPARQL query that combines triples from all the three repositories it contains, e.g.,&lt;br /&gt;
&lt;br /&gt;
* For all investigations, list its name, who was president, that president&#039;s Wikidata URL, and a brief description of the president in English.&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
	<entry>
		<id>http://info216.wiki.uib.no/index.php?title=Lab:_Ontop&amp;diff=2660</id>
		<title>Lab: Ontop</title>
		<link rel="alternate" type="text/html" href="http://info216.wiki.uib.no/index.php?title=Lab:_Ontop&amp;diff=2660"/>
		<updated>2025-02-25T18:07:53Z</updated>

		<summary type="html">&lt;p&gt;Sinoa: /* If you have more time */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Topics==&lt;br /&gt;
* Creating SQLite3 databases&lt;br /&gt;
* Creating OBDA or R2RML mappings&lt;br /&gt;
* Setting up Ontop in GraphDB&lt;br /&gt;
* Querying SQLite3 databases through a virtual Ontop KG&lt;br /&gt;
&lt;br /&gt;
==Useful materials==&lt;br /&gt;
* The [https://sqlite.org/index.html SQLite] project page.&lt;br /&gt;
* [https://graphdb.ontotext.com/documentation/10.8/virtualization.html Accessing relational databases with data virtualization] (GraphDB&#039;s Ontop documentation)&lt;br /&gt;
* The [https://github.com/ontop/ontop-examples/tree/master ontop-examples] repository on GitHub contains many OBDA mapping examples&lt;br /&gt;
* Section 2 in [https://www.w3.org/TR/sparql11-federated-query/ SPARQL 1.1 Federated Query]&lt;br /&gt;
&lt;br /&gt;
==Tasks==&lt;br /&gt;
We recommend you run this exercise through the Ontop plugin to the free desktop version of OntoText&#039;s GraphDB tool. You can also use one of the [https://ontop-vkg.org/ open-source versions of Ontop].&lt;br /&gt;
&lt;br /&gt;
===Installing and running SQLite3===&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Download and install a relational database system on your computer. If you are not experienced in databases, we recommend the very light-weight and easy-to-install [https://sqlite.org/download.html SQLite3].&lt;br /&gt;
&lt;br /&gt;
(Unfortunately, SQLite3 is not fully integrated with Ontop. A more powerful alternative is H2. At the end of this exercise you will find guidelines for doing the exercise with H2 instead.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Create a folder on your local computer for this exercise. Go to the new folder and open a Console or Terminal window. Start SQLite3 with the name of a new database, for example &#039;MyTestDB.sqlite&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Based on the example files &#039;&#039;Fig6.3-ReportClaimantTable-original.sql&#039;&#039; in [https://mitt.uib.no/courses/51914/files/folder/Examples the Examples folder in mitt.uib.no], create the following two tables and fill them with test data:&lt;br /&gt;
&lt;br /&gt;
Table &#039;&#039;&#039;InvestigatedPeople:&#039;&#039;&#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;InvestigationID&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;American&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;CPDate&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;CPDays&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;IndictmentDays&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Investigation&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Outcome&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Overturned&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Pardoned&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|investigation_114&lt;br /&gt;
|true&lt;br /&gt;
|None&lt;br /&gt;
|None&lt;br /&gt;
|None&lt;br /&gt;
|bush-clinton-passport&lt;br /&gt;
|None&lt;br /&gt;
|None&lt;br /&gt;
|false&lt;br /&gt;
|false&lt;br /&gt;
|-&lt;br /&gt;
|investigation_100&lt;br /&gt;
|true&lt;br /&gt;
|1993-10-26&lt;br /&gt;
|1335&lt;br /&gt;
|789&lt;br /&gt;
|pierce&lt;br /&gt;
|Deborah Gore Dean&lt;br /&gt;
|conviction&lt;br /&gt;
|false&lt;br /&gt;
|false&lt;br /&gt;
|-&lt;br /&gt;
|investigation_113&lt;br /&gt;
|true&lt;br /&gt;
|None&lt;br /&gt;
|None&lt;br /&gt;
|None&lt;br /&gt;
|sealed-investigation-hwbush-2&lt;br /&gt;
|None&lt;br /&gt;
|None&lt;br /&gt;
|false&lt;br /&gt;
|false&lt;br /&gt;
|-&lt;br /&gt;
|investigation_10&lt;br /&gt;
|true&lt;br /&gt;
|1975-01-01&lt;br /&gt;
|592&lt;br /&gt;
|286&lt;br /&gt;
|watergate&lt;br /&gt;
|Robert C. Mardian&lt;br /&gt;
|conviction&lt;br /&gt;
|true&lt;br /&gt;
|false&lt;br /&gt;
|-&lt;br /&gt;
|investigation_11&lt;br /&gt;
|true&lt;br /&gt;
|None&lt;br /&gt;
|None&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-9&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|watergate&lt;br /&gt;
|Maurice H. Stans&lt;br /&gt;
|indictment&lt;br /&gt;
|false&lt;br /&gt;
|false&lt;br /&gt;
|-&lt;br /&gt;
|investigation_115&lt;br /&gt;
|true&lt;br /&gt;
|1994-03-22&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-136&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-316&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|whitewater&lt;br /&gt;
|David L. Hale&lt;br /&gt;
|guilty-plea&lt;br /&gt;
|false&lt;br /&gt;
|false&lt;br /&gt;
|}&lt;br /&gt;
Table &#039;&#039;&#039;Investigations:&#039;&#039;&#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;Investigation&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;InvestigationDays&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;InvestigationStart&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;InvestigationEnd&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;President&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|bush-clinton-passport&lt;br /&gt;
|1081&lt;br /&gt;
|1992-12-14&lt;br /&gt;
|1995-11-30&lt;br /&gt;
|Bill Clinton&lt;br /&gt;
|-&lt;br /&gt;
|pierce&lt;br /&gt;
|3162&lt;br /&gt;
|1990-03-01&lt;br /&gt;
|1998-10-27&lt;br /&gt;
|George H.W. Bush&lt;br /&gt;
|-&lt;br /&gt;
|sealed-investigation-hwbush-2&lt;br /&gt;
|453&lt;br /&gt;
|1991-04-19&lt;br /&gt;
|1992-07-15&lt;br /&gt;
|George H.W. Bush&lt;br /&gt;
|-&lt;br /&gt;
|watergate&lt;br /&gt;
|1492&lt;br /&gt;
|1973-05-19&lt;br /&gt;
|1977-06-19&lt;br /&gt;
|Richard Nixon&lt;br /&gt;
|-&lt;br /&gt;
|whitewater&lt;br /&gt;
|2770&lt;br /&gt;
|1994-08-05&lt;br /&gt;
|2002-03-06&lt;br /&gt;
|Bill Clinton&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Tip:&#039;&#039; You can either enter SQL statements interactively one by one, or you can save them to a file and use SQLite3&#039;s &#039;&#039;.read&#039;&#039; command. Use the &#039;&#039;.exit&#039;&#039; command when you are done.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Tip:&#039;&#039; Although SQLite3 does not require it, Ontop will later expect that you have declared all PRIMARY KEYS as NOT NULL (for example: &amp;quot;InvestigationID text NOT NULL PRIMARY KEY,&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
(If you want more data, the full CSV file is [https://github.com/fivethirtyeight/data/blob/master/russia-investigation/russia-investigation.csv available on GitHub].)&lt;br /&gt;
&lt;br /&gt;
===OBDA and R2RML mappings===&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Draw an example graph on paper that represents the &#039;&#039;investigation_100&#039;&#039; and &#039;&#039;pierce&#039;&#039; rows of the two tables.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Based on the example files &#039;&#039;Fig6.4-ReportClaimant-mapping.obda&#039;&#039; and/or &#039;&#039;Fig6.4-ReportClaimant-mapping.r2rml&#039;&#039; in [https://mitt.uib.no/courses/51914/files/folder/Examples the Examples folder], create a mapping from the two tables into an RDF graph.&lt;br /&gt;
&lt;br /&gt;
===GraphDB Ontop configuration===&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; You already have Ontop as part of your GraphDB installation, but you need an additional &#039;&#039;.jar&#039;&#039;-file - a JDBC driver - for connecting to your database of choice. For SQLite3, you can download the driver from [https://github.com/xerial/sqlite-jdbc Xenial on GitHub]. Place the &#039;&#039;.jar&#039;&#039;-file in the &#039;&#039;lib/&#039;&#039;-subfolder of your GraphDB installation folder(*). Restart Ontop.&lt;br /&gt;
&lt;br /&gt;
(*) On Linux, the path is &amp;lt;ONTOP_INSTALL_DIR&amp;gt;/lib/app/lib/sqlite-jdbc-3.49.0.0.jar .&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; &lt;br /&gt;
* Create a new Ontop repository. &lt;br /&gt;
* The &#039;&#039;Driver class&#039;&#039; should be &amp;lt;code&amp;gt;org.sqlite.JDBC&amp;lt;/code&amp;gt;. The &#039;&#039;JDBC URL&#039;&#039; should be &amp;lt;code&amp;gt;jdbc:sqlite:PATH&amp;lt;/code&amp;gt;, where PATH is the location of your SQLite3 database, for example &amp;lt;code&amp;gt;jdbc:sqlite:C:/Users/MyUser/OntopLab/MyTestDB.sqlite&amp;lt;/code&amp;gt;. &lt;br /&gt;
* Load the OBDA or R2RML mapping file. &lt;br /&gt;
* Click &#039;&#039;Create&#039;&#039; and activate the new repository.&lt;br /&gt;
&lt;br /&gt;
===Running SPARQL queries===&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Write SPARQL queries that answer the following questions:&lt;br /&gt;
* List all investigations in your graph.&lt;br /&gt;
* Count the number of investigations in your graph.&lt;br /&gt;
* List all investigated people in your graph.&lt;br /&gt;
* List all investigated people in your graph along with the investigations they were involved in.&lt;br /&gt;
* You can also re-do the following queries from before (you may need to load more data):&lt;br /&gt;
** List everyone who pleaded guilty, along with the name of the investigation.&lt;br /&gt;
** List everyone who were convicted, but who had their conviction overturned by which president.&lt;br /&gt;
** For each investigation, list the number of indictments made.&lt;br /&gt;
** For each investigation with multiple indictments, list the number of indictments made.&lt;br /&gt;
** For each investigation with multiple indictments, list the number of indictments made, sorted with the most indictments first.&lt;br /&gt;
&lt;br /&gt;
==If you have more time==&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Create a new &#039;&#039;No inference&#039;&#039; (plain RDF) GraphDB repository and import triples from the file &#039;&#039;Presidents.ttl&#039;&#039; in [https://mitt.uib.no/courses/51914/files/folder/Examples the Examples folder in mitt.uib.no]. &lt;br /&gt;
&lt;br /&gt;
Activate the new repository. Its triples connect the names of recent US presidents to their Wikidata URIs. Run a SPARQL SELECT query to list them all.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Create a new &#039;&#039;Federated&#039;&#039; (FedX Virtual SPARQL) repository. &lt;br /&gt;
* As a local repository, add the new &#039;&#039;Presidents&#039;&#039; repository.&lt;br /&gt;
* As a remote repository, add &#039;&#039;https://query.wikidata.org/sparql&#039;&#039; as a &#039;&#039;Generic SPARQL endpoint&#039;&#039;.&lt;br /&gt;
Activate the new repository.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Re-run the SPARQL SELECT query that lists the names of recent US presidents along with their Wikidata URIs.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Extend the SPARQL SELECT query to also list the &#039;&#039;schema:description&#039;&#039; of each US president.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Use &#039;&#039;FILTER&#039;&#039; and the &#039;&#039;LANG&#039;&#039; function to only list president descriptions with language &#039;&#039;&amp;quot;en&amp;quot;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;...from here we could have gone on to add the Ontop repository too as a local repository, but Ontop does not support SQLite3 fully, unfortunately. Using H2 instead of SQLite3 is an option, as we outline below.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Tip:&#039;&#039; Here are some useful PREFIXES:&lt;br /&gt;
&lt;br /&gt;
 PREFIX foaf: &amp;lt;http://xmlns.com/foaf/0.1/&amp;gt;&lt;br /&gt;
 PREFIX owl: &amp;lt;http://www.w3.org/2002/07/owl#&amp;gt;&lt;br /&gt;
 PREFIX schema: &amp;lt;http://schema.org/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==If you &#039;&#039;really&#039;&#039; have a lot of time==&lt;br /&gt;
It is possible to create a &#039;&#039;Federated&#039;&#039; (FedX Virtual SPARQL) repository that federates&lt;br /&gt;
* a local repository (like the &#039;&#039;Presidents&#039;&#039; repository),&lt;br /&gt;
* a remote repository (for example &#039;&#039;https://query.wikidata.org/sparql&#039;&#039; as a &#039;&#039;Generic SPARQL endpoint&#039;&#039;), &#039;&#039;and&#039;&#039;&lt;br /&gt;
* a virtual repository (like the &#039;&#039;Investigations&#039;&#039; and &#039;&#039;InvestigatedPeople&#039;&#039; repository) as long as it runs on top of &#039;&#039;H2&#039;&#039; instead of &#039;&#039;SQLite3&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Install a recent Java on your computer if you do not have already, for example [https://adoptium.net/en-GB/download/ the open version from Adoptium].&lt;br /&gt;
 java -version&lt;br /&gt;
must show version 11 or later, and Java cannot be blocked by your firewall.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; [https://www.h2database.com/html/download.html Download] and [https://www.h2database.com/html/installation.html install H2].&lt;br /&gt;
&lt;br /&gt;
Again, Ontop needs an additional &#039;&#039;.jar&#039;&#039;-file - a JDBC driver - for connecting to your H2 database. You will find this file in the folder where you installed H2. It is called something like &#039;&#039;h2-2.3.232.jar&#039;&#039;. Place a copy of it in &#039;&#039;lib/&#039;&#039;-subfolder of your GraphDB installation folder (same place where you put the &#039;&#039;sqlite-jdbc-3.49.0.0.jar&#039;&#039;-file). Restart Ontop.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Start H2. Normally it opens a browser window on port &#039;&#039;8082&#039;&#039;, but there is a console (command line) option too. &lt;br /&gt;
* Default driver class: &#039;&#039;org.h2.Driver&#039;&#039; - this one is fine&lt;br /&gt;
* Default JDBC URL: &#039;&#039;jdbc:h2:~/test&#039;&#039; - if you want, you can replace the &#039;&#039;~&#039;&#039; with a full path and perhaps give the DB a better name than &#039;&#039;test&#039;&#039; too&lt;br /&gt;
You do not need a password or to change the user name.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Click connect and define your database. You can cut-and-paste the same SQL commands as before to create the &#039;&#039;Investigations&#039;&#039; and &#039;&#039;InvestigatedPeople&#039;&#039; databases. But be aware of a few critical differences:&lt;br /&gt;
* H2 uses &#039;&#039;schemas&#039;&#039; to organise tables. So first you need to create one for your two tables, for example:&lt;br /&gt;
 CREATE SCHEMA MyTestSchema ;&lt;br /&gt;
* After that, you must always prefix your table names with the schema: &#039;&#039;MyTestSchema.Investigations&#039;&#039; and &#039;&#039;MyTestSchema.InvestigatedPeople&#039;&#039; - both in your SQL commands and in your OBDA mappings.&lt;br /&gt;
* If you do not write schema, table, and column names inside &amp;quot;quotation marks&amp;quot;, H2 will automatically convert them to UPPER CASE. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Create a new virtual repository like you did before, but using the driver class and JDBC URL for H2 instead. You need to enter a H2 user name too. This virtual repository is more stable than the one that wraps SQLite3.&lt;br /&gt;
&lt;br /&gt;
You may need to disconnect from H2 in the browser window before you connect to it via GraphDB and Ontop.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Task:&#039;&#039;&#039; Add the new virtual repository to the FedX federated repository you created before. You can now write a SPARQL query that combines triples from all the three repositories it contains, e.g.,&lt;br /&gt;
&lt;br /&gt;
* For all investigations, list its name, who was president, that president&#039;s Wikidata URL, and a brief description in English.&lt;/div&gt;</summary>
		<author><name>Sinoa</name></author>
	</entry>
</feed>