RDF expression


RDF data consists of statements with a subject, object, and a relationship between them.

Any language capable of expressing this simple form can be an RDF language.

Several languages have emerged with different specialities:

RDF/XML
triple language encoded in XML
<rdf:Description rdf:about="http://purl.org/dc/elements/1.0/title">
    <renderedAs>
        <rdf:Description>
            <http:ContentLength>17056</http:ContentLength>
        </rdf:Description>
    </renderedAs>
</rdf:Description>
N3
higher level formula assertion language
TimBl calls it an "inferencing playground".
dc:title renderedAs [
    http:ContentLength "17056"
] .
ntriples
a simple line-oriented triple assertion languae
use to express expected results for test cases.
<http://purl.org/dc/elements/1.0/title> <renderedAs> _:1 .
_:1 <http://www.w3.org/1999/xx/ns#ContentLength> "17056" .
algae
orginonally designed as a query language, assert directive communicates RDF.
'((renderedAs dc:title ?thingy)
  (http:ContentLength ?thingy "17056"))