I am seeing a compiler error in the QueryIterator exec method:
public QueryIterator exec(Binding binding, PropFuncArg argSubject, Node
predicate,
PropFuncArg argObject, ExecutionContext context) {
argObject = Substitute.substitute(argObject, binding);
argSubject =
This works:
public String print(Model model) {
String ret;
OutputStream baos = new ByteArrayOutputStream();
RDFDataMgr.write(baos, model, RDFFormat.RDFJSON) ;
//RDFDataMgr.write(baos, model, RDFFormat.JSONLD) ;
ret = baos.toString();
return(ret);
}
I am not getting this compiler error. What Jena version are you using?
Should be, as stated in the pom.xml file, Jena 3.1.0.
Holger
On 24/08/2016 2:57, Jack Hodges wrote:
I am seeing a compiler error in the QueryIterator exec method:
public QueryIterator exec(Binding binding, PropFuncArg