[topbraid-users] QueryIterator exec error in SPINARQPFunction.java

2016-08-23 Thread Jack Hodges
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 =

Re: [topbraid-users] SHACL ModelPrinter for JSON?

2016-08-23 Thread Jack Hodges
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); }

Re: [topbraid-users] QueryIterator exec error in SPINARQPFunction.java

2016-08-23 Thread Holger Knublauch
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