Hi,<div>Thank you for your quick reply. It seems the problem was fixed when the web service was restarted.</div><div>It works fine now and it returns the answer in under 1 second. </div><div><br></div><div>I do have some additional questions:</div>
<div><br></div><div>&gt; Kaarel wrote:</div><div><span class="Apple-style-span" style="border-collapse: collapse; ">&gt; OK. But note that in addition to the ACE text you also have to store<br>&gt; the lexicon (which is shown in the &quot;Lexicon format view&quot; in ACE View).<br>
&gt; Only then can an APE-based tool such as RACE interpret the words<br>&gt; in the text correctly.</span><br></div><div><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse;">Is there any way to supply RACE with the Lexicon before/after I supply the axioms? Also, can I run RACE so that it guesses the unknown words?</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse;">I am currently prefixing unknown words with n:,v: etc, but it is inconvenient for a natural language interface, because every instance of an unknown word needs to have the prefix.</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse;">A very simple example of what I am trying to run is:</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse;"><div>&lt;race:Axioms&gt;A n:actuator is a resource.&lt;/race:Axioms&gt;</div><div>&lt;race:Theorems&gt;What is a n:actuator?&lt;/race:Theorems&gt;</div>
<div><br></div><div>This works just fine, but when I try to run the axiom as generated by the Ace View from the ontology I get:</div><div><div>&lt;race:Axioms&gt;Every n:actuator is a resource.&lt;/race:Axioms&gt;</div><div>
&lt;race:Theorems&gt;What is a n:actuator?&lt;/race:Theorems&gt;</div><div><br></div><div><div>&lt;race:Word&gt;copula: is/are&lt;/race:Word&gt;</div><div>&lt;race:Word&gt;common noun: actuator&lt;/race:Word&gt;</div><div>
&lt;race:Word&gt;query(_G10896, what)&lt;/race:Word&gt;</div><div>I am not sure what I am doing wrong here.<br></div><div><br></div><div>&gt; In your case, if you want to use Pellet to execute the query then you<br>&gt; need to write<br>
&gt; a little OWL-API based wrapper that maps this query representation to OWL-API<br>&gt; reasoner API call. You can look at the AceWiki and/or ACE View source code<br>&gt; to see how it&#39;s done.<br></div><div>Where is the source code for ACE View available? Is there any documentation available for it too?</div>
<div><br></div><div>Thanks again for your help.</div><div><br></div><div>Best regards,</div><div>Calin Bindea.</div></div></div></span></div><div><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></div>
<div><br></div><div><div class="gmail_quote">On Wed, Mar 25, 2009 at 11:30 AM, Norbert E. Fuchs <span dir="ltr">&lt;<a href="mailto:fuchs@ifi.uzh.ch">fuchs@ifi.uzh.ch</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5"><br>
On 24 Mar 2009, at 20:43, Calin Bindea wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I want to use ACE, particularly the reasoner RACE, as a natural language query interface to an ontology. The ontology was created using Protege and I converted it to ACE with the help of the &quot;Ace View&quot; plugin. Using the resulted ACE statements I would like to provide the user with the possibility of issuing simple ACE language questions. I tried to test using the RACE Web Service, but I keep getting an error: &quot;time_limit_exceeded. Web service call failed&quot;. I only used 10 Axioms, which is a small part of the total number I wan&#39;t to use for the final version.<br>

I also tried running the &quot;Pellet&quot; reasoner on OWL data obtained by first transforming to ACE, then adding the ACE query and then transforming again to OWL XML with the help of APE, but I get an error because it apparently can not transform ACE questions using &quot;What&quot; to OWL.<br>

This project is part of my Bachelor degree assignment so I need to know as soon as possible if this approach can be used. Is there any way of running RACE locally? If not, how could I get around this problem?<br>
</blockquote>
<br></div></div>
Calin<br>
<br>
As Kaarel already wrote it is difficult to answer without further details. Please send me your axioms and your query. Be aware that I am in vacation in Sicily and not permanently connected to the internet.<br>
<br>
I just ran RACE successfully with 13 axioms and got an answer in .5 seconds.<br>
<br>
The error message that you got is not generated by RACE itself, but by its web-service. Try to submit your ACE axioms and your &quot;what&quot; questions directly in the RACE web-client. Possibly you need to prefix unknown words by their word-class. For details how to prefix see the help text of the APE web-client.<br>

<br>
Currently, RACE can only be used via its web-client. A public release is planned for later this year.<br>
<br>
Best regards.<br><font color="#888888">
<br>
   --- nef<br>
<br>
<br>
</font></blockquote></div><br></div>