A vocabulary for describing relationships between people
Please direct feedback on this document to the FOAF-DEV mailing list
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/mentorOf
An alphabetical list of all terms defined in this schema.
| Term | URI | Description |
|---|---|---|
| Acquaintance Of | 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. |
| Ambivalent Of | http://purl.org/vocab/relationship/ambivalentOf | A property representing a person towards whom this person has mixed feelings or emotions. |
| Ancestor Of | http://purl.org/vocab/relationship/ancestorOf | A property representing a person who is a descendant of this person. |
| Antagonist Of | http://purl.org/vocab/relationship/antagonistOf | A property representing a person who opposes and contends against this person. |
| Apprentice To | http://purl.org/vocab/relationship/apprenticeTo | A property representing a person to whom this person serves as a trusted counselor or teacher. |
| Child Of | http://purl.org/vocab/relationship/childOf | A property representing a person who was given birth to or nurtured and raised by this person. |
| Close Friend Of | http://purl.org/vocab/relationship/closeFriendOf | A property representing a person who shares a close mutual friendship with this person. |
| Collaborates With | http://purl.org/vocab/relationship/collaboratesWith | A property representing a person who works towards a common goal with this person. |
| Colleague Of | http://purl.org/vocab/relationship/colleagueOf | A property representing a person who is a member of the same profession as this person. |
| Descendant Of | http://purl.org/vocab/relationship/descendantOf | A property representing a person from whom this person is descended. |
| Employed By | http://purl.org/vocab/relationship/employedBy | A property representing a person for whom this person's services have been engaged. |
| Employer Of | http://purl.org/vocab/relationship/employerOf | A property representing a person who engages the services of this person. |
| Enemy Of | 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. |
| Engaged To | http://purl.org/vocab/relationship/engagedTo | A property representing a person to whom this person is betrothed. |
| Friend Of | http://purl.org/vocab/relationship/friendOf | A property representing a person who shares mutual friendship with this person. |
| Grandchild Of | http://purl.org/vocab/relationship/grandchildOf | A property representing a person who is a child of any of this person's children. |
| Grandparent Of | http://purl.org/vocab/relationship/grandparentOf | A property representing a person who is the parent of any of this person's parents. |
| Has Met | http://purl.org/vocab/relationship/hasMet | A property representing a person who has met this person whether in passing or longer. |
| Influenced By | http://purl.org/vocab/relationship/influencedBy | A property representing a person who has influenced this person. |
| Knows By Reputation | 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. |
| Knows In Passing | http://purl.org/vocab/relationship/knowsInPassing | A property representing a person whom this person has slight or superficial knowledge of. |
| Knows Of | 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. |
| Life Partner of | http://purl.org/vocab/relationship/lifePartnerOf | A property representing a person who has made a long-term commitment to this person's. |
| Lives With | http://purl.org/vocab/relationship/livesWith | A property representing a person who shares a residence with this person. |
| Lost Contact With | http://purl.org/vocab/relationship/lostContactWith | A property representing a person who was once known by this person but has subsequently become uncontactable. |
| Mentor Of | http://purl.org/vocab/relationship/mentorOf | A property representing a person who serves as a trusted counselor or teacher to this person. |
| Neighbor Of | http://purl.org/vocab/relationship/neighborOf | A property representing a person who lives in the same locality as this person. |
| Parent Of | http://purl.org/vocab/relationship/parentOf | A property representing a person who has given birth to or nurtured and raised this person. |
| Participant | http://purl.org/vocab/relationship/participant | |
| Participant In | http://purl.org/vocab/relationship/participantIn | |
| Relationship | 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. |
| Sibling Of | http://purl.org/vocab/relationship/siblingOf | A property representing a person having one or both parents in common with this person. |
| Spouse Of | http://purl.org/vocab/relationship/spouseOf | A property representing a person who is married to this person. |
| Works With | http://purl.org/vocab/relationship/worksWith | A property representing a person who works for the same employer as this person. |
| Would Like To Know | http://purl.org/vocab/relationship/wouldLikeToKnow | A property representing a person whom this person would desire to know more closely. |
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.
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, owl:differentFrom and Knows Of.
URI: http://purl.org/vocab/relationship/ambivalentOf
A property representing a person towards whom this person has mixed feelings or emotions.
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.
URI: http://purl.org/vocab/relationship/ancestorOf
A property representing a person who is a descendant of this person.
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
URI: http://purl.org/vocab/relationship/antagonistOf
A property representing a person who opposes and contends against this person.
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, owl:differentFrom and Knows Of.
URI: http://purl.org/vocab/relationship/apprenticeTo
A property representing a person to whom this person serves as a trusted counselor or teacher.
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, owl:differentFrom and Knows Of and the inverse of Mentor 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.
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, owl:differentFrom and Knows Of and the inverse of Parent Of
URI: http://purl.org/vocab/relationship/closeFriendOf
A property representing a person who shares a close mutual friendship with this person.
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, owl:differentFrom and Knows Of.
URI: http://purl.org/vocab/relationship/collaboratesWith
A property representing a person who works towards a common goal with this person.
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, owl:differentFrom and Knows Of.
URI: http://purl.org/vocab/relationship/colleagueOf
A property representing a person who is a member of the same profession as this person.
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, owl:differentFrom and Knows Of.
URI: http://purl.org/vocab/relationship/descendantOf
A property representing a person from whom this person is descended.
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
URI: http://purl.org/vocab/relationship/employedBy
A property representing a person for whom this person's services have been engaged.
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, owl:differentFrom and Knows Of and the inverse of Employer Of
URI: http://purl.org/vocab/relationship/employerOf
A property representing a person who engages the services of this person.
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, owl:differentFrom and Knows Of and the inverse of Employed By
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.
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, owl:differentFrom and Knows Of.
URI: http://purl.org/vocab/relationship/engagedTo
A property representing a person to whom this person is betrothed.
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, owl:differentFrom and Knows Of.
URI: http://purl.org/vocab/relationship/friendOf
A property representing a person who shares mutual friendship with this person.
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, owl:differentFrom and Knows Of.
URI: http://purl.org/vocab/relationship/grandchildOf
A property representing a person who is a child of any of this person's children.
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, owl:differentFrom and Knows Of and the inverse of 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.
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, owl:differentFrom and Knows Of and the inverse of Grandchild Of
URI: http://purl.org/vocab/relationship/hasMet
A property representing a person who has met this person whether in passing or longer.
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, owl:differentFrom and Knows Of.
URI: http://purl.org/vocab/relationship/influencedBy
A property representing a person who has influenced this person.
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.
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.
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.
URI: http://purl.org/vocab/relationship/knowsInPassing
A property representing a person whom this person has slight or superficial knowledge of.
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, owl:differentFrom and 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.
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.
URI: http://purl.org/vocab/relationship/lifePartnerOf
A property representing a person who has made a long-term commitment to this person's.
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, owl:differentFrom and Knows Of.
URI: http://purl.org/vocab/relationship/livesWith
A property representing a person who shares a residence with this person.
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, owl:differentFrom and Knows Of.
URI: http://purl.org/vocab/relationship/lostContactWith
A property representing a person who was once known by this person but has subsequently become uncontactable.
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, owl:differentFrom and Knows Of.
URI: http://purl.org/vocab/relationship/mentorOf
A property representing a person who serves as a trusted counselor or teacher to this person.
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, owl:differentFrom and Knows Of and the inverse of Apprentice To
URI: http://purl.org/vocab/relationship/neighborOf
A property representing a person who lives in the same locality as this person.
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, owl:differentFrom and Knows Of.
URI: http://purl.org/vocab/relationship/parentOf
A property representing a person who has given birth to or nurtured and raised this person.
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, owl:differentFrom and Knows Of and the inverse of Child Of
URI: http://purl.org/vocab/relationship/participant
Having this property implies being a Relationship. Every value of this property is a foaf:Person.
URI: http://purl.org/vocab/relationship/participantIn
Having this property implies being a foaf:Person. Every value of this property is a 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.
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.
URI: http://purl.org/vocab/relationship/siblingOf
A property representing a person having one or both parents in common with this person.
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, owl:differentFrom and Knows Of.
URI: http://purl.org/vocab/relationship/spouseOf
A property representing a person who is married to this person.
This property is symmetrical. Every value of this property is a foaf:Person. It is a sub-property of foaf:knows, owl:differentFrom and Knows Of.
URI: http://purl.org/vocab/relationship/worksWith
A property representing a person who works for the same employer as this person.
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, owl:differentFrom and Knows Of.
URI: http://purl.org/vocab/relationship/wouldLikeToKnow
A property representing a person whom this person would desire to know more closely.
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.
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>
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>
<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>
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>
http://purl.org/vocab/relationship/rel-vocab-20050810 | |
RELATIONSHIP: A vocabulary for describing relationships between people A vocabulary for describing relationships between people | |