SlideShare a Scribd company logo
Knowledge Graphs
The Third Era of Computing
Ahmad Hussein
ahmadhussein.ah7@gmail.com
Agenda
● Introduction
● Feasibility of Tabular Representations
● The Procedural Era
● The Machine Learning Era
● The Knowledge Graph Era
When did computing start?
Picture of a cuneiform tablet from around 3000 BC
Introduction
knowledge representations really began when we wanted to
remember things that were important to us. What were these
original things? They were often a ledger of financial
transactions such as:
“Khaled owes Karim 10 baskets of grain”
Introduction
The key is that it was natural for us to store these facts in rows
and columns of a table because tables were a good “natural
representation” for financial transactions. These transactions
records evolved into rows of symbols which represented
concepts and written languages were born.
What is interesting is that this representation stuck for over
5,000 years.
Feasibility of Tabular Representations
The tabular representations have worked well when our
problem had uniform data sets. By uniform, we mean that
each record (row) has similar attributes with similar data
types.
Now the question is!
● Do all business problems fit well into tables?
● What about data about your health?
● Does the electronic medical record fit well into a set of
tables?
Not all problems fit well into tables! The more tables you
have the more expensive the relational joins become.
So..
How do we get from today’s world of 95% of our developers
writing C#/Java/PHP/Python over tables to this new era?
Perhaps the best way to describe this is to think abstractly
about what we are doing today break it down.
Procedural Era
Procedural Era
The way we describe the current generation is to give it a
broad descriptive name called the “Procedural Era” described
in Figure 1.
Figure 1: The Procedural Era: where we write step-by-step procedures to find answers in our raw data
Procedural Era
● This is where developers hand-code step-by-step
procedures that take raw data and come up with answers.
● If you want to ask the program why you produced a
specific answer you can trace back the decision to set of
specific rules that applied to your situation. These
“tracebacks” make the system easy to explain.
Machine Learning Era
Machine Learning Era
The process of training a machine learning algorithm is
described in Figure 2.
Figure 2: The Machine Learning Era: where data and answers are fed in and the outcome is a “black box”
model with 10 million weights but without explanation of why decisions were made.
Machine Learning Era
This era has become incredibly popular in the last seven years
with the development of deep learning algorithms and the use
of GPUs to train these networks. Unlike the procedural era,
we don’t write explicit if-the-else rules for each byte of data in
the input.
Machine Learning Era
We provide a training set of answers and the machine “learns”
a set of complex rules. For example, we might “train” a small
remote-control car by recording how it should react as it
drives around a race track. It looks at the lines on the road and
responds with the right speed and steering commands. The
rules are typically stored as a set of weights that are applied
to input data as it moves through a network.
The Knowledge Graph Era
The Knowledge Graph Era
Now let’s come to the third era of computing, the Era of the
Knowledge Graph which is captured in Figure 3.
Figure 3: The Knowledge Graph Era: where machine learning continuously reads raw data, combines this with
existing knowledge and produces new knowledge, answers and explanations
The Knowledge Graph Era
On the left, we still use machine learning to harvest raw data
and look for patterns in this data.
Machine learning finds relevant information (people, places
and things) in our images, text, and sound then converts this
to new entries in our knowledge graph along with confidence
weights.
The Knowledge Graph Era
What comes out of the graph is new knowledge, answers and
explanations of why we made specific decisions. Our
knowledge graph becomes a repository of semantically
precise verticis and relationships with confidence weights
retained from the machine learning processes.

More Related Content

Similar to Knowledge Representation Methods

Lecture 1 Slides -Introduction to algorithms.pdf
Lecture 1 Slides -Introduction to algorithms.pdfLecture 1 Slides -Introduction to algorithms.pdf
Lecture 1 Slides -Introduction to algorithms.pdf
RanvinuHewage
 
Deep learning Introduction and Basics
Deep learning  Introduction and BasicsDeep learning  Introduction and Basics
Deep learning Introduction and Basics
Nitin Mishra
 
Computational thinking-illustrated
Computational thinking-illustratedComputational thinking-illustrated
Computational thinking-illustrated
Craig Evans
 
Programming: Past, Present, Future
Programming: Past, Present, FutureProgramming: Past, Present, Future
Programming: Past, Present, Future
John Thomas
 
PPT slides - MACHINE PERCEPTION LABORATORY
PPT slides - MACHINE PERCEPTION LABORATORYPPT slides - MACHINE PERCEPTION LABORATORY
PPT slides - MACHINE PERCEPTION LABORATORYbutest
 
4KN Editted 2012.ppt
4KN Editted 2012.ppt4KN Editted 2012.ppt
4KN Editted 2012.ppt
HenokGetachew15
 
A Tour through the Data Vizualization Zoo - Communications of the ACM
A Tour through the Data Vizualization Zoo - Communications of the ACMA Tour through the Data Vizualization Zoo - Communications of the ACM
A Tour through the Data Vizualization Zoo - Communications of the ACM
Reynolds Center for Business Journalism
 
Machine learning with Big Data power point presentation
Machine learning with Big Data power point presentationMachine learning with Big Data power point presentation
Machine learning with Big Data power point presentation
David Raj Kanthi
 
Spss basics
Spss basicsSpss basics
Spss basics
Kritika Jain
 
Introduction ML - Introduçao a Machine learning
Introduction ML - Introduçao a Machine learningIntroduction ML - Introduçao a Machine learning
Introduction ML - Introduçao a Machine learning
julianaantunes58
 
Technologyinthe classroom
Technologyinthe classroomTechnologyinthe classroom
Technologyinthe classroombaudjamesbaud
 
Introduction to computers
Introduction to computersIntroduction to computers
Introduction to computers
DHANIK VIKRANT
 
Unit 1 Introduction to Artificial Intelligence.pptx
Unit 1 Introduction to Artificial Intelligence.pptxUnit 1 Introduction to Artificial Intelligence.pptx
Unit 1 Introduction to Artificial Intelligence.pptx
Dr.M.Karthika parthasarathy
 
Lively Applications in Precalculus
Lively Applications in PrecalculusLively Applications in Precalculus
Lively Applications in Precalculus
Reva Narasimhan
 
notes as .ppt
notes as .pptnotes as .ppt
notes as .pptbutest
 
ENIC Symbols
ENIC SymbolsENIC Symbols
ENIC Symbols
Tanya Williams
 

Similar to Knowledge Representation Methods (18)

Session 1
Session 1Session 1
Session 1
 
Lecture 1 Slides -Introduction to algorithms.pdf
Lecture 1 Slides -Introduction to algorithms.pdfLecture 1 Slides -Introduction to algorithms.pdf
Lecture 1 Slides -Introduction to algorithms.pdf
 
Deep learning Introduction and Basics
Deep learning  Introduction and BasicsDeep learning  Introduction and Basics
Deep learning Introduction and Basics
 
Computational thinking-illustrated
Computational thinking-illustratedComputational thinking-illustrated
Computational thinking-illustrated
 
Programming: Past, Present, Future
Programming: Past, Present, FutureProgramming: Past, Present, Future
Programming: Past, Present, Future
 
PPT slides - MACHINE PERCEPTION LABORATORY
PPT slides - MACHINE PERCEPTION LABORATORYPPT slides - MACHINE PERCEPTION LABORATORY
PPT slides - MACHINE PERCEPTION LABORATORY
 
4KN Editted 2012.ppt
4KN Editted 2012.ppt4KN Editted 2012.ppt
4KN Editted 2012.ppt
 
A Tour through the Data Vizualization Zoo - Communications of the ACM
A Tour through the Data Vizualization Zoo - Communications of the ACMA Tour through the Data Vizualization Zoo - Communications of the ACM
A Tour through the Data Vizualization Zoo - Communications of the ACM
 
Machine learning with Big Data power point presentation
Machine learning with Big Data power point presentationMachine learning with Big Data power point presentation
Machine learning with Big Data power point presentation
 
Spss basics
Spss basicsSpss basics
Spss basics
 
Introduction ML - Introduçao a Machine learning
Introduction ML - Introduçao a Machine learningIntroduction ML - Introduçao a Machine learning
Introduction ML - Introduçao a Machine learning
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Technologyinthe classroom
Technologyinthe classroomTechnologyinthe classroom
Technologyinthe classroom
 
Introduction to computers
Introduction to computersIntroduction to computers
Introduction to computers
 
Unit 1 Introduction to Artificial Intelligence.pptx
Unit 1 Introduction to Artificial Intelligence.pptxUnit 1 Introduction to Artificial Intelligence.pptx
Unit 1 Introduction to Artificial Intelligence.pptx
 
Lively Applications in Precalculus
Lively Applications in PrecalculusLively Applications in Precalculus
Lively Applications in Precalculus
 
notes as .ppt
notes as .pptnotes as .ppt
notes as .ppt
 
ENIC Symbols
ENIC SymbolsENIC Symbols
ENIC Symbols
 

More from Ahmad Hussein

Knowledge-Base Systems Homework - 2019
Knowledge-Base Systems Homework - 2019Knowledge-Base Systems Homework - 2019
Knowledge-Base Systems Homework - 2019
Ahmad Hussein
 
Design Patterns
Design PatternsDesign Patterns
Design Patterns
Ahmad Hussein
 
Knowledge based systems homework
Knowledge based systems homeworkKnowledge based systems homework
Knowledge based systems homework
Ahmad Hussein
 
Expert system with python -2
Expert system with python  -2Expert system with python  -2
Expert system with python -2
Ahmad Hussein
 
Expert System With Python -1
Expert System With Python -1Expert System With Python -1
Expert System With Python -1
Ahmad Hussein
 
Python introduction 2
Python introduction 2Python introduction 2
Python introduction 2
Ahmad Hussein
 
Python introduction 1
Python introduction 1  Python introduction 1
Python introduction 1
Ahmad Hussein
 

More from Ahmad Hussein (7)

Knowledge-Base Systems Homework - 2019
Knowledge-Base Systems Homework - 2019Knowledge-Base Systems Homework - 2019
Knowledge-Base Systems Homework - 2019
 
Design Patterns
Design PatternsDesign Patterns
Design Patterns
 
Knowledge based systems homework
Knowledge based systems homeworkKnowledge based systems homework
Knowledge based systems homework
 
Expert system with python -2
Expert system with python  -2Expert system with python  -2
Expert system with python -2
 
Expert System With Python -1
Expert System With Python -1Expert System With Python -1
Expert System With Python -1
 
Python introduction 2
Python introduction 2Python introduction 2
Python introduction 2
 
Python introduction 1
Python introduction 1  Python introduction 1
Python introduction 1
 

Recently uploaded

The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 

Recently uploaded (20)

The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 

Knowledge Representation Methods

  • 1. Knowledge Graphs The Third Era of Computing Ahmad Hussein ahmadhussein.ah7@gmail.com
  • 2. Agenda ● Introduction ● Feasibility of Tabular Representations ● The Procedural Era ● The Machine Learning Era ● The Knowledge Graph Era
  • 4. Picture of a cuneiform tablet from around 3000 BC
  • 5. Introduction knowledge representations really began when we wanted to remember things that were important to us. What were these original things? They were often a ledger of financial transactions such as: “Khaled owes Karim 10 baskets of grain”
  • 6. Introduction The key is that it was natural for us to store these facts in rows and columns of a table because tables were a good “natural representation” for financial transactions. These transactions records evolved into rows of symbols which represented concepts and written languages were born. What is interesting is that this representation stuck for over 5,000 years.
  • 7. Feasibility of Tabular Representations The tabular representations have worked well when our problem had uniform data sets. By uniform, we mean that each record (row) has similar attributes with similar data types.
  • 8. Now the question is! ● Do all business problems fit well into tables? ● What about data about your health? ● Does the electronic medical record fit well into a set of tables? Not all problems fit well into tables! The more tables you have the more expensive the relational joins become.
  • 9. So.. How do we get from today’s world of 95% of our developers writing C#/Java/PHP/Python over tables to this new era? Perhaps the best way to describe this is to think abstractly about what we are doing today break it down.
  • 11. Procedural Era The way we describe the current generation is to give it a broad descriptive name called the “Procedural Era” described in Figure 1. Figure 1: The Procedural Era: where we write step-by-step procedures to find answers in our raw data
  • 12. Procedural Era ● This is where developers hand-code step-by-step procedures that take raw data and come up with answers. ● If you want to ask the program why you produced a specific answer you can trace back the decision to set of specific rules that applied to your situation. These “tracebacks” make the system easy to explain.
  • 14. Machine Learning Era The process of training a machine learning algorithm is described in Figure 2. Figure 2: The Machine Learning Era: where data and answers are fed in and the outcome is a “black box” model with 10 million weights but without explanation of why decisions were made.
  • 15. Machine Learning Era This era has become incredibly popular in the last seven years with the development of deep learning algorithms and the use of GPUs to train these networks. Unlike the procedural era, we don’t write explicit if-the-else rules for each byte of data in the input.
  • 16. Machine Learning Era We provide a training set of answers and the machine “learns” a set of complex rules. For example, we might “train” a small remote-control car by recording how it should react as it drives around a race track. It looks at the lines on the road and responds with the right speed and steering commands. The rules are typically stored as a set of weights that are applied to input data as it moves through a network.
  • 18. The Knowledge Graph Era Now let’s come to the third era of computing, the Era of the Knowledge Graph which is captured in Figure 3. Figure 3: The Knowledge Graph Era: where machine learning continuously reads raw data, combines this with existing knowledge and produces new knowledge, answers and explanations
  • 19. The Knowledge Graph Era On the left, we still use machine learning to harvest raw data and look for patterns in this data. Machine learning finds relevant information (people, places and things) in our images, text, and sound then converts this to new entries in our knowledge graph along with confidence weights.
  • 20. The Knowledge Graph Era What comes out of the graph is new knowledge, answers and explanations of why we made specific decisions. Our knowledge graph becomes a repository of semantically precise verticis and relationships with confidence weights retained from the machine learning processes.