SlideShare a Scribd company logo
1 of 21
Download to read offline
Large Scale Graph Analytics
with RDF and LPG Parallel Processing
Presenter:
Barry Zane, VP Engineering
©2018 Cambridge Semantics Inc. All rights reserved.
Agenda
•Quick Review of RDF/SPARQL
•International W3C standard
•Making RDF/SPARQL a full Property Graph database
•Now better than other Property Graph approaches
•OLAP systems complimentary to OLTP systems
•One size does not fit all - you need OLTP for end-user transactions, OLAP
for analytics
•Features needed in OLAP systems not found in OLTP systems
•Big data is about inferences and aggregate insights
©2018 Cambridge Semantics Inc. All rights reserved.
Quick Review of W3C Standard RDF/SPARQL 1.1
•RDF - Resource Description Framework
•Atomic “triples” describe anything
•Subject, Predicate, Object
•<Jack> <wentUp> <TheHill>
•SPARQL - SPARQL Protocol and RDF Query Language
•Declarative, like SQL
•As expressive as SQL
•Can do things SQL can’t do
•Multi-Graph
• Could use more SQL-like Analytics
• Could use more Graph Algorithms
•Needs a better way to describe properties of edges!
©2018 Cambridge Semantics Inc. All rights reserved.
A Basic Graph
3 Vertexes, 3 Edges
friendOf
wentUp
isA: <Man>
birthday: 09/17/1975
Jack isA: <Woman>
Jill
TheHill
isA: <Place>
has: Water
has: Trees
partOf: <TheMountain>
wentUp
Subject Predicate Object
<Jack> <isA> <Man>
<Jack> <Birthday> “09/17/1975”^^date
<Jack> <friendOf> <Jill>
<Jack> <wentUp> <TheHill>
<Jill> <isA> <Woman>
<Jill> <wentUp> <TheHill>
<TheHill> <isA> <Place>
<TheHill> <has> “Water”
<TheHill> <has> “Trees”
<TheHill> <partOf> <TheMountain>
<Man> <subClassOf> <Human>
<Man> <gender> “Male”
<Woman> <subClassOf> <Human>
<Woman> <gender> “Female”
<friendOf> <property> “Reflexive”
<Human> <subClassOf> <Animal>
Everything is an atomic Triple that specify properties on Entities
©2018 Cambridge Semantics Inc. All rights reserved.
Let’s Add Edge Properties
friendOf
metAt=<TheHill>
metDate=07/04/2018
wentUp
date=‘today’
isA: <Man>
birthday: 09/17/1975
Jack isA: <Woman>
Jill
TheHill
isA: <Place>
has: Water
has: Trees
partOf: <TheMountain>
wentUp
date=‘today’
Since triples specify properties
on Vertexes, how to we specify
properties on Edges…
… how do we specify properties
on triples?
©2018 Cambridge Semantics Inc. All rights reserved.
The “Reification” Approach to Properties - Don’t Do This!
•Mathematically Pure
•Hard to Write Queries
•Wastes Storage
•Runs Slowly
Subject Predicate Object
<Jack> <isA> <Man>
<Jack> <Birthday> “09/17/1975”^^date
<Jack> <friendOf> <Jill>
<Jack> <wentUp> <TheHill>
Subject Predicate Object
<Jack> <isA> <Man>
<Jack> <Birthday> “09/17/1975”^^date
<Relationship1> <subject> <Jack>
<Relationship1> <predicate> <friendOf>
<Relationship1> <object> <Jill>
<Relationship1> <metAt> <TheHill>
<Relationship1> <metDate> “07/14/2018”
<Activity1> <subject> <Jack>
<Activity1> <predicate> <wentUp>
<Activity1> <object> <TheHill>
<Activity1> <date> “today”
We’ve turned verbs “likes” and “wentUp” into noun-sets “Relationship1” and “Activity1” !!!
In other words, these edges become vertexes.
©2018 Cambridge Semantics Inc. All rights reserved.
©2018 Cambridge Semantics Inc. All rights reserved.
RDF* (aka Reification Done Right) and SPARQL*
friendOf
metAt=<TheHill>
metDate=07/04/2018
wentUp
date=‘today’
isA: <Man>
birthday: 09/17/1975
Jack isA: <Woman>
Jill
TheHill
isA: <Place>
has: Water
has: Trees
partOf: <TheMountain>
wentUp
date=‘today’
Subject Predicate Object
<Jack> <isA> <Man>
<Jack> <Birthday> “09/17/1975”^^date
<Jack> <friendOf> <Jill>
<<<Jack> <friendOf> <Jill>>> <metAt> <TheHill>
<<<Jack> <friendOf> <Jill>>> <metDate> “07/04/2018”^^date
<Jack> <wentUp> <TheHill>
<<<Jack> <wentUp> <TheHill>>> <date> “today”^^date
<Jill> <isA> <Woman>
<Jill> <wentUp> <TheHill>
<<<Jill> <wentUp> <TheHill>>> <date> “today”^^date
<TheHill> <isA> <Place>
<TheHill> <has> “Water”
<TheHill> <has> “Trees”
<TheHill> <partOf> <TheMountain>
<Man> <subClassOf> <Human>
<Man> <gender> “Male”
<Woman> <subClassOf> <Human>
<Woman> <gender> “Female”
<likes> <property> “Reflexive”
<Human> <subClassOf> <Animal>
©2018 Cambridge Semantics Inc. All rights reserved.
Even More Powerful Than Other Property Graph Approaches
isA: <Man>
birthday: 09/17/1975 AccordingTo: MotherGoose
birthday: 06/12/1975 AccordingTo: Aesop
birthday: 06/12/1975 AccordingTo: Grimm
Jack
Subject Predicate Object
<Jack> <isA> <Man>
<Jack> <birthday> “09/17/1975”^^date
<Jack> <birthday> “06/12/1975”^^date
<<<Jack> <birthday> 09/17/1975>> <accordingTo><MotherGoose
>
<<<Jack> <birthday> 06/12/1975>> <accordingTo><Aesop>
<<<Jack> <birthday> 06/12/1975>> <accordingTo><Grimm>
Properties, such as provenance,
can be applied to Vertexes,
not just edges!!!
©2018 Cambridge Semantics Inc. All rights reserved.
RDF*/SPARQL* Acknowledgements
•Extends RDF and SPARQL - https://www.w3.org/TR/sparql11-query/
•Specification and Model Created by:
•Olaf Hartig, Linköping University, Sweden
•Bryan Thompson
•First implemented by Blazegraph
•https://arxiv.org/pdf/1406.3399.pdf
•https://arxiv.org/pdf/1409.3288.pdf
•AnzoGraph is the first OLAP-oriented Graph Database to use this approach for handling rich
data
©2018 Cambridge Semantics Inc. All rights reserved.
Inferences - RDFS, RDFS+, OWL
friendOf
wentUp
isA: <Man>
birthday: 09/17/1975
gender: Male
isA: Human
Jack
isA: <Woman>
gender: Female
isA: Human
Jill
TheHill
isA: <Place>
has: Water
has: Trees
partOf: <TheMountain>
wentUp
Everything is an atomic Triple that specify properties on Entities
friendOf
•Automatically adds new triples.
•Triggered and controlled by other
triples in the dataset
•RDFS - Basic Inferences
•RDFS+ - Popular Extensions
•OWL - Most complete
•Used for:
•Simplifying queries
•Harmonizing datasets
•Formalizing relationships
•Keeps load files normalized
•Denormalization
©2018 Cambridge Semantics Inc. All rights reserved.
How OLAP Adds to the OLTP World
•Key functionality
•Windowed Aggregates
•CUBE, ROLLUP, Grouping Sets
•80+ added scalar functions and aggregates
•Named Queries for re-use of prior work
•Views for re-use and providing alternate perspectives
•Native, Parallel Processing for Query Performance
•“Tell me about populations and trends”
•Not just “Tell me about Jack”
©2018 Cambridge Semantics Inc. All rights reserved.
Where the rubber meets the road…
•Let’s write some queries!!!
•Anzo customers generally use the “point and click” interface of Anzo
HiRes to automatically write their queries.
•AnzoGraph customers write SPARQL* queries, so let’s do so…
•There will not be a quiz.
©2018 Cambridge Semantics Inc. All rights reserved.
Example OLTP Queries (1)
SELECT $person $place
WHERE {
$person <wentUp> $place
}
person | place
--------+---------
Jack | TheHill
Jill | TheHill
Who went up places? (generic search)
How are Jack and Jill related? (OLTP)
SELECT $relationship
WHERE {
<Jack> $relationship <Jill>
}
relationship
--------------
friendOf
©2018 Cambridge Semantics Inc. All rights reserved.
Example OLAP Queries (2)
What are the most common relationships among people? (OLAP, Inference)
SELECT $relationship (COUNT(*) AS $count)
WHERE {
$person1 <isA> <Human> .
$person2 <isA> <Human> .
$person1 $relationship $person2
}
GROUP BY $relationship
ORDER BY DESC($count) LIMIT 10
relationship | count
--------------+-------
friendOf | 2
What are the most popular dates to go places? (OLAP, RDF*)
date | count | place
------------+-------+---------
2018-09-15 | 2 | TheHill
SELECT $date (COUNT(*) AS $count) $place
WHERE {
<< $person <wentUp> $place >> <date> $date
}
GROUP BY $place $date
ORDER BY DESC($count) LIMIT 10
©2018 Cambridge Semantics Inc. All rights reserved.
Example Graph Algorithm Query (3)
Who are the most popular people? (PageRank)
SELECT $person $rank
FROM <tickit>
WHERE {
SERVICE <csi:page_rank> {
[] <csi:binding-vertex> $person;
<csi:binding-rank> $rank;
<csi:edge-label> <friend>;
<csi:max-iterations> 20;
}
}
ORDER BY DESC($rank) $person
LIMIT 5
person | rank
-------------+----------
person23501 | 1.807055
person16101 | 1.748871
person3083 | 1.746725
person19289 | 1.736759
person36749 | 1.731948
©2018 Cambridge Semantics Inc. All rights reserved.
What Did We Learn?
•RDF/SPARQL is an International W3C Standard that describes how
Graph Databases should be managed and queried.
•The RDF*/SPARQL* extensions to the standard make RDF/SPARQL
databases even more capable.
•One size does not fit all - you need OLTP for end-user transactions,
OLAP for analytics
•OLAP database systems require capabilities irrelevant to OLTP
databases.
©2018 Cambridge Semantics Inc. All rights reserved.
Next Step: Download free 60-day trial at AnzoGraph.com
©2017 Cambridge Semantics Inc. All rights reserved.
Questions?

More Related Content

What's hot

NoSQL: what does it mean, how did we get here, and why should I care? - Hugo ...
NoSQL: what does it mean, how did we get here, and why should I care? - Hugo ...NoSQL: what does it mean, how did we get here, and why should I care? - Hugo ...
NoSQL: what does it mean, how did we get here, and why should I care? - Hugo ...South London Geek Nights
 
Vital.AI Creating Intelligent Apps
Vital.AI Creating Intelligent AppsVital.AI Creating Intelligent Apps
Vital.AI Creating Intelligent AppsVital.AI
 
Building, and communicating, a knowledge graph in Zalando
Building, and communicating, a knowledge graph in ZalandoBuilding, and communicating, a knowledge graph in Zalando
Building, and communicating, a knowledge graph in ZalandoConnected Data World
 
Vital AI MetaQL: Queries Across NoSQL, SQL, Sparql, and Spark
Vital AI MetaQL: Queries Across NoSQL, SQL, Sparql, and SparkVital AI MetaQL: Queries Across NoSQL, SQL, Sparql, and Spark
Vital AI MetaQL: Queries Across NoSQL, SQL, Sparql, and SparkVital.AI
 
Moving to a data-centric architecture: Toronto Data Unconference 2015
Moving to a data-centric architecture: Toronto Data Unconference 2015Moving to a data-centric architecture: Toronto Data Unconference 2015
Moving to a data-centric architecture: Toronto Data Unconference 2015Adam Muise
 
An Introduction to NOSQL, Graph Databases and Neo4j
An Introduction to NOSQL, Graph Databases and Neo4jAn Introduction to NOSQL, Graph Databases and Neo4j
An Introduction to NOSQL, Graph Databases and Neo4jDebanjan Mahata
 
Exploring the Great Olympian Graph
Exploring the Great Olympian GraphExploring the Great Olympian Graph
Exploring the Great Olympian GraphNeo4j
 
Supporting GDPR Compliance through effectively governing Data Lineage and Dat...
Supporting GDPR Compliance through effectively governing Data Lineage and Dat...Supporting GDPR Compliance through effectively governing Data Lineage and Dat...
Supporting GDPR Compliance through effectively governing Data Lineage and Dat...Connected Data World
 
2017-01-08-scaling tribalknowledge
2017-01-08-scaling tribalknowledge2017-01-08-scaling tribalknowledge
2017-01-08-scaling tribalknowledgeChristopher Williams
 
Strata sf - Amundsen presentation
Strata sf - Amundsen presentationStrata sf - Amundsen presentation
Strata sf - Amundsen presentationTao Feng
 
What you need to know to start an AI company?
What you need to know to start an AI company?What you need to know to start an AI company?
What you need to know to start an AI company?Mo Patel
 
Network and IT Operations
Network and IT OperationsNetwork and IT Operations
Network and IT OperationsNeo4j
 
Einführung in Neo4j
Einführung in Neo4jEinführung in Neo4j
Einführung in Neo4jNeo4j
 
Graphs for Enterprise Architects
Graphs for Enterprise ArchitectsGraphs for Enterprise Architects
Graphs for Enterprise ArchitectsNeo4j
 
Oracle big data spatial and graph
Oracle big data spatial and graphOracle big data spatial and graph
Oracle big data spatial and graphdyahalom
 
Graphs in Action
Graphs in ActionGraphs in Action
Graphs in ActionNeo4j
 
RDBMS to Graph Webinar
RDBMS to Graph WebinarRDBMS to Graph Webinar
RDBMS to Graph WebinarNeo4j
 
Integrating Semantic Web with the Real World - A Journey between Two Cities ...
Integrating Semantic Web with the Real World  - A Journey between Two Cities ...Integrating Semantic Web with the Real World  - A Journey between Two Cities ...
Integrating Semantic Web with the Real World - A Journey between Two Cities ...Juan Sequeda
 
Implementing and running a secure datalake from the trenches
Implementing and running a secure datalake from the trenches Implementing and running a secure datalake from the trenches
Implementing and running a secure datalake from the trenches DataWorks Summit
 

What's hot (20)

NoSQL: what does it mean, how did we get here, and why should I care? - Hugo ...
NoSQL: what does it mean, how did we get here, and why should I care? - Hugo ...NoSQL: what does it mean, how did we get here, and why should I care? - Hugo ...
NoSQL: what does it mean, how did we get here, and why should I care? - Hugo ...
 
InfiniteGraph
InfiniteGraphInfiniteGraph
InfiniteGraph
 
Vital.AI Creating Intelligent Apps
Vital.AI Creating Intelligent AppsVital.AI Creating Intelligent Apps
Vital.AI Creating Intelligent Apps
 
Building, and communicating, a knowledge graph in Zalando
Building, and communicating, a knowledge graph in ZalandoBuilding, and communicating, a knowledge graph in Zalando
Building, and communicating, a knowledge graph in Zalando
 
Vital AI MetaQL: Queries Across NoSQL, SQL, Sparql, and Spark
Vital AI MetaQL: Queries Across NoSQL, SQL, Sparql, and SparkVital AI MetaQL: Queries Across NoSQL, SQL, Sparql, and Spark
Vital AI MetaQL: Queries Across NoSQL, SQL, Sparql, and Spark
 
Moving to a data-centric architecture: Toronto Data Unconference 2015
Moving to a data-centric architecture: Toronto Data Unconference 2015Moving to a data-centric architecture: Toronto Data Unconference 2015
Moving to a data-centric architecture: Toronto Data Unconference 2015
 
An Introduction to NOSQL, Graph Databases and Neo4j
An Introduction to NOSQL, Graph Databases and Neo4jAn Introduction to NOSQL, Graph Databases and Neo4j
An Introduction to NOSQL, Graph Databases and Neo4j
 
Exploring the Great Olympian Graph
Exploring the Great Olympian GraphExploring the Great Olympian Graph
Exploring the Great Olympian Graph
 
Supporting GDPR Compliance through effectively governing Data Lineage and Dat...
Supporting GDPR Compliance through effectively governing Data Lineage and Dat...Supporting GDPR Compliance through effectively governing Data Lineage and Dat...
Supporting GDPR Compliance through effectively governing Data Lineage and Dat...
 
2017-01-08-scaling tribalknowledge
2017-01-08-scaling tribalknowledge2017-01-08-scaling tribalknowledge
2017-01-08-scaling tribalknowledge
 
Strata sf - Amundsen presentation
Strata sf - Amundsen presentationStrata sf - Amundsen presentation
Strata sf - Amundsen presentation
 
What you need to know to start an AI company?
What you need to know to start an AI company?What you need to know to start an AI company?
What you need to know to start an AI company?
 
Network and IT Operations
Network and IT OperationsNetwork and IT Operations
Network and IT Operations
 
Einführung in Neo4j
Einführung in Neo4jEinführung in Neo4j
Einführung in Neo4j
 
Graphs for Enterprise Architects
Graphs for Enterprise ArchitectsGraphs for Enterprise Architects
Graphs for Enterprise Architects
 
Oracle big data spatial and graph
Oracle big data spatial and graphOracle big data spatial and graph
Oracle big data spatial and graph
 
Graphs in Action
Graphs in ActionGraphs in Action
Graphs in Action
 
RDBMS to Graph Webinar
RDBMS to Graph WebinarRDBMS to Graph Webinar
RDBMS to Graph Webinar
 
Integrating Semantic Web with the Real World - A Journey between Two Cities ...
Integrating Semantic Web with the Real World  - A Journey between Two Cities ...Integrating Semantic Web with the Real World  - A Journey between Two Cities ...
Integrating Semantic Web with the Real World - A Journey between Two Cities ...
 
Implementing and running a secure datalake from the trenches
Implementing and running a secure datalake from the trenches Implementing and running a secure datalake from the trenches
Implementing and running a secure datalake from the trenches
 

Similar to Large Scale Graph Analytics with RDF and LPG Parallel Processing

Should a Graph Database Be in Your Next Data Warehouse Stack?
Should a Graph Database Be in Your Next Data Warehouse Stack?Should a Graph Database Be in Your Next Data Warehouse Stack?
Should a Graph Database Be in Your Next Data Warehouse Stack?Cambridge Semantics
 
Graph databases & data integration v2
Graph databases & data integration v2Graph databases & data integration v2
Graph databases & data integration v2Dimitris Kontokostas
 
DRUG - RDSTK Talk
DRUG - RDSTK TalkDRUG - RDSTK Talk
DRUG - RDSTK Talkrtelmore
 
Querying the Web of Data
Querying the Web of DataQuerying the Web of Data
Querying the Web of DataRinke Hoekstra
 
Bringing the Semantic Web closer to reality: PostgreSQL as RDF Graph Database
Bringing the Semantic Web closer to reality: PostgreSQL as RDF Graph DatabaseBringing the Semantic Web closer to reality: PostgreSQL as RDF Graph Database
Bringing the Semantic Web closer to reality: PostgreSQL as RDF Graph DatabaseJimmy Angelakos
 
Radically Open Cultural Heritage Data on the Web
Radically Open Cultural Heritage Data on the WebRadically Open Cultural Heritage Data on the Web
Radically Open Cultural Heritage Data on the WebJulie Allinson
 
A Little SPARQL in your Analytics
A Little SPARQL in your AnalyticsA Little SPARQL in your Analytics
A Little SPARQL in your AnalyticsDr. Neil Brittliff
 
Applying large scale text analytics with graph databases
Applying large scale text analytics with graph databasesApplying large scale text analytics with graph databases
Applying large scale text analytics with graph databasesData Ninja API
 
Graph Gurus Episode 1: Enterprise Graph
Graph Gurus Episode 1: Enterprise GraphGraph Gurus Episode 1: Enterprise Graph
Graph Gurus Episode 1: Enterprise GraphTigerGraph
 
Grails And The Semantic Web
Grails And The Semantic WebGrails And The Semantic Web
Grails And The Semantic Webwilliam_greenly
 
Exploring the Semantic Web
Exploring the Semantic WebExploring the Semantic Web
Exploring the Semantic WebRoberto García
 
PGQL: A Language for Graphs
PGQL: A Language for GraphsPGQL: A Language for Graphs
PGQL: A Language for GraphsJean Ihm
 
Ruby semweb 2011-12-06
Ruby semweb 2011-12-06Ruby semweb 2011-12-06
Ruby semweb 2011-12-06Gregg Kellogg
 
NEW LAUNCH! How to build graph applications with SPARQL and Gremlin using Ama...
NEW LAUNCH! How to build graph applications with SPARQL and Gremlin using Ama...NEW LAUNCH! How to build graph applications with SPARQL and Gremlin using Ama...
NEW LAUNCH! How to build graph applications with SPARQL and Gremlin using Ama...Amazon Web Services
 
RDF Stream Processing Models (SR4LD2013)
RDF Stream Processing Models (SR4LD2013)RDF Stream Processing Models (SR4LD2013)
RDF Stream Processing Models (SR4LD2013)Daniele Dell'Aglio
 
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIsJosef Petrák
 
Leveraging the Power of Graph Databases in PHP
Leveraging the Power of Graph Databases in PHPLeveraging the Power of Graph Databases in PHP
Leveraging the Power of Graph Databases in PHPJeremy Kendall
 
Spatial Data, KML, and the University Web
Spatial Data, KML, and the University WebSpatial Data, KML, and the University Web
Spatial Data, KML, and the University WebGlennon Alan
 
A general introduction to Spring Data / Neo4J
A general introduction to Spring Data / Neo4JA general introduction to Spring Data / Neo4J
A general introduction to Spring Data / Neo4JFlorent Biville
 
Creating Web APIs with JSON-LD and RDF
Creating Web APIs with JSON-LD and RDFCreating Web APIs with JSON-LD and RDF
Creating Web APIs with JSON-LD and RDFdonaldlsmithjr
 

Similar to Large Scale Graph Analytics with RDF and LPG Parallel Processing (20)

Should a Graph Database Be in Your Next Data Warehouse Stack?
Should a Graph Database Be in Your Next Data Warehouse Stack?Should a Graph Database Be in Your Next Data Warehouse Stack?
Should a Graph Database Be in Your Next Data Warehouse Stack?
 
Graph databases & data integration v2
Graph databases & data integration v2Graph databases & data integration v2
Graph databases & data integration v2
 
DRUG - RDSTK Talk
DRUG - RDSTK TalkDRUG - RDSTK Talk
DRUG - RDSTK Talk
 
Querying the Web of Data
Querying the Web of DataQuerying the Web of Data
Querying the Web of Data
 
Bringing the Semantic Web closer to reality: PostgreSQL as RDF Graph Database
Bringing the Semantic Web closer to reality: PostgreSQL as RDF Graph DatabaseBringing the Semantic Web closer to reality: PostgreSQL as RDF Graph Database
Bringing the Semantic Web closer to reality: PostgreSQL as RDF Graph Database
 
Radically Open Cultural Heritage Data on the Web
Radically Open Cultural Heritage Data on the WebRadically Open Cultural Heritage Data on the Web
Radically Open Cultural Heritage Data on the Web
 
A Little SPARQL in your Analytics
A Little SPARQL in your AnalyticsA Little SPARQL in your Analytics
A Little SPARQL in your Analytics
 
Applying large scale text analytics with graph databases
Applying large scale text analytics with graph databasesApplying large scale text analytics with graph databases
Applying large scale text analytics with graph databases
 
Graph Gurus Episode 1: Enterprise Graph
Graph Gurus Episode 1: Enterprise GraphGraph Gurus Episode 1: Enterprise Graph
Graph Gurus Episode 1: Enterprise Graph
 
Grails And The Semantic Web
Grails And The Semantic WebGrails And The Semantic Web
Grails And The Semantic Web
 
Exploring the Semantic Web
Exploring the Semantic WebExploring the Semantic Web
Exploring the Semantic Web
 
PGQL: A Language for Graphs
PGQL: A Language for GraphsPGQL: A Language for Graphs
PGQL: A Language for Graphs
 
Ruby semweb 2011-12-06
Ruby semweb 2011-12-06Ruby semweb 2011-12-06
Ruby semweb 2011-12-06
 
NEW LAUNCH! How to build graph applications with SPARQL and Gremlin using Ama...
NEW LAUNCH! How to build graph applications with SPARQL and Gremlin using Ama...NEW LAUNCH! How to build graph applications with SPARQL and Gremlin using Ama...
NEW LAUNCH! How to build graph applications with SPARQL and Gremlin using Ama...
 
RDF Stream Processing Models (SR4LD2013)
RDF Stream Processing Models (SR4LD2013)RDF Stream Processing Models (SR4LD2013)
RDF Stream Processing Models (SR4LD2013)
 
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
 
Leveraging the Power of Graph Databases in PHP
Leveraging the Power of Graph Databases in PHPLeveraging the Power of Graph Databases in PHP
Leveraging the Power of Graph Databases in PHP
 
Spatial Data, KML, and the University Web
Spatial Data, KML, and the University WebSpatial Data, KML, and the University Web
Spatial Data, KML, and the University Web
 
A general introduction to Spring Data / Neo4J
A general introduction to Spring Data / Neo4JA general introduction to Spring Data / Neo4J
A general introduction to Spring Data / Neo4J
 
Creating Web APIs with JSON-LD and RDF
Creating Web APIs with JSON-LD and RDFCreating Web APIs with JSON-LD and RDF
Creating Web APIs with JSON-LD and RDF
 

More from Cambridge Semantics

Risk Analytics Using Knowledge Graphs / FIBO with Deep Learning
Risk Analytics Using Knowledge Graphs / FIBO with Deep LearningRisk Analytics Using Knowledge Graphs / FIBO with Deep Learning
Risk Analytics Using Knowledge Graphs / FIBO with Deep LearningCambridge Semantics
 
Using Machine Teaching in Text Analysis: Case Study on Using Machine Teaching...
Using Machine Teaching in Text Analysis: Case Study on Using Machine Teaching...Using Machine Teaching in Text Analysis: Case Study on Using Machine Teaching...
Using Machine Teaching in Text Analysis: Case Study on Using Machine Teaching...Cambridge Semantics
 
Knowledge Graph Discussion: Foundational Capability for Data Fabric, Data Int...
Knowledge Graph Discussion: Foundational Capability for Data Fabric, Data Int...Knowledge Graph Discussion: Foundational Capability for Data Fabric, Data Int...
Knowledge Graph Discussion: Foundational Capability for Data Fabric, Data Int...Cambridge Semantics
 
Graph-driven Data Integration: Accelerating and Automating Data Delivery for ...
Graph-driven Data Integration: Accelerating and Automating Data Delivery for ...Graph-driven Data Integration: Accelerating and Automating Data Delivery for ...
Graph-driven Data Integration: Accelerating and Automating Data Delivery for ...Cambridge Semantics
 
Fireside Chat with Bloor Research: State of the Graph Database Market 2020
Fireside Chat with Bloor Research: State of the Graph Database Market 2020Fireside Chat with Bloor Research: State of the Graph Database Market 2020
Fireside Chat with Bloor Research: State of the Graph Database Market 2020Cambridge Semantics
 
The Business Case for Semantic Web Ontology & Knowledge Graph
The Business Case for Semantic Web Ontology & Knowledge GraphThe Business Case for Semantic Web Ontology & Knowledge Graph
The Business Case for Semantic Web Ontology & Knowledge GraphCambridge Semantics
 
AnzoGraph DB: Driving AI and Machine Insights with Knowledge Graphs in a Conn...
AnzoGraph DB: Driving AI and Machine Insights with Knowledge Graphs in a Conn...AnzoGraph DB: Driving AI and Machine Insights with Knowledge Graphs in a Conn...
AnzoGraph DB: Driving AI and Machine Insights with Knowledge Graphs in a Conn...Cambridge Semantics
 
Using Cloud Automation Technologies to Deliver an Enterprise Data Fabric
Using Cloud Automation Technologies to Deliver an Enterprise Data FabricUsing Cloud Automation Technologies to Deliver an Enterprise Data Fabric
Using Cloud Automation Technologies to Deliver an Enterprise Data FabricCambridge Semantics
 
Using a Semantic and Graph-based Data Catalog in a Modern Data Fabric
Using a Semantic and Graph-based Data Catalog in a Modern Data FabricUsing a Semantic and Graph-based Data Catalog in a Modern Data Fabric
Using a Semantic and Graph-based Data Catalog in a Modern Data FabricCambridge Semantics
 
Healthcare and Life Sciences: Two Industries Separated by Common Data
Healthcare and Life Sciences: Two Industries Separated by Common DataHealthcare and Life Sciences: Two Industries Separated by Common Data
Healthcare and Life Sciences: Two Industries Separated by Common DataCambridge Semantics
 
Knowledge Graph for Machine Learning and Data Science
Knowledge Graph for Machine Learning and Data ScienceKnowledge Graph for Machine Learning and Data Science
Knowledge Graph for Machine Learning and Data ScienceCambridge Semantics
 
Modern Data Discovery and Integration in Insurance
Modern Data Discovery and Integration in InsuranceModern Data Discovery and Integration in Insurance
Modern Data Discovery and Integration in InsuranceCambridge Semantics
 
Sustainability Investment Research Using Cognitive Analytics
Sustainability Investment Research Using Cognitive AnalyticsSustainability Investment Research Using Cognitive Analytics
Sustainability Investment Research Using Cognitive AnalyticsCambridge Semantics
 
Big Data Fabric 2.0 Drives Data Democratization
Big Data Fabric 2.0 Drives Data DemocratizationBig Data Fabric 2.0 Drives Data Democratization
Big Data Fabric 2.0 Drives Data DemocratizationCambridge Semantics
 
Modern Data Discovery and Integration in Retail Banking
Modern Data Discovery and Integration in Retail BankingModern Data Discovery and Integration in Retail Banking
Modern Data Discovery and Integration in Retail BankingCambridge Semantics
 
Going Beyond Rows and Columns with Graph Analytics
Going Beyond Rows and Columns with Graph AnalyticsGoing Beyond Rows and Columns with Graph Analytics
Going Beyond Rows and Columns with Graph AnalyticsCambridge Semantics
 
Accelerate Pharma R&D with Cross-Study Analytics
Accelerate Pharma R&D with Cross-Study AnalyticsAccelerate Pharma R&D with Cross-Study Analytics
Accelerate Pharma R&D with Cross-Study AnalyticsCambridge Semantics
 
Accelerate Digital Transformation with an Enterprise Big Data Fabric
Accelerate Digital Transformation with an Enterprise Big Data FabricAccelerate Digital Transformation with an Enterprise Big Data Fabric
Accelerate Digital Transformation with an Enterprise Big Data FabricCambridge Semantics
 
From Data Lakes to the Data Fabric: Our Vision for Digital Strategy
From Data Lakes to the Data Fabric: Our Vision for Digital StrategyFrom Data Lakes to the Data Fabric: Our Vision for Digital Strategy
From Data Lakes to the Data Fabric: Our Vision for Digital StrategyCambridge Semantics
 

More from Cambridge Semantics (20)

Risk Analytics Using Knowledge Graphs / FIBO with Deep Learning
Risk Analytics Using Knowledge Graphs / FIBO with Deep LearningRisk Analytics Using Knowledge Graphs / FIBO with Deep Learning
Risk Analytics Using Knowledge Graphs / FIBO with Deep Learning
 
Using Machine Teaching in Text Analysis: Case Study on Using Machine Teaching...
Using Machine Teaching in Text Analysis: Case Study on Using Machine Teaching...Using Machine Teaching in Text Analysis: Case Study on Using Machine Teaching...
Using Machine Teaching in Text Analysis: Case Study on Using Machine Teaching...
 
Knowledge Graph Discussion: Foundational Capability for Data Fabric, Data Int...
Knowledge Graph Discussion: Foundational Capability for Data Fabric, Data Int...Knowledge Graph Discussion: Foundational Capability for Data Fabric, Data Int...
Knowledge Graph Discussion: Foundational Capability for Data Fabric, Data Int...
 
Graph-driven Data Integration: Accelerating and Automating Data Delivery for ...
Graph-driven Data Integration: Accelerating and Automating Data Delivery for ...Graph-driven Data Integration: Accelerating and Automating Data Delivery for ...
Graph-driven Data Integration: Accelerating and Automating Data Delivery for ...
 
Fireside Chat with Bloor Research: State of the Graph Database Market 2020
Fireside Chat with Bloor Research: State of the Graph Database Market 2020Fireside Chat with Bloor Research: State of the Graph Database Market 2020
Fireside Chat with Bloor Research: State of the Graph Database Market 2020
 
The Business Case for Semantic Web Ontology & Knowledge Graph
The Business Case for Semantic Web Ontology & Knowledge GraphThe Business Case for Semantic Web Ontology & Knowledge Graph
The Business Case for Semantic Web Ontology & Knowledge Graph
 
AnzoGraph DB: Driving AI and Machine Insights with Knowledge Graphs in a Conn...
AnzoGraph DB: Driving AI and Machine Insights with Knowledge Graphs in a Conn...AnzoGraph DB: Driving AI and Machine Insights with Knowledge Graphs in a Conn...
AnzoGraph DB: Driving AI and Machine Insights with Knowledge Graphs in a Conn...
 
Introduction to RDF*
Introduction to RDF*Introduction to RDF*
Introduction to RDF*
 
Using Cloud Automation Technologies to Deliver an Enterprise Data Fabric
Using Cloud Automation Technologies to Deliver an Enterprise Data FabricUsing Cloud Automation Technologies to Deliver an Enterprise Data Fabric
Using Cloud Automation Technologies to Deliver an Enterprise Data Fabric
 
Using a Semantic and Graph-based Data Catalog in a Modern Data Fabric
Using a Semantic and Graph-based Data Catalog in a Modern Data FabricUsing a Semantic and Graph-based Data Catalog in a Modern Data Fabric
Using a Semantic and Graph-based Data Catalog in a Modern Data Fabric
 
Healthcare and Life Sciences: Two Industries Separated by Common Data
Healthcare and Life Sciences: Two Industries Separated by Common DataHealthcare and Life Sciences: Two Industries Separated by Common Data
Healthcare and Life Sciences: Two Industries Separated by Common Data
 
Knowledge Graph for Machine Learning and Data Science
Knowledge Graph for Machine Learning and Data ScienceKnowledge Graph for Machine Learning and Data Science
Knowledge Graph for Machine Learning and Data Science
 
Modern Data Discovery and Integration in Insurance
Modern Data Discovery and Integration in InsuranceModern Data Discovery and Integration in Insurance
Modern Data Discovery and Integration in Insurance
 
Sustainability Investment Research Using Cognitive Analytics
Sustainability Investment Research Using Cognitive AnalyticsSustainability Investment Research Using Cognitive Analytics
Sustainability Investment Research Using Cognitive Analytics
 
Big Data Fabric 2.0 Drives Data Democratization
Big Data Fabric 2.0 Drives Data DemocratizationBig Data Fabric 2.0 Drives Data Democratization
Big Data Fabric 2.0 Drives Data Democratization
 
Modern Data Discovery and Integration in Retail Banking
Modern Data Discovery and Integration in Retail BankingModern Data Discovery and Integration in Retail Banking
Modern Data Discovery and Integration in Retail Banking
 
Going Beyond Rows and Columns with Graph Analytics
Going Beyond Rows and Columns with Graph AnalyticsGoing Beyond Rows and Columns with Graph Analytics
Going Beyond Rows and Columns with Graph Analytics
 
Accelerate Pharma R&D with Cross-Study Analytics
Accelerate Pharma R&D with Cross-Study AnalyticsAccelerate Pharma R&D with Cross-Study Analytics
Accelerate Pharma R&D with Cross-Study Analytics
 
Accelerate Digital Transformation with an Enterprise Big Data Fabric
Accelerate Digital Transformation with an Enterprise Big Data FabricAccelerate Digital Transformation with an Enterprise Big Data Fabric
Accelerate Digital Transformation with an Enterprise Big Data Fabric
 
From Data Lakes to the Data Fabric: Our Vision for Digital Strategy
From Data Lakes to the Data Fabric: Our Vision for Digital StrategyFrom Data Lakes to the Data Fabric: Our Vision for Digital Strategy
From Data Lakes to the Data Fabric: Our Vision for Digital Strategy
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
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
 
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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
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
 
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
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
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
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
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
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 

Recently uploaded (20)

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
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
 
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
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
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
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
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?
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 

Large Scale Graph Analytics with RDF and LPG Parallel Processing

  • 1. Large Scale Graph Analytics with RDF and LPG Parallel Processing Presenter: Barry Zane, VP Engineering
  • 2.
  • 3.
  • 4. ©2018 Cambridge Semantics Inc. All rights reserved. Agenda •Quick Review of RDF/SPARQL •International W3C standard •Making RDF/SPARQL a full Property Graph database •Now better than other Property Graph approaches •OLAP systems complimentary to OLTP systems •One size does not fit all - you need OLTP for end-user transactions, OLAP for analytics •Features needed in OLAP systems not found in OLTP systems •Big data is about inferences and aggregate insights
  • 5. ©2018 Cambridge Semantics Inc. All rights reserved. Quick Review of W3C Standard RDF/SPARQL 1.1 •RDF - Resource Description Framework •Atomic “triples” describe anything •Subject, Predicate, Object •<Jack> <wentUp> <TheHill> •SPARQL - SPARQL Protocol and RDF Query Language •Declarative, like SQL •As expressive as SQL •Can do things SQL can’t do •Multi-Graph • Could use more SQL-like Analytics • Could use more Graph Algorithms •Needs a better way to describe properties of edges!
  • 6. ©2018 Cambridge Semantics Inc. All rights reserved. A Basic Graph 3 Vertexes, 3 Edges friendOf wentUp isA: <Man> birthday: 09/17/1975 Jack isA: <Woman> Jill TheHill isA: <Place> has: Water has: Trees partOf: <TheMountain> wentUp Subject Predicate Object <Jack> <isA> <Man> <Jack> <Birthday> “09/17/1975”^^date <Jack> <friendOf> <Jill> <Jack> <wentUp> <TheHill> <Jill> <isA> <Woman> <Jill> <wentUp> <TheHill> <TheHill> <isA> <Place> <TheHill> <has> “Water” <TheHill> <has> “Trees” <TheHill> <partOf> <TheMountain> <Man> <subClassOf> <Human> <Man> <gender> “Male” <Woman> <subClassOf> <Human> <Woman> <gender> “Female” <friendOf> <property> “Reflexive” <Human> <subClassOf> <Animal> Everything is an atomic Triple that specify properties on Entities
  • 7. ©2018 Cambridge Semantics Inc. All rights reserved. Let’s Add Edge Properties friendOf metAt=<TheHill> metDate=07/04/2018 wentUp date=‘today’ isA: <Man> birthday: 09/17/1975 Jack isA: <Woman> Jill TheHill isA: <Place> has: Water has: Trees partOf: <TheMountain> wentUp date=‘today’ Since triples specify properties on Vertexes, how to we specify properties on Edges… … how do we specify properties on triples?
  • 8. ©2018 Cambridge Semantics Inc. All rights reserved. The “Reification” Approach to Properties - Don’t Do This! •Mathematically Pure •Hard to Write Queries •Wastes Storage •Runs Slowly Subject Predicate Object <Jack> <isA> <Man> <Jack> <Birthday> “09/17/1975”^^date <Jack> <friendOf> <Jill> <Jack> <wentUp> <TheHill> Subject Predicate Object <Jack> <isA> <Man> <Jack> <Birthday> “09/17/1975”^^date <Relationship1> <subject> <Jack> <Relationship1> <predicate> <friendOf> <Relationship1> <object> <Jill> <Relationship1> <metAt> <TheHill> <Relationship1> <metDate> “07/14/2018” <Activity1> <subject> <Jack> <Activity1> <predicate> <wentUp> <Activity1> <object> <TheHill> <Activity1> <date> “today” We’ve turned verbs “likes” and “wentUp” into noun-sets “Relationship1” and “Activity1” !!! In other words, these edges become vertexes.
  • 9. ©2018 Cambridge Semantics Inc. All rights reserved.
  • 10. ©2018 Cambridge Semantics Inc. All rights reserved. RDF* (aka Reification Done Right) and SPARQL* friendOf metAt=<TheHill> metDate=07/04/2018 wentUp date=‘today’ isA: <Man> birthday: 09/17/1975 Jack isA: <Woman> Jill TheHill isA: <Place> has: Water has: Trees partOf: <TheMountain> wentUp date=‘today’ Subject Predicate Object <Jack> <isA> <Man> <Jack> <Birthday> “09/17/1975”^^date <Jack> <friendOf> <Jill> <<<Jack> <friendOf> <Jill>>> <metAt> <TheHill> <<<Jack> <friendOf> <Jill>>> <metDate> “07/04/2018”^^date <Jack> <wentUp> <TheHill> <<<Jack> <wentUp> <TheHill>>> <date> “today”^^date <Jill> <isA> <Woman> <Jill> <wentUp> <TheHill> <<<Jill> <wentUp> <TheHill>>> <date> “today”^^date <TheHill> <isA> <Place> <TheHill> <has> “Water” <TheHill> <has> “Trees” <TheHill> <partOf> <TheMountain> <Man> <subClassOf> <Human> <Man> <gender> “Male” <Woman> <subClassOf> <Human> <Woman> <gender> “Female” <likes> <property> “Reflexive” <Human> <subClassOf> <Animal>
  • 11. ©2018 Cambridge Semantics Inc. All rights reserved. Even More Powerful Than Other Property Graph Approaches isA: <Man> birthday: 09/17/1975 AccordingTo: MotherGoose birthday: 06/12/1975 AccordingTo: Aesop birthday: 06/12/1975 AccordingTo: Grimm Jack Subject Predicate Object <Jack> <isA> <Man> <Jack> <birthday> “09/17/1975”^^date <Jack> <birthday> “06/12/1975”^^date <<<Jack> <birthday> 09/17/1975>> <accordingTo><MotherGoose > <<<Jack> <birthday> 06/12/1975>> <accordingTo><Aesop> <<<Jack> <birthday> 06/12/1975>> <accordingTo><Grimm> Properties, such as provenance, can be applied to Vertexes, not just edges!!!
  • 12. ©2018 Cambridge Semantics Inc. All rights reserved. RDF*/SPARQL* Acknowledgements •Extends RDF and SPARQL - https://www.w3.org/TR/sparql11-query/ •Specification and Model Created by: •Olaf Hartig, Linköping University, Sweden •Bryan Thompson •First implemented by Blazegraph •https://arxiv.org/pdf/1406.3399.pdf •https://arxiv.org/pdf/1409.3288.pdf •AnzoGraph is the first OLAP-oriented Graph Database to use this approach for handling rich data
  • 13. ©2018 Cambridge Semantics Inc. All rights reserved. Inferences - RDFS, RDFS+, OWL friendOf wentUp isA: <Man> birthday: 09/17/1975 gender: Male isA: Human Jack isA: <Woman> gender: Female isA: Human Jill TheHill isA: <Place> has: Water has: Trees partOf: <TheMountain> wentUp Everything is an atomic Triple that specify properties on Entities friendOf •Automatically adds new triples. •Triggered and controlled by other triples in the dataset •RDFS - Basic Inferences •RDFS+ - Popular Extensions •OWL - Most complete •Used for: •Simplifying queries •Harmonizing datasets •Formalizing relationships •Keeps load files normalized •Denormalization
  • 14. ©2018 Cambridge Semantics Inc. All rights reserved. How OLAP Adds to the OLTP World •Key functionality •Windowed Aggregates •CUBE, ROLLUP, Grouping Sets •80+ added scalar functions and aggregates •Named Queries for re-use of prior work •Views for re-use and providing alternate perspectives •Native, Parallel Processing for Query Performance •“Tell me about populations and trends” •Not just “Tell me about Jack”
  • 15. ©2018 Cambridge Semantics Inc. All rights reserved. Where the rubber meets the road… •Let’s write some queries!!! •Anzo customers generally use the “point and click” interface of Anzo HiRes to automatically write their queries. •AnzoGraph customers write SPARQL* queries, so let’s do so… •There will not be a quiz.
  • 16. ©2018 Cambridge Semantics Inc. All rights reserved. Example OLTP Queries (1) SELECT $person $place WHERE { $person <wentUp> $place } person | place --------+--------- Jack | TheHill Jill | TheHill Who went up places? (generic search) How are Jack and Jill related? (OLTP) SELECT $relationship WHERE { <Jack> $relationship <Jill> } relationship -------------- friendOf
  • 17. ©2018 Cambridge Semantics Inc. All rights reserved. Example OLAP Queries (2) What are the most common relationships among people? (OLAP, Inference) SELECT $relationship (COUNT(*) AS $count) WHERE { $person1 <isA> <Human> . $person2 <isA> <Human> . $person1 $relationship $person2 } GROUP BY $relationship ORDER BY DESC($count) LIMIT 10 relationship | count --------------+------- friendOf | 2 What are the most popular dates to go places? (OLAP, RDF*) date | count | place ------------+-------+--------- 2018-09-15 | 2 | TheHill SELECT $date (COUNT(*) AS $count) $place WHERE { << $person <wentUp> $place >> <date> $date } GROUP BY $place $date ORDER BY DESC($count) LIMIT 10
  • 18. ©2018 Cambridge Semantics Inc. All rights reserved. Example Graph Algorithm Query (3) Who are the most popular people? (PageRank) SELECT $person $rank FROM <tickit> WHERE { SERVICE <csi:page_rank> { [] <csi:binding-vertex> $person; <csi:binding-rank> $rank; <csi:edge-label> <friend>; <csi:max-iterations> 20; } } ORDER BY DESC($rank) $person LIMIT 5 person | rank -------------+---------- person23501 | 1.807055 person16101 | 1.748871 person3083 | 1.746725 person19289 | 1.736759 person36749 | 1.731948
  • 19. ©2018 Cambridge Semantics Inc. All rights reserved. What Did We Learn? •RDF/SPARQL is an International W3C Standard that describes how Graph Databases should be managed and queried. •The RDF*/SPARQL* extensions to the standard make RDF/SPARQL databases even more capable. •One size does not fit all - you need OLTP for end-user transactions, OLAP for analytics •OLAP database systems require capabilities irrelevant to OLTP databases.
  • 20. ©2018 Cambridge Semantics Inc. All rights reserved. Next Step: Download free 60-day trial at AnzoGraph.com
  • 21. ©2017 Cambridge Semantics Inc. All rights reserved. Questions?