Did you know ... Search Documentation:
Predicate rdf_file_name_media_type/2
 rdf_file_name_media_type(+File:atom, -MediaType:compound) is semidet
The RDF Media Type is based on the last file extension that does not denote an archive format.