Helper function to retrieve an RDF mapping from the database.
$type: The entity type the mapping refers to.
$bundle: The bundle the mapping refers to.
An RDF mapping structure or an empty array if no record was found.
function _rdf_mapping_load($type, $bundle) {
$mappings = _rdf_mapping_load_multiple($type, array(
$bundle,
));
return $mappings ? reset($mappings) : array();
}