FOAF (an acronym of
friend of a friend) is a
machine-readable ontology
Ontology is the philosophical study of existence, being. It is traditionally understood as the subdiscipline of metaphysics focused on the most general features of reality. As one of the most fundamental concepts, being encompasses all of realit ...
describing
person
A person (: people or persons, depending on context) is a being who has certain capacities or attributes such as reason, morality, consciousness or self-consciousness, and being a part of a culturally established form of social relations suc ...
s, 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
A social network is a social structure consisting of a set of social actors (such as individuals or organizations), networks of dyadic ties, and other social interactions between actors. The social network perspective provides a set of meth ...
without the need for a centralised database.
FOAF is a descriptive vocabulary expressed using the
Resource Description Framework
The Resource Description Framework (RDF) is a method to describe and exchange graph data. It was originally designed as a data model for metadata by the World Wide Web Consortium (W3C). It provides a variety of syntax notations and formats, of whi ...
(RDF) and the
Web Ontology Language (OWL). 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 (such as the person's
e-mail addresses, international
telephone number,
Facebook
Facebook is a social media and social networking service owned by the American technology conglomerate Meta Platforms, Meta. Created in 2004 by Mark Zuckerberg with four other Harvard College students and roommates, Eduardo Saverin, Andre ...
account name, a
Jabber ID, or a
URI of the homepage or weblog of the person), 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
The social web is a set of social relations that link people through the World Wide Web. The social web encompasses how websites and software are designed and developed in order to support and foster social interaction. These online social int ...
' concerns.
Tim Berners-Lee
Sir Timothy John Berners-Lee (born 8 June 1955), also known as TimBL, is an English computer scientist best known as the inventor of the World Wide Web, the HTML markup language, the URL system, and HTTP. He is a professorial research fellow a ...
, in a 2007 essay, redefined the
semantic web
The Semantic Web, sometimes known as Web 3.0, is an extension of the World Wide Web through standards set by the World Wide Web Consortium (W3C). The goal of the Semantic Web is to make Internet data machine-readable.
To enable the encoding o ...
concept into the
Giant Global Graph (GGG), where relationships transcend networks and documents. He considers the GGG to be on equal ground with the
Internet
The Internet (or internet) is the Global network, global system of interconnected computer networks that uses the Internet protocol suite (TCP/IP) to communicate between networks and devices. It is a internetworking, network of networks ...
and the
World Wide Web
The World Wide Web (WWW or simply the Web) is an information system that enables Content (media), content sharing over the Internet through user-friendly ways meant to appeal to users beyond Information technology, IT specialists and hobbyis ...
, 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 supported 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 was available in
Safari
A safari (; originally ) is an overland journey to observe wildlife, wild animals, especially in East Africa. The so-called big five game, "Big Five" game animals of Africa – lion, African leopard, leopard, rhinoceros, African elephant, elep ...
web browser before RSS support was removed in Safari 6 and in the Semantic Radar plugin for
Firefox
Mozilla Firefox, or simply Firefox, is a free and open-source web browser developed by the Mozilla Foundation and its subsidiary, the Mozilla Corporation. It uses the Gecko rendering engine to display web pages, which implements curr ...
browser.
Semantic MediaWiki, the
semantic annotation and
linked data extension of
MediaWiki
MediaWiki is free and open-source wiki software originally developed by Magnus Manske for use on Wikipedia on January 25, 2002, and further improved by Lee Daniel Crocker,mailarchive:wikipedia-l/2001-August/000382.html, Magnus Manske's announc ...
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.
[http://drupal.org/project/foaf - FOAF support for Drupal]
Example
The following FOAF profile (written in
Turtle
Turtles are reptiles of the order (biology), order Testudines, characterized by a special turtle shell, shell developed mainly from their ribs. Modern turtles are divided into two major groups, the Pleurodira (side necked turtles) and Crypt ...
format) states that James 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 (which is the name of a 'Person' resource).
@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 a foaf:Person ;
foaf:name "Angela Beesley"
.
rdfs:label "Wikimedia" .
History
Versions
See also
*
Resource Description Framework
The Resource Description Framework (RDF) is a method to describe and exchange graph data. It was originally designed as a data model for metadata by the World Wide Web Consortium (W3C). It provides a variety of syntax notations and formats, of whi ...
(RDF)
*
Web Ontology Language (OWL)
*
Social web
The social web is a set of social relations that link people through the World Wide Web. The social web encompasses how websites and software are designed and developed in order to support and foster social interaction. These online social int ...
*
Semantic Web
The Semantic Web, sometimes known as Web 3.0, is an extension of the World Wide Web through standards set by the World Wide Web Consortium (W3C). The goal of the Semantic Web is to make Internet data machine-readable.
To enable the encoding o ...
*
Description of a Career (DOAC)
*
Description of a Project (DOAP)
*
Semantically-Interlinked Online Communities (SIOC)
*
hCard (HTML
vCard)
*
XHTML Friends Network (XFN)
References
External links
* ()
FOAF dataseta dataset of 201,612 FOAF triples
* Archived:
{{Social networking
Ontology_(information_science)
Semantic Web
2000 software