// System.err.print("+");
// System.err.flush();
Model grddl[] = new Model[prop==null?2:3];
for (int i=0;i<grddl.length;i++) {
grddl[i] = ModelFactory.createDefaultModel();
RDFReader rdr = grddl[i].getReader("GRDDL");
switch (i) {
case 1:
rdr.setProperty("header.negotiate", "*");
break;
case 2:
rdr.setProperty(prop, val);
break;
}
rdr.read(grddl[i], base);
}
int matched = 0, used = 0;
for (int i=0; i<outCount;i++) {
Model out = ModelFactory.createDefaultModel();
out.read(outputs[i].getURI(),base,"RDF/XML");