[Attempto] No DRSXML for "John likes Mary." in ACE 6.5?
Tobias Kuhn
t.kuhn at gmx.ch
Tue Jun 2 08:24:46 CEST 2009
Hi Joshua,
Ok. We can reproduce this. It's an APE bug and we are working on it. We have been somehow in a hurry
and did not test the OWL XML translation extensively. Thanks for reporting it and sorry for the
inconvenience.
Tobias
Joshua TAYLOR wrote:
> Hi all,
>
> I'm updating some code to handle the new named proper names (among
> other things) in the 6.5 release. For the simple sentence "John likes
> Mary." I can get the DRS from the webclient:
>
> [A]
> predicate(A, like, named(John), named(Mary))-1/2
>
> but can't generate DRSXML (after selecting the DRSXML checkbox, no
> DRSXML is presented). Calling the webservice directly (via a Lisp
> binding) shows that the drsxml element in the apeResult is empty,
> although other formats (at least drs) still work:
>
> CL-USER 27 > (invoke-ape-webservice :text "John likes Mary." :cdrs t :cdrsxml t)
> "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
>
> <apeResult>
> <duration tokenizer=\"0.000\" parser=\"0.010\" refres=\"0.000\"/>
> <drs>drs([A], [predicate(A, like, named('John'), named('Mary'))-1/2])</drs>
> <drsxml></drsxml>
> <messages/>
> </apeResult>
>
> "
>
> For other sentences, though, I can still get drsxml, e.g., for "John
> should eat.":
>
> CL-USER 28 > (invoke-ape-webservice :text "John should eat." :cdrs t :cdrsxml t)
> "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
>
> <apeResult>
> <duration tokenizer=\"0.010\" parser=\"0.000\" refres=\"0.000\"/>
> <drs>drs([], [should(drs([A], [predicate(A, eat, named('John'))-1/3]))])</drs>
> <drsxml><?xml version=\"1.0\" encoding=\"UTF-8\"?>
>
> <DRS domain=\"\">
> <Recommendation>
> <DRS domain=\"A\">
> <predicate ref=\"A\" verb=\"eat\" subj=\"named(John)\"
> sentid=\"1\" tokid=\"3\"/>
> </DRS>
> </Recommendation>
> </DRS></drsxml>
> <messages/>
> </apeResult>
>
> "
>
> Any thoughts? Thanks in advance, //JT
>
More information about the attempto
mailing list