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>> Kaarel wrote:</div><div><span class="Apple-style-span" style="border-collapse: collapse; ">> OK. But note that in addition to the ACE text you also have to store<br>> the lexicon (which is shown in the "Lexicon format view" in ACE View).<br>
> Only then can an APE-based tool such as RACE interpret the words<br>> 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><race:Axioms>A n:actuator is a resource.</race:Axioms></div><div><race:Theorems>What is a n:actuator?</race:Theorems></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><race:Axioms>Every n:actuator is a resource.</race:Axioms></div><div>
<race:Theorems>What is a n:actuator?</race:Theorems></div><div><br></div><div><div><race:Word>copula: is/are</race:Word></div><div><race:Word>common noun: actuator</race:Word></div><div>
<race:Word>query(_G10896, what)</race:Word></div><div>I am not sure what I am doing wrong here.<br></div><div><br></div><div>> In your case, if you want to use Pellet to execute the query then you<br>> need to write<br>
> a little OWL-API based wrapper that maps this query representation to OWL-API<br>> reasoner API call. You can look at the AceWiki and/or ACE View source code<br>> to see how it'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"><<a href="mailto:fuchs@ifi.uzh.ch">fuchs@ifi.uzh.ch</a>></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 "Ace View" 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: "time_limit_exceeded. Web service call failed". I only used 10 Axioms, which is a small part of the total number I wan't to use for the final version.<br>
I also tried running the "Pellet" 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 "What" 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 "what" 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>