FOAF ( friend of a friendの略)は、人物、その活動、そして他の人や物との関係を記述する、機械可読なオントロジーです。誰でもFOAFを使って自分自身を記述できます。FOAFを使えば、中央集権型のデータベースを必要とせずに、人々のグループがソーシャルネットワークを記述できます。
FOAF は、リソース記述フレームワーク(RDF) とWeb オントロジー言語(OWL)を使用して表現される記述語彙です。コンピュータは、これらの FOAF プロファイルを使用して、たとえばヨーロッパに住んでいるすべての人を検索したり、あなたとあなたの友人の両方が知っているすべての人を一覧表示したりできます。[ 1 ] [ 2 ]これは、人々の間の関係を定義することによって実現されます。各プロファイルには、これらの関係を定義するときに使用される一意の識別子 (個人の電子メール アドレス、国際電話番号、Facebookアカウント名、Jabber ID、または個人のホームページまたはウェブログのURIなど) があります。
FOAFプロファイルの語彙を定義・拡張するFOAFプロジェクトは、2000年にリビー・ミラーとダン・ブリックリーによって開始されました。RDF技術と「ソーシャルウェブ」の要素を組み合わせた点で、最初のソーシャルセマンティックウェブアプリケーションと言えるでしょう。
ティム・バーナーズ=リーは、2007年のエッセイで、セマンティックウェブの概念を巨大グローバルグラフ(GGG)に再定義し、関係性がネットワークやドキュメントを超越するものとした。彼はGGGをインターネットやワールドワイドウェブと同等のものとみなし、「私は自分のネットワークをFOAFファイルで表現するが、これは革命の始まりだ」と述べている。[ 3 ]
FOAFはWebID仕様の主要コンポーネントの一つであり、特にWebID+TLSプロトコル(以前はFOAF+SSLとして知られていた)において重要な役割を果たしている。
FOAFは比較的シンプルなユースケースと標準規格であるにもかかわらず、ウェブ上での採用は限られています。たとえば、Live JournalとDeadJournalのブログサイトは、すべてのメンバーに対してFOAFプロファイルをサポートしています[ 4 ] 。私のOperaコミュニティは、メンバーだけでなくグループに対してもFOAFプロファイルをサポートしていました。Identi.ca、FriendFeed、WordPress、TypePadサービスではFOAFがサポートされています[ 5 ] 。
Yandex blog search platform supports search over FOAF profile information.[6] Prominent client-side FOAF support was available in Safari[7] web browser before RSS support was removed in Safari 6 and in the Semantic Radar[8] 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,[9][10] as well as for content management systems.[11]
The following FOAF profile (written in Turtle 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).
@prefixrdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#>.@prefixrdfs:<http://www.w3.org/2000/01/rdf-schema#>.@prefixfoaf:<http://xmlns.com/foaf/0.1/>.<#JW>afoaf:Person;foaf:name"James Wales";foaf:mbox<mailto:jwales@bomis.com>;foaf:homepage<http://www.jameswales.com>;foaf:nick"Jimbo";foaf:depiction<http://www.jameswales.com/aus_img_small.jpg>;foaf:interest<http://www.wikimedia.org>;foaf:knows[afoaf:Person;foaf:name"Angela Beesley"].<http://www.wikimedia.org>rdfs:label"Wikimedia".