/>
X

Join or Sign In

Register for your free ZDNet membership or if you are already a member, sign in using your preferred method below.

Use your email Use Linkedin Use Facebook

A graph is a graph is graph? RDF vs LPG

Not all graphs are created similar. Here are the main differences between RDF and LPG, as presented by Jesus Barrasa, Director Telecoms Practice, ‎Neo4j: http://bit.ly/howSemanticIsYourGraph

|
georgios-anadiotis-author.jpg
|
Topic: Innovation
rdfvslpg1.png
1 of 7 Neo4j / J. Barrasa

Graph = Vertices + Edges

Graph = Vertices + Edges. But it's a bit more complicated than that. Image: Jesus Barrasa, Director Telecoms Practice, ‎Neo4j

rdfvslpg2.png
2 of 7 Neo4j / J. Barrasa

RDF works in triples

RDF works in triples. Subject, Predicate, Object. For instance, Tom is a human. Image: Jesus Barrasa, Director Telecoms Practice, ‎Neo4j

rdfvslpg3.png
3 of 7 Neo4j / J. Barrasa

RDF Vertices + Edges

In RDF, vertices can be resources (having Uniform Resource Identifiers as their IDs) or literal primary values. Edges are relationships also having URIs as their IDs. Image: Jesus Barrasa, Director Telecoms Practice, ‎Neo4j

rdfvslpg4.png
4 of 7 Neo4j / J. Barrasa

LPG works in connected things

LPG is about describing vertices with properties, and connecting them with edges. Tom is a human with age = 12 and eye color = blue, and he likes ice cream. Image: Jesus Barrasa, Director Telecoms Practice, ‎Neo4j

rdfvslpg5.png
5 of 7 Neo4j / J. Barrasa

LPG Vertices + Edges

In LPG, vertices are nodes with an ID and a set of key-value pair properties, and edges are relationships also having an ID and a set of key-value pair properties. Image: Jesus Barrasa, Director Telecoms Practice, ‎Neo4j

rdfvslpg6.png
6 of 7 Neo4j / J. Barrasa

RDF graphs visualized

RDF graphs can be quite extensive as a result of the way they model the world. Image: Jesus Barrasa, Director Telecoms Practice, ‎Neo4j

rdfvslpg7.png
7 of 7 Neo4j / J. Barrasa

LPG graphs visualised

LPG graphs are more condensed, as a result of the way they model the world. Image: Jesus Barrasa, Director Telecoms Practice, ‎Neo4j

Related Galleries

First Look: Samsung's Galaxy Z Flip 3 [pictures]
01-001ef-gf711t-001-front-navy-210719-h.jpg

Related Galleries

First Look: Samsung's Galaxy Z Flip 3 [pictures]

Remote working, programming languages, artificial intelligence, and more: ZDNet's research roundup
gartnerhypeai2020.png

Related Galleries

Remote working, programming languages, artificial intelligence, and more: ZDNet's research roundup

Pitfalls to Avoid when Interpreting Machine Learning Models
1-bad-model-generalization.jpg

Related Galleries

Pitfalls to Avoid when Interpreting Machine Learning Models

Toshiba laptops through the ages
screenshot-2020-08-11-at-11-52-27.png

Related Galleries

Toshiba laptops through the ages

Innovative projects now online to combat coronavirus outbreak
7.jpg

Related Galleries

Innovative projects now online to combat coronavirus outbreak

Top programming languages, 5G worries, cloud computing, and more: Research round-up
gsa-status-of-5g-by-country-end-2019.jpg

Related Galleries

Top programming languages, 5G worries, cloud computing, and more: Research round-up

Samsung Galaxy S20 first look: All the models and colors up close
dsc-9870.jpg

Related Galleries

Samsung Galaxy S20 first look: All the models and colors up close