Did you know ... Search Documentation:
Predicate rdf_file_type/2
 rdf_file_type(+Extension, -Format) is semidet[multifile, library(semweb/rdf_db)]
True if Format is the format belonging to the given file extension. This predicate is multifile and can thus be extended by plugins.
 rdf_db:rdf_file_type(+Extension, -Format)[multifile, library(semweb/rdf_ntriples)]
Bind the ntriples reader to files with the extensions nt, ntriples and nquads.