model = RDF::Trine::Model->temporary_model; my $content_type_mapping = { 'application/json' => sub {$self->export_to_hash(%opts)}, 'application/rdf+xml' => sub {$self->export_to_st