
Simple O ntologies in RDF and RDF Schema 29
following example encodes the graph from Fig. 2.3:
3
<rdf:Description rdf:about="http://semantic-web-book.org/uri">
<ex:title>Foundations of Semantic Web Technologies</ex:title>
<ex:publishedBy>
<rdf:Description rdf:about="http://crcpress.com/uri">
<ex:name>CRC Press</ex:name>
</rdf:Description>
</ex:publishedBy>
</rdf:Description>
Here we can see how literals are represented simply as the contents of a
predicate-element. The name “CRC Press” is given directly by nesting XML
elements instead of creating a second top-level subject element for describing
http://crcpress.com/uri. Some further abbreviations are allow ...