code: def load_graph_from_rdf(fname):
      
      print("reading RDF from " + fname + "....")
      store = Graph()
      store.parse(fname, format="n3")
      print("Loaded " + str(len(store)) + " tuples")
      return store
docs: reads an RDF file into a graph