I was following below arcticle to connect java to stardog.
I was successfully able to run the code in the given tutorial. But the result it writes out is in tabular form.
QueryResultWriters.write(tupleQueryResult, System.out, TextTableQueryResultWriter.FORMAT);
what i want is result to be in json format.
Not sure how can i do it.. ??