public void update(int from,int to){
  Change.Source<?> source=IdRangeChangeSource.forItems(from,to,30);
  ExecutorService executorService=new ThreadPoolExecutor(0,10,0,TimeUnit.SECONDS,new LinkedBlockingQueue<Runnable>());
  WikibaseUris uris=new WikibaseUris("www.wikidata.org");
  Update<?> update=new Update<>(source,wikibaseRepository,rdfRepository(),munger,executorService,0,uris,false);
  update.run();
  executorService.shutdown();
}

public void update ( int from , int to ) { Change . Source < ? > source = IdRangeChangeSource . forItems ( from , to , 30 ) ; ExecutorService executorService = new ThreadPoolExecutor ( 0 , 10 , 0 , TimeUnit . SECONDS , new LinkedBlockingQueue < Runnable > ( ) ) ; WikibaseUris uris = new WikibaseUris ( "www.wikidata.org" ) ; Update < ? > update = new Update < > ( source , wikibaseRepository , rdfRepository ( ) , munger , executorService , 0 , uris , false ) ; update . run ( ) ; executorService . shutdown ( ) ; }
update all ids from from to to .
