ArticleslgStudy

computer science

FOAF

FOAF is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand FOAF rather than just read about it. In short: FOAF (an acronym of friend of a friend) 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 — main illustration
FOAF — illustration

Key takeaways

  • FOAF belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect FOAF to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of FOAF from memory before moving on to harder problems.

Reference excerpt

FOAF (an acronym of friend of a friend) 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 (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 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' concerns. Tim Berners-Lee, in a 2007 essay, redefined the semantic web 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 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 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 web browser before RSS support was removed in Safari 6 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 (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).

History

Versions

See also Resource Description Framework (RDF) Web Ontology Language (OWL) Social web Semantic Web 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 Official website (Archived 23 October 2021 at the Wayback Machine) FOAF dataset a dataset of 201,612 FOAF triples Archived: FOAF-search - a search engine for FOAF data at the Wayback Machine (archived 2018-11-30)

Illustrations

FOAF illustration

Worked examples

Example 1 — a first encounter with FOAF

Start with the simplest possible case. Write down what FOAF claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to FOAF before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about FOAF ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of FOAF

In research
FOAF appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses FOAF in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
FOAF is common in secondary-school and first-year university syllabi. It links to neighbouring topics 2000 software, Ontology (information science), Semantic Web, so understanding it makes those chapters shorter.
In everyday life
Look for FOAF outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “FOAF” →

How to study FOAF in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what FOAF means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain FOAF out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is FOAF in simple terms?

FOAF (an acronym of friend of a friend) is a machine-readable ontology describing persons, their activities and their relations to other people and objects. Anyone can use FOAF to describe themselves.

Why does FOAF matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study FOAF?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on FOAF.

Tags

  • 2000 software
  • Ontology (information science)
  • Semantic Web

Keep exploring