if (!variant.getMediaType().isCompatible(MediaType.TEXT_HTML_TYPE) &&
!variant.getMediaType().isCompatible(MediaType.APPLICATION_XHTML_XML_TYPE))
{
if (log.isDebugEnabled()) log.debug("Using remote SPARQL endpoint URI: {}", getEndpointURI());
SPARQLEndpointOrigin origin = new SPARQLEndpointOriginBase(getEndpointURI().toString());
return SPARQLEndpointFactory.createProxy(getRequest(), getServletContext(), origin, getDataManager());
}
}
return super.getSPARQLResource();