A graph is a graph is graph? RDF vs LPG
![georgios-anadiotis-author.jpg](https://www.zdnet.com/a/img/resize/f8a968a7322a33fc2db8533732594881a2e3bd2d/2016/06/27/83b9c200-9470-43e7-8a3e-7a824bfa8e3c/georgios-anadiotis-author.jpg?auto=webp&fit=crop&frame=1&height=192&width=192)
Graph = Vertices + Edges
Graph = Vertices + Edges. But it's a bit more complicated than that. Image: Jesus Barrasa, Director Telecoms Practice, Neo4j
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](https://www.zdnet.com/a/img/resize/afbc40367f65cb4e5e58a268d40b5ae3e40967a7/2017/05/19/ea255e02-e010-4677-98a7-46baf9cb80ad/rdfvslpg3.png?auto=webp&width=1280)
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
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
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
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
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