3

Hi there,

I have AllegroGraph (AG) installed on a Macbook Pro (Snow Leopard) and Im using the HTTP interface (the new-http-* version) with ruby to interact with the triple store. I also have AgWebView running to give a web view of the store. If I run a sparql query using AgWebView I can explicitly turn on inferencing and life is good, however, if I run the same sparql query via the http api there is no inferencing going on, presumably because its not turned on by default for that method.

Does anyone know how I might configure an AG triple store to have inferencing turned on so that it would work via the HTTP API, or how I could ask the store to use inferencing for a given query by passing in some parameter in the HTTP call?

Cheers!

Simon.

flag

1 Answer

3

Yes you are right in saying that Inferencing is not turned on for the HTTP API by default.

There's a boolean infer parameter that you can add as one of the parameters of your request - this is from the documentation:

http://www.franz.com/agraph/support/documentation/current/new-http-server.html#get-post-repository

link|flag
Hi Rob, Clearly I am guilty of not following rule number one: RTFM. That was exactly what I was looking for and solves the issue, many thanks! – Simon Twigger Jan 21 at 14:54
I had a lot of issues getting started with AllegroGraph because their manuals are a bit iffy so I wouldn't feel bad about not spotting it - I had an issue with configuring it which I eventually found the right manual page for but not for several hours! – Rob Vesse Jan 21 at 15:35

Your Answer

Get an OpenID
or

Not the answer you're looking for? Browse other questions tagged or ask your own question.