The Resource Description Framework (RDF) is the basic data model for the Semantic Web. It is built upon one of the simplest structures for representing data: a directed labelled graph. An RDF graph is described by a set of triples of the form <Subject Predicate Object>, also called statements, which may be viewed as connecting subjects to objects via edges labelled by the predicates. Since any of these can be - dereferenceable - URIs, these edges may be equally viewed as “typed” links between resources and other resources, where resources - unlike in the HTML Web, are no longer restricted to be documents, but arbitrary entities, that can be identified by URIs.
RDF's flat graph-like representation has the advantage of abstracting away from the data schema, and thus promises to allow for easier integration than customized XML data in different XML dialects: whereas the integration of different XML languages requires the transformation between different tree structures using transformation languages such as XSLT (Kay, 2007) or XQuery (Chamberlin et al., 2007), different RDF graphs can simply be stored and queried alongside, and as soon as they share common URIs, form a joint graph upon a simple merge operation accumulating their respective triples in one joint graph. While the normative syntax to exchange RDF, RDF/XML (Beckett and McBride, 2004), is an XML dialect itself, there are various other serialization formats for RDF, such as RDFa (Adida et al., 2008), a format that allows one to embed RDF within (X)HTML, or non-XML representations such as the more readable Turtle (Beckett and Berners-Lee, 2008) syntax; likewise RDF stores, that is, special databases for RDF, normally use their own, proprietary internal representations of triples, that do not relate to XML. Various RDF stores that can store and handle RDF data efficiently and at large scale are nowadays available off-the-shelf, both commercial systems and academic ones, such as YARS2 (Harth et al., 2007), Jena TDB (http://www.openrdf.org/) to name a few. For an overview of RDF Stores, see also (Haslhofer et al., 2011); a recent article also discusses the use of NoSQL graph databases to store and process RDF (Cudré-Mauroux et al., 2013).