SlideShare una empresa de Scribd logo
1 de 48
Descargar para leer sin conexión
Neo4j, Inc. All rights reserved 2021
Neo4j, Inc. All rights reserved 2021
1
Creating a Knowledge Graph with
Neo4j:
A Simple Machine Learning Approach
Clair J. Sullivan, PhD
Data Science Advocate
https://medium.com/@cj2001
@CJLovesData1
Neo4j, Inc. All rights reserved 2021
Neo4j, Inc. All rights reserved 2021
All materials for this demonstration are available on the
workshop GitHub repo:
https://github.com/cj2001/nodes2021_kg_workshop
3
(I will put this link up several times!)
Neo4j, Inc. All rights reserved 2021
To run today’s code:
1. Jupyter or Google Colab
◦ We will have some dependencies to manage in either
◦ If you are bringing your own Jupyter, you probably want to create a virtual
environment for this workshop
2. Neo4j Sandbox
◦ https://dev.neo4j.com/sandbox
We can either populate the database manually, or I will show how to download
a pre-populated one...
Neo4j, Inc. All rights reserved 2021
5
Neo4j, Inc. All rights reserved 2021
6
By the end of this workshop you will be able to...
Apply data science
and machine
learning to
knowledge graph
Vectorize
knowledge graph
(create graph
embeddings)
Create a knowledge
graph
Get some text and
extract relevant
information
Neo4j, Inc. All rights reserved 2021
7
By the end of this workshop you will be able to...
Apply data science
and machine
learning to
knowledge graph
Vectorize
knowledge graph
(create graph
embeddings)
Create a knowledge
graph
Get some text and
extract relevant
information
Natural Language Processing (NLP) Graph Data Science Library + Basic ML
Neo4j, Inc. All rights reserved 2021
Neo4j, Inc. All rights reserved 2021
8
Two Key
Concepts 1. There is no proverbial “silver bullet” with
Natural Language Processing (NLP)
2. The quality of what you get out of a
knowledge graph depends on the quality of
what you put into it
Neo4j, Inc. All rights reserved 2021
9
https://yashuseth.blog/2019/10/08/introduction-question-answering-knowledge-graphs-kgqa/
Neo4j, Inc. All rights reserved 2021
• “Things not strings”
• What knowledge graphs are useful for
◦ Search
◦ Question answering
◦ Recommendation engine
• Can be generated a lot of different ways
◦ Co-occurrence
◦ Resource Description Framework (RDF)
◦ Subject-Verb-Object (SVO)
10
Introduction to knowledge graphs
Neo4j, Inc. All rights reserved 2021
11
Word co-occurrence
https://covid19biblio.com/2020/04/28/keyword-co-occurrence-network-graph-for-the-overall-research-field-on-covid-19-up-to-april-27th-2020/
Neo4j, Inc. All rights reserved 2021
12
RDF triples
https://en.wikipedia.org/wiki/Resource_Description_Framework#Examples
Neo4j, Inc. All rights reserved 2021
13
SVO triples
Neo4j, Inc. All rights reserved 2021
• Named Entity Recognition (NER)
• SVO / SPO triples
◦ ...but verbs can be difficult to reliably detect via NLP!
• Very language dependent
• Very topic-area dependent
14
NLP considerations for knowledge graph creation
Neo4j, Inc. All rights reserved 2021
15
Neo4j, Inc. All rights reserved 2021
16
Barack Hussein Obama II is an American politician and
attorney who served as the 44th president of the United
States from 2009 to 2017.
Neo4j, Inc. All rights reserved 2021
17
Barack Hussein
Obama II is an
American politician
and attorney who
served as the 44th
president of the
United States from
2009 to 2017.
Text Lemma Tag POS DEP is_stop
Barack Barack NNP PROPN compound FALSE
Hussein Hussein NNP PROPN compound FALSE
Obama Obama NNP PROPN compound FALSE
II II NNP PROPN nsubj FALSE
is be VBZ AUX ROOT TRUE
an an DT DET det TRUE
American american JJ ADJ amod FALSE
politician politician NN NOUN attr FALSE
and and CC CCONJ cc TRUE
attorney attorney NN NOUN conj FALSE
who who WP PRON nsubj TRUE
served serve VBD VERB relcl FALSE
as as IN ADP prep TRUE
the the DT DET det TRUE
44th 44th JJ ADJ amod FALSE
president president NN NOUN pobj FALSE
of of IN ADP prep TRUE
the the DT DET det TRUE
United United NNP PROPN compound FALSE
States States NNP PROPN pobj FALSE
from from IN ADP prep TRUE
2009 2009 CD NUM pobj FALSE
to to IN ADP prep TRUE
2017 2017 CD NUM pobj FALSE
. . . PUNCT punct FALSE
https://github.com/explosion/spaCy/blob/master/spacy/glossary.py
Neo4j, Inc. All rights reserved 2021
18
Barack Hussein
Obama II is an
American politician
and attorney who
served as the 44th
president of the
United States from
2009 to 2017.
Text Lemma Tag POS DEP is_stop
Barack Barack NNP PROPN compound FALSE
Hussein Hussein NNP PROPN compound FALSE
Obama Obama NNP PROPN compound FALSE
II II NNP PROPN nsubj FALSE
is be VBZ AUX ROOT TRUE
an an DT DET det TRUE
American american JJ ADJ amod FALSE
politician politician NN NOUN attr FALSE
and and CC CCONJ cc TRUE
attorney attorney NN NOUN conj FALSE
who who WP PRON nsubj TRUE
served serve VBD VERB relcl FALSE
as as IN ADP prep TRUE
the the DT DET det TRUE
44th 44th JJ ADJ amod FALSE
president president NN NOUN pobj FALSE
of of IN ADP prep TRUE
the the DT DET det TRUE
United United NNP PROPN compound FALSE
States States NNP PROPN pobj FALSE
from from IN ADP prep TRUE
2009 2009 CD NUM pobj FALSE
to to IN ADP prep TRUE
2017 2017 CD NUM pobj FALSE
. . . PUNCT punct FALSE
https://github.com/explosion/spaCy/blob/master/spacy/glossary.py
Neo4j, Inc. All rights reserved 2021
19
Barack Hussein
Obama II is an
American politician
and attorney who
served as the 44th
president of the
United States from
2009 to 2017.
Text Lemma Tag POS DEP is_stop
Barack Barack NNP PROPN compound FALSE
Hussein Hussein NNP PROPN compound FALSE
Obama Obama NNP PROPN compound FALSE
II II NNP PROPN nsubj FALSE
is be VBZ AUX ROOT TRUE
an an DT DET det TRUE
American american JJ ADJ amod FALSE
politician politician NN NOUN attr FALSE
and and CC CCONJ cc TRUE
attorney attorney NN NOUN conj FALSE
who who WP PRON nsubj TRUE
served serve VBD VERB relcl FALSE
as as IN ADP prep TRUE
the the DT DET det TRUE
44th 44th JJ ADJ amod FALSE
president president NN NOUN pobj FALSE
of of IN ADP prep TRUE
the the DT DET det TRUE
United United NNP PROPN compound FALSE
States States NNP PROPN pobj FALSE
from from IN ADP prep TRUE
2009 2009 CD NUM pobj FALSE
to to IN ADP prep TRUE
2017 2017 CD NUM pobj FALSE
. . . PUNCT punct FALSE
https://github.com/explosion/spaCy/blob/master/spacy/glossary.py
Neo4j, Inc. All rights reserved 2021
• spacy
• Wikipedia Python package
• Google Knowledge Graph
• Pywikibot
• Neo4j
◦ Awesome Procedures on Cypher (APOC)
◦ Graph Data Science (GDS) Library
◦ Cypher
20
An introduction to the tools we will use today
Neo4j, Inc. All rights reserved 2021
Clone the GitHub repository at (OPTIONAL)
https://github.com/cj2001/nodes2021_kg_workshop
Neo4j, Inc. All rights reserved 2021
Method 1: The NLP Only
Approach
22
Neo4j, Inc. All rights reserved 2021
23
Some ways we could get this done: NLP only approach
Advantage: limitless verbs
Drawback: entity disambiguation
Neo4j, Inc. All rights reserved 2021
word2vec
https://www.kdnuggets.com/2019/01/
burkov-self-supervised-learning-word-
embeddings.html
https://medium.com/swlh/word2vec-in-practice-for-
natural-language-processing-a179b3286a21
Neo4j, Inc. All rights reserved 2021
25
Overview of workflow
Neo4j, Inc. All rights reserved 2021
26
NLP workflow
Neo4j, Inc. All rights reserved 2021
27
Create a Google Knowledge API key
https://developers.google.com/knowledge-graph/how-tos/authorizing
Neo4j, Inc. All rights reserved 2021
28
{...
"@type": "ItemList",
"itemListElement": [
{
"@type": "EntitySearchResult",
"result": {
"@id": "kg:/m/0dl567",
"name": "Taylor Swift",
"@type": [
"Thing",
"Person"
],
...
"detailedDescription": {
"articleBody": "Taylor Alison Swift is an American singer-songwriter and
actress. Raised in Wyomissing, Pennsylvania, she moved to Nashville, Tennessee, at the
age of 14 to pursue a career in country music. ",
"url": "http://en.wikipedia.org/wiki/Taylor_Swift",
...
}
Enhance the existing data with Google Knowledge Graph
Neo4j, Inc. All rights reserved 2021
29
Detailed knowledge graph data model
Neo4j, Inc. All rights reserved 2021
Neo4j, Inc. All rights reserved 2021
Method 2: The NLP Lite
Approach
31
Neo4j, Inc. All rights reserved 2021
Some ways we could get this done: NLP “lite”
Advantage: entity disambiguation
Drawback: must specify which
verbs you are interested in
Neo4j, Inc. All rights reserved 2021
Create a PyWikiBot token
https://heardlibrary.github.io/digital-scholarship/host/wikidata/bot/
Neo4j, Inc. All rights reserved 2021
34
Neo4j, Inc. All rights reserved 2021
Neo4j, Inc. All rights reserved 2021
Machine Learning on Graphs
36
Neo4j, Inc. All rights reserved 2021
37
Why machine learning with (knowledge) graphs?
• Traditional ML uses a relational database-type model
◦ All data points are are independent of each other
• Example: churn prediction based on user behavior
• Graphs (and graph databases) treat relationships as a “first class citizen”
◦ Models can include homophily
• Example: churn prediction includes the churn of neighbors within the graph
◦ Models can also include the same data as the traditional, independent data
point models
Example: making a better
recommendation engine
Neo4j, Inc. All rights reserved 2021
word2vec
38
https://www.geeksforgeeks.org/python-word-embedding-using-word2vec/
Note: word2vec typically
creates one vector per word.
The spacy implementation of
vectorization takes a
document (sentence) and
averages the word vectors
across the sentence.
Neo4j, Inc. All rights reserved 2021
node2vec
https://snap.stanford.edu/node2vec/
Neo4j, Inc. All rights reserved 2021
node2vec
40
Embedding dimension: 10
Neo4j, Inc. All rights reserved 2021
Node similarity via embeddings
Embedding dimension: 300
Neo4j, Inc. All rights reserved 2021
Visualizing embeddings with t-SNE
Neo4j, Inc. All rights reserved 2021
Clone the GitHub repository at (OPTIONAL)
https://github.com/cj2001/nodes2021_kg_workshop
Neo4j, Inc. All rights reserved 2021
Where to go from here?
44
Neo4j, Inc. All rights reserved 2021
Neo4j, Inc. All rights reserved 2021
45
Two Key
Concepts 1. There is no proverbial “silver bullet” with
Natural Language Processing (NLP)
2. The quality of what you get out of a
knowledge graph depends on the quality of
what you put into it
Neo4j, Inc. All rights reserved 2021
What could we do from here?
• Add nodes to the graph!
• Various embedding optimization techniques
• Add data for creating embeddings
◦ Ex: Word vectors from text descriptions
• Different embedding/modeling techniques
◦ GraphSAGE
◦ GNN
Neo4j, Inc. All rights reserved 2021
Problems we could solve
• Community/cluster detection
• Node classification, link prediction
• Graph-to-graph classification
• Unstructured text, NLP
• Question answering systems
Neo4j, Inc. All rights reserved 2021
Neo4j, Inc. All rights reserved 2021
48
Thank you!
https://medium.com/@cj2001
@CJLovesData1

Más contenido relacionado

La actualidad más candente

Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks.pdf
Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks.pdfRetrieval-Augmented Generation for Knowledge-Intensive NLP Tasks.pdf
Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks.pdfPo-Chuan Chen
 
Neo4j: The path to success with Graph Database and Graph Data Science
Neo4j: The path to success with Graph Database and Graph Data ScienceNeo4j: The path to success with Graph Database and Graph Data Science
Neo4j: The path to success with Graph Database and Graph Data ScienceNeo4j
 
Building a Knowledge Graph using NLP and Ontologies
Building a Knowledge Graph using NLP and OntologiesBuilding a Knowledge Graph using NLP and Ontologies
Building a Knowledge Graph using NLP and OntologiesNeo4j
 
Intro to Neo4j - Nicole White
Intro to Neo4j - Nicole WhiteIntro to Neo4j - Nicole White
Intro to Neo4j - Nicole WhiteNeo4j
 
Workshop Tel Aviv - Graph Data Science
Workshop Tel Aviv - Graph Data ScienceWorkshop Tel Aviv - Graph Data Science
Workshop Tel Aviv - Graph Data ScienceNeo4j
 
Knowledge Graph Introduction
Knowledge Graph IntroductionKnowledge Graph Introduction
Knowledge Graph IntroductionSören Auer
 
Bighead: Airbnb’s End-to-End Machine Learning Platform with Krishna Puttaswa...
 Bighead: Airbnb’s End-to-End Machine Learning Platform with Krishna Puttaswa... Bighead: Airbnb’s End-to-End Machine Learning Platform with Krishna Puttaswa...
Bighead: Airbnb’s End-to-End Machine Learning Platform with Krishna Puttaswa...Databricks
 
“Houston, we have a model...” Introduction to MLOps
“Houston, we have a model...” Introduction to MLOps“Houston, we have a model...” Introduction to MLOps
“Houston, we have a model...” Introduction to MLOpsRui Quintino
 
Pourquoi Leroy Merlin a besoin d'un Knowledge Graph ?
Pourquoi Leroy Merlin a besoin d'un Knowledge Graph ?Pourquoi Leroy Merlin a besoin d'un Knowledge Graph ?
Pourquoi Leroy Merlin a besoin d'un Knowledge Graph ?Neo4j
 
The Graph Database Universe: Neo4j Overview
The Graph Database Universe: Neo4j OverviewThe Graph Database Universe: Neo4j Overview
The Graph Database Universe: Neo4j OverviewNeo4j
 
How Dell Used Neo4j Graph Database to Redesign Their Pricing-as-a-Service Pla...
How Dell Used Neo4j Graph Database to Redesign Their Pricing-as-a-Service Pla...How Dell Used Neo4j Graph Database to Redesign Their Pricing-as-a-Service Pla...
How Dell Used Neo4j Graph Database to Redesign Their Pricing-as-a-Service Pla...Neo4j
 
Neo4j Drivers Best Practices
Neo4j Drivers Best PracticesNeo4j Drivers Best Practices
Neo4j Drivers Best PracticesNeo4j
 
OpenTelemetry For Operators
OpenTelemetry For OperatorsOpenTelemetry For Operators
OpenTelemetry For OperatorsKevin Brockhoff
 
Slides: Knowledge Graphs vs. Property Graphs
Slides: Knowledge Graphs vs. Property GraphsSlides: Knowledge Graphs vs. Property Graphs
Slides: Knowledge Graphs vs. Property GraphsDATAVERSITY
 
Neo4j GraphSummit London March 2023 Emil Eifrem Keynote.pptx
Neo4j GraphSummit London March 2023 Emil Eifrem Keynote.pptxNeo4j GraphSummit London March 2023 Emil Eifrem Keynote.pptx
Neo4j GraphSummit London March 2023 Emil Eifrem Keynote.pptxNeo4j
 
Neo4j Graph Platform Overview, Kurt Freytag, Neo4j
Neo4j Graph Platform Overview, Kurt Freytag, Neo4jNeo4j Graph Platform Overview, Kurt Freytag, Neo4j
Neo4j Graph Platform Overview, Kurt Freytag, Neo4jNeo4j
 
The Neo4j Data Platform for Today & Tomorrow.pdf
The Neo4j Data Platform for Today & Tomorrow.pdfThe Neo4j Data Platform for Today & Tomorrow.pdf
The Neo4j Data Platform for Today & Tomorrow.pdfNeo4j
 
The Knowledge Graph Explosion
The Knowledge Graph ExplosionThe Knowledge Graph Explosion
The Knowledge Graph ExplosionNeo4j
 
Intermediate Cypher.pdf
Intermediate Cypher.pdfIntermediate Cypher.pdf
Intermediate Cypher.pdfNeo4j
 

La actualidad más candente (20)

Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks.pdf
Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks.pdfRetrieval-Augmented Generation for Knowledge-Intensive NLP Tasks.pdf
Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks.pdf
 
Neo4j: The path to success with Graph Database and Graph Data Science
Neo4j: The path to success with Graph Database and Graph Data ScienceNeo4j: The path to success with Graph Database and Graph Data Science
Neo4j: The path to success with Graph Database and Graph Data Science
 
Building a Knowledge Graph using NLP and Ontologies
Building a Knowledge Graph using NLP and OntologiesBuilding a Knowledge Graph using NLP and Ontologies
Building a Knowledge Graph using NLP and Ontologies
 
Intro to Neo4j - Nicole White
Intro to Neo4j - Nicole WhiteIntro to Neo4j - Nicole White
Intro to Neo4j - Nicole White
 
Workshop Tel Aviv - Graph Data Science
Workshop Tel Aviv - Graph Data ScienceWorkshop Tel Aviv - Graph Data Science
Workshop Tel Aviv - Graph Data Science
 
Knowledge Graph Introduction
Knowledge Graph IntroductionKnowledge Graph Introduction
Knowledge Graph Introduction
 
Bighead: Airbnb’s End-to-End Machine Learning Platform with Krishna Puttaswa...
 Bighead: Airbnb’s End-to-End Machine Learning Platform with Krishna Puttaswa... Bighead: Airbnb’s End-to-End Machine Learning Platform with Krishna Puttaswa...
Bighead: Airbnb’s End-to-End Machine Learning Platform with Krishna Puttaswa...
 
“Houston, we have a model...” Introduction to MLOps
“Houston, we have a model...” Introduction to MLOps“Houston, we have a model...” Introduction to MLOps
“Houston, we have a model...” Introduction to MLOps
 
Pourquoi Leroy Merlin a besoin d'un Knowledge Graph ?
Pourquoi Leroy Merlin a besoin d'un Knowledge Graph ?Pourquoi Leroy Merlin a besoin d'un Knowledge Graph ?
Pourquoi Leroy Merlin a besoin d'un Knowledge Graph ?
 
The Graph Database Universe: Neo4j Overview
The Graph Database Universe: Neo4j OverviewThe Graph Database Universe: Neo4j Overview
The Graph Database Universe: Neo4j Overview
 
How Dell Used Neo4j Graph Database to Redesign Their Pricing-as-a-Service Pla...
How Dell Used Neo4j Graph Database to Redesign Their Pricing-as-a-Service Pla...How Dell Used Neo4j Graph Database to Redesign Their Pricing-as-a-Service Pla...
How Dell Used Neo4j Graph Database to Redesign Their Pricing-as-a-Service Pla...
 
Neo4j Drivers Best Practices
Neo4j Drivers Best PracticesNeo4j Drivers Best Practices
Neo4j Drivers Best Practices
 
OpenTelemetry For Operators
OpenTelemetry For OperatorsOpenTelemetry For Operators
OpenTelemetry For Operators
 
Vector database
Vector databaseVector database
Vector database
 
Slides: Knowledge Graphs vs. Property Graphs
Slides: Knowledge Graphs vs. Property GraphsSlides: Knowledge Graphs vs. Property Graphs
Slides: Knowledge Graphs vs. Property Graphs
 
Neo4j GraphSummit London March 2023 Emil Eifrem Keynote.pptx
Neo4j GraphSummit London March 2023 Emil Eifrem Keynote.pptxNeo4j GraphSummit London March 2023 Emil Eifrem Keynote.pptx
Neo4j GraphSummit London March 2023 Emil Eifrem Keynote.pptx
 
Neo4j Graph Platform Overview, Kurt Freytag, Neo4j
Neo4j Graph Platform Overview, Kurt Freytag, Neo4jNeo4j Graph Platform Overview, Kurt Freytag, Neo4j
Neo4j Graph Platform Overview, Kurt Freytag, Neo4j
 
The Neo4j Data Platform for Today & Tomorrow.pdf
The Neo4j Data Platform for Today & Tomorrow.pdfThe Neo4j Data Platform for Today & Tomorrow.pdf
The Neo4j Data Platform for Today & Tomorrow.pdf
 
The Knowledge Graph Explosion
The Knowledge Graph ExplosionThe Knowledge Graph Explosion
The Knowledge Graph Explosion
 
Intermediate Cypher.pdf
Intermediate Cypher.pdfIntermediate Cypher.pdf
Intermediate Cypher.pdf
 

Similar a Training Week: Create a Knowledge Graph: A Simple ML Approach

Road to NODES Workshop Series - Intro to Neo4j
Road to NODES Workshop Series - Intro to Neo4jRoad to NODES Workshop Series - Intro to Neo4j
Road to NODES Workshop Series - Intro to Neo4jNeo4j
 
Road to NODES - Blazing Fast Ingest with Apache Arrow
Road to NODES - Blazing Fast Ingest with Apache ArrowRoad to NODES - Blazing Fast Ingest with Apache Arrow
Road to NODES - Blazing Fast Ingest with Apache ArrowNeo4j
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
Neo4j Graph Summit 2024 Workshop - EMEA - Breda_and_Munchen.pdf
Neo4j Graph Summit 2024 Workshop - EMEA - Breda_and_Munchen.pdfNeo4j Graph Summit 2024 Workshop - EMEA - Breda_and_Munchen.pdf
Neo4j Graph Summit 2024 Workshop - EMEA - Breda_and_Munchen.pdfNeo4j
 
Neo4j: Data Engineering for RAG (retrieval augmented generation)
Neo4j: Data Engineering for RAG (retrieval augmented generation)Neo4j: Data Engineering for RAG (retrieval augmented generation)
Neo4j: Data Engineering for RAG (retrieval augmented generation)Neo4j
 
Neo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdf
Neo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdfNeo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdf
Neo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdfNeo4j
 
[KubeCon NA 2018] Effective Kubernetes Develop: Turbocharge Your Dev Loop - P...
[KubeCon NA 2018] Effective Kubernetes Develop: Turbocharge Your Dev Loop - P...[KubeCon NA 2018] Effective Kubernetes Develop: Turbocharge Your Dev Loop - P...
[KubeCon NA 2018] Effective Kubernetes Develop: Turbocharge Your Dev Loop - P...Ambassador Labs
 
Prepare for the Mobilacalypse
Prepare for the MobilacalypsePrepare for the Mobilacalypse
Prepare for the MobilacalypseJeff Eaton
 
GraphConnect Europe 2016 - NoSQL Polyglot Persistence: Tools and Integrations...
GraphConnect Europe 2016 - NoSQL Polyglot Persistence: Tools and Integrations...GraphConnect Europe 2016 - NoSQL Polyglot Persistence: Tools and Integrations...
GraphConnect Europe 2016 - NoSQL Polyglot Persistence: Tools and Integrations...Neo4j
 
Linking media, data, and services
Linking media, data, and servicesLinking media, data, and services
Linking media, data, and servicesRuben Verborgh
 
The perfect couple: Uniting Large Language Models and Knowledge Graphs for En...
The perfect couple: Uniting Large Language Models and Knowledge Graphs for En...The perfect couple: Uniting Large Language Models and Knowledge Graphs for En...
The perfect couple: Uniting Large Language Models and Knowledge Graphs for En...Neo4j
 
The Art of the Possible with Graph by Dr Jim Webber Neo4j.pptx
The Art of the Possible with Graph by Dr Jim Webber Neo4j.pptxThe Art of the Possible with Graph by Dr Jim Webber Neo4j.pptx
The Art of the Possible with Graph by Dr Jim Webber Neo4j.pptxNeo4j
 
Software Carpentry for the Geophysical Sciences
Software Carpentry for the Geophysical SciencesSoftware Carpentry for the Geophysical Sciences
Software Carpentry for the Geophysical SciencesAron Ahmadia
 
Training Week: Introduction to Neo4j Aura Free
Training Week: Introduction to Neo4j Aura FreeTraining Week: Introduction to Neo4j Aura Free
Training Week: Introduction to Neo4j Aura FreeNeo4j
 
Training di Base Neo4j
Training di Base Neo4jTraining di Base Neo4j
Training di Base Neo4jNeo4j
 
Workshop Español - Introducción a Neo4j
Workshop Español - Introducción a Neo4jWorkshop Español - Introducción a Neo4j
Workshop Español - Introducción a Neo4jNeo4j
 
Bootstrapping Your Graph Project with Neo4j Data Importer and Browser.pptx
Bootstrapping Your Graph Project with Neo4j Data Importer and Browser.pptxBootstrapping Your Graph Project with Neo4j Data Importer and Browser.pptx
Bootstrapping Your Graph Project with Neo4j Data Importer and Browser.pptxNeo4j
 
Training Series - Intro to Neo4j
Training Series - Intro to Neo4jTraining Series - Intro to Neo4j
Training Series - Intro to Neo4jNeo4j
 
Modeling Cybersecurity with Neo4j, Based on Real-Life Data Insights
Modeling Cybersecurity with Neo4j, Based on Real-Life Data InsightsModeling Cybersecurity with Neo4j, Based on Real-Life Data Insights
Modeling Cybersecurity with Neo4j, Based on Real-Life Data InsightsNeo4j
 

Similar a Training Week: Create a Knowledge Graph: A Simple ML Approach (20)

Road to NODES Workshop Series - Intro to Neo4j
Road to NODES Workshop Series - Intro to Neo4jRoad to NODES Workshop Series - Intro to Neo4j
Road to NODES Workshop Series - Intro to Neo4j
 
Road to NODES - Blazing Fast Ingest with Apache Arrow
Road to NODES - Blazing Fast Ingest with Apache ArrowRoad to NODES - Blazing Fast Ingest with Apache Arrow
Road to NODES - Blazing Fast Ingest with Apache Arrow
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
Neo4j Graph Summit 2024 Workshop - EMEA - Breda_and_Munchen.pdf
Neo4j Graph Summit 2024 Workshop - EMEA - Breda_and_Munchen.pdfNeo4j Graph Summit 2024 Workshop - EMEA - Breda_and_Munchen.pdf
Neo4j Graph Summit 2024 Workshop - EMEA - Breda_and_Munchen.pdf
 
Neo4j: Data Engineering for RAG (retrieval augmented generation)
Neo4j: Data Engineering for RAG (retrieval augmented generation)Neo4j: Data Engineering for RAG (retrieval augmented generation)
Neo4j: Data Engineering for RAG (retrieval augmented generation)
 
Neo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdf
Neo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdfNeo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdf
Neo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdf
 
[KubeCon NA 2018] Effective Kubernetes Develop: Turbocharge Your Dev Loop - P...
[KubeCon NA 2018] Effective Kubernetes Develop: Turbocharge Your Dev Loop - P...[KubeCon NA 2018] Effective Kubernetes Develop: Turbocharge Your Dev Loop - P...
[KubeCon NA 2018] Effective Kubernetes Develop: Turbocharge Your Dev Loop - P...
 
Prepare for the Mobilacalypse
Prepare for the MobilacalypsePrepare for the Mobilacalypse
Prepare for the Mobilacalypse
 
GraphConnect Europe 2016 - NoSQL Polyglot Persistence: Tools and Integrations...
GraphConnect Europe 2016 - NoSQL Polyglot Persistence: Tools and Integrations...GraphConnect Europe 2016 - NoSQL Polyglot Persistence: Tools and Integrations...
GraphConnect Europe 2016 - NoSQL Polyglot Persistence: Tools and Integrations...
 
Linking media, data, and services
Linking media, data, and servicesLinking media, data, and services
Linking media, data, and services
 
The perfect couple: Uniting Large Language Models and Knowledge Graphs for En...
The perfect couple: Uniting Large Language Models and Knowledge Graphs for En...The perfect couple: Uniting Large Language Models and Knowledge Graphs for En...
The perfect couple: Uniting Large Language Models and Knowledge Graphs for En...
 
Walter api
Walter apiWalter api
Walter api
 
The Art of the Possible with Graph by Dr Jim Webber Neo4j.pptx
The Art of the Possible with Graph by Dr Jim Webber Neo4j.pptxThe Art of the Possible with Graph by Dr Jim Webber Neo4j.pptx
The Art of the Possible with Graph by Dr Jim Webber Neo4j.pptx
 
Software Carpentry for the Geophysical Sciences
Software Carpentry for the Geophysical SciencesSoftware Carpentry for the Geophysical Sciences
Software Carpentry for the Geophysical Sciences
 
Training Week: Introduction to Neo4j Aura Free
Training Week: Introduction to Neo4j Aura FreeTraining Week: Introduction to Neo4j Aura Free
Training Week: Introduction to Neo4j Aura Free
 
Training di Base Neo4j
Training di Base Neo4jTraining di Base Neo4j
Training di Base Neo4j
 
Workshop Español - Introducción a Neo4j
Workshop Español - Introducción a Neo4jWorkshop Español - Introducción a Neo4j
Workshop Español - Introducción a Neo4j
 
Bootstrapping Your Graph Project with Neo4j Data Importer and Browser.pptx
Bootstrapping Your Graph Project with Neo4j Data Importer and Browser.pptxBootstrapping Your Graph Project with Neo4j Data Importer and Browser.pptx
Bootstrapping Your Graph Project with Neo4j Data Importer and Browser.pptx
 
Training Series - Intro to Neo4j
Training Series - Intro to Neo4jTraining Series - Intro to Neo4j
Training Series - Intro to Neo4j
 
Modeling Cybersecurity with Neo4j, Based on Real-Life Data Insights
Modeling Cybersecurity with Neo4j, Based on Real-Life Data InsightsModeling Cybersecurity with Neo4j, Based on Real-Life Data Insights
Modeling Cybersecurity with Neo4j, Based on Real-Life Data Insights
 

Más de Neo4j

From Knowledge Graphs via Lego Bricks to scientific conversations.pptx
From Knowledge Graphs via Lego Bricks to scientific conversations.pptxFrom Knowledge Graphs via Lego Bricks to scientific conversations.pptx
From Knowledge Graphs via Lego Bricks to scientific conversations.pptxNeo4j
 
Novo Nordisk: When Knowledge Graphs meet LLMs
Novo Nordisk: When Knowledge Graphs meet LLMsNovo Nordisk: When Knowledge Graphs meet LLMs
Novo Nordisk: When Knowledge Graphs meet LLMsNeo4j
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
QIAGEN: Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
QIAGEN: Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansQIAGEN: Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
QIAGEN: Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansNeo4j
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
ISDEFE - GraphSummit Madrid - ARETA: Aviation Real-Time Emissions Token Accre...
ISDEFE - GraphSummit Madrid - ARETA: Aviation Real-Time Emissions Token Accre...ISDEFE - GraphSummit Madrid - ARETA: Aviation Real-Time Emissions Token Accre...
ISDEFE - GraphSummit Madrid - ARETA: Aviation Real-Time Emissions Token Accre...Neo4j
 
BBVA - GraphSummit Madrid - Caso de éxito en BBVA: Optimizando con grafos
BBVA - GraphSummit Madrid - Caso de éxito en BBVA: Optimizando con grafosBBVA - GraphSummit Madrid - Caso de éxito en BBVA: Optimizando con grafos
BBVA - GraphSummit Madrid - Caso de éxito en BBVA: Optimizando con grafosNeo4j
 
Graph Everywhere - Josep Taruella - Por qué Graph Data Science en tus modelos...
Graph Everywhere - Josep Taruella - Por qué Graph Data Science en tus modelos...Graph Everywhere - Josep Taruella - Por qué Graph Data Science en tus modelos...
Graph Everywhere - Josep Taruella - Por qué Graph Data Science en tus modelos...Neo4j
 
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4jGraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4jNeo4j
 
Neo4j_Exploring the Impact of Graph Technology on Financial Services.pdf
Neo4j_Exploring the Impact of Graph Technology on Financial Services.pdfNeo4j_Exploring the Impact of Graph Technology on Financial Services.pdf
Neo4j_Exploring the Impact of Graph Technology on Financial Services.pdfNeo4j
 
Rabobank_Exploring the Impact of Graph Technology on Financial Services.pdf
Rabobank_Exploring the Impact of Graph Technology on Financial Services.pdfRabobank_Exploring the Impact of Graph Technology on Financial Services.pdf
Rabobank_Exploring the Impact of Graph Technology on Financial Services.pdfNeo4j
 
Webinar - IA generativa e grafi Neo4j: RAG time!
Webinar - IA generativa e grafi Neo4j: RAG time!Webinar - IA generativa e grafi Neo4j: RAG time!
Webinar - IA generativa e grafi Neo4j: RAG time!Neo4j
 
IA Generativa y Grafos de Neo4j: RAG time
IA Generativa y Grafos de Neo4j: RAG timeIA Generativa y Grafos de Neo4j: RAG time
IA Generativa y Grafos de Neo4j: RAG timeNeo4j
 
Enabling GenAI Breakthroughs with Knowledge Graphs
Enabling GenAI Breakthroughs with Knowledge GraphsEnabling GenAI Breakthroughs with Knowledge Graphs
Enabling GenAI Breakthroughs with Knowledge GraphsNeo4j
 
Neo4j_Anurag Tandon_Product Vision and Roadmap.Benelux.pptx.pdf
Neo4j_Anurag Tandon_Product Vision and Roadmap.Benelux.pptx.pdfNeo4j_Anurag Tandon_Product Vision and Roadmap.Benelux.pptx.pdf
Neo4j_Anurag Tandon_Product Vision and Roadmap.Benelux.pptx.pdfNeo4j
 
Neo4j Jesus Barrasa The Art of the Possible with Graph
Neo4j Jesus Barrasa The Art of the Possible with GraphNeo4j Jesus Barrasa The Art of the Possible with Graph
Neo4j Jesus Barrasa The Art of the Possible with GraphNeo4j
 
SWIFT: Maintaining Critical Standards in the Financial Services Industry with...
SWIFT: Maintaining Critical Standards in the Financial Services Industry with...SWIFT: Maintaining Critical Standards in the Financial Services Industry with...
SWIFT: Maintaining Critical Standards in the Financial Services Industry with...Neo4j
 

Más de Neo4j (20)

From Knowledge Graphs via Lego Bricks to scientific conversations.pptx
From Knowledge Graphs via Lego Bricks to scientific conversations.pptxFrom Knowledge Graphs via Lego Bricks to scientific conversations.pptx
From Knowledge Graphs via Lego Bricks to scientific conversations.pptx
 
Novo Nordisk: When Knowledge Graphs meet LLMs
Novo Nordisk: When Knowledge Graphs meet LLMsNovo Nordisk: When Knowledge Graphs meet LLMs
Novo Nordisk: When Knowledge Graphs meet LLMs
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
QIAGEN: Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
QIAGEN: Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansQIAGEN: Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
QIAGEN: Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
ISDEFE - GraphSummit Madrid - ARETA: Aviation Real-Time Emissions Token Accre...
ISDEFE - GraphSummit Madrid - ARETA: Aviation Real-Time Emissions Token Accre...ISDEFE - GraphSummit Madrid - ARETA: Aviation Real-Time Emissions Token Accre...
ISDEFE - GraphSummit Madrid - ARETA: Aviation Real-Time Emissions Token Accre...
 
BBVA - GraphSummit Madrid - Caso de éxito en BBVA: Optimizando con grafos
BBVA - GraphSummit Madrid - Caso de éxito en BBVA: Optimizando con grafosBBVA - GraphSummit Madrid - Caso de éxito en BBVA: Optimizando con grafos
BBVA - GraphSummit Madrid - Caso de éxito en BBVA: Optimizando con grafos
 
Graph Everywhere - Josep Taruella - Por qué Graph Data Science en tus modelos...
Graph Everywhere - Josep Taruella - Por qué Graph Data Science en tus modelos...Graph Everywhere - Josep Taruella - Por qué Graph Data Science en tus modelos...
Graph Everywhere - Josep Taruella - Por qué Graph Data Science en tus modelos...
 
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4jGraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
 
Neo4j_Exploring the Impact of Graph Technology on Financial Services.pdf
Neo4j_Exploring the Impact of Graph Technology on Financial Services.pdfNeo4j_Exploring the Impact of Graph Technology on Financial Services.pdf
Neo4j_Exploring the Impact of Graph Technology on Financial Services.pdf
 
Rabobank_Exploring the Impact of Graph Technology on Financial Services.pdf
Rabobank_Exploring the Impact of Graph Technology on Financial Services.pdfRabobank_Exploring the Impact of Graph Technology on Financial Services.pdf
Rabobank_Exploring the Impact of Graph Technology on Financial Services.pdf
 
Webinar - IA generativa e grafi Neo4j: RAG time!
Webinar - IA generativa e grafi Neo4j: RAG time!Webinar - IA generativa e grafi Neo4j: RAG time!
Webinar - IA generativa e grafi Neo4j: RAG time!
 
IA Generativa y Grafos de Neo4j: RAG time
IA Generativa y Grafos de Neo4j: RAG timeIA Generativa y Grafos de Neo4j: RAG time
IA Generativa y Grafos de Neo4j: RAG time
 
Enabling GenAI Breakthroughs with Knowledge Graphs
Enabling GenAI Breakthroughs with Knowledge GraphsEnabling GenAI Breakthroughs with Knowledge Graphs
Enabling GenAI Breakthroughs with Knowledge Graphs
 
Neo4j_Anurag Tandon_Product Vision and Roadmap.Benelux.pptx.pdf
Neo4j_Anurag Tandon_Product Vision and Roadmap.Benelux.pptx.pdfNeo4j_Anurag Tandon_Product Vision and Roadmap.Benelux.pptx.pdf
Neo4j_Anurag Tandon_Product Vision and Roadmap.Benelux.pptx.pdf
 
Neo4j Jesus Barrasa The Art of the Possible with Graph
Neo4j Jesus Barrasa The Art of the Possible with GraphNeo4j Jesus Barrasa The Art of the Possible with Graph
Neo4j Jesus Barrasa The Art of the Possible with Graph
 
SWIFT: Maintaining Critical Standards in the Financial Services Industry with...
SWIFT: Maintaining Critical Standards in the Financial Services Industry with...SWIFT: Maintaining Critical Standards in the Financial Services Industry with...
SWIFT: Maintaining Critical Standards in the Financial Services Industry with...
 

Último

%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park masabamasaba
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationJuha-Pekka Tolvanen
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxAnnaArtyushina1
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastPapp Krisztián
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benonimasabamasaba
 
tonesoftg
tonesoftgtonesoftg
tonesoftglanshi9
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrandmasabamasaba
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...masabamasaba
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in sowetomasabamasaba
 

Último (20)

%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security Program
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - Keynote
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 

Training Week: Create a Knowledge Graph: A Simple ML Approach

  • 1. Neo4j, Inc. All rights reserved 2021 Neo4j, Inc. All rights reserved 2021 1 Creating a Knowledge Graph with Neo4j: A Simple Machine Learning Approach Clair J. Sullivan, PhD Data Science Advocate https://medium.com/@cj2001 @CJLovesData1
  • 2. Neo4j, Inc. All rights reserved 2021
  • 3. Neo4j, Inc. All rights reserved 2021 All materials for this demonstration are available on the workshop GitHub repo: https://github.com/cj2001/nodes2021_kg_workshop 3 (I will put this link up several times!)
  • 4. Neo4j, Inc. All rights reserved 2021 To run today’s code: 1. Jupyter or Google Colab ◦ We will have some dependencies to manage in either ◦ If you are bringing your own Jupyter, you probably want to create a virtual environment for this workshop 2. Neo4j Sandbox ◦ https://dev.neo4j.com/sandbox We can either populate the database manually, or I will show how to download a pre-populated one...
  • 5. Neo4j, Inc. All rights reserved 2021 5
  • 6. Neo4j, Inc. All rights reserved 2021 6 By the end of this workshop you will be able to... Apply data science and machine learning to knowledge graph Vectorize knowledge graph (create graph embeddings) Create a knowledge graph Get some text and extract relevant information
  • 7. Neo4j, Inc. All rights reserved 2021 7 By the end of this workshop you will be able to... Apply data science and machine learning to knowledge graph Vectorize knowledge graph (create graph embeddings) Create a knowledge graph Get some text and extract relevant information Natural Language Processing (NLP) Graph Data Science Library + Basic ML
  • 8. Neo4j, Inc. All rights reserved 2021 Neo4j, Inc. All rights reserved 2021 8 Two Key Concepts 1. There is no proverbial “silver bullet” with Natural Language Processing (NLP) 2. The quality of what you get out of a knowledge graph depends on the quality of what you put into it
  • 9. Neo4j, Inc. All rights reserved 2021 9 https://yashuseth.blog/2019/10/08/introduction-question-answering-knowledge-graphs-kgqa/
  • 10. Neo4j, Inc. All rights reserved 2021 • “Things not strings” • What knowledge graphs are useful for ◦ Search ◦ Question answering ◦ Recommendation engine • Can be generated a lot of different ways ◦ Co-occurrence ◦ Resource Description Framework (RDF) ◦ Subject-Verb-Object (SVO) 10 Introduction to knowledge graphs
  • 11. Neo4j, Inc. All rights reserved 2021 11 Word co-occurrence https://covid19biblio.com/2020/04/28/keyword-co-occurrence-network-graph-for-the-overall-research-field-on-covid-19-up-to-april-27th-2020/
  • 12. Neo4j, Inc. All rights reserved 2021 12 RDF triples https://en.wikipedia.org/wiki/Resource_Description_Framework#Examples
  • 13. Neo4j, Inc. All rights reserved 2021 13 SVO triples
  • 14. Neo4j, Inc. All rights reserved 2021 • Named Entity Recognition (NER) • SVO / SPO triples ◦ ...but verbs can be difficult to reliably detect via NLP! • Very language dependent • Very topic-area dependent 14 NLP considerations for knowledge graph creation
  • 15. Neo4j, Inc. All rights reserved 2021 15
  • 16. Neo4j, Inc. All rights reserved 2021 16 Barack Hussein Obama II is an American politician and attorney who served as the 44th president of the United States from 2009 to 2017.
  • 17. Neo4j, Inc. All rights reserved 2021 17 Barack Hussein Obama II is an American politician and attorney who served as the 44th president of the United States from 2009 to 2017. Text Lemma Tag POS DEP is_stop Barack Barack NNP PROPN compound FALSE Hussein Hussein NNP PROPN compound FALSE Obama Obama NNP PROPN compound FALSE II II NNP PROPN nsubj FALSE is be VBZ AUX ROOT TRUE an an DT DET det TRUE American american JJ ADJ amod FALSE politician politician NN NOUN attr FALSE and and CC CCONJ cc TRUE attorney attorney NN NOUN conj FALSE who who WP PRON nsubj TRUE served serve VBD VERB relcl FALSE as as IN ADP prep TRUE the the DT DET det TRUE 44th 44th JJ ADJ amod FALSE president president NN NOUN pobj FALSE of of IN ADP prep TRUE the the DT DET det TRUE United United NNP PROPN compound FALSE States States NNP PROPN pobj FALSE from from IN ADP prep TRUE 2009 2009 CD NUM pobj FALSE to to IN ADP prep TRUE 2017 2017 CD NUM pobj FALSE . . . PUNCT punct FALSE https://github.com/explosion/spaCy/blob/master/spacy/glossary.py
  • 18. Neo4j, Inc. All rights reserved 2021 18 Barack Hussein Obama II is an American politician and attorney who served as the 44th president of the United States from 2009 to 2017. Text Lemma Tag POS DEP is_stop Barack Barack NNP PROPN compound FALSE Hussein Hussein NNP PROPN compound FALSE Obama Obama NNP PROPN compound FALSE II II NNP PROPN nsubj FALSE is be VBZ AUX ROOT TRUE an an DT DET det TRUE American american JJ ADJ amod FALSE politician politician NN NOUN attr FALSE and and CC CCONJ cc TRUE attorney attorney NN NOUN conj FALSE who who WP PRON nsubj TRUE served serve VBD VERB relcl FALSE as as IN ADP prep TRUE the the DT DET det TRUE 44th 44th JJ ADJ amod FALSE president president NN NOUN pobj FALSE of of IN ADP prep TRUE the the DT DET det TRUE United United NNP PROPN compound FALSE States States NNP PROPN pobj FALSE from from IN ADP prep TRUE 2009 2009 CD NUM pobj FALSE to to IN ADP prep TRUE 2017 2017 CD NUM pobj FALSE . . . PUNCT punct FALSE https://github.com/explosion/spaCy/blob/master/spacy/glossary.py
  • 19. Neo4j, Inc. All rights reserved 2021 19 Barack Hussein Obama II is an American politician and attorney who served as the 44th president of the United States from 2009 to 2017. Text Lemma Tag POS DEP is_stop Barack Barack NNP PROPN compound FALSE Hussein Hussein NNP PROPN compound FALSE Obama Obama NNP PROPN compound FALSE II II NNP PROPN nsubj FALSE is be VBZ AUX ROOT TRUE an an DT DET det TRUE American american JJ ADJ amod FALSE politician politician NN NOUN attr FALSE and and CC CCONJ cc TRUE attorney attorney NN NOUN conj FALSE who who WP PRON nsubj TRUE served serve VBD VERB relcl FALSE as as IN ADP prep TRUE the the DT DET det TRUE 44th 44th JJ ADJ amod FALSE president president NN NOUN pobj FALSE of of IN ADP prep TRUE the the DT DET det TRUE United United NNP PROPN compound FALSE States States NNP PROPN pobj FALSE from from IN ADP prep TRUE 2009 2009 CD NUM pobj FALSE to to IN ADP prep TRUE 2017 2017 CD NUM pobj FALSE . . . PUNCT punct FALSE https://github.com/explosion/spaCy/blob/master/spacy/glossary.py
  • 20. Neo4j, Inc. All rights reserved 2021 • spacy • Wikipedia Python package • Google Knowledge Graph • Pywikibot • Neo4j ◦ Awesome Procedures on Cypher (APOC) ◦ Graph Data Science (GDS) Library ◦ Cypher 20 An introduction to the tools we will use today
  • 21. Neo4j, Inc. All rights reserved 2021 Clone the GitHub repository at (OPTIONAL) https://github.com/cj2001/nodes2021_kg_workshop
  • 22. Neo4j, Inc. All rights reserved 2021 Method 1: The NLP Only Approach 22
  • 23. Neo4j, Inc. All rights reserved 2021 23 Some ways we could get this done: NLP only approach Advantage: limitless verbs Drawback: entity disambiguation
  • 24. Neo4j, Inc. All rights reserved 2021 word2vec https://www.kdnuggets.com/2019/01/ burkov-self-supervised-learning-word- embeddings.html https://medium.com/swlh/word2vec-in-practice-for- natural-language-processing-a179b3286a21
  • 25. Neo4j, Inc. All rights reserved 2021 25 Overview of workflow
  • 26. Neo4j, Inc. All rights reserved 2021 26 NLP workflow
  • 27. Neo4j, Inc. All rights reserved 2021 27 Create a Google Knowledge API key https://developers.google.com/knowledge-graph/how-tos/authorizing
  • 28. Neo4j, Inc. All rights reserved 2021 28 {... "@type": "ItemList", "itemListElement": [ { "@type": "EntitySearchResult", "result": { "@id": "kg:/m/0dl567", "name": "Taylor Swift", "@type": [ "Thing", "Person" ], ... "detailedDescription": { "articleBody": "Taylor Alison Swift is an American singer-songwriter and actress. Raised in Wyomissing, Pennsylvania, she moved to Nashville, Tennessee, at the age of 14 to pursue a career in country music. ", "url": "http://en.wikipedia.org/wiki/Taylor_Swift", ... } Enhance the existing data with Google Knowledge Graph
  • 29. Neo4j, Inc. All rights reserved 2021 29 Detailed knowledge graph data model
  • 30. Neo4j, Inc. All rights reserved 2021
  • 31. Neo4j, Inc. All rights reserved 2021 Method 2: The NLP Lite Approach 31
  • 32. Neo4j, Inc. All rights reserved 2021 Some ways we could get this done: NLP “lite” Advantage: entity disambiguation Drawback: must specify which verbs you are interested in
  • 33. Neo4j, Inc. All rights reserved 2021 Create a PyWikiBot token https://heardlibrary.github.io/digital-scholarship/host/wikidata/bot/
  • 34. Neo4j, Inc. All rights reserved 2021 34
  • 35. Neo4j, Inc. All rights reserved 2021
  • 36. Neo4j, Inc. All rights reserved 2021 Machine Learning on Graphs 36
  • 37. Neo4j, Inc. All rights reserved 2021 37 Why machine learning with (knowledge) graphs? • Traditional ML uses a relational database-type model ◦ All data points are are independent of each other • Example: churn prediction based on user behavior • Graphs (and graph databases) treat relationships as a “first class citizen” ◦ Models can include homophily • Example: churn prediction includes the churn of neighbors within the graph ◦ Models can also include the same data as the traditional, independent data point models Example: making a better recommendation engine
  • 38. Neo4j, Inc. All rights reserved 2021 word2vec 38 https://www.geeksforgeeks.org/python-word-embedding-using-word2vec/ Note: word2vec typically creates one vector per word. The spacy implementation of vectorization takes a document (sentence) and averages the word vectors across the sentence.
  • 39. Neo4j, Inc. All rights reserved 2021 node2vec https://snap.stanford.edu/node2vec/
  • 40. Neo4j, Inc. All rights reserved 2021 node2vec 40 Embedding dimension: 10
  • 41. Neo4j, Inc. All rights reserved 2021 Node similarity via embeddings Embedding dimension: 300
  • 42. Neo4j, Inc. All rights reserved 2021 Visualizing embeddings with t-SNE
  • 43. Neo4j, Inc. All rights reserved 2021 Clone the GitHub repository at (OPTIONAL) https://github.com/cj2001/nodes2021_kg_workshop
  • 44. Neo4j, Inc. All rights reserved 2021 Where to go from here? 44
  • 45. Neo4j, Inc. All rights reserved 2021 Neo4j, Inc. All rights reserved 2021 45 Two Key Concepts 1. There is no proverbial “silver bullet” with Natural Language Processing (NLP) 2. The quality of what you get out of a knowledge graph depends on the quality of what you put into it
  • 46. Neo4j, Inc. All rights reserved 2021 What could we do from here? • Add nodes to the graph! • Various embedding optimization techniques • Add data for creating embeddings ◦ Ex: Word vectors from text descriptions • Different embedding/modeling techniques ◦ GraphSAGE ◦ GNN
  • 47. Neo4j, Inc. All rights reserved 2021 Problems we could solve • Community/cluster detection • Node classification, link prediction • Graph-to-graph classification • Unstructured text, NLP • Question answering systems
  • 48. Neo4j, Inc. All rights reserved 2021 Neo4j, Inc. All rights reserved 2021 48 Thank you! https://medium.com/@cj2001 @CJLovesData1