def gatherAndExportUserData(repo_name,userId,userToken):
	store = IOMemory()

	g=ConjunctiveGraph(store=store)
	g.bind("av",ns)
	g.bind("sc",sc)
	g.bind("dbo",dbo)
	g.bind("fb",fb)

	createGraphForFBUser(store,repo_name,userId,userToken)

	graphString = g.serialize(format="n3")
	with open("user.ttl","w") as f:
		f.write(graphString)

	response = sesame.import_content(repo_name,graphString)
def gatherAndExportGenreData(repo_name):
	store = IOMemory()

	g=ConjunctiveGraph(store=store)
	g.bind("av",ns)
	g.bind("sc",sc)
	g.bind("dbo",dbo)
	g.bind("fb",fb)

	genreRelations = dbpedia.getDBpediaGenreRelations()
	genreNames = dbpedia.getDbpediaMusicGenres()
	createGraphForGenres(store,genreNames,genreRelations)


	graphString = g.serialize(format="n3")

	with open("genres.ttl","w") as f:
		f.write(graphString)

	response = sesame.import_content(repo_name,graphString)