SlideShare uma empresa Scribd logo
1 de 64
Baixar para ler offline
Knowledge Graphs:
The Power of Graph-Based Search
Petra Selmer
Query Languages Standards & Research Group
petra.selmer@neo4j.com
19 September 2018
The property graph data model
Introduction to Neo4j
Knowledge Graphs
Background
What is a Knowledge Graph?
How do they work in Neo4j?
Tools and techniques: a quick tour
Graph Search through Cypher
Outline
The property graph data
model
Underlying construct is a graph
Nodes: represent entities of interest (vertices)
Relationships: connections between nodes (edges)
• Relate nodes by type and direction
• Add structure to the graph
• Provide semantic context for nodes
Properties: key-value pairs (map) representing the data
The property graph data model
A node may have 0 or more labels
• E.g. Person, Appliance, Teacher
A relationship must have a type and
direction
• E.g. KNOWS, LIKES
A node or relationship may have 0 or
more properties
• E.g. name: ‘John’
The property graph data model
The topology is as important as the data
Use cases
NASA
Knowledge repository for previous missions - root cause analysis
Panama Papers
How was money flowing through companies and individuals?
Some well-known use cases
Introduction to Neo4j
Neo4j is an enterprise-grade native graph platform enabling you to:
• Store, reveal and query connections within your data
• Traverse and analyze any level of depth in real time
• Add context and connect new data on the fly
Consumers of connected data
Neo4j graph platform
Knowledge Graphs
1. Background...
Relationship-driven applications
Organizations have difficulty maintaining their corporate memory
owing to a variety of reasons:
• Growth which drives need for new and continuous education
• Turnover where long-term knowledge is lost
• Ageing infrastructures and siloed information
The Knowledge Graph problem
Lack of knowledge sharing slows project progress, and creates
inconsistencies even among team members.
Organizations don’t know what they don’t know, nor do they know what
they know.
Data scientists, and therefore the organization, are slow to recognize or
react to changing market conditions, so they miss opportunities to
innovate
Bad information is spread inadvertently which erodes corporate trust
Negative consequences
The next wave of competitive advantage will be all about using
connections to identify and build knowledge
Knowledge Graphs in the Age of Connections
2. What is a Knowledge Graph?
Enriching graphs with more and more data (raw or derived) over time...
Enriching graphs with more and more data (raw or derived) over time...
...resulting in a graph that has more detail, context, truth, intelligence
and semantics...
Enriching graphs with more and more data (raw or derived) over time...
...resulting in a graph that has more detail, context, truth, intelligence
and semantics…
...capturing the real world (your ecosystem) more precisely and more
comprehensively...
Enriching graphs with more and more data (raw or derived) over time...
...resulting in a graph that has more detail, context, truth, intelligence
and semantics…
...capturing the real world (your ecosystem) more precisely and more
comprehensively…
...so that the information captured in the graph can be searched for in
a meaningful way...
Enriching graphs with more and more data (raw or derived) over time...
...resulting in a graph that has more detail, context, truth, intelligence
and semantics…
...capturing the real world (your ecosystem) more precisely and more
comprehensively…
...so that the information captured in the graph can be searched for in
a meaningful way…
...yielding KNOWLEDGE, both directly and indirectly (new insights are
discovered)
A 360 degree-view of:
• any entity of interest,
• auxiliary entities,
• and the processes that surround these
Example:
• Customers
• Products, orders, reviews, delivery, …
• Purchasing, fulfilment, order management, shipping, …
Knowledge Graphs provide:
Give answers
about things it knows about
Explain why and how the answer was returned
from the context and structure within the graph
Knowledge Graphs can:
Knowledge Graphs must be searchable*
*more on this later
3. How do they work in Neo4j?
Connecting roles in the enterprise
Data lives across the enterprise
Recommendations require an operational workload
Simple enterprise Knowledge Graphs
Simple enterprise Knowledge Graph
Unlock the institutional memory
Information, especially in analytics, research departments and
customer service should have a searchable, consistent repository,
or representation of a repository, from which to store and draw
institutional knowledge.
Corporations who maintain a knowledge graph will develop higher
degrees of consistency across all areas of business.
The goals
Institutional memory requires a solution that can integrate diverse data sets, often in text
due to the legacy nature of that information and return “context” as a result
Connections and relationships, cause and effect correlation needs to be materialized
and persisted permanently
All information must be indexed, searchable and shareable
The solution must be agile, easily expandable and adaptable to changing business
conditions
The solution needs to be a combination of text-based NLP, ElasticSearch and Graphs.
Information must be easy to visualize and leverage in your processes and workflows
What’s required to get there
Graph-boosted Artificial Intelligence
4. Tools & techniques: a
whistle-stop tour
NLP (Natural Language Processing): understanding human
language (for the purposes of information extraction)
Parsing unstructured data (usually text) to extract entities, their
attributes or properties and the relationships between entities
Named entity recognition: identify entities and categorise them;
e.g. “Daniel Craig” is a Person and an Actor
Tools & techniques: enriching the data
NLP (Natural Language Processing): [continued…]
Entity disambiguation: how to determine which entity is being
referred to; e.g. “Amazon” can be the rainforest in South America,
or the online store
Sentiment analysis: identifying the mood/attitude/emotion of a
statement
Tools & techniques: enriching the data
Provenance and lineage of data:
• How/from where the data was derived or obtained
• This adds to data veracity and quality
Tools & techniques: enriching the data
Inferencing / deriving new facts from machine learning
APOC: ~450 procedures and user-defined functions helping with data integration,
graph algorithms, data conversions etc
https://github.com/neo4j-contrib/neo4j-apoc-procedures
Graph algorithms library (highly-parallelized & efficient): centralities (PageRank,
betweenness…), community detection, path finding etc
https://github.com/neo4j-contrib/neo4j-graph-algorithms
In constant development; links with academic institutions for cutting-edge
optimization techniques
Tools & techniques: enriching the data
Inferencing / deriving new facts: deductive method (from a
knowledge base, rules engine or ontology)
Rules:
If a node X has
(i) a :Person label and
(ii) there is an outgoing TEACHES relationship,
then add a :Teacher label to X
Tools & techniques: enriching the data
Inferencing / deriving new facts: deductive method [continued..]
Use external data sources to obtain new facts; e.g. hook into a
thesaurus to deduce/derive synonyms (ConceptNet, WordNet, ..)
Use the graph to deduce a set of rules (or begin with a seed set,
using ML) which enrich the graph, and subsequently enrich the
rules as more data gets added to the graph: feedback loop
Tools & techniques: enriching the data
Graph search through
Cypher
A declarative graph pattern matching language for property
graphs
SQL-like syntax
DQL for reading data (focus of this section)
DML for creating, updating and deleting data
DDL for creating constraints and indexes
Relationship-centric querying
Recursive querying
Variable-length relationship chains
Returning paths
Introducing Cypher
This is at the
heart of Cypher
http://www.opencypher.org/cips
Searching for (matching) graph patterns
Specifying the
pattern to match Specifying the data
to be returned
// Pattern description (ASCII art)
MATCH (me:Person)-[:FRIEND]->(friend)
// Filtering with predicates
WHERE me.name = ‘Frank Black’ AND friend.age > me.age
// Projection of expressions
RETURN toUpper(friend.name) AS name, friend.title AS title
// Order results
ORDER BY name, title DESC
Variable-length relationship patterns
MATCH (me)-[:FRIEND*]-(foaf) // Traverse 1 or more FRIEND relationships
MATCH (me)-[:FRIEND*2..4]-(foaf) // Traverse 2 to 4 FRIEND relationships
// Path binding returns all paths (p)
MATCH p = (a)-[:ONE]-()-[:TWO]-()-[:THREE]-()
// Each path is a list containing the constituent nodes and relationships, in order
RETURN p
DQL: reading data
Input: a property graph
Output: a table
This tells you why the answer was returned (going
back to the context a Knowledge Graph provides)
Extension: Multiple graphs and
query composition
Cypher today: a single graph model
Graph Database System
(e.g. a cluster)
The (single) Graph
Application Server
Client 1
Client 2
Client 3
Cypher: multiple graphs model
Graph Database System
(e.g. a cluster)
Multiple Graphs
Application Server
Client 1
Client 2
Client 3
Accept multiple graphs and a table as input
Return multiple graphs and a table
Chain queries to form a query pipeline
Subquery support
Use cases: create new graphs (either from scratch or from existing
graphs), combining and transforming graphs from multiple
sources, views, access control, snapshot graphs, roll-up and
drill-down operations, ...
Multiple graphs & query composition
The output of one query can be used as
the input to another
Organize a query into multiple parts
Extract parts of a query to a view for re-use
Replace parts of a query without affecting
other parts
Build complex workflows programmatically
Query composition
Extension: Complex path
patterns
“Patterns of patterns”
Regular path queries (RPQs)
Long academic history
Can specify a path by means of a regular expression over the relationship types
(allowing for nesting of patterns)
X, knows.(likes.eats|drinks)+, Y
Find a path whose edge labels conform to the regular expression, starting at
node X and ending at node Y
Complex path patterns
Concatenation
a.b - a is followed by b
Alternation
a|b - either a or b
Transitive closure
* - 0 or more
+ - 1 or more
{m, n} - at least m, at most n
Optionality:
? - 0 or 1
Grouping/nesting
() - allows nesting/defines scope
Find complex connections
Increase in the need to express “nested patterns”; in particular:
(a.b)*
Property graph data model:
Properties need to be considered
Node labels need to be considered
Specifying a cost for paths (ordering and comparing)
Path Pattern Queries in Cypher
https://github.com/thobe/openCypher/blob/rpq/cip/1.accepted/CIP2017-02-06-Path-Patterns.adoc
PATH PATTERN
older_friends = (a)-[:FRIEND]-(b) WHERE b.age >
a.age
MATCH p=(me)-/~older_friends+/-(you)
WHERE me.name = $myName AND you.name = $yourName
RETURN p AS friendship
Path Pattern: example
Extension: Configurable
pattern-matching
semantics
MATCH (p:Person {name: Jack})-[r1:FRIEND]-()-[r2:FRIEND]-(friend_of_a_friend)
RETURN friend_of_a_friend.name AS fofName
+---------+
| fofName |
+---------+
| “Tom” |
+---------+
Cypher today
:Person
{ name : Jack }
:Person
{ name : Anne }
:Person
{ name : Tom }
:FRIEND :FRIEND
Usefulness proven in practice over
multiple industrial verticals
r1 and r2 may not be
bound to the same
relationship within the
same pattern
Rationale was to avoid potentially
returning infinite results for varlength
patterns when matching graphs
containing cycles (this would have been
different if we were just checking for the
existence of a path)
r1 r2
All the *morphisms
All forms are valid in different
scenarios
The user can configure which
semantics they wish to use at
a query level
Configurable pattern quantifiers controlling how many matches are returned
ANY At most one match (existence checking)
EACH All matches
Configurable pattern length restrictions limits the length and nature of
matches
SHORTEST Consider only shortest path (determined by length of path)
CHEAPEST Consider only cheapest path (determined by cost function in Path Pattern)
UNRESTRICTED
Pattern quantifiers and length restrictions
Extension: Schema
Principle of schema optionality
Extending the schema to ‘tighten up’ the data model
Some examples:
• Endpoint requirements; e.g. an :OWNS relationship may only end at a
node labelled with either :Vehicle or :Building
• Cardinality constraints; e.g. a :KNOWS relationship must occur no more
than 3 times between any two :Person-labelled nodes
Constraints
Thank you!
petra.selmer@neo4j.com

Mais conteúdo relacionado

Mais procurados

The Knowledge Graph Explosion
The Knowledge Graph ExplosionThe Knowledge Graph Explosion
The Knowledge Graph ExplosionNeo4j
 
Slides: Knowledge Graphs vs. Property Graphs
Slides: Knowledge Graphs vs. Property GraphsSlides: Knowledge Graphs vs. Property Graphs
Slides: Knowledge Graphs vs. Property GraphsDATAVERSITY
 
Introduction to Graph Databases
Introduction to Graph DatabasesIntroduction to Graph Databases
Introduction to Graph DatabasesDataStax
 
Introduction to Knowledge Graphs: Data Summit 2020
Introduction to Knowledge Graphs: Data Summit 2020Introduction to Knowledge Graphs: Data Summit 2020
Introduction to Knowledge Graphs: Data Summit 2020Enterprise Knowledge
 
Data Mess to Data Mesh | Jay Kreps, CEO, Confluent | Kafka Summit Americas 20...
Data Mess to Data Mesh | Jay Kreps, CEO, Confluent | Kafka Summit Americas 20...Data Mess to Data Mesh | Jay Kreps, CEO, Confluent | Kafka Summit Americas 20...
Data Mess to Data Mesh | Jay Kreps, CEO, Confluent | Kafka Summit Americas 20...HostedbyConfluent
 
Intro to Graphs and Neo4j
Intro to Graphs and Neo4jIntro to Graphs and Neo4j
Intro to Graphs and Neo4jjexp
 
Enterprise Architecture vs. Data Architecture
Enterprise Architecture vs. Data ArchitectureEnterprise Architecture vs. Data Architecture
Enterprise Architecture vs. Data ArchitectureDATAVERSITY
 
Graph Databases – Benefits and Risks
Graph Databases – Benefits and RisksGraph Databases – Benefits and Risks
Graph Databases – Benefits and RisksDATAVERSITY
 
ESWC 2017 Tutorial Knowledge Graphs
ESWC 2017 Tutorial Knowledge GraphsESWC 2017 Tutorial Knowledge Graphs
ESWC 2017 Tutorial Knowledge GraphsPeter Haase
 
Knowledge Graphs and Generative AI_GraphSummit Minneapolis Sept 20.pptx
Knowledge Graphs and Generative AI_GraphSummit Minneapolis Sept 20.pptxKnowledge Graphs and Generative AI_GraphSummit Minneapolis Sept 20.pptx
Knowledge Graphs and Generative AI_GraphSummit Minneapolis Sept 20.pptxNeo4j
 
Knowledge Graphs and Generative AI
Knowledge Graphs and Generative AIKnowledge Graphs and Generative AI
Knowledge Graphs and Generative AINeo4j
 
Introduction to Graph Databases
Introduction to Graph DatabasesIntroduction to Graph Databases
Introduction to Graph DatabasesMax De Marzi
 
Introduction to Knowledge Graphs
Introduction to Knowledge GraphsIntroduction to Knowledge Graphs
Introduction to Knowledge Graphsmukuljoshi
 
Debunking some “RDF vs. Property Graph” Alternative Facts
Debunking some “RDF vs. Property Graph” Alternative FactsDebunking some “RDF vs. Property Graph” Alternative Facts
Debunking some “RDF vs. Property Graph” Alternative FactsNeo4j
 
Data Catalog for Better Data Discovery and Governance
Data Catalog for Better Data Discovery and GovernanceData Catalog for Better Data Discovery and Governance
Data Catalog for Better Data Discovery and GovernanceDenodo
 
Graphs in Retail: Know Your Customers and Make Your Recommendations Engine Learn
Graphs in Retail: Know Your Customers and Make Your Recommendations Engine LearnGraphs in Retail: Know Your Customers and Make Your Recommendations Engine Learn
Graphs in Retail: Know Your Customers and Make Your Recommendations Engine LearnNeo4j
 
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
 
Data Mesh Part 4 Monolith to Mesh
Data Mesh Part 4 Monolith to MeshData Mesh Part 4 Monolith to Mesh
Data Mesh Part 4 Monolith to MeshJeffrey T. Pollock
 

Mais procurados (20)

The Knowledge Graph Explosion
The Knowledge Graph ExplosionThe Knowledge Graph Explosion
The Knowledge Graph Explosion
 
Slides: Knowledge Graphs vs. Property Graphs
Slides: Knowledge Graphs vs. Property GraphsSlides: Knowledge Graphs vs. Property Graphs
Slides: Knowledge Graphs vs. Property Graphs
 
Introduction to Graph Databases
Introduction to Graph DatabasesIntroduction to Graph Databases
Introduction to Graph Databases
 
Introduction to Knowledge Graphs: Data Summit 2020
Introduction to Knowledge Graphs: Data Summit 2020Introduction to Knowledge Graphs: Data Summit 2020
Introduction to Knowledge Graphs: Data Summit 2020
 
Graph databases
Graph databasesGraph databases
Graph databases
 
Enterprise Knowledge Graph
Enterprise Knowledge GraphEnterprise Knowledge Graph
Enterprise Knowledge Graph
 
Data Mess to Data Mesh | Jay Kreps, CEO, Confluent | Kafka Summit Americas 20...
Data Mess to Data Mesh | Jay Kreps, CEO, Confluent | Kafka Summit Americas 20...Data Mess to Data Mesh | Jay Kreps, CEO, Confluent | Kafka Summit Americas 20...
Data Mess to Data Mesh | Jay Kreps, CEO, Confluent | Kafka Summit Americas 20...
 
Intro to Graphs and Neo4j
Intro to Graphs and Neo4jIntro to Graphs and Neo4j
Intro to Graphs and Neo4j
 
Enterprise Architecture vs. Data Architecture
Enterprise Architecture vs. Data ArchitectureEnterprise Architecture vs. Data Architecture
Enterprise Architecture vs. Data Architecture
 
Graph Databases – Benefits and Risks
Graph Databases – Benefits and RisksGraph Databases – Benefits and Risks
Graph Databases – Benefits and Risks
 
ESWC 2017 Tutorial Knowledge Graphs
ESWC 2017 Tutorial Knowledge GraphsESWC 2017 Tutorial Knowledge Graphs
ESWC 2017 Tutorial Knowledge Graphs
 
Knowledge Graphs and Generative AI_GraphSummit Minneapolis Sept 20.pptx
Knowledge Graphs and Generative AI_GraphSummit Minneapolis Sept 20.pptxKnowledge Graphs and Generative AI_GraphSummit Minneapolis Sept 20.pptx
Knowledge Graphs and Generative AI_GraphSummit Minneapolis Sept 20.pptx
 
Knowledge Graphs and Generative AI
Knowledge Graphs and Generative AIKnowledge Graphs and Generative AI
Knowledge Graphs and Generative AI
 
Introduction to Graph Databases
Introduction to Graph DatabasesIntroduction to Graph Databases
Introduction to Graph Databases
 
Introduction to Knowledge Graphs
Introduction to Knowledge GraphsIntroduction to Knowledge Graphs
Introduction to Knowledge Graphs
 
Debunking some “RDF vs. Property Graph” Alternative Facts
Debunking some “RDF vs. Property Graph” Alternative FactsDebunking some “RDF vs. Property Graph” Alternative Facts
Debunking some “RDF vs. Property Graph” Alternative Facts
 
Data Catalog for Better Data Discovery and Governance
Data Catalog for Better Data Discovery and GovernanceData Catalog for Better Data Discovery and Governance
Data Catalog for Better Data Discovery and Governance
 
Graphs in Retail: Know Your Customers and Make Your Recommendations Engine Learn
Graphs in Retail: Know Your Customers and Make Your Recommendations Engine LearnGraphs in Retail: Know Your Customers and Make Your Recommendations Engine Learn
Graphs in Retail: Know Your Customers and Make Your Recommendations Engine Learn
 
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...
 
Data Mesh Part 4 Monolith to Mesh
Data Mesh Part 4 Monolith to MeshData Mesh Part 4 Monolith to Mesh
Data Mesh Part 4 Monolith to Mesh
 

Semelhante a Knowledge Graphs - The Power of Graph-Based Search

Democratizing Data at Airbnb
Democratizing Data at AirbnbDemocratizing Data at Airbnb
Democratizing Data at AirbnbNeo4j
 
How Graph Databases used in Police Department?
How Graph Databases used in Police Department?How Graph Databases used in Police Department?
How Graph Databases used in Police Department?Samet KILICTAS
 
Göteborg university(condensed)
Göteborg university(condensed)Göteborg university(condensed)
Göteborg university(condensed)Zenodia Charpy
 
3. Relationships Matter: Using Connected Data for Better Machine Learning
3. Relationships Matter: Using Connected Data for Better Machine Learning3. Relationships Matter: Using Connected Data for Better Machine Learning
3. Relationships Matter: Using Connected Data for Better Machine LearningNeo4j
 
KDD, Data Mining, Data Science_I.pptx
KDD, Data Mining, Data Science_I.pptxKDD, Data Mining, Data Science_I.pptx
KDD, Data Mining, Data Science_I.pptxYogeshGairola2
 
Lecture-1-Introduction-to-Data-Mining.pdf
Lecture-1-Introduction-to-Data-Mining.pdfLecture-1-Introduction-to-Data-Mining.pdf
Lecture-1-Introduction-to-Data-Mining.pdfJojo314349
 
Qda ces 2013 toronto workshop
Qda ces 2013 toronto workshopQda ces 2013 toronto workshop
Qda ces 2013 toronto workshopCesToronto
 
Social Network Analysis Introduction including Data Structure Graph overview.
Social Network Analysis Introduction including Data Structure Graph overview. Social Network Analysis Introduction including Data Structure Graph overview.
Social Network Analysis Introduction including Data Structure Graph overview. Doug Needham
 
Dynamic Search Using Semantics & Statistics
Dynamic Search Using Semantics & StatisticsDynamic Search Using Semantics & Statistics
Dynamic Search Using Semantics & StatisticsPaul Hofmann
 
Mca i unit part 501 dm
Mca i unit part 501 dmMca i unit part 501 dm
Mca i unit part 501 dmneeraj365
 
Sherlock a deep learning approach to semantic data type dete
Sherlock a deep learning approach to semantic data type deteSherlock a deep learning approach to semantic data type dete
Sherlock a deep learning approach to semantic data type detemayank272369
 
Data mining-2
Data mining-2Data mining-2
Data mining-2Nit Hik
 
Data science training in hyderabad
Data science training in hyderabadData science training in hyderabad
Data science training in hyderabadGeohedrick
 
Research methodology-Research Report
Research methodology-Research ReportResearch methodology-Research Report
Research methodology-Research ReportDrMAlagupriyasafiq
 
Research Methodology-Data Processing
Research Methodology-Data ProcessingResearch Methodology-Data Processing
Research Methodology-Data ProcessingDrMAlagupriyasafiq
 
Data mining , Knowledge Discovery Process, Classification
Data mining , Knowledge Discovery Process, ClassificationData mining , Knowledge Discovery Process, Classification
Data mining , Knowledge Discovery Process, ClassificationDr. Abdul Ahad Abro
 
Introduction to Data Science With R Notes
Introduction to Data Science With R NotesIntroduction to Data Science With R Notes
Introduction to Data Science With R NotesLakshmiSarvani6
 

Semelhante a Knowledge Graphs - The Power of Graph-Based Search (20)

Democratizing Data at Airbnb
Democratizing Data at AirbnbDemocratizing Data at Airbnb
Democratizing Data at Airbnb
 
How Graph Databases used in Police Department?
How Graph Databases used in Police Department?How Graph Databases used in Police Department?
How Graph Databases used in Police Department?
 
Göteborg university(condensed)
Göteborg university(condensed)Göteborg university(condensed)
Göteborg university(condensed)
 
3. Relationships Matter: Using Connected Data for Better Machine Learning
3. Relationships Matter: Using Connected Data for Better Machine Learning3. Relationships Matter: Using Connected Data for Better Machine Learning
3. Relationships Matter: Using Connected Data for Better Machine Learning
 
KDD, Data Mining, Data Science_I.pptx
KDD, Data Mining, Data Science_I.pptxKDD, Data Mining, Data Science_I.pptx
KDD, Data Mining, Data Science_I.pptx
 
Lecture-1-Introduction-to-Data-Mining.pdf
Lecture-1-Introduction-to-Data-Mining.pdfLecture-1-Introduction-to-Data-Mining.pdf
Lecture-1-Introduction-to-Data-Mining.pdf
 
Qda ces 2013 toronto workshop
Qda ces 2013 toronto workshopQda ces 2013 toronto workshop
Qda ces 2013 toronto workshop
 
Social Network Analysis Introduction including Data Structure Graph overview.
Social Network Analysis Introduction including Data Structure Graph overview. Social Network Analysis Introduction including Data Structure Graph overview.
Social Network Analysis Introduction including Data Structure Graph overview.
 
Dynamic Search Using Semantics & Statistics
Dynamic Search Using Semantics & StatisticsDynamic Search Using Semantics & Statistics
Dynamic Search Using Semantics & Statistics
 
Mca i unit part 501 dm
Mca i unit part 501 dmMca i unit part 501 dm
Mca i unit part 501 dm
 
Sherlock a deep learning approach to semantic data type dete
Sherlock a deep learning approach to semantic data type deteSherlock a deep learning approach to semantic data type dete
Sherlock a deep learning approach to semantic data type dete
 
Data-Mining-2.ppt
Data-Mining-2.pptData-Mining-2.ppt
Data-Mining-2.ppt
 
Data mining-2
Data mining-2Data mining-2
Data mining-2
 
Data science training in hyderabad
Data science training in hyderabadData science training in hyderabad
Data science training in hyderabad
 
Research methodology-Research Report
Research methodology-Research ReportResearch methodology-Research Report
Research methodology-Research Report
 
Research Methodology-Data Processing
Research Methodology-Data ProcessingResearch Methodology-Data Processing
Research Methodology-Data Processing
 
Bigdataanalytics
BigdataanalyticsBigdataanalytics
Bigdataanalytics
 
Big Data Analytics
Big Data AnalyticsBig Data Analytics
Big Data Analytics
 
Data mining , Knowledge Discovery Process, Classification
Data mining , Knowledge Discovery Process, ClassificationData mining , Knowledge Discovery Process, Classification
Data mining , Knowledge Discovery Process, Classification
 
Introduction to Data Science With R Notes
Introduction to Data Science With R NotesIntroduction to Data Science With R Notes
Introduction to Data Science With R Notes
 

Mais de Neo4j

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

Mais de Neo4j (20)

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

Último

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 

Último (20)

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 

Knowledge Graphs - The Power of Graph-Based Search

  • 1. Knowledge Graphs: The Power of Graph-Based Search Petra Selmer Query Languages Standards & Research Group petra.selmer@neo4j.com 19 September 2018
  • 2. The property graph data model Introduction to Neo4j Knowledge Graphs Background What is a Knowledge Graph? How do they work in Neo4j? Tools and techniques: a quick tour Graph Search through Cypher Outline
  • 3. The property graph data model
  • 4. Underlying construct is a graph Nodes: represent entities of interest (vertices) Relationships: connections between nodes (edges) • Relate nodes by type and direction • Add structure to the graph • Provide semantic context for nodes Properties: key-value pairs (map) representing the data The property graph data model
  • 5. A node may have 0 or more labels • E.g. Person, Appliance, Teacher A relationship must have a type and direction • E.g. KNOWS, LIKES A node or relationship may have 0 or more properties • E.g. name: ‘John’ The property graph data model
  • 6. The topology is as important as the data
  • 8. NASA Knowledge repository for previous missions - root cause analysis Panama Papers How was money flowing through companies and individuals? Some well-known use cases
  • 10. Neo4j is an enterprise-grade native graph platform enabling you to: • Store, reveal and query connections within your data • Traverse and analyze any level of depth in real time • Add context and connect new data on the fly Consumers of connected data
  • 15. Organizations have difficulty maintaining their corporate memory owing to a variety of reasons: • Growth which drives need for new and continuous education • Turnover where long-term knowledge is lost • Ageing infrastructures and siloed information The Knowledge Graph problem
  • 16. Lack of knowledge sharing slows project progress, and creates inconsistencies even among team members. Organizations don’t know what they don’t know, nor do they know what they know. Data scientists, and therefore the organization, are slow to recognize or react to changing market conditions, so they miss opportunities to innovate Bad information is spread inadvertently which erodes corporate trust Negative consequences
  • 17. The next wave of competitive advantage will be all about using connections to identify and build knowledge Knowledge Graphs in the Age of Connections
  • 18. 2. What is a Knowledge Graph?
  • 19. Enriching graphs with more and more data (raw or derived) over time...
  • 20. Enriching graphs with more and more data (raw or derived) over time... ...resulting in a graph that has more detail, context, truth, intelligence and semantics...
  • 21. Enriching graphs with more and more data (raw or derived) over time... ...resulting in a graph that has more detail, context, truth, intelligence and semantics… ...capturing the real world (your ecosystem) more precisely and more comprehensively...
  • 22. Enriching graphs with more and more data (raw or derived) over time... ...resulting in a graph that has more detail, context, truth, intelligence and semantics… ...capturing the real world (your ecosystem) more precisely and more comprehensively… ...so that the information captured in the graph can be searched for in a meaningful way...
  • 23. Enriching graphs with more and more data (raw or derived) over time... ...resulting in a graph that has more detail, context, truth, intelligence and semantics… ...capturing the real world (your ecosystem) more precisely and more comprehensively… ...so that the information captured in the graph can be searched for in a meaningful way… ...yielding KNOWLEDGE, both directly and indirectly (new insights are discovered)
  • 24. A 360 degree-view of: • any entity of interest, • auxiliary entities, • and the processes that surround these Example: • Customers • Products, orders, reviews, delivery, … • Purchasing, fulfilment, order management, shipping, … Knowledge Graphs provide:
  • 25. Give answers about things it knows about Explain why and how the answer was returned from the context and structure within the graph Knowledge Graphs can:
  • 26. Knowledge Graphs must be searchable* *more on this later
  • 27. 3. How do they work in Neo4j?
  • 28. Connecting roles in the enterprise
  • 29. Data lives across the enterprise
  • 30. Recommendations require an operational workload
  • 31.
  • 35. Information, especially in analytics, research departments and customer service should have a searchable, consistent repository, or representation of a repository, from which to store and draw institutional knowledge. Corporations who maintain a knowledge graph will develop higher degrees of consistency across all areas of business. The goals
  • 36. Institutional memory requires a solution that can integrate diverse data sets, often in text due to the legacy nature of that information and return “context” as a result Connections and relationships, cause and effect correlation needs to be materialized and persisted permanently All information must be indexed, searchable and shareable The solution must be agile, easily expandable and adaptable to changing business conditions The solution needs to be a combination of text-based NLP, ElasticSearch and Graphs. Information must be easy to visualize and leverage in your processes and workflows What’s required to get there
  • 38. 4. Tools & techniques: a whistle-stop tour
  • 39. NLP (Natural Language Processing): understanding human language (for the purposes of information extraction) Parsing unstructured data (usually text) to extract entities, their attributes or properties and the relationships between entities Named entity recognition: identify entities and categorise them; e.g. “Daniel Craig” is a Person and an Actor Tools & techniques: enriching the data
  • 40. NLP (Natural Language Processing): [continued…] Entity disambiguation: how to determine which entity is being referred to; e.g. “Amazon” can be the rainforest in South America, or the online store Sentiment analysis: identifying the mood/attitude/emotion of a statement Tools & techniques: enriching the data
  • 41. Provenance and lineage of data: • How/from where the data was derived or obtained • This adds to data veracity and quality Tools & techniques: enriching the data
  • 42. Inferencing / deriving new facts from machine learning APOC: ~450 procedures and user-defined functions helping with data integration, graph algorithms, data conversions etc https://github.com/neo4j-contrib/neo4j-apoc-procedures Graph algorithms library (highly-parallelized & efficient): centralities (PageRank, betweenness…), community detection, path finding etc https://github.com/neo4j-contrib/neo4j-graph-algorithms In constant development; links with academic institutions for cutting-edge optimization techniques Tools & techniques: enriching the data
  • 43. Inferencing / deriving new facts: deductive method (from a knowledge base, rules engine or ontology) Rules: If a node X has (i) a :Person label and (ii) there is an outgoing TEACHES relationship, then add a :Teacher label to X Tools & techniques: enriching the data
  • 44. Inferencing / deriving new facts: deductive method [continued..] Use external data sources to obtain new facts; e.g. hook into a thesaurus to deduce/derive synonyms (ConceptNet, WordNet, ..) Use the graph to deduce a set of rules (or begin with a seed set, using ML) which enrich the graph, and subsequently enrich the rules as more data gets added to the graph: feedback loop Tools & techniques: enriching the data
  • 46. A declarative graph pattern matching language for property graphs SQL-like syntax DQL for reading data (focus of this section) DML for creating, updating and deleting data DDL for creating constraints and indexes Relationship-centric querying Recursive querying Variable-length relationship chains Returning paths Introducing Cypher This is at the heart of Cypher http://www.opencypher.org/cips
  • 47. Searching for (matching) graph patterns Specifying the pattern to match Specifying the data to be returned
  • 48. // Pattern description (ASCII art) MATCH (me:Person)-[:FRIEND]->(friend) // Filtering with predicates WHERE me.name = ‘Frank Black’ AND friend.age > me.age // Projection of expressions RETURN toUpper(friend.name) AS name, friend.title AS title // Order results ORDER BY name, title DESC Variable-length relationship patterns MATCH (me)-[:FRIEND*]-(foaf) // Traverse 1 or more FRIEND relationships MATCH (me)-[:FRIEND*2..4]-(foaf) // Traverse 2 to 4 FRIEND relationships // Path binding returns all paths (p) MATCH p = (a)-[:ONE]-()-[:TWO]-()-[:THREE]-() // Each path is a list containing the constituent nodes and relationships, in order RETURN p DQL: reading data Input: a property graph Output: a table This tells you why the answer was returned (going back to the context a Knowledge Graph provides)
  • 49. Extension: Multiple graphs and query composition
  • 50. Cypher today: a single graph model Graph Database System (e.g. a cluster) The (single) Graph Application Server Client 1 Client 2 Client 3
  • 51. Cypher: multiple graphs model Graph Database System (e.g. a cluster) Multiple Graphs Application Server Client 1 Client 2 Client 3
  • 52. Accept multiple graphs and a table as input Return multiple graphs and a table Chain queries to form a query pipeline Subquery support Use cases: create new graphs (either from scratch or from existing graphs), combining and transforming graphs from multiple sources, views, access control, snapshot graphs, roll-up and drill-down operations, ... Multiple graphs & query composition
  • 53. The output of one query can be used as the input to another Organize a query into multiple parts Extract parts of a query to a view for re-use Replace parts of a query without affecting other parts Build complex workflows programmatically Query composition
  • 55. “Patterns of patterns” Regular path queries (RPQs) Long academic history Can specify a path by means of a regular expression over the relationship types (allowing for nesting of patterns) X, knows.(likes.eats|drinks)+, Y Find a path whose edge labels conform to the regular expression, starting at node X and ending at node Y Complex path patterns Concatenation a.b - a is followed by b Alternation a|b - either a or b Transitive closure * - 0 or more + - 1 or more {m, n} - at least m, at most n Optionality: ? - 0 or 1 Grouping/nesting () - allows nesting/defines scope
  • 56. Find complex connections Increase in the need to express “nested patterns”; in particular: (a.b)* Property graph data model: Properties need to be considered Node labels need to be considered Specifying a cost for paths (ordering and comparing) Path Pattern Queries in Cypher https://github.com/thobe/openCypher/blob/rpq/cip/1.accepted/CIP2017-02-06-Path-Patterns.adoc
  • 57. PATH PATTERN older_friends = (a)-[:FRIEND]-(b) WHERE b.age > a.age MATCH p=(me)-/~older_friends+/-(you) WHERE me.name = $myName AND you.name = $yourName RETURN p AS friendship Path Pattern: example
  • 59. MATCH (p:Person {name: Jack})-[r1:FRIEND]-()-[r2:FRIEND]-(friend_of_a_friend) RETURN friend_of_a_friend.name AS fofName +---------+ | fofName | +---------+ | “Tom” | +---------+ Cypher today :Person { name : Jack } :Person { name : Anne } :Person { name : Tom } :FRIEND :FRIEND Usefulness proven in practice over multiple industrial verticals r1 and r2 may not be bound to the same relationship within the same pattern Rationale was to avoid potentially returning infinite results for varlength patterns when matching graphs containing cycles (this would have been different if we were just checking for the existence of a path) r1 r2
  • 60. All the *morphisms All forms are valid in different scenarios The user can configure which semantics they wish to use at a query level
  • 61. Configurable pattern quantifiers controlling how many matches are returned ANY At most one match (existence checking) EACH All matches Configurable pattern length restrictions limits the length and nature of matches SHORTEST Consider only shortest path (determined by length of path) CHEAPEST Consider only cheapest path (determined by cost function in Path Pattern) UNRESTRICTED Pattern quantifiers and length restrictions
  • 63. Principle of schema optionality Extending the schema to ‘tighten up’ the data model Some examples: • Endpoint requirements; e.g. an :OWNS relationship may only end at a node labelled with either :Vehicle or :Building • Cardinality constraints; e.g. a :KNOWS relationship must occur no more than 3 times between any two :Person-labelled nodes Constraints