This document discusses querying RDF data stored in relational databases. It begins with an overview of RDF and how RDF triples can be represented as a subject-predicate-object (SPO) table. It then discusses how to write SQL queries to retrieve information from this SPO table, including path queries that require self-joins. The document concludes by covering two solutions for improving the performance of querying graph-shaped RDF data stored in relational databases: subject-property matrixes and vertical partitioning.
Related topics: