Detect rdf serialisation syntax by file extension.