Readings: Difference between revisions

From info216
(20 intermediate revisions by the same user not shown)
Line 31: Line 31:


Mandatory readings:
Mandatory readings:
* Chapters 1-2 in Allemang & Hendler
* Chapters 1-2 in Allemang, Hendler & Gandon (3rd edition)
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web]
* [http://www.youtube.com/watch?v=HeUrEh-nqtU Tim Berners-Lee talks about the semantic web]
* [[:File:S01-KnowledgeGraphs.pdf | Slides from the lecture]]
* [[:File:S01-KnowledgeGraphs.pdf | Slides from the lecture]]
Line 44: Line 44:
** Linking Open Data (LOD) (http://lod-cloud.net)
** Linking Open Data (LOD) (http://lod-cloud.net)
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)
** Linked Open Vocabularies (LOV, https://lov.linkeddata.es/dataset/lov/)




Line 53: Line 54:


Mandatory readings:
Mandatory readings:
* Chapter 3 in Allemang & Hendler
* Chapter 3 in Allemang, Hendler & Gandon (3rd edition)
* [https://www.w3.org/TR/rdf11-primer/ W3C's RDF 1.1 Primer]
* [https://www.w3.org/TR/rdf11-primer/ W3C's RDF 1.1 Primer]
* [http://rdflib.readthedocs.io/ rdflib 6.1.1]
* [http://rdflib.readthedocs.io/ rdflib 6.1.1]
Line 68: Line 69:
* [https://www.w3.org/TR/rdf11-concepts/ W3C's RDF 1.1 Concepts and Abstract Syntax]
* [https://www.w3.org/TR/rdf11-concepts/ W3C's RDF 1.1 Concepts and Abstract Syntax]
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib API documentation] (useful reference for the labs)
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib API documentation] (useful reference for the labs)
* [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools]
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs
* An overview page of some other [https://www.w3.org/2018/09/rdf-data-viz/ RDF Data Visualization tools]




Line 79: Line 81:


Mandatory readings:
Mandatory readings:
* Chapter 5 in Allemang & Hendler
* Chapter 6 in Allemang, Hendler & Gandon (3rd edition)
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]]
* [[:File:sparql-1_1-cheat-sheet.pdf | SPARQL 1.1 Cheat Sheet]]
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language] (Sections 1-3)
* [http://www.w3.org/TR/sparql11-update/ SPARQL 1.1 Update Language] (Sections 1-3)
Line 92: Line 94:
* [https://www.w3.org/TR/sparql11-overview/ SPARQL 1.1 Overview]
* [https://www.w3.org/TR/sparql11-overview/ SPARQL 1.1 Overview]
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib API documentation] (same as Session 2)
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib API documentation] (same as Session 2)


==Lecture 4: Storing and sharing KGs==
==Lecture 4: Storing and sharing KGs==
Line 101: Line 104:


Mandatory readings:
Mandatory readings:
* Chapter 4 in Allemang & Hendler
* Chapter 4 in Allemang, Hendler & Gandon (3rd edition)
* [https://wiki.blazegraph.com/wiki/index.php/Main_Page Blazegraph]:
* [https://wiki.blazegraph.com/wiki/index.php/Main_Page Blazegraph]:
** Introduction - About Blazegraph
** Introduction - About Blazegraph
Line 116: Line 119:
* [http://www.youtube.com/watch?v=4x_xzT5eF5Q What is Linked Data?] Short video introduction to Linked Data by Manu Sporny
* [http://www.youtube.com/watch?v=4x_xzT5eF5Q What is Linked Data?] Short video introduction to Linked Data by Manu Sporny
* [http://www.youtube.com/watch?v=vioCbTo3C-4 What is JSON-LD?] Short video introduction to JSON-LD by Manu Sporny
* [http://www.youtube.com/watch?v=vioCbTo3C-4 What is JSON-LD?] Short video introduction to JSON-LD by Manu Sporny


==Lecture 5: Open Knowledge Graphs==
==Lecture 5: Open Knowledge Graphs==
Line 132: Line 136:


Mandatory readings:
Mandatory readings:
* Chapter 5 in Allemang, Hendler & Gandon (3rd edition)
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27.
* [https://www.w3.org/DesignIssues/LinkedData.html Linked Data], Tim Berners-Lee, 2006-07-27.
* [http://lod-cloud.net The Linking Open Data (LOD) cloud diagram] - The Linked Open Data Cloud
* [http://lod-cloud.net The Linking Open Data (LOD) cloud diagram] - The Linked Open Data Cloud
Line 167: Line 172:
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes]
** [http://data.gdeltproject.org/documentation/CAMEO.Manual.1.1b3.pdf CAMEO event codes and other codes]
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook]
** [http://data.gdeltproject.org/documentation/GDELT-Global_Knowledge_Graph_Codebook-V2.1.pdf Global Knowledge Graph Codebook]


==Lecture 6: Enterprise Knowledge Graphs==
==Lecture 6: Enterprise Knowledge Graphs==
Line 186: Line 192:
* [[:File:A1-Poster-NIKT2021.pdf | News Angler / News Hunter poster]]
* [[:File:A1-Poster-NIKT2021.pdf | News Angler / News Hunter poster]]
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]]. Example of research paper from Amazon - this is a bit heavy for Bachelor level, but you can have a look :-)
* [[:File:2006.13473.pdf | AutoKnow: Self-Driving Knowledge Collection for Products of Thousands of Types]]. Example of research paper from Amazon - this is a bit heavy for Bachelor level, but you can have a look :-)


==Lecture 7: Rules (RDFS)==
==Lecture 7: Rules (RDFS)==
Line 195: Line 202:


Mandatory readings:
Mandatory readings:
* Chapters 6-7 in Allemang & Hendler
* Chapters 7-8 in Allemang, Hendler & Gandon (3rd edition)
* [http://www.w3.org/TR/rdf-schema/ W3C's RDF Schema 1.1], focus on sections 1-3 and 6
* [http://www.w3.org/TR/rdf-schema/ W3C's RDF Schema 1.1], focus on sections 1-3 and 6
* [[:File:S07-RDFS.pdf | Slides from the lecture]]  
* [[:File:S07-RDFS.pdf | Slides from the lecture]]  
Line 205: Line 212:
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the ''owlrl'' folder into your project folder, next to your Python files, and import it with ''import owlrl''.
* [https://github.com/RDFLib/OWL-RL OWL-RL] adds inference capability on top of RDFLib. To use it, copy the ''owlrl'' folder into your project folder, next to your Python files, and import it with ''import owlrl''.
* [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need - check the [[Python Examples]] first
* [https://owl-rl.readthedocs.io/en/latest/owlrl.html OWL-RL documentation] (most likely more detailed than you will need - check the [[Python Examples]] first


==Lecture 8: Ontologies (OWL)==
==Lecture 8: Ontologies (OWL)==
Line 214: Line 222:


Mandatory readings:
Mandatory readings:
* Chapter 8 in Allemang & Hendler
* Chapter 9-10 in Allemang, Hendler & Gandon (3rd edition)
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6
* [http://www.w3.org/TR/owl-primer OWL2 Primer], sections 2-6
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies]
* [http://vowl.visualdataweb.org/ VOWL: Visual Notation for OWL Ontologies]
* [[:File:S06-OWL-1.pdf | Slides from the lecture (old slides from 2021)]]
* [[:File:S08-OWL.pdf | Slides from the lecture (old slides from 2021)]]


Useful materials (cursory):
Useful materials (cursory):
Line 234: Line 242:


Mandatory readings:
Mandatory readings:
* Chapters 9-10 and 13 in Allemang & Hendler
* Chapters 10-11 in Allemang, Hendler & Gandon (3rd edition)
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)]
* [http://lov.okfn.org/dataset/lov/ Linked Open Vocabularies (LOV)]
* Important vocabularies / ontologies:
* Important vocabularies / ontologies:
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]
** [http://www.w3.org/2004/02/skos/ SKOS - Simple Knowledge Organization System Home Page]
** [http://schema.org/docs/full.html schema.org - Full Hierarchy]
** [http://dublincore.org/ Dublin Core (DC)]
** [http://dublincore.org/ Dublin Core (DC)]
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)]
** [http://xmlns.com/foaf/spec/ Friend of a Friend (FOAF)]
** [http://schema.org/docs/full.html schema.org - Full Hierarchy]
** [http://wikidata.dbpedia.org/services-resources/ontology DBpedia Ontology]
** [http://creativecommons.org/ns Creative Commons (CC) Vocabulary]
** [http://creativecommons.org/ns Creative Commons (CC) Vocabulary]
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]
** [http://www.w3.org/ns/prov# Provenance Interchange (PROV)]
Line 250: Line 259:
*** Its most central 3-6 classes and properties be able to explain its basic structure.  
*** Its most central 3-6 classes and properties be able to explain its basic structure.  
*** It is less important to get all the names and prefixes 100% right: we do not expect you to learn every little detail by heart.  
*** 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.  
* [[:File:S07-S08-VocabulariesAndOntologies.pdf | Slides from the lectures (old slides from 2021)]]
* [[:File:S09-Vocabularies.pdf | Slides from the lectures]]
* [[:File:S08-NewsAngler-ontologies.pdf | Additional slides about the News Angler/News Hunter ontologies (old slides from 2021)]]
* [[:File:S09-NewsAnglerOntologies.pdf | Additional slides about the News Angler/News Hunter ontologies (same slides as 2021)]]


Useful materials:
Useful materials:
Line 261: Line 270:
** [http://vocab.org/bio/ Biographical Information (BIO)]
** [http://vocab.org/bio/ Biographical Information (BIO)]
** [http://bibliontology.com/ Bibliographic Ontology (bibo)]
** [http://bibliontology.com/ Bibliographic Ontology (bibo)]
** [http://musicontology.com/ Music Ontology (mo)]  
** [http://musicontology.com/ Music Ontology (mo)]
 


==Lecture 10: Reasoning about KGs (DL)==
==Lecture 10: Reasoning about KGs (DL)==
Line 272: Line 280:


Mandatory readings:
Mandatory readings:
* [[:File:S13-OWL-DL.pdf | Slides from the lecture (old slides from 2021)]]
* [[:File:S10-DescriptionLogic.pdf | Slides from the lecture]]


Useful materials:
Useful materials:
Line 279: Line 287:
** ''Cursory'', quickly gets mathematical after the introduction. In particular, sections 2.2.2.3-4 about fixpoint semantics apply to TBoxes with cyclic definitions, which we do not consider in this course. We also do not consider the stuff about rules, epistemics, and reasoning from section 2.2.5 on.
** ''Cursory'', quickly gets mathematical after the introduction. In particular, sections 2.2.2.3-4 about fixpoint semantics apply to TBoxes with cyclic definitions, which we do not consider in this course. We also do not consider the stuff about rules, epistemics, and reasoning from section 2.2.5 on.
* [http://www.cs.man.ac.uk/~ezolin/dl/ Complexity of Reasoning in Description Logics. Powered by Evgeny Zolin.] (informative)
* [http://www.cs.man.ac.uk/~ezolin/dl/ Complexity of Reasoning in Description Logics. Powered by Evgeny Zolin.] (informative)
* [[:File:DL-reasoning-RoyalFamily-final.owl.txt | Example file]] demonstrating Protege-OWL reasoning with HermiT.


==Lecture 11: Formal ontologies (OWL-DL)==
==Lecture 11: Formal ontologies (OWL-DL)==
Line 288: Line 294:


Mandatory readings:
Mandatory readings:
* Chapters 11-12 in Allemang & Hendler
* Chapters 12-13 in Allemang, Hendler & Gandon (3rd edition)
* [http://www.w3.org/TR/owl-primer OWL2 Primer]
* [http://www.w3.org/TR/owl-primer OWL2 Primer]
* [[:File:S12-OWL-2.pdf | Slides from the lecture (old slides from 2021)]]
* [[:File:S11-OWL-DL.pdf | Slides from the lecture]]


Useful materials:
Useful materials:
Line 297: Line 303:
* [http://vowl.visualdataweb.org/v2 VOWL: Visual Notation for OWL Ontologies]
* [http://vowl.visualdataweb.org/v2 VOWL: Visual Notation for OWL Ontologies]
* [http://vowl.visualdataweb.org/webvowl/index.html#sioc WebVOWL]
* [http://vowl.visualdataweb.org/webvowl/index.html#sioc WebVOWL]
* [[:File:DL-reasoning-RoyalFamily-final.owl.txt | Example file]] demonstrating Protege-OWL reasoning with HermiT.


Owlready2 materials for the lab:
* The section [https://pypi.org/project/Owlready2/ What can I do with Owlready2?]
* [https://owlready2.readthedocs.io/en/latest/ Welcome to Owlready2's documentation!]


==Lecture 12: KG embeddings==
==Lecture 12: KG embeddings==
Line 307: Line 317:


Mandatory readings:
Mandatory readings:
* [https://torchkge.readthedocs.io/en/latest/ TorchKGE]
* [https://towardsdatascience.com/introduction-to-machine-learning-for-beginners-eed6024fdb08 Introduction to Machine Learning for Beginners] ([[:file:IntroToMachineLearning.pdf | PDF]])
* [https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])
* [https://towardsdatascience.com/introduction-to-knowledge-graph-embedding-with-dgl-ke-77ace6fb60ef Introduction to Knowledge Graph Embeddings] ([[:file:IntroToKGEmbeddings.pdf | PDF]])
* [[:file:S12-GraphEmbeddings.pdf | Slides from the lecture]]
 
Supplementary readings:
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]
* [https://torchkge.readthedocs.io/en/latest/ Welcome to TorchKGE’ s documentation!] (for the labs)


==Lecture 13: Knowledge Engineering==
==Lecture 13: Knowledge Engineering==
Line 316: Line 334:


Mandatory readings:
Mandatory readings:
* Chapters 14-16 in Allemang & Hendler (mandatory)
* Chapters 14-16 in Allemang, Hendler & Gandon (3rd edition)
* [http://liris.cnrs.fr/alain.mille/enseignements/Ecole_Centrale/What%20is%20an%20ontology%20and%20why%20we%20need%20it.htm Noy & McGuinness (2001): Ontology Development 101: A Guide to Creating Your First Ontology.]
* [http://liris.cnrs.fr/alain.mille/enseignements/Ecole_Centrale/What%20is%20an%20ontology%20and%20why%20we%20need%20it.htm Noy & McGuinness (2001): Ontology Development 101: A Guide to Creating Your First Ontology.]
* [[:File:S15-OntologyDevelopment-5.pdf | Slides from the lecture (old slides from 2021)]]
* [[:File:S15-OntologyDevelopment-5.pdf | Slides from the lecture (old slides from 2021)]]
Line 322: Line 340:
Useful materials:
Useful materials:
* The rest of Blumauer & Nagy (suggested)
* The rest of Blumauer & Nagy (suggested)


==Lecture 14: Wrapping up==
==Lecture 14: Wrapping up==

Revision as of 11:39, 24 April 2022

Textbooks

Main course book:

  • Dean Allemang, James Hendler & Fabien Gandon (2020). Semantic Web for the Working Ontologist, Effective Modeling for Linked Data, RDFS and OWL (Third Edition). ISBN: 9781450376143, PDF ISBN: 9781450376150, Hardcover ISBN: 9781450376174, DOI: 10.1145/3382097. The whole book is mandatory reading.

Supplementary text book (not mandatory):

  • Andreas Blumauer and Helmut Nagy (2020). The Knowledge Graph Cookbook - Recipes that Work. mono/monochrom. ISBN-10: ‎3902796707, ISBN-13: 978-3902796707.

Other materials

In addition, the materials listed below for each lecture are either mandatory or suggested reading. More materials will be added to each lecture in the coming weeks.

The lectures and lectures notes are also part of the curriculum.

Make sure you download the electronic resources to your own computer in good time before the exam. This is your own responsibility. That way you are safe if a site becomes unavailable or somehow damaged the last few days before the exam.

Note: to download some of the papers, you may need to be inside UiB's network. Either use a computer directly on the UiB network or connect to your UiB account through VPN.

Lectures

Below are the mandatory and suggested readings for each lecture. All the textbook chapters in Allemang, Hendler & Gandon are mandatory, whereas the chapters in Blumauer & Nagy are suggested.

To be updated - the readings for the later lectures are not yet final for Spring 2022.


Lecture 1: Introduction to knowledge Graphs

Themes:

  • Introduction to Knowledge Graphs
  • Organisation of INFO216

Mandatory readings:

Useful materials:


Lecture 2: Representing KGs (RDF)

Themes:

  • RDF
  • Programming RDF in Python

Mandatory readings:

Useful materials:


Lecture 3: Querying and updating KGs (SPARQL)

Themes:

  • SPARQL queries
  • SPARQL Update
  • Programming SPARQL and SPARQL Update in Python

Mandatory readings:

Useful materials:


Lecture 4: Storing and sharing KGs

Themes:

  • Triple stores and Blazegraph
  • Web APIs and JSON-LD
  • Other serialisation formats

Mandatory readings:

Useful materials:


Lecture 5: Open Knowledge Graphs

Themes:

  • The LOD cloud
  • Important open KGs (LOD datasets)
    • Wikidata
    • DBpedia
    • the GDELT project
    • EventKG
    • GeoNames
    • WordNet
    • BabelNet
    • and others

Mandatory readings:

Useful materials:


Lecture 6: Enterprise Knowledge Graphs

Themes:

  • Enterprise Knowledge Graphs
  • Google’s Knowledge Graph
  • Amazon’s Product Graphs
  • News Hunter’s infrastructure and architecture

Mandatory readings:

Supplementary readings:


Lecture 7: Rules (RDFS)

Themes:

  • RDFS
  • Axioms, rules and entailment
  • Programming RDFS in Python

Mandatory readings:

Useful materials:


Lecture 8: Ontologies (OWL)

Themes:

  • Basic OWL concepts
  • Axioms, rules and entailments
  • Programming basic OWL in Python

Mandatory readings:

Useful materials (cursory):


Lecture 9: Vocabularies

Themes:

  • LOD vocabularies and ontologies

Mandatory readings:

Useful materials:

Lecture 10: Reasoning about KGs (DL)

Themes:

  • Description logic
  • Decision problems
  • OWL-DL

Mandatory readings:

Useful materials:

Lecture 11: Formal ontologies (OWL-DL)

Themes:

  • Advanced OWL

Mandatory readings:

Useful materials:

Owlready2 materials for the lab:

Lecture 12: KG embeddings

Themes:

  • KG embeddings
  • Link prediction
  • TorchKGE

Mandatory readings:

Supplementary readings:

Lecture 13: Knowledge Engineering

Themes:

  • Knowledge engineering
  • The Ontology Development 101 method

Mandatory readings:

Useful materials:

  • The rest of Blumauer & Nagy (suggested)


Lecture 14: Wrapping up

 

INFO216, UiB, 2017-2022, Andreas L. Opdahl (c)