So, here's what I've thrown together after looking at a few examples and reading docs:
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:contact="http://www.w3.org/2000/10/swap/pim/contact#"
xmlns:airport="http://www.daml.org/2001/10/html/airport-ont#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<foaf:Person rdf:ID="rayners">
<foaf:title>Mr.</foaf:title>
<foaf:name>David Raynes</foaf:name>
<foaf:firstName>David</foaf:firstName>
<foaf:surname>Raynes</foaf:surname>
<foaf:nick>rayners</foaf:nick>
<foaf:nick>drraynes</foaf:nick>
<foaf:nick>Dave</foaf:nick>
<foaf:mbox_sha1sum>f7962f9ea559dc477202a7ec1c8345d7922929d7</foaf:mbox_sha1sum>
<foaf:mbox_sha1sum>1241ee77a246c87c90280b9892771f7e892cb5c4</foaf:mbox_sha1sum>
<foaf:mbox_sha1sum>9bbf3798e98cd3ba35b8c94c27d5f88ab7610e96</foaf:mbox_sha1sum>
<foaf:homepage rdf:resource="http://www.rayners.org/"/>
<foaf:weblog rdf:resource="http://www.rayners.org/" />
<foaf:aimChatID>drraynes</foaf:aimChatID>
<contact:nearestAirport>
<airport:Airport rdf:about='http://www.daml.org/cgi-bin/airport?BWI'>
<airport:iataCode>BWI</airport:iataCode>
<airport:icaoCode>KBWI</airport:icaoCode>
</airport:Airport>
</contact:nearestAirport>
<foaf:currentProject
rdf:resource="http://manager.mt-plugins.org/"
dc:title="Movable Type Plugin Manager" />
<foaf:currentProject
rdf:resource="http://www.rayners.org/archives/cat_mt_plugins.php"
dc:title="Movable Type Plugins" />
<foaf:currentProject
rdf:resource="http://www.theplothooks.org/"
dc:title="The Plot Hooks Web Site" />
<foaf:knows rdf:resource="#wkearney" />
<foaf:knows rdf:resource="#ben" />
<foaf:knows rdf:resource="#rob" />
<foaf:knows rdf:resource="#peter" />
</foaf:Person>
<foaf:Person rdf:ID="wkearney">
<foaf:name>Bill Kearney</foaf:name>
<foaf:mbox_sha1sum>46c2f9d3b34353ee9ffc07dac7b367cd6693be07</foaf:mbox_sha1sum>
<rdfs:seeAlso rdf:resource="http://www.ideaspace.net/users/wkearney/foaf.xrdf"/>
</foaf:Person>
<foaf:Person rdf:ID="ben">
<foaf:name>Ben Hammersley</foaf:name>
<foaf:mbox_sha1sum>a6707acc31550cdf9ed9fbaead1af914d0df805d</foaf:mbox_sha1sum>
<rdfs:seeAlso rdf:resource="http://www.benhammersley.com/benfoaf.rdf" />
</foaf:Person>
<foaf:Person rdf:ID="rob">
<foaf:name>Rob Ruff</foaf:name>
<foaf:weblog rdf:resource="http://www.robruff.net/" />
<foaf:homepage rdf:resource="http://www.robruff.net/" />
<foaf:mbox_sha1sum>8bc83ccea2c1fc3a730c0916be25c77f59300e96</foaf:mbox_sha1sum>
</foaf:Person>
<foaf:Person rdf:ID="peter">
<foaf:name>Peter Seckler</foaf:name>
<foaf:homepage rdf:resource="http://www.the-never.net/" />
<foaf:weblog rdf:resource="http://www.livejournal.com/~the_never/" />
</foaf:Person>
<rdf:Description rdf:about="">
<dc:creator rdf:resource="#rayners" />
<dc:date>2003-07-09</dc:date>
</rdf:Description>
</rdf:RDF>
I'll always keep an up-to-date copy in foaf.rdf.
So far this has definately been a learning experience, and I am looking forward to what I can find out next.
Some useful Friend-of-a-Friend links:
- FOAF Project homepage
- FOAF XML Schema
- Bill Kearney's Hash Generator
- FoaF Explorer (Explore my FoaF file)
- FOAF-a-Matic (for generating a starter FoaF file)
Hello, David: Your foafnaut link crashes mt browser! I'm on a Mac Power PC 604ev, 56meg RAM with virtual memory on, System 8.6, cable modem.
Thought you might like to know: this might be a bug report....
Hello, David: Your foafnaut link crashes my browser! I'm on a Mac Power PC 604ev, 56meg RAM with virtual memory on, System 8.6, Explorer v. 5.1.6, cable modem.
Thought you might like to know: this might be a bug report....
don't think it's a bug. it's just pinged alot so probably overwhelmed.
here's an great foaf search tool for foafs that have been submitted to their public database:
http://icite.net/blog/200308/foaf_search.html