RDF Triple Store FAQ

What is a Graph?

A Graph is a data structure consisting of nodes and arcs (also called edges) connecting these nodes. The nodes of a graph usually represent things and the edges represent relationships between things. The edges may be directed and may have attributes or labels qualifying the relationship.

What is a Directed Graph?

A Directed Graph is a graph where the lines connecting the nodes have a direction. For example, a web site can be represented as a graph where each page is a node and each link is an arc. The arcs (links) are directed because A linking to B does not mean B linking to A.

What is RDF?

RDF, the Resource Definition Framework, provides a formalism for representing arbitrary, structured, semi-structured or ad hoc data about anything that can be identified with a URI. RDF has been developed as a maximally flexible formalism for describing resources on the web but can be applied to any knowledge representation task.

What is RDF's underlying Data Model?

RDF represents nodes of a graph (subjects) by URIs. Anything described by RDF must have a URI, whether this is accessible on the web or not. Also all attributes of a URI (predicates) must also have URIs. The value of an attribute (object) can be a URI or a scalar value such as a string or a number. Thus, an RDF graph is a collection of triples each consisting of a subject URI, a predicate URI and of an object. These form a directed graph where the arcs start with subject URIs, are labeled with predicate URIs and end up pointing to object URIs or scalar values.

What is a Triple?

A Triple is a unit of RDF Data (a graph) comprised of three pieces of information: Subject (S), Predicate (P), and Object (O). Where S and O are nodes and P the node connector (also called edge or arc). Since RDF is based on a directed graph data model the edges always point from "Subject" to the "Object" as illustrated below:


(Subject) -- Predicate -->(Object)

What is a Named Graph?

A Named Graph is simply a collection of RDF triples which is named by a graph URI.

What is a Triple Store?

"Triple Store" is the common name given to a database management system for RDF Data. These systems provide data management and data access via APIs and query languages to RDF Data.

In actuality, many Triple Stores are in fact Quad Stores, due to the need to maintain RDF Data provenance within the data management system. Any Triple Store that supports Named Graph functionality is more than likely a Quad Store. (Virtuoso is a Quad Store -- and in fact should be considered a Column Store, as Quads may need to be extended further for various reasons.)

How does RDF data get into a Triple Store?

You can import, export, and render RDF data in a number of ways:

How Do You Query RDF Data?

SPARQL is the emerging query language for RDF data. SPARQL allows specifying a set of triple patterns that must be matched by data in one or more graphs. The results of a SPARQL query resemble a SQL result set or alternately can represent a new RDF graph. The basic unit of a query is a triple pattern that may consist of constants and variables corresponding to a triple's subject, predicate and object. Using the same variable name in more than one triple patterns specifies a join.

What is the Virtuoso RDF Triple Store?

The Virtuoso database functionality realm that handles the management of RDF Data. It supports N3 / N-Triples and RDF/XML RDF Data Serializations. It also supports the SPARQL Query Language, Query Protocol, and XML Query Results Serialization.

How Do You Put RDF Data Into Virtuoso?

Virtuoso provides several load or data import functions that insert data into the triple store. These include:

How Do You Query RDF Data In Virtuoso?

Via the following mechanisms:

What RDF data types are supported by the Virtuoso RDF Triple Store?

If an RDF type corresponds to a SQL data type, the data is stored as a native instance of the SQL type in question. For strings with language tags and other RDF data that has no direct SQL counterpart, a special representation preserving the RDF semantic is used.

How many graph models can the Virtuoso RDF Triple Store support?

Unlimited.

Learn More

CategoryVOS CategorySPARQL CategoryRDF CategoryFAQ CategoryVirtuoso