* if no FROM clause is present
* @return the resulting ResultSet, Graph or Boolean value
*/
public Object executeSparqlQuery(String query, TripleCollection defaultGraph) throws ParseException {
final UriRef defaultGraphName = new UriRef("urn:x-temp:/kjsfadfhfasdffds");
SparqlPreParser sparqlPreParser = new SparqlPreParser(this);
final Set<UriRef> referencedGraphs = sparqlPreParser.getReferredGraphs(query, defaultGraphName);
TcProvider singleTargetTcProvider = null;
if ((referencedGraphs != null) && (!referencedGraphs.contains(defaultGraphName))) {
singleTargetTcProvider = getSingleTargetTcProvider(referencedGraphs);
}
if ((singleTargetTcProvider != null) && (singleTargetTcProvider instanceof QueryableTcProvider)) {