[go: up one dir, main page]

0% found this document useful (0 votes)
10 views16 pages

1.4 - Graphs and Triples

This document is a lecture on Knowledge Representation with Graphs, specifically focusing on the concept of graphs and triples. It defines key terms such as entities, relations, literals, and classes, and explains how knowledge can be represented intuitively using directed edge-labeled graphs. The lecture is part of a course by Prof. Dr. Harald Sack at FIZ Karlsruhe and Karlsruhe Institute of Technology in Autumn 2023.

Uploaded by

shubham jha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views16 pages

1.4 - Graphs and Triples

This document is a lecture on Knowledge Representation with Graphs, specifically focusing on the concept of graphs and triples. It defines key terms such as entities, relations, literals, and classes, and explains how knowledge can be represented intuitively using directed edge-labeled graphs. The lecture is part of a course by Prof. Dr. Harald Sack at FIZ Karlsruhe and Karlsruhe Institute of Technology in Autumn 2023.

Uploaded by

shubham jha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

This file is licensed under the Creative Commons Attribution-NonCommercial 3.0 (CC BY-NC 3.

0)

Knowledge Graphs
Lecture 1 – Knowledge Representation with Graphs
1.4 Graphs and Triples

Prof. Dr. Harald Sack


FIZ Karlsruhe – Leibniz Institute for Information Infrastructure
AIFB – Karlsruhe Institute of Technology
Autumn 2023
[1]
Knowledge Graphs 2023, Prof. Dr. Harald Sack, FIZ Karlsruhe – Leibniz Institute for Information Infrastructure & Karlsruhe Institute of Technology
Knowledge Graphs
Lecture 1: Knowledge Representation with Graphs

1.1 From Data to Knowledge


1.2 Knowledge and how to represent it
1.3 The Art of Understanding
1.4 Graphs and Triples
1.5 Knowledge Graphs
1.6 The Semantic Web
1.7 Linked Data and the Web of Data

[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

An Intuitive Way to Represent Knowledge

Subject Predicate Object = Triple

[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

An Intuitive Way to Represent Knowledge

node edge node = Graph

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

An Intuitive Way to Represent Knowledge

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

An Intuitive Way to Represent Knowledge

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

You might also like