X

# 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
By George Anadiotis, Contributor
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

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

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

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

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

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

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

Holiday wallpaper for your phone: Christmas, Hanukkah, New Year's, and winter scenes

### Holiday wallpaper for your phone: Christmas, Hanukkah, New Year's, and winter scenes

21 Photos
Winter backgrounds for your next virtual meeting

### Winter backgrounds for your next virtual meeting

21 Photos
Holiday backgrounds for Zoom: Christmas cheer, New Year's Eve, Hanukkah and winter scenes

### Holiday backgrounds for Zoom: Christmas cheer, New Year's Eve, Hanukkah and winter scenes

21 Photos
Hyundai Ioniq 5 and Kia EV6: Electric vehicle extravaganza

### Hyundai Ioniq 5 and Kia EV6: Electric vehicle extravaganza

26 Photos
A weekend with Google's Chrome OS Flex

### A weekend with Google's Chrome OS Flex

22 Photos
Cybersecurity flaws, customer experiences, smartphone losses, and more: ZDNet's research roundup

### Cybersecurity flaws, customer experiences, smartphone losses, and more: ZDNet's research roundup

8 Photos
Inside a fake \$20 '16TB external M.2 SSD'

### Inside a fake \$20 '16TB external M.2 SSD'

8 Photos
ZDNET
Notice:
We've updated our Terms of Use, effective immediately. By continuing to use the site, you agree to the updated Terms of Use.