Well, why did not you name the RDF in the first command?
In Docs you can see that you need to https://docs.dgraph.io/deploy#bulk-loader
dgraph bulk -r goldendata.rdf.gz -s goldendata.schema --map_shards=4 --reduce_shards=2 --http localhost:8000 --zero=localhost:5080
Are you trying to upload a RDF of yours? Why are you using a sample schema? “goldendata.schema”
Please tell your machine specifications to have a good idea.
Cheers