for (int i = 0; i < 10; i++) {
sl.add(new HashMap<String,RDFNode>());
}
NamedNode uriRef = new NamedNodeImpl(URI.create("http://example.org/test"));
BlankNode bn = new BlankNodeImpl("1");
Literal lit = new PlainLiteralImpl("foo");
sl.get(0).put(var, uriRef);
sl.get(1).put(var, bn);
sl.get(2).put(var, lit);