jzhao.xyz

Search

Search IconIcon to open search

FOAF

Last updated Jun 8, 2022 Edit Source

Summarized from the xmlns FOAF specs

FOAF stands for ‘friend of a friend’

FOAF is a project devoted to linking people and information using the Web… If people publish information in the FOAF document format, machines will be able to make use of that information. If those files contain “see also” references to other such documents in the Web, we will have a machine-friendly version of today’s hypertext Web.

It is a way of creating a semantically meaningful network of objects, useful for enabling the Semantic Web.

Example FOAF describing a person (using RDF)

1
2
3
4
5
6
<foaf:Person rdf:about="#danbri" xmlns:foaf="http://xmlns.com/foaf/0.1/">
  <foaf:name>Dan Brickley</foaf:name>
  <foaf:homepage rdf:resource="http://danbri.org/" />
  <foaf:openid rdf:resource="http://danbri.org/" />
  <foaf:img rdf:resource="/images/me.jpg" />
</foaf:Person>

It basically says, “there is a  foaf:Person with a  foaf:name property of ‘Dan Brickley’; this person stands in  foaf:homepage and  foaf:openid relationship to a thing called http://danbri.org/ and a  foaf:img relationship to a thing referenced by a relative URI of /images/me.jpg

# Adoption

Source

people will only add semantic markup to their web pages if doing so is easier than not.

Now imagine this world for a second: