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
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
![rdfvslpg7.png](https://www.zdnet.com/a/img/resize/c0f817ffb841704efd28a74df9e89dbe52bab35c/2017/05/19/1769acf7-e55f-49a1-90a2-cd032c7d7600/rdfvslpg7.png?auto=webp&width=1280)
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