throws InvalidResultSetException {
// put statements in a vector and create a statement iterator based off the vector iterator
Vector<Statement> statements = new Vector<Statement>();
URI mem = (URI) FresnelCore.member;
if (Container.isContainer(in, selected)) {
Container con = new Container(in, selected);
for (Iterator it = con.iterator(); it.hasNext(); ) {
statements.add(new StatementImpl(selected, mem, (Value) it.next()));
}
} else if (RDFList.isRDFList(in, selected)) {
List list = new RDFList(in, selected).asJavaList();
for (Iterator it = list.iterator(); it.hasNext(); ) {