queryExecutor = new DumpQueryExecutor(model,propUris.get(0));
}else{
queryExecutor = new DumpQueryExecutor(model);
}
QueryEndpoint queryEndpoint = new QueryEndpointImpl(queryFactory, queryExecutor);
ReconciliationService service = new RdfReconciliationService(id, name, propUris, queryEndpoint, AddServiceCommand.DEFAULT_MATCH_THRESHOLD);
GRefineServiceManager.singleton.addAndSaveService(service);
return service;
}catch(FileUploadException fe){
throw new IOException(fe);
}