There is a DefaultQueryResultFormat that is set to BINARY. I'm interested to get the result in another formats. I have a question: how can we change it to JSON?
I saw something like this, but I do not know how it applies.
I'm interested to change the query result to something like this:
public static final QueryResultFormat JSON = new QueryResultFormatImpl("SPARQL/JSON", Values.iri("http://www.w3.org/ns/formats/SPARQL_Results_JSON"), ImmutableList.of("application/sparql-results+json", "application/json"), ImmutableList.of("srj", "json"));