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.

asked 20 Jan '10, 21:23

Simon%20Twigger's gravatar image

Simon Twigger
9715
accept rate: 0%


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

permanent link

answered 21 Jan '10, 11:28

Rob%20Vesse's gravatar image

Rob Vesse ♦
13.9k1715
accept rate: 29%

edited 27 Jan '10, 15:38

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!

(21 Jan '10, 14:54) Simon Twigger Simon%20Twigger's gravatar image

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!

(21 Jan '10, 15:35) Rob Vesse ♦ Rob%20Vesse's gravatar image

How to turn on reasoning for AllegroGraph store? link not work ....

permanent link

answered 31 May, 10:15

ranielli's gravatar image

ranielli
111
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×162
×46
×7

question asked: 20 Jan '10, 21:23

question was seen: 1,625 times

last updated: 31 May, 10:15