FOAF (ontology)


FOAF is a machine-readable ontology describing persons, their activities and their relations to other people and objects. Anyone can use FOAF to describe themselves. FOAF allows groups of people to describe social networks without the need for a centralised database.
FOAF is a descriptive vocabulary expressed using the Resource Description Framework and the Web Ontology Language. Computers may use these FOAF profiles to find, for example, all people living in Europe, or to list all people both you and a friend of yours know. This is accomplished by defining relationships between people. Each profile has a unique identifier, which is used when defining these relationships.
The FOAF project, which defines and extends the vocabulary of a FOAF profile, was started in 2000 by Libby Miller and Dan Brickley. It can be considered the first Social Semantic Web application, in that it combines RDF technology with 'social web' concerns.
Tim Berners-Lee, in a 2007 essay, redefined the semantic web concept into the Giant Global Graph, where relationships transcend networks and documents. He considers the GGG to be on equal ground with the Internet and the World Wide Web, stating that "I express my network in a FOAF file, and that is a start of the revolution."

WebID

FOAF is one of the key components of the WebID specifications, in particular for the WebID+TLS protocol, which was formerly known as FOAF+SSL.

Deployment

Although it is a relatively simple use-case and standard, FOAF has had limited adoption on the web. For example, the Live Journal and DeadJournal blogging sites support FOAF profiles for all their members, My Opera community supports FOAF profiles for members as well as groups, FOAF support is present on Identi.ca, FriendFeed, WordPress and TypePad services.
Yandex blog search platform supports search over FOAF profile information. Prominent client-side FOAF support is available in Safari web browser and in the Semantic Radar plugin for Firefox browser. Semantic MediaWiki, the semantic annotation and linked data extension of MediaWiki supports mapping properties to external ontologies, including FOAF which is enabled by default.
There are also modules or plugins to support FOAF profiles or FOAF+SSL authorization for programming languages, as well as for content management systems.

Example

The following FOAF profile states that Jimmy Wales is the name of the person described here. His e-mail address, homepage and depiction are web resources, which means that each can be described using RDF as well. He has Wikimedia as an interest, and knows Angela Beesley.

@prefix rdf: .
@prefix rdfs: .
@prefix foaf: .
<#JW>
a foaf:Person ;
foaf:name "James Wales" ;
foaf:mbox ;
foaf:homepage ;
foaf:nick "Jimbo" ;
foaf:depiction ;
foaf:interest ;
foaf:knows .

rdfs:label "Wikimedia".