Initialize the RDF object

Wasn’t initializing the (empty) RDF object before setting the
properties. This caused a 'Creating default object from empty value'
warning in PHP when the module wasn’t enabled.