FOAF

From semanticweb.org
Jump to: navigation, search
Friend of a friend
Homepage: www.foaf-project.org
Language: OWL DL
Last release: July 27 2005
Last revision: January 29 2006
Namespace: http://xmlns.com/foaf/0.1/
Swoogle hits: 1,194,871 (check)

FOAF (from "friend of a friend") is an RDF based schema to describe persons and their social network in a semantic way. FOAF could get used within many wikis for annotating user pages, or describing articles about people. In Semantic MediaWiki, FOAF annotations can be used as imported vocabulary. A list of currently available FOAF elements is given below.

[edit] Using FOAF on semanticweb.org

Using Semantic MediaWiki's feature of importing vocabularies from external ontologies, a number of FOAF properties have been imported into this wiki. Since semanticweb.org is a wiki for the Semantic Web research community, we partially use the common foaf abbreviations for the imported elements. This is also useful since some elements of FOAF have a specific meaning. For example, foaf:knows can only be used between two persons. So if one would represent it by an attribute "knows", it might be used wrongly in contexts such as "Denny knows Karlsruhe" where the object is not a person.

In other contexts, one might also use less technical labels within the wiki (especially, if the wiki is not in English).

The following is a list of currently available elements:

For example, one could write

[[name::John Doe]] has the homepage [[foaf:homepage::http://johndoe.org]].
His best friend is [[foaf:knows::Jane Doe]]. 
[[Category:Person]]

to get the following statements in the exported RDF:

  <Foaf:name rdf:datatype="http://www.w3.org/2001/XMLSchema#string">John Doe</foaf:name>
  <Foaf:homepage rdf:resource="http://johndoe.org"/>
  <Foaf:knows rdf:resource="http://wiki.ontoworld.org/index.php/Jane_Doe"/>
  <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Person"/>

This wiki also defines properties corresponding to several other FOAF elements such as Property:Foaf:firstName, but they are not associated with the FOAF vocabulary when exported as RDF.

[edit] Linking external FOAF files

If you already have a FOAF file, you will want to connect it with your article within this wiki. This is indeed very simple: just write

[[see also::http://the.location.of/your/FOAF/file]]

on your page to include an rdfs:seeAlso pointer. An even easier way to link a single FOAF file is to use the parameter "FOAF" of the template Template:Person which is very handy for building personal pages anyway.

[edit] See also

Personal tools
Namespaces

Variants
Actions
Navigation
services
Toolbox