1.4 - Graphs and Triples
1.4 - Graphs and Triples
0)
Knowledge Graphs
Lecture 1 – Knowledge Representation with Graphs
1.4 Graphs and Triples
[1]
Knowledge Graphs 2023, Prof. Dr. Harald Sack, FIZ Karlsruhe – Leibniz Institute for Information Infrastructure & Karlsruhe Institute of Technology
[2]
[2] 3
Knowledge Graphs 2023, Prof. Dr. Harald Sack, FIZ Karlsruhe – Leibniz Institute for Information Infrastructure & Karlsruhe Institute of Technology
1. Knowledge Representation with Graphs / 1.4 Graphs and Triples
[2]
4
Knowledge Graphs 2023, Prof. Dr. Harald Sack, FIZ Karlsruhe – Leibniz Institute for Information Infrastructure & Karlsruhe Institute of Technology
1. Knowledge Representation with Graphs / 1.4 Graphs and Triples
5
Knowledge Graphs 2023, Prof. Dr. Harald Sack, FIZ Karlsruhe – Leibniz Institute for Information Infrastructure & Karlsruhe Institute of Technology
1. Knowledge Representation with Graphs / 1.4 Graphs and Triples
Definition 1.1:
A directed edge-labeled graph G=(V,E,L) consists of
● a set V of nodes (vertices), |V|=n,
● a set L of edge labels,
● and a set E of directed edges, E ⊆ V × L × V,
where each edge ei=(vk, lj, vl), ei ∈ E is an ordered triple of
two vertices vk, vl ∈ V and an edge label lj∈ L.
6
Knowledge Graphs 2023, Prof. Dr. Harald Sack, FIZ Karlsruhe – Leibniz Institute for Information Infrastructure & Karlsruhe Institute of Technology
1. Knowledge Representation with Graphs / 1.4 Graphs and Triples
Definition 1.2:
● Entity: a thing of distinct and independent existence.
● Relation: describes how entities are related to one
another.
Let N be a set of entities, then a relation R is defined as:
R ⊆ N⨉N
7
Knowledge Graphs 2023, Prof. Dr. Harald Sack, FIZ Karlsruhe – Leibniz Institute for Information Infrastructure & Karlsruhe Institute of Technology
1. Knowledge Representation with Graphs / 1.4 Graphs and Triples
Further Refinements
8
Knowledge Graphs 2023, Prof. Dr. Harald Sack, FIZ Karlsruhe – Leibniz Institute for Information Infrastructure & Karlsruhe Institute of Technology
1. Knowledge Representation with Graphs / 1.4 Graphs and Triples
Further Refinements
Definition 1.3:
● Literals: describe data values that do not
have a separate existence.
9
Knowledge Graphs 2023, Prof. Dr. Harald Sack, FIZ Karlsruhe – Leibniz Institute for Information Infrastructure & Karlsruhe Institute of Technology
1. Knowledge Representation with Graphs / 1.4 Graphs and Triples
Further Refinements
10
Knowledge Graphs 2023, Prof. Dr. Harald Sack, FIZ Karlsruhe – Leibniz Institute for Information Infrastructure & Karlsruhe Institute of Technology
1. Knowledge Representation with Graphs / 1.4 Graphs and Triples
Further Refinements
Definition 1.3:
● Classes: collections of individuals or objects,
defined as
○ Extension: specifying all class members
or
○ Intension: specifying class constraints
11
Knowledge Graphs 2023, Prof. Dr. Harald Sack, FIZ Karlsruhe – Leibniz Institute for Information Infrastructure & Karlsruhe Institute of Technology
1. Knowledge Representation with Graphs / 1.4 Graphs and Triples
Further Refinements
12
Knowledge Graphs 2023, Prof. Dr. Harald Sack, FIZ Karlsruhe – Leibniz Institute for Information Infrastructure & Karlsruhe Institute of Technology
1. Knowledge Representation with Graphs / 1.4 Graphs and Triples
Further Refinements
13
Knowledge Graphs 2023, Prof. Dr. Harald Sack, FIZ Karlsruhe – Leibniz Institute for Information Infrastructure & Karlsruhe Institute of Technology
1. Knowledge Representation with Graphs / 1.4 Graphs and Triples
Property Graphs
14
Knowledge Graphs 2023, Prof. Dr. Harald Sack, FIZ Karlsruhe – Leibniz Institute for Information Infrastructure & Karlsruhe Institute of Technology
ra p h s
e d ge G
owl
Kn
15
Next Lecture...
Information Sertvice Engineering , Prof. Dr. Harald Sack & Dr. Maria Koutraki, FIZ Karlsruhe - Leibniz Institute for Information Infrastructure & Karlsruhe Institute of Technology
[3]
Graphs and Triples
1. Knowledge Representation with Graphs / 1.4 Graphs and Triples
Bibliographic References:
● Aidan Hogan, Eva Blomqvist, Michael Cochez, Claudia d'Amato, Gerard de Melo, Claudio Gutierrez, Sabrina Kirrane, José Emilio Labra Gayo,
Roberto Navigli, Sebastian Neumaier, Axel-Cyrille Ngonga Ngomo, Axel Polleres, Sabbir M. Rashid, Anisa Rula, Lukas Schmelzeisen, Juan
Sequeda, Steffen Staab, Antoine Zimmermann: Knowledge Graphs. Synthesis Lectures on Data, Semantics, and Knowledge, Morgan &
Claypool Publishers 2021.
Chapter 2: Data Graphs, p. 5-11.
Picture References:
[1] “An image of the Semantic Web which is an extension of the World Wide Web…” , created via ArtBot, Dreamlike Diffusion, 2023,
[CC-BY-4.0], https://tinybots.net/artbot
[2] Spock, created via ArtBot, Dreamlike Diffusion, 2023, CC-BY-4.0, https://tinybots.net/artbot
[3] “An image of the Semantic Web which is an extension of the World Wide Web…” , created via ArtBot, Dreamlike Diffusion, 2023,
[CC-BY-4.0], https://tinybots.net/artbot
Knowledge Graphs 2023, Prof. Dr. Harald Sack, FIZ Karlsruhe – Leibniz Institute for Information Infrastructure & Karlsruhe Institute of Technology