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

Term Summary

An alphabetical list of all terms defined in this schema.

TermURIDescription
Acquaintance Ofhttp://purl.org/vocab/relationship/acquaintanceOf A property representing a person having more than slight or superficial knowledge of this person but short of friendship.
Ambivalent Ofhttp://purl.org/vocab/relationship/ambivalentOf A property representing a person towards whom this person has mixed feelings or emotions.
Ancestor Ofhttp://purl.org/vocab/relationship/ancestorOf A property representing a person who is a descendant of this person.
Antagonist Ofhttp://purl.org/vocab/relationship/antagonistOf A property representing a person who opposes and contends against this person.
Apprentice Tohttp://purl.org/vocab/relationship/apprenticeTo A property representing a person to whom this person serves as a trusted counselor or teacher.
Child Ofhttp://purl.org/vocab/relationship/childOf A property representing a person who was given birth to or nurtured and raised by this person.
Close Friend Ofhttp://purl.org/vocab/relationship/closeFriendOf A property representing a person who shares a close mutual friendship with this person.
Collaborates Withhttp://purl.org/vocab/relationship/collaboratesWith A property representing a person who works towards a common goal with this person.
Colleague Ofhttp://purl.org/vocab/relationship/colleagueOf A property representing a person who is a member of the same profession as this person.
Descendant Ofhttp://purl.org/vocab/relationship/descendantOf A property representing a person from whom this person is descended.
Employed Byhttp://purl.org/vocab/relationship/employedBy A property representing a person for whom this person's services have been engaged.
Employer Ofhttp://purl.org/vocab/relationship/employerOf A property representing a person who engages the services of this person.
Enemy Ofhttp://purl.org/vocab/relationship/enemyOf A property representing a person towards whom this person feels hatred, intends injury to, or opposes the interests of.
Engaged Tohttp://purl.org/vocab/relationship/engagedTo A property representing a person to whom this person is betrothed.
Friend Ofhttp://purl.org/vocab/relationship/friendOf A property representing a person who shares mutual friendship with this person.
Grandchild Ofhttp://purl.org/vocab/relationship/grandchildOf A property representing a person who is a child of any of this person's children.
Grandparent Ofhttp://purl.org/vocab/relationship/grandparentOf A property representing a person who is the parent of any of this person's parents.
Has Methttp://purl.org/vocab/relationship/hasMet A property representing a person who has met this person whether in passing or longer.
Influenced Byhttp://purl.org/vocab/relationship/influencedBy A property representing a person who has influenced this person.
Knows By Reputationhttp://purl.org/vocab/relationship/knowsByReputation A property representing a person known by this person primarily for a particular action, position or field of endeavour.
Knows In Passinghttp://purl.org/vocab/relationship/knowsInPassing A property representing a person whom this person has slight or superficial knowledge of.
Knows Ofhttp://purl.org/vocab/relationship/knowsOf A property representing a person who has come to be known to this person through their actions or position.
Life Partner ofhttp://purl.org/vocab/relationship/lifePartnerOf A property representing a person who has made a long-term commitment to this person's.
Lives Withhttp://purl.org/vocab/relationship/livesWith A property representing a person who shares a residence with this person.
Lost Contact Withhttp://purl.org/vocab/relationship/lostContactWith A property representing a person who was once known by this person but has subsequently become uncontactable.
Mentor Ofhttp://purl.org/vocab/relationship/mentorOf A property representing a person who serves as a trusted counselor or teacher to this person.
Neighbor Ofhttp://purl.org/vocab/relationship/neighborOf A property representing a person who lives in the same locality as this person.
Parent Ofhttp://purl.org/vocab/relationship/parentOf A property representing a 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/Relationship A class whose members are a particular type of connection existing between people related to or having dealings with each other.
Sibling Ofhttp://purl.org/vocab/relationship/siblingOf A property representing a person having one or both parents in common with this person.
Spouse Ofhttp://purl.org/vocab/relationship/spouseOf A property representing a person who is married to this person.
Works Withhttp://purl.org/vocab/relationship/worksWith A property representing a person who works for the same employer as this person.
Would Like To Knowhttp://purl.org/vocab/relationship/wouldLikeToKnow A property representing a person whom this person would desire to know more closely.

Properties and Classes

Acquaintance Of

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

A property representing 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 foaf:knows and owl:differentFrom.

Status

Ambivalent Of

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

A property representing 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

Ancestor Of

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

A property representing 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 property representing 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 foaf:knows and owl:differentFrom.

Status

Apprentice To

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

A property representing 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 foaf:knows and owl:differentFrom and the inverse of Mentor Of

Status

Child Of

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

A property representing 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 foaf:knows and owl:differentFrom and the inverse of Parent Of

Status

Close Friend Of

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

A property representing 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 foaf:knows and owl:differentFrom.

Status

Collaborates With

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

A property representing 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 foaf:knows and owl:differentFrom.

Status

Colleague Of

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

A property representing 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 foaf:knows and owl:differentFrom.

Status

Descendant Of

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

A property representing 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 property representing 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 foaf:knows and owl:differentFrom and the inverse of Employer Of

Status

Employer Of

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

A property representing 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 foaf:knows and owl:differentFrom and the inverse of Employed By

Status

Enemy Of

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

A property representing 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 foaf:knows and owl:differentFrom.

Status

Engaged To

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

A property representing 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 foaf:knows and owl:differentFrom.

Status

Friend Of

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

A property representing 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 foaf:knows and owl:differentFrom.

Status

Grandchild Of

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

A property representing 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 foaf:knows and owl:differentFrom and the inverse of Grandparent Of

Status

Grandparent Of

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

A property representing 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 foaf:knows and owl:differentFrom and the inverse of Grandchild Of

Status

Has Met

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

A property representing 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 foaf:knows and owl:differentFrom.

Status

Influenced By

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

A property representing 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 property representing 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 property representing 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 foaf:knows and owl:differentFrom.

Status

Knows Of

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

A property representing 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 property representing 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 foaf:knows and owl:differentFrom.

Status

Lives With

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

A property representing 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 foaf:knows and owl:differentFrom.

Status

Lost Contact With

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

A property representing 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 foaf:knows and owl:differentFrom.

Status

Mentor Of

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

A property representing 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 foaf:knows and owl:differentFrom and the inverse of Apprentice To

Status

Neighbor Of

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

A property representing 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 foaf:knows and owl:differentFrom.

Status

Parent Of

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

A property representing 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 foaf:knows and owl:differentFrom and the inverse of Child Of

Status

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 class whose members are a particular type of connection existing between people related to or having dealings with each other.

Semantics

Having a Participant implies being a member of this class. Things are a member of this class if they are the value of a Participant In.

Sibling Of

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

A property representing 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 foaf:knows and owl:differentFrom.

Status

Spouse Of

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

A property representing 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 foaf:knows and owl:differentFrom.

Status

Works With

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

A property representing 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 foaf:knows and owl:differentFrom.

Status

Would Like To Know

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

A property representing 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>

    <rel:hasMet>
      <foaf:Person>
        <foaf:name>William Tell</foaf:name>
      </foaf:Person>
    </rel:hasMet>

    <rel:collaboratesWith rdf:nodeID="eric"/>
  </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