Next: Group
Up: Result as RDF
Previous: Result as RDF
Contents
As there is no canonical RDF format, we have to make choices on which
RDF/XML markup to use. We use the following conventions to display an RDF graph :
- Use type tag to display the type of a resource. If there are several types,
we use rdf:type tags for the additional types.
- Use property tags to display properties (we do not use attributes to
display properties)
- By default, we recursively embed markup for composite resources. If the
display flat statement is used, we do
not embed markup and we use reference by means of the rdf:resource attribute.
- If a resource has an rdfs:label in the target graph, it is displayed even if it is
not asked in the query. A style sheet can take advantage of this.
This is done because sometimes, resources have system URI that are not
human readable.
Olivier Corby
2005-07-01