Move rdf_type into its own variable