use of com.bigdata.rdf.sparql.ast.service.RemoteServiceFactoryImpl in project wikidata-query-rdf by wikimedia.
the class WikibaseContextListener method getDefaultServiceFactory.
/**
* Get default service factory, with proper options.
* @return
*/
private static ServiceFactory getDefaultServiceFactory() {
final RemoteServiceOptions options = new RemoteServiceOptions();
options.setSPARQLVersion(SPARQLVersion.SPARQL_11);
options.setGET(true);
options.setAcceptHeader(TupleQueryResultFormat.SPARQL.getDefaultMIMEType());
return new RemoteServiceFactoryImpl(options);
}
Aggregations