optimize pass-through RDF file