How to generate rdf.gz file

I use gzip to zip rdf file,but i find it can’t be loaded into dgraph,which method i can use to generate data by myself


I think something seems off with the rdf data itself. Could you provide some example data here?