diff --git a/entity.module b/entity.module
index c2bef0f..830fcbd 100644
--- a/entity.module
+++ b/entity.module
@@ -674,6 +674,7 @@ function theme_entity_status($variables) {
  * Process variables for entity.tpl.php.
  */
 function template_preprocess_entity(&$variables) {
+
   $variables['view_mode'] = $variables['elements']['#view_mode'];
   $entity_type = $variables['elements']['#entity_type'];
   $variables['entity_type'] = $entity_type;
@@ -702,6 +703,10 @@ function template_preprocess_entity(&$variables) {
   $variables['classes_array'][] = drupal_html_class('entity-' . $entity_type);
   $variables['classes_array'][] = drupal_html_class($entity_type . '-' . $bundle);
 
+  // Add RDF type and about URI.
+  $variables['attributes_array']['about'] = empty($entity->uri['path']) ? NULL: url($entity->uri['path']);
+  $variables['attributes_array']['typeof'] = empty($entity->rdf_mapping['rdftype']) ? NULL : $entity->rdf_mapping['rdftype'];
+
   // Add suggestions.
   $variables['theme_hook_suggestions'][] = $entity_type;
   $variables['theme_hook_suggestions'][] = $entity_type . '__' . $bundle;
