Creators
Eric Vitiello Jr
A vocabulary for describing relationships between people

Please direct feedback on this document to the FOAF-DEV mailing list"

History

Namespace

The URI for this vocabulary is

http://purl.org/vocab/relationship

When abbreviating terms the suggested prefix is rel

Each class or property in the vocabulary has a URI constructed by appending a term name to the vocabulary URI. For example:

http://purl.org/vocab/relationship/childOf

Terms Summary

An alphabetical list of all terms defined in this schema.

TermURIDescription
Acquaintance Ofhttp://purl.org/vocab/relationship/acquaintanceOfA person having more than slight or superficial knowledge of this person but short of friendship
Ambivalent Ofhttp://purl.org/vocab/relationship/ambivalentOfA person towards whom this person has mixed feelings or emotions
Ancestor Ofhttp://purl.org/vocab/relationship/ancestorOfA person who is a descendant of this person
Antagonist Ofhttp://purl.org/vocab/relationship/antagonistOfA person who opposes and contends against this person
Apprentice Tohttp://purl.org/vocab/relationship/apprenticeToA person to whom this person serves as a trusted counselor or teacher
Child Ofhttp://purl.org/vocab/relationship/childOfA person who was given birth to or nurtured and raised by this person
Close Friend Ofhttp://purl.org/vocab/relationship/closeFriendOfA person who shares a close mutual friendship with this person
Collaborates Withhttp://purl.org/vocab/relationship/collaboratesWithA person who works towards a common goal with this person
Colleague Ofhttp://purl.org/vocab/relationship/colleagueOfA person who is a member of the same profession as this person
Descendant Ofhttp://purl.org/vocab/relationship/descendantOfA person from whom this person is descended
Employed Byhttp://purl.org/vocab/relationship/employedByA person for whom this person's services have been engaged
Employer Ofhttp://purl.org/vocab/relationship/employerOfA person who engages the services of this person
Enemy Ofhttp://purl.org/vocab/relationship/enemyOfA person towards whom this person feels hatred, intends injury to, or opposes the interests of
Engaged Tohttp://purl.org/vocab/relationship/engagedToA person to whom this person is betrothed
Friend Ofhttp://purl.org/vocab/relationship/friendOfA person who shares mutual friendship with this person
Grandchild Ofhttp://purl.org/vocab/relationship/grandchildOfA person who is a child of any of this person's children
Grandparent Ofhttp://purl.org/vocab/relationship/grandparentOfA person who is the parent of any of this person's parents
Has Methttp://purl.org/vocab/relationship/hasMetA person who has met this person whether in passing or longer
Influenced Byhttp://purl.org/vocab/relationship/influencedBya person who has influenced this person
Knows By Reputationhttp://purl.org/vocab/relationship/knowsByReputationA person known by this person primarily for a particular action, position or field of endeavour
Knows In Passinghttp://purl.org/vocab/relationship/knowsInPassingA person whom this person has slight or superficial knowledge of
Knows Ofhttp://purl.org/vocab/relationship/knowsOfA person who has come to be known to this person through their actions or position
Life Partner ofhttp://purl.org/vocab/relationship/lifePartnerOfA person who has made a long-term commitment to this person's
Lives Withhttp://purl.org/vocab/relationship/livesWithA person who shares a residence with this person
Lives Withhttp://purl.org/vocab/relationship/livesWithA person who shares a residence with this person
Lost Contact Withhttp://purl.org/vocab/relationship/lostContactWithA person who was once known by this person but has subsequently become uncontactable
Mentor Ofhttp://purl.org/vocab/relationship/mentorOfA person who serves as a trusted counselor or teacher to this person
Neighbor Ofhttp://purl.org/vocab/relationship/neighborOfA person who lives in the same locality as this person
Parent Ofhttp://purl.org/vocab/relationship/parentOfA person who has given birth to or nurtured and raised this person
Participanthttp://purl.org/vocab/relationship/participant
Participant Inhttp://purl.org/vocab/relationship/participantIn
Relationshiphttp://purl.org/vocab/relationship/RelationshipA particular type of connection existing between people related to or having dealings with each other
Sibling Ofhttp://purl.org/vocab/relationship/siblingOfA person having one or both parents in common with this person
Spouse Ofhttp://purl.org/vocab/relationship/spouseOfA person who is married to this person
Works Withhttp://purl.org/vocab/relationship/worksWithA person who works for the same employer as this person
Would Like To Knowhttp://purl.org/vocab/relationship/wouldLikeToKnowA person whom this person would desire to know more closely

Properties and Classes

Acquaintance Of

URI: http://purl.org/vocab/relationship/acquaintanceOf

A person having more than slight or superficial knowledge of this person but short of friendship.

Semantics

This property is symmetrical. Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of Knows and owl:differentFrom.

Status

Other Information

Ambivalent Of

URI: http://purl.org/vocab/relationship/ambivalentOf

A person towards whom this person has mixed feelings or emotions.

Semantics

Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of owl:differentFrom.

Status

Other Information

Ancestor Of

URI: http://purl.org/vocab/relationship/ancestorOf

A person who is a descendant of this person.

Semantics

This property is transitive. Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of owl:differentFrom and the inverse of Descendant Of

Status

Antagonist Of

URI: http://purl.org/vocab/relationship/antagonistOf

A person who opposes and contends against this person.

Semantics

Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of Knows and owl:differentFrom.

Status

Other Information

Apprentice To

URI: http://purl.org/vocab/relationship/apprenticeTo

A person to whom this person serves as a trusted counselor or teacher.

Semantics

Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of Knows and owl:differentFrom and the inverse of Mentor Of

Status

Child Of

URI: http://purl.org/vocab/relationship/childOf

A person who was given birth to or nurtured and raised by this person.

Semantics

Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of Knows and owl:differentFrom and the inverse of Parent Of

Status

Other Information

Close Friend Of

URI: http://purl.org/vocab/relationship/closeFriendOf

A person who shares a close mutual friendship with this person.

Semantics

This property is symmetrical. Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of Knows and owl:differentFrom.

Status

Collaborates With

URI: http://purl.org/vocab/relationship/collaboratesWith

A person who works towards a common goal with this person.

Semantics

This property is symmetrical. Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of Knows and owl:differentFrom.

Status

Colleague Of

URI: http://purl.org/vocab/relationship/colleagueOf

A person who is a member of the same profession as this person.

Semantics

This property is symmetrical. Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of Knows and owl:differentFrom.

Status

Descendant Of

URI: http://purl.org/vocab/relationship/descendantOf

A person from whom this person is descended.

Semantics

This property is transitive. Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of owl:differentFrom and the inverse of Ancestor Of

Status

Employed By

URI: http://purl.org/vocab/relationship/employedBy

A person for whom this person's services have been engaged.

Semantics

Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of Knows and owl:differentFrom and the inverse of Employer Of

Status

Employer Of

URI: http://purl.org/vocab/relationship/employerOf

A person who engages the services of this person.

Semantics

Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of Knows and owl:differentFrom and the inverse of Employed By

Status

Enemy Of

URI: http://purl.org/vocab/relationship/enemyOf

A person towards whom this person feels hatred, intends injury to, or opposes the interests of.

Semantics

Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of Knows and owl:differentFrom.

Status

Other Information

Engaged To

URI: http://purl.org/vocab/relationship/engagedTo

A person to whom this person is betrothed.

Semantics

This property is symmetrical. Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of Knows and owl:differentFrom.

Status

Friend Of

URI: http://purl.org/vocab/relationship/friendOf

A person who shares mutual friendship with this person.

Semantics

This property is symmetrical. Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of Knows and owl:differentFrom.

Status

Other Information

Grandchild Of

URI: http://purl.org/vocab/relationship/grandchildOf

A person who is a child of any of this person's children.

Semantics

Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of Knows and owl:differentFrom and the inverse of Grandparent Of

Status

Other Information

Grandparent Of

URI: http://purl.org/vocab/relationship/grandparentOf

A person who is the parent of any of this person's parents.

Semantics

Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of Knows and owl:differentFrom and the inverse of Grandchild Of

Status

Has Met

URI: http://purl.org/vocab/relationship/hasMet

A person who has met this person whether in passing or longer.

Semantics

This property is symmetrical. Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of Knows and owl:differentFrom.

Status

Influenced By

URI: http://purl.org/vocab/relationship/influencedBy

a person who has influenced this person.

Semantics

Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of owl:differentFrom.

Status

Knows By Reputation

URI: http://purl.org/vocab/relationship/knowsByReputation

A person known by this person primarily for a particular action, position or field of endeavour.

Semantics

Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of owl:differentFrom.

Status

Knows In Passing

URI: http://purl.org/vocab/relationship/knowsInPassing

A person whom this person has slight or superficial knowledge of.

Semantics

Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of Knows and owl:differentFrom.

Status

Knows Of

URI: http://purl.org/vocab/relationship/knowsOf

A person who has come to be known to this person through their actions or position.

Semantics

Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of owl:differentFrom.

Status

Life Partner of

URI: http://purl.org/vocab/relationship/lifePartnerOf

A person who has made a long-term commitment to this person's.

Semantics

This property is symmetrical. Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of Knows and owl:differentFrom.

Status

Lives With

URI: http://purl.org/vocab/relationship/livesWith

A person who shares a residence with this person.

Semantics

This property is symmetrical and transitive. Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of Knows and owl:differentFrom.

Status

Lives With

URI: http://purl.org/vocab/relationship/livesWith

A person who shares a residence with this person.

Semantics

This property is symmetrical and transitive. Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of Knows and owl:differentFrom.

Status

Lost Contact With

URI: http://purl.org/vocab/relationship/lostContactWith

A person who was once known by this person but has subsequently become uncontactable.

Semantics

This property is symmetrical. Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of Knows and owl:differentFrom.

Status

Mentor Of

URI: http://purl.org/vocab/relationship/mentorOf

A person who serves as a trusted counselor or teacher to this person.

Semantics

Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of Knows and owl:differentFrom and the inverse of Apprentice To

Status

Neighbor Of

URI: http://purl.org/vocab/relationship/neighborOf

A person who lives in the same locality as this person.

Semantics

This property is symmetrical. Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of Knows and owl:differentFrom.

Status

Parent Of

URI: http://purl.org/vocab/relationship/parentOf

A person who has given birth to or nurtured and raised this person.

Semantics

Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of Knows and owl:differentFrom and the inverse of Child Of

Status

Other Information

Participant

URI: http://purl.org/vocab/relationship/participant

Semantics

Having this property implies being a Relationship. Every value of this property is a foaf:Person.

Status

Participant In

URI: http://purl.org/vocab/relationship/participantIn

Semantics

Having this property implies being a foaf:Person. Every value of this property is a Relationship.

Status

Relationship

URI: http://purl.org/vocab/relationship/Relationship

A particular type of connection existing between people related to or having dealings with each other.

Sibling Of

URI: http://purl.org/vocab/relationship/siblingOf

A person having one or both parents in common with this person.

Semantics

This property is symmetrical. Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of Knows and owl:differentFrom.

Status

Other Information

Spouse Of

URI: http://purl.org/vocab/relationship/spouseOf

A person who is married to this person

Semantics

This property is symmetrical. Every value of this property is a foaf:Person. It is a sub-property of Knows and owl:differentFrom.

Status

Other Information

Works With

URI: http://purl.org/vocab/relationship/worksWith

A person who works for the same employer as this person.

Semantics

This property is symmetrical. Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of Knows and owl:differentFrom.

Status

Would Like To Know

URI: http://purl.org/vocab/relationship/wouldLikeToKnow

A person whom this person would desire to know more closely.

Semantics

Having this property implies being a foaf:Person. Every value of this property is a foaf:Person. It is a sub-property of owl:differentFrom.

Status

Examples

Using With FOAF

The RELATIONSHIP vocabulary can be used without modification with FOAF documents. Simply replace foaf:knows properties with a more specific property from this vocabulary. For backwards compatibility with older, non-RDF aware, tools, you may want to keep the foaf:knows property as well.


<rdf:RDF
      xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
      xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
      xmlns:foaf="http://xmlns.com/foaf/0.1/"
      xmlns:rel="http://purl.org/vocab/relationship/"
      >

<foaf:Person rdf:nodeID=“ian”> <foaf:name>Ian Davis</foaf:name> <foaf:title>Mr</foaf:title> <foaf:firstName>Ian</foaf:firstName> <foaf:surname>Davis</foaf:surname>

&lt;rel:hasMet&gt;
  &lt;foaf:Person&gt;
    &lt;foaf:name&gt;William Tell&lt;/foaf:name&gt;
  &lt;/foaf:Person&gt;
&lt;/rel:hasMet&gt;

&lt;rel:collaboratesWith rdf:nodeID="eric"/&gt;

</foaf:Person>

<foaf:Person rdf:nodeID=“eric”> <foaf:nick>pixel</foaf:nick> </foaf:Person>

</rdf:RDF>

Using With HTML and XHTML

The relationship vocabulary can be used to describe relationships with the people linked from a web page. This is particularly useful for blogrolls or contact lists but can be used with any type of link. The HTML a element provides two attributes, rel and rev, that can be used to specify the relationship. Both rel and rev take a space separated list of keywords as their value. To use a term from the relationship vocabulary just drop the http://purl.org/vocab/relationship/ namespace to leave the property name, e.g. http://purl.org/vocab/relationship/worksWith would become worksWith which can be added as the value of rel or rev.

rel

The rel attribute specifies a relationship that the author of the linked page has with the author of the linking page. For example:

<ahref="http://example.com/boats" rel="childOf">The boat we restored"</a>

This link states that the author of http://example.com/boats is a child of the author of the html above.

rev

The rev attribute specifies a relationship that the author of the linking page has with the author of the linked page. The example here is:

<ahref="http://example.com/boats" rev="childOf">The boat we restored"</a>

In this case the meaning of the link is reversed: the author of the html above is a child of the author of http://example.com/boats.

The HTML and XHTML recommendations require an HTML document to declare a custom profile if it uses any non-standard rel or rev types. This is done by adding a profile attribute with a value of http://purl.org/vocab/relationship/ to the document's head element.

  <head profile="http://purl.org/vocab/relationship/">
    <title>People I Know</title>
  </head>

Complete Example

  <html profile="http://purl.org/vocab/relationship/">
    <head>
      <title>People I Know</title>
    </head>
    <body>
      <p>Here are the people I know:</p>
        <ul>
          <li><a href="http://example.com/~freddy" rel="closeFriendOf">Freddy (he's cool!)</a></li>
          <li><a href="http://frooble.com/" rel="mentorOf">Jimbo</a></li>
          <li><a href="http://mmmm.com/klm" rel="friendOf">Katie</a></li>
          <li><a href="http://example.com/~omah" rel="worksWith">Omah (does the coding)</a></li>
          <li><a href="http://example.com/~jason" rev="closeFriendOf employedBy">Jason, my henchman</a></li>
        </ul>
      </body>
    </html>

RDF Interpretation

Custom parsers that extract RDF from (X)HTML can use the relationships expressed in the links to infer the equivilent RDF triples. It should be remembered that the relationship is between the authors of the pages not between the pages themselves. Given the following link on a document at http://example.com/mypage.html:

<ahref="http://example.com/boats" rel="childOf">The boat we restored"</a>

a suggested RDF extraction is:

  <foaf:Person>
    <foaf:maker rdf:resource="http://example.com/boats"/>
    <rel:childOf>
      <foaf:Person>
        <foaf:maker rdf:resource="http://example.com/mypage.html"/>
      </foaf:Person>
    </rel:childOf>
  </foaf:Person>

Other Information

http://purl.org/vocab/relationship/rel-vocab-20050810
RELATIONSHIP: A vocabulary for describing relationships between people
A vocabulary for describing relationships between people