}
stIter = tripleSource.getStatements((Resource)subjValue, (URI)predValue, objValue, contexts);
if (contexts.length == 0 && sp.getScope() == Scope.NAMED_CONTEXTS) {
stIter = new NamedContextCursor(stIter);
}
}
catch (ClassCastException e) {
// Invalid value type for subject, predicate and/or context
return EmptyCursor.getInstance();