Revision as of 23:48, 8 September 2009 by WikiSysop (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


This page provides links to information on how to use different FOAF vocabulary terms. Copious examples are included to try and make it as easy as possible to construct a FOAF document for yourself, as well as demonstrating how to use different aspects of the FOAF vocabulary.

The pages in the list below as ordered roughly in terms of complexity. i.e they progress from the creation of a simple FOAF document describing a single Person, adding information about that person, relating that person to their friends, etc. Either work through them, or dip in as required.

When working through the examples its worth bearing in mind that the syntactic rules for 'well formed' FOAF documents are just those of RDF and XML. FOAF itself doesn't define any explicit document formats (ie. 'file formats') although RDF/XML documents which make use of FOAF terminology, or are deployed for use with FOAF-oriented tools, are often called 'FOAF files'. See RdfSyntaxFoafIntro for a brief introduction to RDF syntax but isn't required reading to start creating a FOAF document.

Check out Tutorials for links to FOAF tutorials elsewhere, and other pages in the CategoryTutorial

  • MinimalFoafDocument -- describes how to create the minimally useful FOAF document.
  • DescribingAPerson -- adding basic properties about a foaf:Person
  • UsingFoafKnows -- describes how to use foaf:knows to say that one person knows another.
  • UsingFoafImage -- how to associate a picture with a Person (or any other FOAF resource).
  • UsingFoafTopic -- how to use foaf:topic and foaf:page to say that a web page is about 'something'
  • UsingBasedNear -- how to use foaf:based_near to relate things to locations.
  • AdvancedFoafExamples -- lengthier examples of things you can do with FOAF