[Attempto] RACE Web Service problem

Norbert E. Fuchs fuchs at ifi.uzh.ch
Wed Mar 25 20:40:20 CET 2009


On 25 Mar 2009, at 15:42, Joshua TAYLOR wrote:

> I'm not a RACE/ACE developer, but the question looked interesting.
> Using the RACE Webclient, the following works:
>
>
> Axioms: Resource1 v:hasCoordinateX Coordinate10.
> Query: Resource1 v:hasCoordinateX what?
> Parameters: si st ot sdt dodt iodt sti aux fpo
> The following minimal subsets of the axioms answer the query:
>  * Subset 1
>        o 1: Resource1 v:hasCoordinateX Coordinate10.
>        o Prolog Axiom w4: If there are named non-human objects then
> the question "who" can be answered.
>
>
> Which is similar to your query, rather than 10, has Coordinate10. (The
> syntax of the question was a bit different, too.)  From this I
> wondered if the problem was with number related things, so I went on
> to:
>
>
> Axioms: Resource1 v:hasCoordinateX 10 points.
> Query: Resource1 v:hasCoordinateX what?
> Parameters: si st ot sdt dodt iodt sti aux fpo
> The following minimal subsets of the axioms answer the query:
>  * Subset 1
>        o 1: Resource1 v:hasCoordinateX 10 points.
>        o Prolog Axiom w3: If there are countable non-human objects
> then the question "who" can be answered.
>
>
> The query is still answered here. Wondering whether other kinds of
> arithmetic terms [1] might work, I also tried: "10", [10], (10), but
> none worked. Now I'm curious: does RACE support queries whose answers
> are arithmetic terms? The ACE syntax for questions [2] doesn't show
> any such examples.
>
> Curiously,
> //Joshua Taylor

Joshua

In your first example "Coordinate10" is interpreted as a proper name,  
in your second example "10 points" as plural common noun with 10  
elements. In each example a DRS object condition is generated. RACE  
can therefore answer your questions mapping ultimately "what" to this  
object condition.

Referring to my previous answer to Calin, numbers, arithmetic  
expressions, lists, sets and strings are not represented by a separate  
DRS object condition, but are incorporated as argument into the  
respective DRS predicate condition derived from the verb of the  
sentence. The public version of RACE does not yet handle this. I am  
currently extending RACE so that it will also handle these cases.

Regards.

  --- nef


More information about the attempto mailing list