Readings: Difference between revisions

From info216
Line 17: Line 17:
''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.
''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 (preliminary)=
=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.
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.
Line 49: Line 49:
* Programming RDF in Python
* Programming RDF in Python


Mandatory readings:
Mandatory readings (preliminary):
* Chapter 3 in Allemang, Hendler & Gandon (3rd edition)
* 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]
Line 61: Line 61:
* [[:File:S02-RDF.pdf | Slides from the lecture]]
* [[:File:S02-RDF.pdf | Slides from the lecture]]


Useful materials:
Useful materials (preliminary):
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs
* [https://www.ldf.fi/service/rdf-grapher RDF Grapher] for drawing RDF graphs
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib 6.2.0 packages] (reference for the labs)
* [https://rdflib.readthedocs.io/en/stable/apidocs/modules.html RDFLib 6.2.0 packages] (reference for the labs)
Line 75: Line 75:
* Programming SPARQL and SPARQL Update in Python
* Programming SPARQL and SPARQL Update in Python


Mandatory readings:
Mandatory readings (preliminary):
* Chapter 6 in Allemang, Hendler & Gandon (3rd edition)
* 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]]
Line 83: Line 83:
* [[:File:S03-SPARQL.pdf | Slides from the lecture]]
* [[:File:S03-SPARQL.pdf | Slides from the lecture]]


Useful materials:
Useful materials (preliminary):
* For example pages 54-55, 133 in Blumauer & Nagy (suggested)
* For example pages 54-55, 133 in Blumauer & Nagy (suggested)
* [http://www.w3.org/TR/sparql11-query/ SPARQL 1.1 Query Language]
* [http://www.w3.org/TR/sparql11-query/ SPARQL 1.1 Query Language]
Line 104: Line 104:
** and others
** and others


Mandatory readings:
Mandatory readings (preliminary):
* Chapter 5 in Allemang, Hendler & Gandon (3rd edition)
* 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.
Line 131: Line 131:
*  [[:File:S05-OpenKGs.pdf | Slides from the lecture]]
*  [[:File:S05-OpenKGs.pdf | Slides from the lecture]]


Useful materials:
Useful materials (preliminary):
* [[:File:BizerHeathBernersLee-LinkedData2009-TheStorySoFar.pdf | Bizer, C., Heath, T., & Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.]]
* [[:File:BizerHeathBernersLee-LinkedData2009-TheStorySoFar.pdf | Bizer, C., Heath, T., & Berners-Lee, T. (2009). Linked data-the story so far. Semantic services, interoperability and web applications: emerging concepts, 205-227.]]
* Parts 1 and 3 in Blumauer & Nagy's text book (not tightly related to the lecture, but time to finish them by now :-))
* Parts 1 and 3 in Blumauer & Nagy's text book (not tightly related to the lecture, but time to finish them by now :-))
Line 153: Line 153:
* News Hunter’s infrastructure and architecture
* News Hunter’s infrastructure and architecture


Mandatory readings:
Mandatory readings (preliminary):
* [https://www.blog.google/products/search/introducing-knowledge-graph-things-not/ Introducing the Knowledge Graph: Things not Strings], Amit Singhal, Google (2012). ''(The blog post that introduced Google's knowledge graph to the world.)''
* [https://www.blog.google/products/search/introducing-knowledge-graph-things-not/ Introducing the Knowledge Graph: Things not Strings], Amit Singhal, Google (2012). ''(The blog post that introduced Google's knowledge graph to the world.)''
* [https://blog.google/products/search/about-knowledge-graph-and-knowledge-panels/ A reintroduction to our Knowledge Graph and knowledge panels], Danny Sullivan, Google (2020).
* [https://blog.google/products/search/about-knowledge-graph-and-knowledge-panels/ A reintroduction to our Knowledge Graph and knowledge panels], Danny Sullivan, Google (2020).
Line 159: Line 159:
* [[:File:S06-EnterpriseKGs.pdf | Slides from the lecture]]  
* [[:File:S06-EnterpriseKGs.pdf | Slides from the lecture]]  


Supplementary readings:
Supplementary readings (preliminary):
* Parts 2 and 4 in Blumauer & Nagy's text book (''strongly suggested - this is where Blumauer & Nagy's book is good!'')
* Parts 2 and 4 in Blumauer & Nagy's text book (''strongly suggested - this is where Blumauer & Nagy's book is good!'')
* [[:File:A1-Poster-NIKT2021.pdf | News Angler / News Hunter poster]]
* [[:File:A1-Poster-NIKT2021.pdf | News Angler / News Hunter poster]]
Line 171: Line 171:
* Programming RDFS in Python
* Programming RDFS in Python


Mandatory readings:
Mandatory readings (preliminary):
* Chapters 7-8 in Allemang, Hendler & Gandon (3rd edition)
* 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]]  


Useful materials:
Useful materials (preliminary):
* Pages 101-106 in Blumauer & Nagy (suggested)
* Pages 101-106 in Blumauer & Nagy (suggested)
* [https://www.w3.org/TR/rdf11-mt/ W3C's RDF 1.1 Semantics] (''the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture'')
* [https://www.w3.org/TR/rdf11-mt/ W3C's RDF 1.1 Semantics] (''the axioms and entailments in sections 8 and 9, are most important, and we will review them in the lecture'')
Line 190: Line 190:
* Programming basic OWL in Python
* Programming basic OWL in Python


Mandatory readings:
Mandatory readings (preliminary):
* Chapter 9-10 in Allemang, Hendler & Gandon (3rd edition)
* 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
Line 196: Line 196:
* [[:File:S08-OWL.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) (preliminary):
* Pages 106-109 in Blumauer & Nagy (suggested)
* Pages 106-109 in Blumauer & Nagy (suggested)
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]
Line 209: Line 209:
* LOD vocabularies and ontologies
* LOD vocabularies and ontologies


Mandatory readings:
Mandatory readings (preliminary):
* Chapters 10-11 in Allemang, Hendler & Gandon (3rd edition)
* 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)]
Line 230: Line 230:
* [[:File:S09-NewsAnglerOntologies.pdf | Additional slides about the News Angler/News Hunter ontologies (same slides as  2021)]]
* [[:File:S09-NewsAnglerOntologies.pdf | Additional slides about the News Angler/News Hunter ontologies (same slides as  2021)]]


Useful materials:
Useful materials (preliminary):
* More vocabularies / ontologies:
* More vocabularies / ontologies:
** [https://www.w3.org/2003/01/geo/ geo: World Geodetic Standard (WGS) 84]
** [https://www.w3.org/2003/01/geo/ geo: World Geodetic Standard (WGS) 84]
Line 247: Line 247:
* OWL-DL
* OWL-DL


Mandatory readings:
Mandatory readings (preliminary):
* [[:File:S10-DescriptionLogic.pdf | Slides from the lecture]]
* [[:File:S10-DescriptionLogic.pdf | Slides from the lecture]]


Useful materials:
Useful materials (preliminary):
* [[:File:NardiBrachman-IntroductionToDescriptionLogic.pdf | Nardi & Brachman: Introduction to Description Logics. Chapter 1 in Description Logic Handbook.]]
* [[:File:NardiBrachman-IntroductionToDescriptionLogic.pdf | Nardi & Brachman: Introduction to Description Logics. Chapter 1 in Description Logic Handbook.]]
* [[:File:BaderNutt-BasicDescriptionLogics.pdf | Baader & Nutt: Basic Description Logics. Chapter 2 in Description Logic Handbook.]]
* [[:File:BaderNutt-BasicDescriptionLogics.pdf | Baader & Nutt: Basic Description Logics. Chapter 2 in Description Logic Handbook.]]
Line 266: Line 266:
* [[:File:S11-OWL-DL.pdf | Slides from the lecture]]
* [[:File:S11-OWL-DL.pdf | Slides from the lecture]]


Useful materials:
Useful materials (preliminary):
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]
* [http://www.w3.org/TR/owl-overview OWL 2 Document Overview]
* [https://www.w3.org/TR/2012/REC-owl2-quick-reference-20121211/ OWL 2 Quick Reference Guide] (cursory)
* [https://www.w3.org/TR/2012/REC-owl2-quick-reference-20121211/ OWL 2 Quick Reference Guide] (cursory)
Line 273: Line 273:
* [[:File:DL-reasoning-RoyalFamily-final.owl.txt | Example file]] demonstrating Protege-OWL reasoning with HermiT.
* [[:File:DL-reasoning-RoyalFamily-final.owl.txt | Example file]] demonstrating Protege-OWL reasoning with HermiT.


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


Mandatory readings:
Mandatory readings (preliminary):
* [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-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-word-embedding-and-word2vec-652d0c2060fa Introduction to Word Embeddings and word2vec] ([[:file:IntroToWordEmbeddings.pdf | PDF]])
Line 290: Line 290:
* [[:file:S12-GraphEmbeddings.pdf | Slides from the lecture]]
* [[:file:S12-GraphEmbeddings.pdf | Slides from the lecture]]


Supplementary readings:
Supplementary readings (preliminary):
* [[:file:Mikolov_et_al._-_2013_-_Efficient_Estimation_of_Word_Representations_in_Ve.pdf | Mikolov et al’s original word2vec paper]]
* [[: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]]
* [[:file:Bordes_et_al._-_Translating_Embeddings_for_Modeling_Multi-relation.pdf | Bordes et al’s original TransE paper]]
Line 304: Line 304:
* The Ontology Development 101 method
* The Ontology Development 101 method


Mandatory readings:
Mandatory readings (preliminary):
* Chapters 14-16 in Allemang, Hendler & Gandon (3rd edition)
* 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)]]


Useful materials:
Useful materials (preliminary):
* The rest of Blumauer & Nagy (suggested)
* The rest of Blumauer & Nagy (suggested)



Revision as of 11:00, 17 January 2023

Textbooks

Main course book (the whole book is mandatory reading):

  • 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.

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.

Lecture 1: Introduction to KGs

Themes:

  • Introduction to Knowledge Graphs
  • Organisation of the course

Mandatory readings:

Useful materials:

Lecture 2: Representing KGs (RDF)

Themes:

  • Resource Description Framework (RDF)
  • Programming RDF in Python

Mandatory readings (preliminary):

Useful materials (preliminary):

Lecture 3: Querying and updating KGs (SPARQL)

Themes:

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

Mandatory readings (preliminary):

Useful materials (preliminary):

Lecture 4: Open Knowledge Graphs I

Themes:

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

Mandatory readings (preliminary):

Useful materials (preliminary):

Lecture 5: Open Knowledge Graphs II

See readings for lecture 4.

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 (preliminary):

Supplementary readings (preliminary):

Lecture 7: Rules (RDFS)

Themes:

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

Mandatory readings (preliminary):

Useful materials (preliminary):

Lecture 8: Ontologies (OWL)

Themes:

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

Mandatory readings (preliminary):

Useful materials (cursory) (preliminary):

Lecture 9: Vocabularies

Themes:

  • LOD vocabularies and ontologies

Mandatory readings (preliminary):

Useful materials (preliminary):

Lecture 10: Reasoning about KGs (DL)

Themes:

  • Description logic
  • Decision problems
  • OWL-DL

Mandatory readings (preliminary):

Useful materials (preliminary):

Lecture 11: Formal ontologies (OWL-DL)

Themes:

  • Advanced OWL

Mandatory readings:

Useful materials (preliminary):

Owlready2 materials for the lab (preliminary):

Lecture 12: KG embeddings I

Themes:

  • KG embeddings
  • Link prediction
  • TorchKGE

Mandatory readings (preliminary):

Supplementary readings (preliminary):

Lecture 13: KG embeddings II

See readings for lecture 12.

Lecture 14: Knowledge engineering / Wrapping up

Themes:

  • Knowledge engineering
  • The Ontology Development 101 method

Mandatory readings (preliminary):

Useful materials (preliminary):

  • The rest of Blumauer & Nagy (suggested)


 

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