Skip to content

FOAF

Vocabulary: Friend of a Friend (FOAF), vocabulary 0.98.
Namespace: http://xmlns.com/foaf/0.1/
Specification: http://xmlns.com/foaf/spec/

FOAF describes people, organisations and their relations on the web. CAP needs to name the parties that issue and receive statements, and FOAF is the vocabulary most implementers already reach for when they do.

Asserted

CAP term Alignment External term
cap:Party skos:closeMatch foaf:Agent - "an agent (eg. person, group, software or physical artifact)"
@prefix cap:   <https://w3id.org/eclipse-cap/v0/#> .
@prefix foaf:  <http://xmlns.com/foaf/0.1/> .
@prefix skos:  <http://www.w3.org/2004/02/skos/core#> .

cap:Party skos:closeMatch foaf:Agent .

foaf:Agent is the broadest class in FOAF's agent hierarchy, which is what makes it the right counterpart: cap:Party covers natural persons, organisations, legal entities, governments and instances of an ICT service, and foaf:Agent is wide enough to hold all of them without forcing a choice between foaf:Person and foaf:Organization.

Example

The party from the certification example, named the FOAF way:

@prefix cap:   <https://w3id.org/eclipse-cap/v0/#> .
@prefix foaf:  <http://xmlns.com/foaf/0.1/> .
@prefix ex:    <http://example.com/#> .

ex:LNE a cap:Party, foaf:Organization ;
    foaf:name "LABORATOIRE NATIONAL DE METROLOGIE ET D'ESSAIS"@fr .

foaf:Organization is the implementer's choice, not a CAP commitment: it is one of several FOAF classes a cap:Party may reasonably be typed with, and CAP takes no position on which.

Where the semantics diverge

  • FOAF is a web-profile vocabulary: it assumes identity is expressed through documents, accounts and homepages. CAP is silent on how a party is reachable and only requires that the role be attributable.
  • foaf:Agent explicitly counts "software or physical artifact" as agents, which is wider than conformity assessment practice - a piece of software is a cap:Party only insofar as it undertakes a role, and the question of how to mark that distinction is an open item in the project plan.

Illustrative - not asserted

CAP term Candidate Why it is not asserted
cap:Party foaf:Person, foaf:Organization CAP deliberately does not split natural from legal persons; asserting either would narrow cap:Party
cap:Party naming foaf:name the property is not CAP's - CAP has no name property, so documents that name a party simply use foaf:name alongside
cap:Party as a service foaf:OnlineAccount, foaf:Document neither means "an instance of an ICT service"; the closest FOAF gets is foaf:Agent