Skip to main content
QUICK REVIEW

[Paper Review] A Formal Graph Model for RDF and Its Implementation

Vinh Nguyen, Jyoti Leeka|arXiv (Cornell University)|Jun 1, 2016
Semantic Web and OntologiesComputer Science15 references8 citations
TL;DR

This paper proposes the LDM-3N graph model, a formal RDF graph model that treats predicates as nodes connected by directed edges, enabling full graph connectivity and compatibility with RDF(S) semantics. It enables efficient traversal for reachability and shortest path queries, demonstrated via implementations in GraphKE and RDF-3X with strong performance on the Yago2S-SP dataset.

ABSTRACT

Formalizing an RDF abstract graph model to be compatible with the RDF formal semantics has remained one of the foundational problems in the Semantic Web. In this paper, we propose a new formal graph model for RDF datasets. This model allows us to express the current model-theoretic semantics in the form of a graph. We also propose the concepts of resource path and triple path as well as an algorithm for traversing the new graph. We demonstrate the feasibility of this graph model through two implementations: one is a new graph engine called GraphKE, and the other is extended from RDF-3X to show that existing systems can also benefit from this model. In order to evaluate the empirical aspect of our graph model, we choose the shortest path algorithm and implement it in the GraphKE and the RDF-3X. Our experiments on both engines for finding the shortest paths in the YAGO2S-SP dataset give decent performance in terms of execution time. The empirical results show that our graph model with well-defined semantics can be effectively implemented.

Motivation & Objective

  • Address the fundamental limitation of the W3C-recommended NLAN model, which disconnects subgraphs when predicates are reused as subjects or objects.
  • Enable graph traversal across schema triples and singleton property triples, where predicates are asserted as subjects or objects.
  • Develop a formal graph model compatible with RDF(S) model-theoretic semantics and RDFS entailment rules.
  • Demonstrate practical feasibility through two implementations: a new graph engine (GraphKE) and an extension of RDF-3X.
  • Support efficient execution of reachability and shortest path queries on large-scale RDF datasets like Yago2S-SP.

Proposed method

  • Propose the LDM-3N model, where each RDF triple is represented as a node (the predicate) connected to its subject and object via two directed edges: an initial edge and a terminal edge.
  • Define resource paths and triple paths as traversal mechanisms to navigate between nodes in the LDM-3N graph, enabling path-finding across connected triples.
  • Design an algorithm for traversing the LDM-3N graph using resource and triple paths, supporting reachability and shortest path queries.
  • Implement the LDM-3N model in GraphKE, a new graph engine built from the ground up for this model.
  • Extend the existing RDF-3X triple store to support the LDM-3N model, demonstrating backward and forward compatibility.
  • Use Dijkstra’s algorithm to compute shortest paths in the LDM-3N graph, evaluated on the Yago2S-SP dataset with 260 million triples.

Experimental results

Research questions

  • RQ1Can a formal graph model be constructed that fully supports RDF(S) model-theoretic semantics while enabling graph traversal across predicates used as subjects or objects?
  • RQ2How can the LDM-3N model represent schema triples and singleton property triples as connected subgraphs, overcoming the disconnection issue in the NLAN model?
  • RQ3To what extent can the LDM-3N model be efficiently implemented in both new and existing RDF systems?
  • RQ4What performance can be achieved by executing shortest path queries on large-scale RDF datasets using the LDM-3N model?
  • RQ5Can standard graph algorithms be directly applied to the LDM-3N model while preserving RDF(S) semantics?

Key findings

  • The LDM-3N model successfully represents any RDF dataset as a fully connected graph, resolving the disconnection problem in the NLAN model when predicates are reused as subjects or objects.
  • The model enables effective traversal for reachability and shortest path queries, as demonstrated by the successful application of Dijkstra’s algorithm on the LDM-3N graph.
  • The implementation in GraphKE achieved efficient execution of shortest path queries on the Yago2S-SP dataset, with execution times deemed decent for a real-world dataset of 260 million triples.
  • The extension of RDF-3X to support LDM-3N shows that existing systems can benefit from the model without requiring a complete rewrite.
  • Empirical evaluation confirms that the LDM-3N model is practically feasible and scalable, supporting efficient query execution on large RDF knowledge bases.
  • The shortest path from Andrew Card to Jacob Lew in the LDM-3N model was computed as 15 hops, validating the model’s ability to handle complex, real-world graph queries.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.