next up previous
Next: Literals Up: Model Previous: URIs

Triples and graph

The base element of the RDF model is the triple : a resource (the subject) is linked to another resource (the object) through an arc labeled with a third resource (the predicate). We will say that <subject> has a property <predicate> valued by <object>. For example, the triple in figure 1 could be read as ``Champin is the creator of index.html''.

Figure 1: A triple
\includegraphics[width=12cm]{img/triple.ps}

All the triples result in a direct graph, whose nodes and arcs are all labeled with qualified URIs. Note in figure 2 that a resource may have more than one value for a given property.

Figure 2: An RDF graph
\includegraphics[width=12cm]{img/graph.ps}



Pierre-Antoine CHAMPIN 2001-04-05