SlideShare a Scribd company logo
1 of 49
Download to read offline
SPARQL querying of Graph Databases
using Gremlin: Gremlinator
Harsh Thakkar
University of Bonn
Graph Day 2017 - San Francisco - USA - June 17
2Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
WDAqua ITN - http://wdaqua.eu/
● Answering Questions using Web Data (WDAqua) is a EU H2020 -
Marie Skłodowska Curie Actions - Innovative Training
Networks (ITN)
● 15 PhD students across Europe
● Advancing SotA in data-driven Question Answering
● Reusable and extensible components for QA
3Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
Outline
● #Motivation 1 - LITMUS Benchmark Suite
● #Motivation 2 - RDF graphs vs. Property graphs
● Gremlinator
4Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
Outline
● #Motivation 1 - LITMUS Benchmark Suite
● #Motivation 2 - RDF graphs vs. Property graphs
● Gremlinator
5Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
RDF-3X
Ocean of Data
Sea of Tools+
K-V stores
Graph stores
Doc-oriented
stores
RDF stores
Wide column
stores
Real
Synthetic
http://lod-cloud.net/versions/2017-02-20/lod.pn
g
LOD Cloud 2017
Motivation #1 - Benchmarking
2
6Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
http://mattturck.com/big-data-landscape-2016-v18-final/
7Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
Contd…
• Domain specific
applications:
i.e. perspectives
https://steemit.com/philosophy/@l0k1/subjectivity-and-truth-how-blockchains-model-consensus-building
8Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
Benchmark… Manually?
Phewww.. that’s Tedious!
Fairness?
Standardization?Reusability?
Extensibility?
9Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
LITMUS Benchmark Suite
https://kerniebemp.files.wordpress.com/2013/03/rubegoldberg.jpg
10Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
Dataset 1 Dataset 2 Dataset 3 Dataset N
Data integration module
Benchmarking Core
Controller & Tester
System configuration & integration
module
Queryset 1
Queryset 3
Queryset M
Analyzer
RDF stores Graph
stores
Relational
DBs
Wide Column
stores
Profiler
Queryset 2
Key value
stores
Queryconversion
module
Query Facet (F2)
Data Facet (F1)
System Facet (F3)
User Interface
(F4)
User
The LITMUS architecture
Thakkar, Harsh. "Towards an Open Extensible Framework for
Empirical Benchmarking of Data Management Solutions: LITMUS."
European Semantic Web Conference. Springer,, 2017.
11Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
Challenges
• Core challenges in developing such an
open, extensible FAIR framework?
• Data Representation
• Query Conversion
• Key Performance Indicators (KPIs)
http://media.thinkadvisor.com/lifehealthpro/article/2015/02/24/challenge.jp
g
12Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
Query Translation
• Yes we are linguistically
diverse and so are DMSs!
• That too with different
dialects:
• SPARQL, CYPHER, Gremlin,
etc
• Many many Graph-based
DMSs!
• Is there one GQL to cover
all Graph DMSs*?
http://cdn2.wpbeginner.com/wp-content/uploads/2015/02/multilingual-wordpress.jpg
13Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
Gremlin
http://www.datastax.com/wp-content/uploads/2015/09/many-to-many-mapping.png
http://www.datastax.com/wp-content/uploads/2015/09/gtm-dataflow.png
Gremlin’s Multi-Graph Query Language (GQL) support
14Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
Contd…
Multi-DMS & platform support
https://tinkerpop.apache.org/images/oltp-and-olap.png
# Motivation 1
15Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
https://opinionessoftheworld.files.wordpress.com/2013/04/game-of-thrones-daenerys-dragon.j
pg
Gremlinator
Me
16Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
Outline
● WDAqua ITN
● #Motivation 1 - LITMUS Benchmark Suite
● #Motivation 2 - RDF graphs vs. Property graphs
● Gremlinator
17Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
Do I need a Graph
Database? If so, what
kind? (Juan Sequeda)
Earlier today
18Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
Motivation #2 - Graph Data Models
● Graphs are intuitive formalisms
● Represent complex natural and man-made networks (Genes, SNs)
● Data is increasingly connected (highly)
● Relationships within the data are an integral it
● Index-free, schema-free
● Mathematical foundation
● RDF and Property Graph two most popular graph data models
19Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
RDF Data Model
● RDF = Resource Description Framework
● W3C Recommendation for data modeling and encoding machine readable
content on the Web
● Data Model:
○ encodes structured information
○ universal, machine-readable interchange format (Serializations - .nt, .xml, .ttl, etc)
○ data is structured in the form of graphs (RDF graphs)
20Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
RDF Data Model
● RDF is a triple based graph model, where :
○ Subject: URI, Blank node
○ Predicate: URIs -> property
○ Object: URI, Literal, Blank node
“2017”
“Harsh”
ex:Eventex:Person
ex:SF
“27” ex:age
ex:name
ex:Bonn
“Graph Day”
ex:year
ex:name
ex:place
ex:Speaker
ex:place
URI = Universal Resource identifier, analogous
to ISBN for books
Literals = data values
Blank nodes = Desc. of entities that don’t need
to be named.
IRIs*
ex:stim
e
“40”
@prefix ex: <http://example.org>
ex:Person ex:Speaker ex:Event
ex:Person ex:name “Harsh”
ex:Person ex:place ex:Bonn
ex:Person ex:age “27”
ex:Event ex:name “Graph Day”
ex:Event ex:Year “2017”
interpretation
representation
21Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
RDF Graphs (RDFGs)
● Edge-labelled, directed, multi-graphs (w. Ent. URIs, Blank nodes, Literals)
● Going from information to Knowledge using OWL (DLs) and Ontologies
(RDFS, RDFa, etc)
● Bulky
○ Everything is a node-edge-node (edges dont have properties)
○ More relationships per node -> More total number of triples!
22Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
Example - Modern Graph feat. RDFG
23Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
SPARQL - The RDF Query Language
● SPARQL Protocol And RDF Query Language
● Graph Pattern Matching (GPM) QL for RDF graphs (declarative)
● Defacto QL of RDF stores, W3C standard since Jan 2008.
● High importance in semantic web - querying knowledge graphs - QA
○ SPARQL : Semantic Web (web in general) what SQL : Rel.DBs
● Main components:
○ Graph patterns (WHERE) [BGPs {s p o .}, GGPs {...}, CGPs{ops}]
○ Prefixes - encode URIs
○ Query result from range of variables (SELECT)
More info: 1,2,
24Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
Ex:SPARQL query
PREFIX a: <http://abc.com/prty>
SELECT DISTINCT ?x
WHERE { ?x a:Created ?y .}
?x
<http://abc.com/node/4>
<http://abc.com/node/2>
<http://abc.com/node/5>
Output
BGP
Matching patterns
25Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
Property Graph Data Model
● Edge-labelled, directed, attributed, multi-graph
● Vertices and edges both have properties
● Main components:
○ Vertices, edges (Src,Dsc), properties (key-value pairs), labels (strings)
● Super neat (compact), super cute
● Easier to add weighted, reified edges
● Query Languages - CYPHER, Gremlin, PGQL, etc
Name: Graph Day
Year: 2017
Place: SF, USA
Name: Harsh
Age: 27
From: Bonn, DE
Role: speaker
Time: 40
Person Event
26Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
Example - PG viz
RDF
PG
27Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
Gremlin - a PG Query Language
● A Graph Traversal Language and Machine (like Java - JVM)
● Offers both declarative (GPM) and imperative (traversal)
constructs
● Supports both OLTP: Graph DBs and OLAP: Graph processors
● Popular for querying Property graphs.
More InfoRef. Slides #13, #14
28Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
Ex:Gremlin query
1. g.V().in(“Created”).dedup()
//imperative
2. g.V().match(
__.as(‘x’).out(‘Created’).as(‘y’
)).select(‘x’).dedup()
// declarative - GPM
PREFIX a: <http://abc.com/prty>
SELECT DISTINCT ?x
WHERE { ?x a:Created ?y .}
==>x:v[4]
==>x:v[2]
==>x:v[5]
Output SPARQL
29Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
SPARQL vs. Gremlin Queries
● Linear, standard, graph
pattern queries (exact
match)
● Less joins - less complexity -
better performance
● Benefit from macro indices
○ SPO, POS, etc
● Multi-hop, neighbourhood,
star/snowflake, traversal
queries (fuzzy match)
● Everything is a path - better
performance
● Benefit from micro-indices
Motivation #2 - So why not benefit from Gremlin for complex/
multi-hop/ path queries?
30Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
SPARQL vs. Gremlin Queries
● Lacks looping and branching
and Graph analytical queries
(OLAP)
● Supports federated querying
● Supports looping, branching
and Graph Analytical queries
(OLAP)
● No federated querying
Motivation #2 - So why not benefit from Gremlin for complex/
multi-hop/ path queries?
31Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
Ex:Star-shape query
PREFIX bsbm: <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/vocabulary/>
PREFIX bsbm-inst: <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/>
SELECT ?label ?comment ?p ?f ?productFeature ?producer ?propertyText1
?propertyText2 ?propertyText3 ?propertyNum1 ?propertyNum1
WHERE {
bsbm-inst:Product343 rdfs:comment ?comment .
bsbm-inst:Product343 bsbm:producer ?p .
?p rdfs:label ?producer .
bsbm-inst:Product343 dc:publisher ?p .
bsbm-inst:Product343 bsbm:productFeature ?f .
?f rdfs:label ?productFeature .
bsbm-inst:Product343 bsbm:productPropertyTextual1 ?propertyText1 .
bsbm-inst:Product343 bsbm:productPropertyTextual2 ?propertyText2 .
bsbm-inst:Product343 bsbm:productPropertyTextual3 ?propertyText3 .
bsbm-inst:Product343 bsbm:productPropertyNumeric1 ?propertyNum1 .
bsbm-inst:Product343 bsbm:productPropertyNumeric2 ?propertyNum2 . }
g.V().match(__.as('a').has("productID",343).as('b').valueMap().as('c')).select('c')
0.0247 sec
0.0013 sec
32Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
Outline
● WDAqua ITN
● #Motivation 1 - LITMUS Benchmark Suite
● #Motivation 2 - RDF graphs vs. Property graphs
● Gremlinator
33Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
SPARQL ➞ Gremlin analogy
● Query based on Graph
pattern [declarative]
● Provides GPM construct via
.match() steps [declarative]
Name: SPARQL-Gremlin 0.1
Lang: Java
Name: Daniel
Kupitz
….
Implements
Person Software
Name: Harsh Thakker
….
Extends
Year: 2015 Year: 2016
Person
Inception Result
34Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
Contd…
SPARQL and Gremlin language constructs and corresponding operators
35Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
Gremlinator architecture
36Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
BGP (q) ➞ SST* ( )
Subject Predicate Object Operation
URI URI [rdfs:label] “literal” Lv
/Le
⇒ .hasLabel(“x”)
URI URI “literal” Pv
/Pe
⇒ .has(P, ”val”)
URI URI URI E ⇒ .in(“x”)/.out(“x”)
Traversals ⇒ Property value, Label value, vertex
Name: Graph Day
Year: 2017
Place: SF, USA
Name: Harsh
Age: 27
From: Bonn, DE
Role: speaker
Time: 40
Person Event
* Rodriguez, Marko A., and Peter Neubauer.
"The graph traversal pattern." arXiv preprint
arXiv:1004.1001 (2010).
37Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
CGP (Q) ➞ Traversal ( )
Mapping corresponding Gremlin operators
38Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
Ex:1 Tinker Modern Graph
Select only those persons who are younger or equal
than 30 and created a soft. collectively.
SELECT ?a ?b ?c WHERE {
?a v:label "person" .
?a e:knows ?b .
?a e:created ?c .
?b e:created ?c .
?a v:age ?d .
FILTER (?d <= 30)
}
39Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
Contd…
SELECT ?a ?b ?c WHERE {
?a v:label "person" .
?a e:knows ?b .
?a e:created ?c .
?b e:created ?c .
?a v:age ?d .
FILTER (?d <= 30)
}
[MatchStartStep@[a], HasStep([~label.eq(person)]), MatchEndStep]
[MatchStartStep@[a], VertexStep(OUT,[knows],vertex)@[b], MatchEndStep]
[MatchStartStep@[a], VertexStep(OUT,[created],vertex)@[c], MatchEndStep]
[MatchStartStep@[b], VertexStep(OUT,[created],vertex)@[c], MatchEndStep]
[MatchStartStep@[a], PropertiesStep([age],value)@[d], MatchEndStep]
[WhereTraversalStep([WhereStartStep(d), IsStep(leq(30))]), MatchEndStep]
s
BGPs
BGP (q) ➞ SST* ( )
40Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
[GraphStep(vertex,[]), MatchStep(AND,[
[MatchStartStep(a), HasStep([~label.eq(person)]), MatchEndStep],
[MatchStartStep(a), VertexStep(OUT,[knows],vertex), MatchEndStep(b)],
[MatchStartStep(a), VertexStep(OUT,[created],vertex), MatchEndStep(c)],
[MatchStartStep(b), VertexStep(OUT,[created],vertex), MatchEndStep(c)],
[MatchStartStep(a), PropertiesStep([age],value), MatchEndStep(d)],
[MatchStartStep(d), WhereTraversalStep([WhereStartStep, IsStep(leq(30))]), MatchEndStep] ] ),
SelectStep([a, b, c])]
SELECT ?a ?b ?c WHERE {
?a v:label "person" .
?a e:knows ?b .
?a e:created ?c .
?b e:created ?c .
?a v:age ?d .
FILTER (?d <= 30)
}
Contd…
sSPARQL Query
CGP (Q) ➞ Traversal ( )
41Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
Select only those persons who are younger or equal
than 30 and created a soft. collectively.
SELECT ?a ?b ?c WHERE {
?a v:label "person" .
?a e:knows ?b .
?a e:created ?c .
?b e:created ?c .
?a v:age ?d .
FILTER (?d <= 30)
}
Output
{a=v[2], b=v[4], c=v[3]}
Contd…
42Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
Experiments*
Northwind dataset
● PG - Vertices: 3209, Edges: 6177
● RDF - Triples: 33033
BSBM 1M dataset
● PG - Vertices: 92737, Edges: 238309
● RDF - Triples: 1000313
* Detailed work submitted to CIKM 2017
CPU: Intel® Xeon® CPU E5-2660 v3 (20 cores @2.60GHz),
RAM: 128 GB DDR3, HDD: 512 GB SSD, OS: Linux 4.2-generic (x86_64)
Openlink Virtuoso v7.2.4, Apache TinkerGraph-Gremlin v3.2.3
43Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
Contd…
● Queries
44Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
First Results
Comparison of executing SPARQL queries on Virtuoso and corresponding translated Gremlin pattern matching
traversals on TinkerGraph against BSBM 1M dataset (in secs, warm cache,10Qs).
13x - 17x fold faster* wrt SPARQL
45Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
Limitation
● SPARQL queries with:
○ Nested Union(s)
○ Optional(s) - v3.3 [fixed]
46Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
Next Step(s)
● Address the limitations
● Robustness (any PG)
● Deploy @Apache TinkerPop :)
47Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn
Acknowledgements
Funding: Supervisors & Mentors:
Prof. Dr.
Soeren Auer
Prof. Dr. Jens
Lehmann
Prof. Dr.
Maria-Esther
Vidal
H2020 WDAqua ITN (GA: 642795)
Dr. Marko Rodriguez
48PhD Symposium - ESWC 2017 - Slovenia - Portoroz - May 29 LITMUS Benchmark Suite - Harsh Thakkar - University of Bonn
Resources
http://wdaqua.eu/
https://github.com/LITMUS-Benchmark-Suite/sparql-to-gremlin
Code: https://github.com/LITMUS-Benchmark-Suite/
Web: https://litmus-benchmark-suite.github.io
Docker: https://hub.docker.com/r/litmusbenchmarksuite/litmus/
LITMUS Benchmark Suite
THANK YOU GRAPH DAY ‘17 SF!!!
Harsh Thakkar
University of Bonn
Twitter: @harsh9t
LinkedIn: thakkarharsh
E-mail: harsh9t@gmail.com
Questions? Comments?
Insults? Injuries?

More Related Content

What's hot

New Adventures in RDF2vec
New Adventures in RDF2vecNew Adventures in RDF2vec
New Adventures in RDF2vecHeiko Paulheim
 
What_do_Knowledge_Graph_Embeddings_Learn.pdf
What_do_Knowledge_Graph_Embeddings_Learn.pdfWhat_do_Knowledge_Graph_Embeddings_Learn.pdf
What_do_Knowledge_Graph_Embeddings_Learn.pdfHeiko Paulheim
 
Explicit Semantics in Graph DBs Driving Digital Transformation With Neo4j
Explicit Semantics in Graph DBs Driving Digital Transformation With Neo4jExplicit Semantics in Graph DBs Driving Digital Transformation With Neo4j
Explicit Semantics in Graph DBs Driving Digital Transformation With Neo4jConnected Data World
 
EC-WEB: Validator and Preview for the JobPosting Data Model of Schema.org
EC-WEB: Validator and Preview for the JobPosting Data Model of Schema.orgEC-WEB: Validator and Preview for the JobPosting Data Model of Schema.org
EC-WEB: Validator and Preview for the JobPosting Data Model of Schema.orgJindřich Mynarz
 
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
 
Semantic Pipes and Semantic Mashups
Semantic Pipes and Semantic MashupsSemantic Pipes and Semantic Mashups
Semantic Pipes and Semantic Mashupsgiurca
 
Data Integration & Disintegration: Managing SN SciGraph with SHACL and OWL
Data Integration & Disintegration: Managing SN SciGraph with SHACL and OWLData Integration & Disintegration: Managing SN SciGraph with SHACL and OWL
Data Integration & Disintegration: Managing SN SciGraph with SHACL and OWLTony Hammond
 
Efficient Practices for Large Scale Text Mining Process
Efficient Practices for Large Scale Text Mining ProcessEfficient Practices for Large Scale Text Mining Process
Efficient Practices for Large Scale Text Mining ProcessOntotext
 
Managing RDF data with graph databases
Managing RDF data with graph databasesManaging RDF data with graph databases
Managing RDF data with graph databasesGraph-TA
 
Are Linked Datasets fit for Open-domain Question Answering? A Quality Assessment
Are Linked Datasets fit for Open-domain Question Answering? A Quality AssessmentAre Linked Datasets fit for Open-domain Question Answering? A Quality Assessment
Are Linked Datasets fit for Open-domain Question Answering? A Quality AssessmentHarsh Thakkar
 
Keynote Exploring and Exploiting Official Publications
Keynote Exploring and Exploiting Official PublicationsKeynote Exploring and Exploiting Official Publications
Keynote Exploring and Exploiting Official Publicationsmaartenmarx
 
Linked Data Usecases
Linked Data UsecasesLinked Data Usecases
Linked Data UsecasesMyungjin Lee
 
Hacktoberfest 2020 - Intro to Knowledge Graphs
Hacktoberfest 2020 - Intro to Knowledge GraphsHacktoberfest 2020 - Intro to Knowledge Graphs
Hacktoberfest 2020 - Intro to Knowledge GraphsArangoDB Database
 
Transforming Your Data with GraphDB: GraphDB Fundamentals, Jan 2018
Transforming Your Data with GraphDB: GraphDB Fundamentals, Jan 2018Transforming Your Data with GraphDB: GraphDB Fundamentals, Jan 2018
Transforming Your Data with GraphDB: GraphDB Fundamentals, Jan 2018Ontotext
 
Reasoning with Big Knowledge Graphs: Choices, Pitfalls and Proven Recipes
Reasoning with Big Knowledge Graphs: Choices, Pitfalls and Proven RecipesReasoning with Big Knowledge Graphs: Choices, Pitfalls and Proven Recipes
Reasoning with Big Knowledge Graphs: Choices, Pitfalls and Proven RecipesOntotext
 
Gain Super Powers in Data Science: Relationship Discovery Across Public Data
Gain Super Powers in Data Science: Relationship Discovery Across Public DataGain Super Powers in Data Science: Relationship Discovery Across Public Data
Gain Super Powers in Data Science: Relationship Discovery Across Public DataOntotext
 
MuseoTorino, first italian project using a GraphDB, RDFa, Linked Open Data
MuseoTorino, first italian project using a GraphDB, RDFa, Linked Open DataMuseoTorino, first italian project using a GraphDB, RDFa, Linked Open Data
MuseoTorino, first italian project using a GraphDB, RDFa, Linked Open Data21Style
 

What's hot (20)

New Adventures in RDF2vec
New Adventures in RDF2vecNew Adventures in RDF2vec
New Adventures in RDF2vec
 
What_do_Knowledge_Graph_Embeddings_Learn.pdf
What_do_Knowledge_Graph_Embeddings_Learn.pdfWhat_do_Knowledge_Graph_Embeddings_Learn.pdf
What_do_Knowledge_Graph_Embeddings_Learn.pdf
 
Semantic Web Technology
Semantic Web TechnologySemantic Web Technology
Semantic Web Technology
 
Explicit Semantics in Graph DBs Driving Digital Transformation With Neo4j
Explicit Semantics in Graph DBs Driving Digital Transformation With Neo4jExplicit Semantics in Graph DBs Driving Digital Transformation With Neo4j
Explicit Semantics in Graph DBs Driving Digital Transformation With Neo4j
 
EC-WEB: Validator and Preview for the JobPosting Data Model of Schema.org
EC-WEB: Validator and Preview for the JobPosting Data Model of Schema.orgEC-WEB: Validator and Preview for the JobPosting Data Model of Schema.org
EC-WEB: Validator and Preview for the JobPosting Data Model of Schema.org
 
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
 
STI Summit 2011 - DB vs RDF
STI Summit 2011 - DB vs RDFSTI Summit 2011 - DB vs RDF
STI Summit 2011 - DB vs RDF
 
LD4KD 2015 - Demos and tools
LD4KD 2015 - Demos and toolsLD4KD 2015 - Demos and tools
LD4KD 2015 - Demos and tools
 
Semantic Pipes and Semantic Mashups
Semantic Pipes and Semantic MashupsSemantic Pipes and Semantic Mashups
Semantic Pipes and Semantic Mashups
 
Data Integration & Disintegration: Managing SN SciGraph with SHACL and OWL
Data Integration & Disintegration: Managing SN SciGraph with SHACL and OWLData Integration & Disintegration: Managing SN SciGraph with SHACL and OWL
Data Integration & Disintegration: Managing SN SciGraph with SHACL and OWL
 
Efficient Practices for Large Scale Text Mining Process
Efficient Practices for Large Scale Text Mining ProcessEfficient Practices for Large Scale Text Mining Process
Efficient Practices for Large Scale Text Mining Process
 
Managing RDF data with graph databases
Managing RDF data with graph databasesManaging RDF data with graph databases
Managing RDF data with graph databases
 
Are Linked Datasets fit for Open-domain Question Answering? A Quality Assessment
Are Linked Datasets fit for Open-domain Question Answering? A Quality AssessmentAre Linked Datasets fit for Open-domain Question Answering? A Quality Assessment
Are Linked Datasets fit for Open-domain Question Answering? A Quality Assessment
 
Keynote Exploring and Exploiting Official Publications
Keynote Exploring and Exploiting Official PublicationsKeynote Exploring and Exploiting Official Publications
Keynote Exploring and Exploiting Official Publications
 
Linked Data Usecases
Linked Data UsecasesLinked Data Usecases
Linked Data Usecases
 
Hacktoberfest 2020 - Intro to Knowledge Graphs
Hacktoberfest 2020 - Intro to Knowledge GraphsHacktoberfest 2020 - Intro to Knowledge Graphs
Hacktoberfest 2020 - Intro to Knowledge Graphs
 
Transforming Your Data with GraphDB: GraphDB Fundamentals, Jan 2018
Transforming Your Data with GraphDB: GraphDB Fundamentals, Jan 2018Transforming Your Data with GraphDB: GraphDB Fundamentals, Jan 2018
Transforming Your Data with GraphDB: GraphDB Fundamentals, Jan 2018
 
Reasoning with Big Knowledge Graphs: Choices, Pitfalls and Proven Recipes
Reasoning with Big Knowledge Graphs: Choices, Pitfalls and Proven RecipesReasoning with Big Knowledge Graphs: Choices, Pitfalls and Proven Recipes
Reasoning with Big Knowledge Graphs: Choices, Pitfalls and Proven Recipes
 
Gain Super Powers in Data Science: Relationship Discovery Across Public Data
Gain Super Powers in Data Science: Relationship Discovery Across Public DataGain Super Powers in Data Science: Relationship Discovery Across Public Data
Gain Super Powers in Data Science: Relationship Discovery Across Public Data
 
MuseoTorino, first italian project using a GraphDB, RDFa, Linked Open Data
MuseoTorino, first italian project using a GraphDB, RDFa, Linked Open DataMuseoTorino, first italian project using a GraphDB, RDFa, Linked Open Data
MuseoTorino, first italian project using a GraphDB, RDFa, Linked Open Data
 

Similar to Sparql querying of-property-graphs-harsh thakkar-graph day 2017 sf

Grades nda 2018 - gremlinator demo talk - harsh thakkar
Grades nda 2018 - gremlinator demo talk - harsh thakkarGrades nda 2018 - gremlinator demo talk - harsh thakkar
Grades nda 2018 - gremlinator demo talk - harsh thakkarHarsh Thakkar
 
Release webinar: Sansa and Ontario
Release webinar: Sansa and OntarioRelease webinar: Sansa and Ontario
Release webinar: Sansa and OntarioBigData_Europe
 
The web of interlinked data and knowledge stripped
The web of interlinked data and knowledge strippedThe web of interlinked data and knowledge stripped
The web of interlinked data and knowledge strippedSören Auer
 
The Best of Both Worlds: Unlocking the Power of (big) Knowledge Graphs with S...
The Best of Both Worlds: Unlocking the Power of (big) Knowledge Graphs with S...The Best of Both Worlds: Unlocking the Power of (big) Knowledge Graphs with S...
The Best of Both Worlds: Unlocking the Power of (big) Knowledge Graphs with S...Gezim Sejdiu
 
An RDF Dataset Generator for the Social Network Benchmark with Real-World Coh...
An RDF Dataset Generator for the Social Network Benchmark with Real-World Coh...An RDF Dataset Generator for the Social Network Benchmark with Real-World Coh...
An RDF Dataset Generator for the Social Network Benchmark with Real-World Coh...Holistic Benchmarking of Big Linked Data
 
Graph databases & data integration - the case of RDF
Graph databases & data integration - the case of RDFGraph databases & data integration - the case of RDF
Graph databases & data integration - the case of RDFDimitris Kontokostas
 
Evolving from RDBMS to NoSQL + SQL
Evolving from RDBMS to NoSQL + SQLEvolving from RDBMS to NoSQL + SQL
Evolving from RDBMS to NoSQL + SQLMapR Technologies
 
Property Graphs with Time
Property Graphs with TimeProperty Graphs with Time
Property Graphs with TimeopenCypher
 
Data-mining the Semantic Web
Data-mining the Semantic WebData-mining the Semantic Web
Data-mining the Semantic WebFrank Lynam
 
Machine Learning & Embeddings for Large Knowledge Graphs
Machine Learning & Embeddings  for Large Knowledge GraphsMachine Learning & Embeddings  for Large Knowledge Graphs
Machine Learning & Embeddings for Large Knowledge GraphsHeiko Paulheim
 
ESWC 2019 - A Software Framework and Datasets for the Analysis of Graphs Meas...
ESWC 2019 - A Software Framework and Datasets for the Analysis of Graphs Meas...ESWC 2019 - A Software Framework and Datasets for the Analysis of Graphs Meas...
ESWC 2019 - A Software Framework and Datasets for the Analysis of Graphs Meas...Matthäus Zloch
 
DistLODStats: Distributed Computation of RDF Dataset Statistics - ISWC 2018 talk
DistLODStats: Distributed Computation of RDF Dataset Statistics - ISWC 2018 talkDistLODStats: Distributed Computation of RDF Dataset Statistics - ISWC 2018 talk
DistLODStats: Distributed Computation of RDF Dataset Statistics - ISWC 2018 talkGezim Sejdiu
 
Linked data presentation for libraries (COMO)
Linked data presentation for libraries (COMO)Linked data presentation for libraries (COMO)
Linked data presentation for libraries (COMO)robin fay
 
Context Semantic Analysis: a knowledge-based technique for computing inter-do...
Context Semantic Analysis: a knowledge-based technique for computing inter-do...Context Semantic Analysis: a knowledge-based technique for computing inter-do...
Context Semantic Analysis: a knowledge-based technique for computing inter-do...Fabio Benedetti
 
aRangodb, un package per l'utilizzo di ArangoDB con R
aRangodb, un package per l'utilizzo di ArangoDB con RaRangodb, un package per l'utilizzo di ArangoDB con R
aRangodb, un package per l'utilizzo di ArangoDB con RGraphRM
 
Boost your data analytics with open data and public news content
Boost your data analytics with open data and public news contentBoost your data analytics with open data and public news content
Boost your data analytics with open data and public news contentOntotext
 
Wed roman tut_open_datapub
Wed roman tut_open_datapubWed roman tut_open_datapub
Wed roman tut_open_datapubeswcsummerschool
 
معرفی کاربردهای یادگیری عمیق و چالش های آن در کلان داده
معرفی کاربردهای یادگیری عمیق و چالش های آن در کلان دادهمعرفی کاربردهای یادگیری عمیق و چالش های آن در کلان داده
معرفی کاربردهای یادگیری عمیق و چالش های آن در کلان دادهWeb Standards School
 

Similar to Sparql querying of-property-graphs-harsh thakkar-graph day 2017 sf (20)

Grades nda 2018 - gremlinator demo talk - harsh thakkar
Grades nda 2018 - gremlinator demo talk - harsh thakkarGrades nda 2018 - gremlinator demo talk - harsh thakkar
Grades nda 2018 - gremlinator demo talk - harsh thakkar
 
Release webinar: Sansa and Ontario
Release webinar: Sansa and OntarioRelease webinar: Sansa and Ontario
Release webinar: Sansa and Ontario
 
The web of interlinked data and knowledge stripped
The web of interlinked data and knowledge strippedThe web of interlinked data and knowledge stripped
The web of interlinked data and knowledge stripped
 
The Best of Both Worlds: Unlocking the Power of (big) Knowledge Graphs with S...
The Best of Both Worlds: Unlocking the Power of (big) Knowledge Graphs with S...The Best of Both Worlds: Unlocking the Power of (big) Knowledge Graphs with S...
The Best of Both Worlds: Unlocking the Power of (big) Knowledge Graphs with S...
 
An RDF Dataset Generator for the Social Network Benchmark with Real-World Coh...
An RDF Dataset Generator for the Social Network Benchmark with Real-World Coh...An RDF Dataset Generator for the Social Network Benchmark with Real-World Coh...
An RDF Dataset Generator for the Social Network Benchmark with Real-World Coh...
 
Graph databases & data integration - the case of RDF
Graph databases & data integration - the case of RDFGraph databases & data integration - the case of RDF
Graph databases & data integration - the case of RDF
 
Evolving from RDBMS to NoSQL + SQL
Evolving from RDBMS to NoSQL + SQLEvolving from RDBMS to NoSQL + SQL
Evolving from RDBMS to NoSQL + SQL
 
Property Graphs with Time
Property Graphs with TimeProperty Graphs with Time
Property Graphs with Time
 
Data-mining the Semantic Web
Data-mining the Semantic WebData-mining the Semantic Web
Data-mining the Semantic Web
 
Machine Learning & Embeddings for Large Knowledge Graphs
Machine Learning & Embeddings  for Large Knowledge GraphsMachine Learning & Embeddings  for Large Knowledge Graphs
Machine Learning & Embeddings for Large Knowledge Graphs
 
ESWC 2019 - A Software Framework and Datasets for the Analysis of Graphs Meas...
ESWC 2019 - A Software Framework and Datasets for the Analysis of Graphs Meas...ESWC 2019 - A Software Framework and Datasets for the Analysis of Graphs Meas...
ESWC 2019 - A Software Framework and Datasets for the Analysis of Graphs Meas...
 
DistLODStats: Distributed Computation of RDF Dataset Statistics - ISWC 2018 talk
DistLODStats: Distributed Computation of RDF Dataset Statistics - ISWC 2018 talkDistLODStats: Distributed Computation of RDF Dataset Statistics - ISWC 2018 talk
DistLODStats: Distributed Computation of RDF Dataset Statistics - ISWC 2018 talk
 
Linked data presentation for libraries (COMO)
Linked data presentation for libraries (COMO)Linked data presentation for libraries (COMO)
Linked data presentation for libraries (COMO)
 
Context Semantic Analysis: a knowledge-based technique for computing inter-do...
Context Semantic Analysis: a knowledge-based technique for computing inter-do...Context Semantic Analysis: a knowledge-based technique for computing inter-do...
Context Semantic Analysis: a knowledge-based technique for computing inter-do...
 
aRangodb, un package per l'utilizzo di ArangoDB con R
aRangodb, un package per l'utilizzo di ArangoDB con RaRangodb, un package per l'utilizzo di ArangoDB con R
aRangodb, un package per l'utilizzo di ArangoDB con R
 
Boost your data analytics with open data and public news content
Boost your data analytics with open data and public news contentBoost your data analytics with open data and public news content
Boost your data analytics with open data and public news content
 
Digital repertoires of poetry metrics: towards a Linked Open Data ecosystem
Digital repertoires of poetry metrics: towards a Linked Open Data ecosystemDigital repertoires of poetry metrics: towards a Linked Open Data ecosystem
Digital repertoires of poetry metrics: towards a Linked Open Data ecosystem
 
Wed roman tut_open_datapub
Wed roman tut_open_datapubWed roman tut_open_datapub
Wed roman tut_open_datapub
 
The Semantic Data Web, Sören Auer, University of Leipzig
The Semantic Data Web, Sören Auer, University of LeipzigThe Semantic Data Web, Sören Auer, University of Leipzig
The Semantic Data Web, Sören Auer, University of Leipzig
 
معرفی کاربردهای یادگیری عمیق و چالش های آن در کلان داده
معرفی کاربردهای یادگیری عمیق و چالش های آن در کلان دادهمعرفی کاربردهای یادگیری عمیق و چالش های آن در کلان داده
معرفی کاربردهای یادگیری عمیق و چالش های آن در کلان داده
 

Recently uploaded

Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxEmmanuel Dauda
 
Predicting Salary Using Data Science: A Comprehensive Analysis.pdf
Predicting Salary Using Data Science: A Comprehensive Analysis.pdfPredicting Salary Using Data Science: A Comprehensive Analysis.pdf
Predicting Salary Using Data Science: A Comprehensive Analysis.pdfBoston Institute of Analytics
 
办美国阿肯色大学小石城分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree
办美国阿肯色大学小石城分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree办美国阿肯色大学小石城分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree
办美国阿肯色大学小石城分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degreeyuu sss
 
科罗拉多大学波尔得分校毕业证学位证成绩单-可办理
科罗拉多大学波尔得分校毕业证学位证成绩单-可办理科罗拉多大学波尔得分校毕业证学位证成绩单-可办理
科罗拉多大学波尔得分校毕业证学位证成绩单-可办理e4aez8ss
 
Generative AI for Social Good at Open Data Science East 2024
Generative AI for Social Good at Open Data Science East 2024Generative AI for Social Good at Open Data Science East 2024
Generative AI for Social Good at Open Data Science East 2024Colleen Farrelly
 
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...Boston Institute of Analytics
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一F sss
 
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...limedy534
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...Florian Roscheck
 
20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdfHuman37
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)jennyeacort
 
RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.natarajan8993
 
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝DelhiRS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhijennyeacort
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...dajasot375
 
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档208367051
 
9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home ServiceSapana Sha
 
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptxAmazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptxAbdelrhman abooda
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样vhwb25kk
 

Recently uploaded (20)

Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptx
 
Predicting Salary Using Data Science: A Comprehensive Analysis.pdf
Predicting Salary Using Data Science: A Comprehensive Analysis.pdfPredicting Salary Using Data Science: A Comprehensive Analysis.pdf
Predicting Salary Using Data Science: A Comprehensive Analysis.pdf
 
办美国阿肯色大学小石城分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree
办美国阿肯色大学小石城分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree办美国阿肯色大学小石城分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree
办美国阿肯色大学小石城分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
科罗拉多大学波尔得分校毕业证学位证成绩单-可办理
科罗拉多大学波尔得分校毕业证学位证成绩单-可办理科罗拉多大学波尔得分校毕业证学位证成绩单-可办理
科罗拉多大学波尔得分校毕业证学位证成绩单-可办理
 
Generative AI for Social Good at Open Data Science East 2024
Generative AI for Social Good at Open Data Science East 2024Generative AI for Social Good at Open Data Science East 2024
Generative AI for Social Good at Open Data Science East 2024
 
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
 
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
 
20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
 
RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.
 
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
 
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝DelhiRS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
 
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
 
9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service
 
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptxAmazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
 

Sparql querying of-property-graphs-harsh thakkar-graph day 2017 sf

  • 1. SPARQL querying of Graph Databases using Gremlin: Gremlinator Harsh Thakkar University of Bonn Graph Day 2017 - San Francisco - USA - June 17
  • 2. 2Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn WDAqua ITN - http://wdaqua.eu/ ● Answering Questions using Web Data (WDAqua) is a EU H2020 - Marie Skłodowska Curie Actions - Innovative Training Networks (ITN) ● 15 PhD students across Europe ● Advancing SotA in data-driven Question Answering ● Reusable and extensible components for QA
  • 3. 3Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn Outline ● #Motivation 1 - LITMUS Benchmark Suite ● #Motivation 2 - RDF graphs vs. Property graphs ● Gremlinator
  • 4. 4Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn Outline ● #Motivation 1 - LITMUS Benchmark Suite ● #Motivation 2 - RDF graphs vs. Property graphs ● Gremlinator
  • 5. 5Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn RDF-3X Ocean of Data Sea of Tools+ K-V stores Graph stores Doc-oriented stores RDF stores Wide column stores Real Synthetic http://lod-cloud.net/versions/2017-02-20/lod.pn g LOD Cloud 2017 Motivation #1 - Benchmarking 2
  • 6. 6Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn http://mattturck.com/big-data-landscape-2016-v18-final/
  • 7. 7Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn Contd… • Domain specific applications: i.e. perspectives https://steemit.com/philosophy/@l0k1/subjectivity-and-truth-how-blockchains-model-consensus-building
  • 8. 8Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn Benchmark… Manually? Phewww.. that’s Tedious! Fairness? Standardization?Reusability? Extensibility?
  • 9. 9Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn LITMUS Benchmark Suite https://kerniebemp.files.wordpress.com/2013/03/rubegoldberg.jpg
  • 10. 10Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn Dataset 1 Dataset 2 Dataset 3 Dataset N Data integration module Benchmarking Core Controller & Tester System configuration & integration module Queryset 1 Queryset 3 Queryset M Analyzer RDF stores Graph stores Relational DBs Wide Column stores Profiler Queryset 2 Key value stores Queryconversion module Query Facet (F2) Data Facet (F1) System Facet (F3) User Interface (F4) User The LITMUS architecture Thakkar, Harsh. "Towards an Open Extensible Framework for Empirical Benchmarking of Data Management Solutions: LITMUS." European Semantic Web Conference. Springer,, 2017.
  • 11. 11Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn Challenges • Core challenges in developing such an open, extensible FAIR framework? • Data Representation • Query Conversion • Key Performance Indicators (KPIs) http://media.thinkadvisor.com/lifehealthpro/article/2015/02/24/challenge.jp g
  • 12. 12Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn Query Translation • Yes we are linguistically diverse and so are DMSs! • That too with different dialects: • SPARQL, CYPHER, Gremlin, etc • Many many Graph-based DMSs! • Is there one GQL to cover all Graph DMSs*? http://cdn2.wpbeginner.com/wp-content/uploads/2015/02/multilingual-wordpress.jpg
  • 13. 13Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn Gremlin http://www.datastax.com/wp-content/uploads/2015/09/many-to-many-mapping.png http://www.datastax.com/wp-content/uploads/2015/09/gtm-dataflow.png Gremlin’s Multi-Graph Query Language (GQL) support
  • 14. 14Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn Contd… Multi-DMS & platform support https://tinkerpop.apache.org/images/oltp-and-olap.png # Motivation 1
  • 15. 15Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn https://opinionessoftheworld.files.wordpress.com/2013/04/game-of-thrones-daenerys-dragon.j pg Gremlinator Me
  • 16. 16Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn Outline ● WDAqua ITN ● #Motivation 1 - LITMUS Benchmark Suite ● #Motivation 2 - RDF graphs vs. Property graphs ● Gremlinator
  • 17. 17Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn Do I need a Graph Database? If so, what kind? (Juan Sequeda) Earlier today
  • 18. 18Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn Motivation #2 - Graph Data Models ● Graphs are intuitive formalisms ● Represent complex natural and man-made networks (Genes, SNs) ● Data is increasingly connected (highly) ● Relationships within the data are an integral it ● Index-free, schema-free ● Mathematical foundation ● RDF and Property Graph two most popular graph data models
  • 19. 19Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn RDF Data Model ● RDF = Resource Description Framework ● W3C Recommendation for data modeling and encoding machine readable content on the Web ● Data Model: ○ encodes structured information ○ universal, machine-readable interchange format (Serializations - .nt, .xml, .ttl, etc) ○ data is structured in the form of graphs (RDF graphs)
  • 20. 20Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn RDF Data Model ● RDF is a triple based graph model, where : ○ Subject: URI, Blank node ○ Predicate: URIs -> property ○ Object: URI, Literal, Blank node “2017” “Harsh” ex:Eventex:Person ex:SF “27” ex:age ex:name ex:Bonn “Graph Day” ex:year ex:name ex:place ex:Speaker ex:place URI = Universal Resource identifier, analogous to ISBN for books Literals = data values Blank nodes = Desc. of entities that don’t need to be named. IRIs* ex:stim e “40” @prefix ex: <http://example.org> ex:Person ex:Speaker ex:Event ex:Person ex:name “Harsh” ex:Person ex:place ex:Bonn ex:Person ex:age “27” ex:Event ex:name “Graph Day” ex:Event ex:Year “2017” interpretation representation
  • 21. 21Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn RDF Graphs (RDFGs) ● Edge-labelled, directed, multi-graphs (w. Ent. URIs, Blank nodes, Literals) ● Going from information to Knowledge using OWL (DLs) and Ontologies (RDFS, RDFa, etc) ● Bulky ○ Everything is a node-edge-node (edges dont have properties) ○ More relationships per node -> More total number of triples!
  • 22. 22Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn Example - Modern Graph feat. RDFG
  • 23. 23Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn SPARQL - The RDF Query Language ● SPARQL Protocol And RDF Query Language ● Graph Pattern Matching (GPM) QL for RDF graphs (declarative) ● Defacto QL of RDF stores, W3C standard since Jan 2008. ● High importance in semantic web - querying knowledge graphs - QA ○ SPARQL : Semantic Web (web in general) what SQL : Rel.DBs ● Main components: ○ Graph patterns (WHERE) [BGPs {s p o .}, GGPs {...}, CGPs{ops}] ○ Prefixes - encode URIs ○ Query result from range of variables (SELECT) More info: 1,2,
  • 24. 24Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn Ex:SPARQL query PREFIX a: <http://abc.com/prty> SELECT DISTINCT ?x WHERE { ?x a:Created ?y .} ?x <http://abc.com/node/4> <http://abc.com/node/2> <http://abc.com/node/5> Output BGP Matching patterns
  • 25. 25Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn Property Graph Data Model ● Edge-labelled, directed, attributed, multi-graph ● Vertices and edges both have properties ● Main components: ○ Vertices, edges (Src,Dsc), properties (key-value pairs), labels (strings) ● Super neat (compact), super cute ● Easier to add weighted, reified edges ● Query Languages - CYPHER, Gremlin, PGQL, etc Name: Graph Day Year: 2017 Place: SF, USA Name: Harsh Age: 27 From: Bonn, DE Role: speaker Time: 40 Person Event
  • 26. 26Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn Example - PG viz RDF PG
  • 27. 27Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn Gremlin - a PG Query Language ● A Graph Traversal Language and Machine (like Java - JVM) ● Offers both declarative (GPM) and imperative (traversal) constructs ● Supports both OLTP: Graph DBs and OLAP: Graph processors ● Popular for querying Property graphs. More InfoRef. Slides #13, #14
  • 28. 28Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn Ex:Gremlin query 1. g.V().in(“Created”).dedup() //imperative 2. g.V().match( __.as(‘x’).out(‘Created’).as(‘y’ )).select(‘x’).dedup() // declarative - GPM PREFIX a: <http://abc.com/prty> SELECT DISTINCT ?x WHERE { ?x a:Created ?y .} ==>x:v[4] ==>x:v[2] ==>x:v[5] Output SPARQL
  • 29. 29Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn SPARQL vs. Gremlin Queries ● Linear, standard, graph pattern queries (exact match) ● Less joins - less complexity - better performance ● Benefit from macro indices ○ SPO, POS, etc ● Multi-hop, neighbourhood, star/snowflake, traversal queries (fuzzy match) ● Everything is a path - better performance ● Benefit from micro-indices Motivation #2 - So why not benefit from Gremlin for complex/ multi-hop/ path queries?
  • 30. 30Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn SPARQL vs. Gremlin Queries ● Lacks looping and branching and Graph analytical queries (OLAP) ● Supports federated querying ● Supports looping, branching and Graph Analytical queries (OLAP) ● No federated querying Motivation #2 - So why not benefit from Gremlin for complex/ multi-hop/ path queries?
  • 31. 31Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn Ex:Star-shape query PREFIX bsbm: <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/vocabulary/> PREFIX bsbm-inst: <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/> SELECT ?label ?comment ?p ?f ?productFeature ?producer ?propertyText1 ?propertyText2 ?propertyText3 ?propertyNum1 ?propertyNum1 WHERE { bsbm-inst:Product343 rdfs:comment ?comment . bsbm-inst:Product343 bsbm:producer ?p . ?p rdfs:label ?producer . bsbm-inst:Product343 dc:publisher ?p . bsbm-inst:Product343 bsbm:productFeature ?f . ?f rdfs:label ?productFeature . bsbm-inst:Product343 bsbm:productPropertyTextual1 ?propertyText1 . bsbm-inst:Product343 bsbm:productPropertyTextual2 ?propertyText2 . bsbm-inst:Product343 bsbm:productPropertyTextual3 ?propertyText3 . bsbm-inst:Product343 bsbm:productPropertyNumeric1 ?propertyNum1 . bsbm-inst:Product343 bsbm:productPropertyNumeric2 ?propertyNum2 . } g.V().match(__.as('a').has("productID",343).as('b').valueMap().as('c')).select('c') 0.0247 sec 0.0013 sec
  • 32. 32Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn Outline ● WDAqua ITN ● #Motivation 1 - LITMUS Benchmark Suite ● #Motivation 2 - RDF graphs vs. Property graphs ● Gremlinator
  • 33. 33Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn SPARQL ➞ Gremlin analogy ● Query based on Graph pattern [declarative] ● Provides GPM construct via .match() steps [declarative] Name: SPARQL-Gremlin 0.1 Lang: Java Name: Daniel Kupitz …. Implements Person Software Name: Harsh Thakker …. Extends Year: 2015 Year: 2016 Person Inception Result
  • 34. 34Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn Contd… SPARQL and Gremlin language constructs and corresponding operators
  • 35. 35Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn Gremlinator architecture
  • 36. 36Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn BGP (q) ➞ SST* ( ) Subject Predicate Object Operation URI URI [rdfs:label] “literal” Lv /Le ⇒ .hasLabel(“x”) URI URI “literal” Pv /Pe ⇒ .has(P, ”val”) URI URI URI E ⇒ .in(“x”)/.out(“x”) Traversals ⇒ Property value, Label value, vertex Name: Graph Day Year: 2017 Place: SF, USA Name: Harsh Age: 27 From: Bonn, DE Role: speaker Time: 40 Person Event * Rodriguez, Marko A., and Peter Neubauer. "The graph traversal pattern." arXiv preprint arXiv:1004.1001 (2010).
  • 37. 37Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn CGP (Q) ➞ Traversal ( ) Mapping corresponding Gremlin operators
  • 38. 38Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn Ex:1 Tinker Modern Graph Select only those persons who are younger or equal than 30 and created a soft. collectively. SELECT ?a ?b ?c WHERE { ?a v:label "person" . ?a e:knows ?b . ?a e:created ?c . ?b e:created ?c . ?a v:age ?d . FILTER (?d <= 30) }
  • 39. 39Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn Contd… SELECT ?a ?b ?c WHERE { ?a v:label "person" . ?a e:knows ?b . ?a e:created ?c . ?b e:created ?c . ?a v:age ?d . FILTER (?d <= 30) } [MatchStartStep@[a], HasStep([~label.eq(person)]), MatchEndStep] [MatchStartStep@[a], VertexStep(OUT,[knows],vertex)@[b], MatchEndStep] [MatchStartStep@[a], VertexStep(OUT,[created],vertex)@[c], MatchEndStep] [MatchStartStep@[b], VertexStep(OUT,[created],vertex)@[c], MatchEndStep] [MatchStartStep@[a], PropertiesStep([age],value)@[d], MatchEndStep] [WhereTraversalStep([WhereStartStep(d), IsStep(leq(30))]), MatchEndStep] s BGPs BGP (q) ➞ SST* ( )
  • 40. 40Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn [GraphStep(vertex,[]), MatchStep(AND,[ [MatchStartStep(a), HasStep([~label.eq(person)]), MatchEndStep], [MatchStartStep(a), VertexStep(OUT,[knows],vertex), MatchEndStep(b)], [MatchStartStep(a), VertexStep(OUT,[created],vertex), MatchEndStep(c)], [MatchStartStep(b), VertexStep(OUT,[created],vertex), MatchEndStep(c)], [MatchStartStep(a), PropertiesStep([age],value), MatchEndStep(d)], [MatchStartStep(d), WhereTraversalStep([WhereStartStep, IsStep(leq(30))]), MatchEndStep] ] ), SelectStep([a, b, c])] SELECT ?a ?b ?c WHERE { ?a v:label "person" . ?a e:knows ?b . ?a e:created ?c . ?b e:created ?c . ?a v:age ?d . FILTER (?d <= 30) } Contd… sSPARQL Query CGP (Q) ➞ Traversal ( )
  • 41. 41Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn Select only those persons who are younger or equal than 30 and created a soft. collectively. SELECT ?a ?b ?c WHERE { ?a v:label "person" . ?a e:knows ?b . ?a e:created ?c . ?b e:created ?c . ?a v:age ?d . FILTER (?d <= 30) } Output {a=v[2], b=v[4], c=v[3]} Contd…
  • 42. 42Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn Experiments* Northwind dataset ● PG - Vertices: 3209, Edges: 6177 ● RDF - Triples: 33033 BSBM 1M dataset ● PG - Vertices: 92737, Edges: 238309 ● RDF - Triples: 1000313 * Detailed work submitted to CIKM 2017 CPU: Intel® Xeon® CPU E5-2660 v3 (20 cores @2.60GHz), RAM: 128 GB DDR3, HDD: 512 GB SSD, OS: Linux 4.2-generic (x86_64) Openlink Virtuoso v7.2.4, Apache TinkerGraph-Gremlin v3.2.3
  • 43. 43Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn Contd… ● Queries
  • 44. 44Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn First Results Comparison of executing SPARQL queries on Virtuoso and corresponding translated Gremlin pattern matching traversals on TinkerGraph against BSBM 1M dataset (in secs, warm cache,10Qs). 13x - 17x fold faster* wrt SPARQL
  • 45. 45Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn Limitation ● SPARQL queries with: ○ Nested Union(s) ○ Optional(s) - v3.3 [fixed]
  • 46. 46Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn Next Step(s) ● Address the limitations ● Robustness (any PG) ● Deploy @Apache TinkerPop :)
  • 47. 47Graph Day 2017 - San Francisco - USA - June 17 Gremlinator - Harsh Thakkar - University of Bonn Acknowledgements Funding: Supervisors & Mentors: Prof. Dr. Soeren Auer Prof. Dr. Jens Lehmann Prof. Dr. Maria-Esther Vidal H2020 WDAqua ITN (GA: 642795) Dr. Marko Rodriguez
  • 48. 48PhD Symposium - ESWC 2017 - Slovenia - Portoroz - May 29 LITMUS Benchmark Suite - Harsh Thakkar - University of Bonn Resources http://wdaqua.eu/ https://github.com/LITMUS-Benchmark-Suite/sparql-to-gremlin Code: https://github.com/LITMUS-Benchmark-Suite/ Web: https://litmus-benchmark-suite.github.io Docker: https://hub.docker.com/r/litmusbenchmarksuite/litmus/ LITMUS Benchmark Suite
  • 49. THANK YOU GRAPH DAY ‘17 SF!!! Harsh Thakkar University of Bonn Twitter: @harsh9t LinkedIn: thakkarharsh E-mail: harsh9t@gmail.com Questions? Comments? Insults? Injuries?