đź“ťRDF vs. LPG

tags

Resource Description Framework (RDF), Labeled Property Graph (LPG)

LPG:

  • nodes = id + set of key-value pairs

  • relationships = id + type + set of key-value pairs

RDF:

  • resources are IRIs implicitly defined by subject-property-value triples

  • subject is always an IRI

  • property is IRI

  • value is either resource (IRI) or literal value

The main difference is that in LPG, nodes and edges have internal structure—it is possible to attach attributes to relationships (possible with RDF*), it is possible to differentiate instances of relationships even if s-p-o triple is the same. (Although, there are workaround in RDF.)

Resources

Backlinks