Processing Billions of RDF Triples on a Single Machine using Streaming and Sorting