On Thursday 26 February 2009 12:06:50 Ivan Mikhailov wrote:
> Kjetil,
>
> I guess that you need
> "define input:default-graph-uri <" + defaultGraph + "> \n"
>
> i.e. < and > around defaultGraph.

Actually, I had that in the defaultGraph variable. 

I suspect that Jena does some query validation and defines aren't a part of 
that, and that's why it croaks. Another problem is that I need to deal with 
different query types since there are different exec-methods for different 
query types. 

I solved it temporarily by using the endpoint, and it seems the performance 
penalty isn't disastrous, so I guess I can live with it for now.



Kind regards 

Kjetil Kjernsmo
-- 
Senior Knowledge Engineer
Mobile: +47 986 48 234
Email: kjetil.kjern...@computas.com   
Web: http://www.computas.com/

|  SHARE YOUR KNOWLEDGE  |

Computas AS  PO Box 482, N-1327 Lysaker | Phone:+47 6783 1000 | Fax:+47 6783 
1001


Reply via email to