hope this fix your issue Yes, the easiest way to do this is by using an RDF toolkit/framework. There are tons of different RDF toolkits and APIs available (e.g. Jena or Sesame in Java, dotNetRdf in .Net, Redland in C, etc.). Which one you pick depends on which programming environment you are most comfortable in. So: choose one, work through its documentation/tutorials, and try and get a simple app going. If you get stuck, ask a new question, but please be specific: show what you've tried.
ExpressJS: Retrieving images from MongoDB and displaying them in Jade
wish of those help Your code is only getting the _id from the uploaded image and not the content. What you need is the content. I found a reference already on Stack overflow, to save me some typing. The code is C# but all the classes are the same as it is the same driver. A quick disclaimer if I may. Unless your files are huge ( > 16MB [encoded] ) and which I'm guessing they are not, GridFS may not be your best option. You will likely find more joy and less jumping through hoops if you simply encode the uploaded file as base64 and insert it as a field just as you would with any regular MongoDB document. As such you'll find this easier to deal with.
How to exclude the _id field while retrieving and displaying data from MongoDB using C#
This might help you The Include and Exclude methods are available, they're just not easy to find because they're off in a separate Fields builder class:
using MongoDB.Driver.Builders; // Make Fields class accessible
var fields = "secondary.amount";
foreach (var document in collection.FindAllAs<BsonDocument>()
foreach (string name in document.Names)
BsonElement element = document.GetElement(name);
Retrieving documents inside of objects in MongoDB and displaying on Meteor