Version User Scope of changes
Sep 10 2008, 6:43 PM EDT (current) webgoddess 21 words added
Sep 10 2008, 6:41 PM EDT webgoddess 29 words added, 22 words deleted

Changes

Key:  Additions   Deletions
Data stolen liberally from http://www.robertprice.co.uk/robblog/archive/2004/10/What_Is_An_RDF_Triple_.shtml - this page gives an excellent explanation of the data. Only the SPARQL query is mine!

RDF Example:
<foaf:knows>
<foaf:Person>
<foaf:nick>Cal</foaf:nick>
<foaf:name>Cal Henderson</foaf:name> <foaf:mbox_sha1sum>2971b1c2fd1d4f0e8f99c167cd85d522a614b07b</foaf:mbox_sha1sum>
<rdfs:seeAlso rdf:resource="http://www.iamcal.com/foaf.xml"/>
</foaf:Person>
</foaf:knows>

SPARQL Example

This SPARQL query selects the names of all the people I know:
PREFIX table: <http://www.foaf.fake/RH#>

SELECT ?name
FROM <http://www.foaf.fake/RH.rdf>

WHERE { ?element table:name ?name. }

Pulls out Cal Henderson from the above file

Triple Example

1 genid:ARP40722 http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://xmlns.com/foaf/0.1/Person
2 genid:ARP40722 http://xmlns.com/foaf/0.1/nick "Cal"
3 genid:ARP40722 http://xmlns.com/foaf/0.1/name "Cal Henderson"
4 genid:ARP40722 http://xmlns.com/foaf/0.1/mbox_sha1sum "2971b1c2fd1d4f0e8f99c167cd85d522a614b07b"
5 genid:ARP40722 http://www.w3.org/2000/01/rdf-schema#seeAlso http://www.iamcal.com/foaf.xml
6 genid:me http://xmlns.com/foaf/0.1/knows genid:ARP40722