
Previous versions of the searchmonkey-profile vocabulary included the rel vocabulary which was introduced partly to provide implicit type information, partly to relate resources to each other. This mixed usage of the rel vocabulary was found to be confusing for many developers. For this reason, the use of the rel vocabulary is now replaced with explicit typing provided using the optional typeof attribute of item elements. The table below shows the mapping between the deprecated rel vocabulary and current types and properties. Elements in the rel vocabulary not listed here have been removed from the vocabulary. (Please see Defining new classes and properties on how you can define, declare and use your own vocabularies.) The table below provides the mapping between elements of the rel vocabulary and classes in the current vocabulary:
| rel vocabulary | equivalent class or property |
|---|---|
| rel:Resource | rdfs:Resource class |
| rel:Address | vcard:Address class or vcard:adr property (when used to relate a person/business to an address) |
| rel:Append | action:append property |
| rel:Article | media:Article class |
| rel:Audio | media:Audio class |
| rel:Author | dc:creator property |
| rel:Automobile | product:Automobile class |
| rel:Business | commerce:Business class |
| rel:Card | vcard:VCard class |
| rel:CheckAvailability | action:checkAvailability property |
| rel:Comparison | action:compare property |
| rel:Delete | action:delete property |
| rel:Discussion | action:discuss property |
| rel:Edit | action edit property |
| rel:Event | vcal:Vevent class |
| rel:Feed | feed:Feed class |
| rel:Flight | product:Flight class |
| rel:Friend | foaf:knows property |
| rel:Give | action:give property |
| rel:History | action:viewHistory property |
| rel:Hotel | commerce:Hotel class |
| rel:Image | media:Image class (or foaf:depiction when used as a property) |
| rel:Media | media:Media class |
| rel:Name | foaf:name property |
| rel:Notify | action:notify |
| rel:Organization | foaf:Organization class or vcard:org property (when used to relate a person to an organization) |
| rel:Person | foaf:Person class |
| rel:Photo | media:Photo class |
| rel:Photoset | media:Photoset class |
| rel:Posting | feed:hasEntry property |
| rel:Procure | action:procure property |
| rel:Product | product:Product class |
| rel:Restaurant | commerce:Restaurant class |
| rel:Review | review:Review class or review:hasReview property (when used to relate a resource to a review of that resource) |
| rel:Reviewer | review:reviewer property |
| rel:SendEmail | action:sendEmail property |
| rel:SendToPhone | action:sendToPhone property |
| rel:Service | product:Service class |
| rel:Text | media:Text class |
| rel:Thumbnail | foaf:Image class or foaf:thumbnail property (when used to relate an image to its thumbnail) |
| rel:Video | media:Video class |
| rel:Address | vcard:Address class or vcard:adr property (when used to relate a person/business to an address) |
| rel:Videoset | media:Videoset class |
The examples below illustrate previous usage and the current suggested usage:
Previous usage:
<item rel="rel:Person"> <meta property="foaf:name">John</meta> </item>
Current usage:
<item rel="dc:subject"> <type typeof="foaf:Person"> ... </type> </item>
Previous usage:
<item rel="rel:Image" resource="http://example.org/image.jpg"> <item rel="rel:Thumbnail" resource="http://example.org/image-small.jpg"/> </item>
Current usage:
<item rel="dc:subject" resource="http://example.org/image.jpg">
<type typeof="foaf:Image" resource="http://example.org/image.jpg">
<item rel="foaf:thumbnail" resource="http://example.org/image-small.jpg"/>
</type>
</item>