/**
* Switches the current timeout settings to use the SPARQL-specific timeouts.
* This method should be called when making SPARQL SERVICE calls to apply
* shorter timeout values.
*
* <p>
* The SPARQL-specific timeouts are shorter to ensure that unresponsive or slow
* SPARQL endpoints do not cause long delays in federated query processing.
* Quick detection of such issues improves the responsiveness and reliability
* of SPARQL queries.
* </p>
*/
public void setDefaultSparqlServiceTimeouts() {...
Here is an example: