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?
asked 20 Jan '10, 21:23
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: