Lets say i have collection of some kind in mongoDB, and i want to create graph with ALL possible relations using rdflib. For example if I have 3 entries in my DB:
FIRST{color:red, name:Ben, age: 29}
SECOND{color :blue ,name:David, age:29}
THIRD{color :blue,name:Mark,age:34}
Then FIRST will relate to SECOND(age), THIRD will relate to SECOND(color) Also, how i can save results as rdf file and view it with some rdf viewer(for example rdf-gravity) I appreciate your help.