public int sync(String entityId,Collection<Statement> statements,Collection<String> valueList){
  long start=System.currentTimeMillis();
  int modified=execute("update",UPDATE_COUNT_RESPONSE,getSyncQuery(entityId,statements,valueList));
  log.debug("Updating {} took {} millis and modified {} statements",entityId,System.currentTimeMillis() - start,modified);
  return modified;
}

public int sync ( String entityId , Collection < Statement > statements , Collection < String > valueList ) { long start = System . currentTimeMillis ( ) ; int modified = execute ( "update" , UPDATE_COUNT_RESPONSE , getSyncQuery ( entityId , statements , valueList ) ) ; log . debug ( "Updating {} took {} millis and modified {} statements" , entityId , System . currentTimeMillis ( ) - start , modified ) ; return modified ; }
synchronizes the rdf repository ' s representation of an entity to be exactly the provided statements . you can think of the rdf managed for an entity as a tree rooted at the entity . the managed tree ends where the next entity ' s managed tree starts . for example q23 from wikidata includes all statements about george washington but not those about martha ( q191789 ) even though she is linked by the spouse attribute . on the other hand the qualifiers on statements about george are included in george .
