diff --git a/core/modules/rdf/lib/Drupal/rdf/Tests/CommentAttributesTest.php b/core/modules/rdf/lib/Drupal/rdf/Tests/CommentAttributesTest.php
index cd22150..d4df881 100644
--- a/core/modules/rdf/lib/Drupal/rdf/Tests/CommentAttributesTest.php
+++ b/core/modules/rdf/lib/Drupal/rdf/Tests/CommentAttributesTest.php
@@ -124,7 +124,7 @@ class CommentAttributesTest extends CommentTestBase {
   }
 
   /**
-   * Test RDF comment replies.
+   * Tests RDF comment replies.
    */
   public function testCommentReplyOfRdfaMarkup() {
     // Posts comment #1 as a registered user.
diff --git a/core/modules/rdf/lib/Drupal/rdf/Tests/CrudTest.php b/core/modules/rdf/lib/Drupal/rdf/Tests/CrudTest.php
index e6752a0..8716b19 100644
--- a/core/modules/rdf/lib/Drupal/rdf/Tests/CrudTest.php
+++ b/core/modules/rdf/lib/Drupal/rdf/Tests/CrudTest.php
@@ -26,7 +26,7 @@ class CrudTest extends WebTestBase {
   }
 
   /**
-   * Test inserting, loading, updating, and deleting RDF mappings.
+   * Tests inserting, loading, updating, and deleting RDF mappings.
    */
   function testCRUD() {
     // Verify loading of a default mapping.
diff --git a/core/modules/rdf/lib/Drupal/rdf/Tests/GetNamespacesTest.php b/core/modules/rdf/lib/Drupal/rdf/Tests/GetNamespacesTest.php
index 973d13d..9bfe966 100644
--- a/core/modules/rdf/lib/Drupal/rdf/Tests/GetNamespacesTest.php
+++ b/core/modules/rdf/lib/Drupal/rdf/Tests/GetNamespacesTest.php
@@ -26,7 +26,7 @@ class GetNamespacesTest extends WebTestBase {
   }
 
   /**
-   * Test RDF namespaces.
+   * Tests RDF namespaces.
    */
   function testGetRdfNamespaces() {
     // Fetches the front page and extracts RDFa 1.1 prefixes.
diff --git a/core/modules/rdf/lib/Drupal/rdf/Tests/GetRdfNamespacesTest.php b/core/modules/rdf/lib/Drupal/rdf/Tests/GetRdfNamespacesTest.php
index a6a20e4..73abc1e 100644
--- a/core/modules/rdf/lib/Drupal/rdf/Tests/GetRdfNamespacesTest.php
+++ b/core/modules/rdf/lib/Drupal/rdf/Tests/GetRdfNamespacesTest.php
@@ -26,7 +26,7 @@ class GetRdfNamespacesTest extends WebTestBase {
   }
 
   /**
-   * Test getting RDF namesapces.
+   * Tests getting RDF namesapces.
    */
   function testGetRdfNamespaces() {
     // Get all RDF namespaces.
diff --git a/core/modules/rdf/lib/Drupal/rdf/Tests/MappingDefinitionTest.php b/core/modules/rdf/lib/Drupal/rdf/Tests/MappingDefinitionTest.php
index 98a36d5..8d646c3 100644
--- a/core/modules/rdf/lib/Drupal/rdf/Tests/MappingDefinitionTest.php
+++ b/core/modules/rdf/lib/Drupal/rdf/Tests/MappingDefinitionTest.php
@@ -10,7 +10,7 @@ namespace Drupal\rdf\Tests;
 use Drupal\taxonomy\Tests\TaxonomyTestBase;
 
 /**
- * Test the RDF mapping definition functionality.
+ * Tests the RDF mapping definition functionality.
  */
 class MappingDefinitionTest extends TaxonomyTestBase {
   protected $profile = 'standard';
diff --git a/core/modules/rdf/lib/Drupal/rdf/Tests/MappingHookTest.php b/core/modules/rdf/lib/Drupal/rdf/Tests/MappingHookTest.php
index 39d78cf..1ee8436 100644
--- a/core/modules/rdf/lib/Drupal/rdf/Tests/MappingHookTest.php
+++ b/core/modules/rdf/lib/Drupal/rdf/Tests/MappingHookTest.php
@@ -26,7 +26,7 @@ class MappingHookTest extends WebTestBase {
   }
 
   /**
-   * Test that hook_rdf_mapping() correctly returns and processes mapping.
+   * Tests that hook_rdf_mapping() correctly returns and processes mapping.
    */
   function testMapping() {
     // Test that the mapping is returned correctly by the hook.
diff --git a/core/modules/rdf/lib/Drupal/rdf/Tests/RdfaMarkupTest.php b/core/modules/rdf/lib/Drupal/rdf/Tests/RdfaMarkupTest.php
index 96d2553..024bb5d 100644
--- a/core/modules/rdf/lib/Drupal/rdf/Tests/RdfaMarkupTest.php
+++ b/core/modules/rdf/lib/Drupal/rdf/Tests/RdfaMarkupTest.php
@@ -28,7 +28,7 @@ class RdfaMarkupTest extends WebTestBase {
   }
 
   /**
-   * Test rdf_rdfa_attributes().
+   * Tests rdf_rdfa_attributes().
    */
   function testDrupalRdfaAttributes() {
     // Same value as the one in the HTML tag (no callback function).
diff --git a/core/modules/rdf/rdf.module b/core/modules/rdf/rdf.module
index 43ee4ed..2d65edc 100644
--- a/core/modules/rdf/rdf.module
+++ b/core/modules/rdf/rdf.module
@@ -91,8 +91,10 @@ function rdf_rdf_namespaces() {
 }
 
 /**
- * Returns an array of RDF namespaces defined in modules that implement
- * hook_rdf_namespaces().
+ * Retrieves RDF namespaces.
+ *
+ * Invokes hook_rdf_namespaces() and collects RDF namespaces from modules that
+ * implement it.
  */
 function rdf_get_namespaces() {
   $rdf_namespaces = module_invoke_all('rdf_namespaces');
@@ -148,7 +150,7 @@ function rdf_mapping_load($type, $bundle = RDF_DEFAULT_BUNDLE) {
  */
 
 /**
- * Helper function to get the default RDF mapping for a given entity type.
+ * Gets the default RDF mapping for a given entity type.
  *
  * @param $type
  *   An entity type, e.g. 'node' or 'comment'.
@@ -179,7 +181,7 @@ function _rdf_get_default_mapping($type) {
 }
 
 /**
- * Helper function to retrieve an RDF mapping from the database.
+ * Retrieves an RDF mapping from the database.
  *
  * @param $type
  *   The entity type the mapping refers to.
@@ -217,10 +219,10 @@ function _rdf_mapping_load($type, $bundle) {
  * keys.
  *
  * @param $mapping
- *   The RDF mapping to save, as an array.
+ *   The RDF mapping to save.
  *
  * @return
- *   Status flag indicating the outcome of the operation.
+ *   MergeQuery object that indicates the outcome of the operation.
  */
 function rdf_mapping_save($mapping) {
   // In the case where a field has a mapping defined in the default entity
@@ -252,7 +254,7 @@ function rdf_mapping_save($mapping) {
  *   The bundle the mapping refers to.
  *
  * @return
- *   Return boolean TRUE if mapping deleted, FALSE if not.
+ *   TRUE if the mapping is deleted, FALSE if not.
  */
 function rdf_mapping_delete($type, $bundle) {
   $num_rows = db_delete('rdf_mapping')
@@ -264,12 +266,12 @@ function rdf_mapping_delete($type, $bundle) {
 }
 
 /**
- * Builds an array of RDFa attributes for a given mapping. This array will
- * typically be passed through drupal_attributes() to create the attributes
- * variables that are available to template files. These include $attributes,
- * $title_attributes, $content_attributes and the field-specific
- * $item_attributes variables. For more information, see
- * theme_rdf_template_variable_wrapper().
+ * Builds an array of RDFa attributes for a given mapping.
+ *
+ * This array will typically be passed through drupal_attributes() to create
+ * the attributes variables that are available to template files. These include
+ * $attributes, $title_attributes, $content_attributes and the field-specific
+ * $item_attributes variables.
  *
  * @param $mapping
  *   An array containing a mandatory 'predicates' key and optional 'datatype',
@@ -283,10 +285,13 @@ function rdf_mapping_delete($type, $bundle) {
  *     );
  *   @endcode
  * @param $data
- *   A value that needs to be converted by the provided callback function.
+ *   (optional) A value that needs to be converted by the provided callback
+ *   function.
  *
  * @return
- *   An array containing RDFa attributes suitable for drupal_attributes().
+ *   RDFa attributes suitable for drupal_attributes().
+ *
+ * @see theme_rdf_template_variable_wrapper()
  */
 function rdf_rdfa_attributes($mapping, $data = NULL) {
   // The type of mapping defaults to 'property'.
@@ -360,10 +365,11 @@ function rdf_modules_uninstalled($modules) {
  * Adds the proper RDF mapping to each entity type/bundle pair.
  *
  * @todo May need to move the comment below to another place.
- * This hook should not be used by modules to alter the bundle mappings.
- * The UI should always be authoritative. UI mappings are stored in the
- * database and if hook_entity_info_alter was used to override module defined
- * mappings, it would override the user defined mapping as well.
+ * This hook should not be used by modules to alter the bundle mappings. The UI
+ * should always be authoritative. UI mappings are stored in the database and
+ * if hook_entity_info_alter() was used to override module defined mappings, it
+ * would override the user defined mapping as well.
+ *
  */
 function rdf_entity_info_alter(&$entity_info) {
   // Loop through each entity type and its bundles.
@@ -425,6 +431,8 @@ function rdf_theme() {
 }
 
 /**
+ * Implements MODULE_process().
+ *
  * Template process function for adding extra tags to hold RDFa attributes.
  *
  * Since template files already have built-in support for $attributes,
@@ -434,9 +442,9 @@ function rdf_theme() {
  * with those here.
  */
 function rdf_process(&$variables, $hook) {
-  // Handles attributes needed for content not covered by title, content,
-  // and field items. It does this by adjusting the variable sent to the
-  // template so that the template doesn't have to worry about it. See
+  // Handles attributes needed for content not covered by title, content, and
+  // field items. It does this by adjusting the variable sent to the template
+  // so that the template doesn't have to worry about it. See
   // theme_rdf_template_variable_wrapper().
   if (!empty($variables['rdf_template_variable_attributes_array'])) {
     foreach ($variables['rdf_template_variable_attributes_array'] as $variable_name => $attributes) {
diff --git a/core/modules/rdf/tests/rdf_test.module b/core/modules/rdf/tests/rdf_test.module
index 4ad43f3..4d90472 100644
--- a/core/modules/rdf/tests/rdf_test.module
+++ b/core/modules/rdf/tests/rdf_test.module
@@ -2,7 +2,7 @@
 
 /**
  * @file
- * Test API interaction with the RDF module.
+ * Tests API interaction with the RDF module.
  */
 
 /**
