Implements hook_entity_load().
function rdf_entity_load($entities, $type) {
foreach ($entities as $entity) {
// Extracts the bundle of the entity being loaded.
$entity->rdf_mapping = rdf_mapping_load($type, $entity
->bundle());
}
}