As far as I know, you have to load RDF data, in one of several RDF serialization syntaxes (check the man page at ‘stardog help data add’ for details). Plain JSON is not one of them. Now, JSON-LD is a JSON serialization for RDF, but I’d be curious if Stardog can parse that for data loading…
Thank you so much for the response!
I have very limited knowledge about jsonld but as per my understanding, jsonld is used in case of linked data. If the data is not linked and just a json object, then shall i convert it to rdf first?
That's correct. To make a JSON document a JSON-LD document you would need to supply a @context or mark up the document with the appropriate JSON-LD annotations https://json-ld.org/