public void testTypeFiltering() {
source.addColumn(new Column("?uri", "ID", null, null));
source.addColumn(new Column("http://b", "PROP", null, null));
source.setAcceptTypes("http://d");
RecordIterator it = read("<http://a> <http://b> \"foo\" .\n" +
"<http://a> <http://c> \"foo\" .\n" +
"<http://a> <" + RDF_TYPE + "> \"http://d\" .\n" +
"<http://e> <http://b> \"bar\" .\n" +
"<http://e> <http://c> \"foo\" .\n" +
"<http://e> <" + RDF_TYPE + "> \"http://f\" .\n");
Record r = it.next();
assertEquals("http://a", r.getValue("ID"));
assertEquals("foo", r.getValue("PROP"));
assertFalse("e record not filtered out", it.hasNext());
}