You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by "Sommer, Scott (Contractor)" <Sc...@dsto.defence.gov.au> on 2007/10/25 08:24:57 UTC

Question on the SemanticSearch.zip - SIAPI

Hi guys,

I posted a while back about about indexing using SIAPI. Since then I've
managed to get the entire process of indexing and searching working
pretty smoothly. However, I have a general question for anyone who is
familiar with SIAPI.

Basically, prior to indexing documents I have built a Index
Specification Descriptor which contains the typesystem to use for
indexing. My typesystem has hierachy in it, so there is stuff like
organization, organization.company in there. What I was hoping for is
that when I submit something like '<organization/>' as the xml search
fragment I would get hits for not only organization annotations but also
all the child types of organization including organization.company,
however, this doesn't happen. Is there anything that I can do with the
Index Specification Descriptor to define a hierachy for the SIAPI
indexer? Or does the indexer have no concept of hierachy?

If it doesn't support hierachy typesystems, I was wondering if I can
modify the xml fragment before it is submitted to basically OR all the
child types. I've seen some xml fragments for omnifind which have
<.or></.or> tags in them, but I have only seen it used to filter on
propertys, ie <book><.or><author>John Smith</author><title>XML
-Microsoft</title></.or></book>. Is there anything similar I can do with
juru but on types?

Finally, is there a workaround to my issue that I haven't thought of?

Thanks in advance,
Scott.


IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914.  If you have received this email in error, you are requested to contact the sender and delete the email.



Re: Question on the SemanticSearch.zip - SIAPI

Posted by Steve Suppe <ss...@llnl.gov>.
Ah, thank you much!  I hadn't seen a notice of this on the Apache site (it 
could be there, but the documentation I read through didn't say this).  I 
appreciate this - now none of our code goes to waste!

Steve

At 03:28 PM 10/27/2007, Yosi Mass wrote:
>Hi,
>
>Just a corretion. The Juru package that works with uima-apache is on
>AlpwaWorks (http://alphaworks.ibm.com/tech/uima/download) and its called
>SemanticSearch_2.1.zip
>
>Best regards, Yosi
>
>
>
>
>              Thilo Goetz
>              <tw...@gmx.de>
>                                                                         To
>              27/10/2007 08:18          uima-user@incubator.apache.org
>                                                                         cc
>
>              Please respond to                                     Subject
>              uima-user@incubat         Re: Question on the
>                or.apache.org           SemanticSearch.zip - SIAPI
>
>
>
>
>
>
>
>
>
>
>Steve Suppe wrote:
> > Hi Scott,
> >
> > It seems we might be doing similar work.  We're looking into indexing
> > our annotations as well - however, I thought that Juru's SemanticSearch
> > didn't work with Apache UIMA (I thought it only worked with IBM UIMA).
> > Can you confirm this or put it to rest?
> >
> > Thanks!
> > Steve
>
>There's a new version that works with Apache UIMA.  See IBM's
>developerWorks site.
>
>--Thilo

Re: Question on the SemanticSearch.zip - SIAPI

Posted by Yosi Mass <YO...@il.ibm.com>.
Hi,

Just a corretion. The Juru package that works with uima-apache is on
AlpwaWorks (http://alphaworks.ibm.com/tech/uima/download) and its called
SemanticSearch_2.1.zip

Best regards, Yosi



                                                                           
             Thilo Goetz                                                   
             <tw...@gmx.de>                                              
                                                                        To 
             27/10/2007 08:18          uima-user@incubator.apache.org      
                                                                        cc 
                                                                           
             Please respond to                                     Subject 
             uima-user@incubat         Re: Question on the                 
               or.apache.org           SemanticSearch.zip - SIAPI          
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Steve Suppe wrote:
> Hi Scott,
>
> It seems we might be doing similar work.  We're looking into indexing
> our annotations as well - however, I thought that Juru's SemanticSearch
> didn't work with Apache UIMA (I thought it only worked with IBM UIMA).
> Can you confirm this or put it to rest?
>
> Thanks!
> Steve

There's a new version that works with Apache UIMA.  See IBM's
developerWorks site.

--Thilo



Re: Question on the SemanticSearch.zip - SIAPI

Posted by Thilo Goetz <tw...@gmx.de>.
Steve Suppe wrote:
> Hi Scott,
> 
> It seems we might be doing similar work.  We're looking into indexing
> our annotations as well - however, I thought that Juru's SemanticSearch
> didn't work with Apache UIMA (I thought it only worked with IBM UIMA). 
> Can you confirm this or put it to rest?
> 
> Thanks!
> Steve

There's a new version that works with Apache UIMA.  See IBM's
developerWorks site.

--Thilo

Re: Question on the SemanticSearch.zip - SIAPI

Posted by Steve Suppe <ss...@llnl.gov>.
Hi Scott,

It seems we might be doing similar work.  We're looking into indexing our 
annotations as well - however, I thought that Juru's SemanticSearch didn't 
work with Apache UIMA (I thought it only worked with IBM UIMA).  Can you 
confirm this or put it to rest?

Thanks!
Steve

At 11:24 PM 10/24/2007, you wrote:
>Hi guys,
>
>I posted a while back about about indexing using SIAPI. Since then I've
>managed to get the entire process of indexing and searching working
>pretty smoothly. However, I have a general question for anyone who is
>familiar with SIAPI.
>
>Basically, prior to indexing documents I have built a Index
>Specification Descriptor which contains the typesystem to use for
>indexing. My typesystem has hierachy in it, so there is stuff like
>organization, organization.company in there. What I was hoping for is
>that when I submit something like '<organization/>' as the xml search
>fragment I would get hits for not only organization annotations but also
>all the child types of organization including organization.company,
>however, this doesn't happen. Is there anything that I can do with the
>Index Specification Descriptor to define a hierachy for the SIAPI
>indexer? Or does the indexer have no concept of hierachy?
>
>If it doesn't support hierachy typesystems, I was wondering if I can
>modify the xml fragment before it is submitted to basically OR all the
>child types. I've seen some xml fragments for omnifind which have
><.or></.or> tags in them, but I have only seen it used to filter on
>propertys, ie <book><.or><author>John Smith</author><title>XML
>-Microsoft</title></.or></book>. Is there anything similar I can do with
>juru but on types?
>
>Finally, is there a workaround to my issue that I haven't thought of?
>
>Thanks in advance,
>Scott.
>
>
>IMPORTANT: This email remains the property of the Australian Defence 
>Organisation and is subject to the jurisdiction of section 70 of the 
>CRIMES ACT 1914.  If you have received this email in error, you are 
>requested to contact the sender and delete the email.

RE: Question on the SemanticSearch.zip - SIAPI

Posted by Yosi Mass <YO...@il.ibm.com>.
Hi Scott,

Can you send me your indexBuildSpec file?

Thanks, Yosi



                                                                           
             "Sommer, Scott                                                
             (Contractor)"                                                 
             <Scott.Sommer@dst                                          To 
             o.defence.gov.au>         <ui...@incubator.apache.org>    
                                                                        cc 
             25/10/2007 09:43                                              
                                                                   Subject 
                                       RE: Question on the                 
             Please respond to         SemanticSearch.zip - SIAPI          
             uima-user@incubat                                             
               or.apache.org                                               
                                                                           
                                                                           
                                                                           
                                                                           




Hi Yosi,

I have a small document I'm using for testing which has a single
organization.company annotation in it and no other organization
annotations. When I do a search using <company/> I get the document
returned to me in the result, but when I search using <organization/> I
don't get the document as a result.

Cheers,
Scott.

-----Original Message-----
From: Yosi Mass [mailto:YOSIMASS@il.ibm.com]
Sent: Thursday, 25 October 2007 4:42 PM
To: uima-user@incubator.apache.org
Cc: uima-user@incubator.apache.org
Subject: Re: Question on the SemanticSearch.zip - SIAPI

Dear Scott,

Can you please explain what you mean that the query <organization/>
doesn't return hits for organization.compnay annotations?

You probably know that a SIAPI query returns full documents as results
and not a result for each annotation so a document with <organization>
and also tags under organization will be returned only once.

Thanks, Yosi





             "Sommer, Scott

             (Contractor)"

             <Scott.Sommer@dst
To
             o.defence.gov.au>         <ui...@incubator.apache.org>


cc
             25/10/2007 08:24


Subject
                                       Question on the
SemanticSearch.zip
             Please respond to         - SIAPI

             uima-user@incubat

               or.apache.org













Hi guys,

I posted a while back about about indexing using SIAPI. Since then I've
managed to get the entire process of indexing and searching working
pretty smoothly. However, I have a general question for anyone who is
familiar with SIAPI.

Basically, prior to indexing documents I have built a Index
Specification Descriptor which contains the typesystem to use for
indexing. My typesystem has hierachy in it, so there is stuff like
organization, organization.company in there. What I was hoping for is
that when I submit something like '<organization/>' as the xml search
fragment I would get hits for not only organization annotations but also
all the child types of organization including organization.company,
however, this doesn't happen. Is there anything that I can do with the
Index Specification Descriptor to define a hierachy for the SIAPI
indexer? Or does the indexer have no concept of hierachy?

If it doesn't support hierachy typesystems, I was wondering if I can
modify the xml fragment before it is submitted to basically OR all the
child types. I've seen some xml fragments for omnifind which have
<.or></.or> tags in them, but I have only seen it used to filter on
propertys, ie <book><.or><author>John Smith</author><title>XML
-Microsoft</title></.or></book>. Is there anything similar I can do with
juru but on types?

Finally, is there a workaround to my issue that I haven't thought of?

Thanks in advance,
Scott.


IMPORTANT: This email remains the property of the Australian Defence
Organisation and is subject to the jurisdiction of section 70 of the
CRIMES ACT 1914.  If you have received this email in error, you are
requested to contact the sender and delete the email.







RE: Question on the SemanticSearch.zip - SIAPI

Posted by "Sommer, Scott (Contractor)" <Sc...@dsto.defence.gov.au>.
Hi Yosi,

I have a small document I'm using for testing which has a single
organization.company annotation in it and no other organization
annotations. When I do a search using <company/> I get the document
returned to me in the result, but when I search using <organization/> I
don't get the document as a result. 

Cheers,
Scott.

-----Original Message-----
From: Yosi Mass [mailto:YOSIMASS@il.ibm.com] 
Sent: Thursday, 25 October 2007 4:42 PM
To: uima-user@incubator.apache.org
Cc: uima-user@incubator.apache.org
Subject: Re: Question on the SemanticSearch.zip - SIAPI

Dear Scott,

Can you please explain what you mean that the query <organization/>
doesn't return hits for organization.compnay annotations?

You probably know that a SIAPI query returns full documents as results
and not a result for each annotation so a document with <organization>
and also tags under organization will be returned only once.

Thanks, Yosi



 

             "Sommer, Scott

             (Contractor)"

             <Scott.Sommer@dst
To 
             o.defence.gov.au>         <ui...@incubator.apache.org>

 
cc 
             25/10/2007 08:24

 
Subject 
                                       Question on the
SemanticSearch.zip  
             Please respond to         - SIAPI

             uima-user@incubat

               or.apache.org

 

 

 

 





Hi guys,

I posted a while back about about indexing using SIAPI. Since then I've
managed to get the entire process of indexing and searching working
pretty smoothly. However, I have a general question for anyone who is
familiar with SIAPI.

Basically, prior to indexing documents I have built a Index
Specification Descriptor which contains the typesystem to use for
indexing. My typesystem has hierachy in it, so there is stuff like
organization, organization.company in there. What I was hoping for is
that when I submit something like '<organization/>' as the xml search
fragment I would get hits for not only organization annotations but also
all the child types of organization including organization.company,
however, this doesn't happen. Is there anything that I can do with the
Index Specification Descriptor to define a hierachy for the SIAPI
indexer? Or does the indexer have no concept of hierachy?

If it doesn't support hierachy typesystems, I was wondering if I can
modify the xml fragment before it is submitted to basically OR all the
child types. I've seen some xml fragments for omnifind which have
<.or></.or> tags in them, but I have only seen it used to filter on
propertys, ie <book><.or><author>John Smith</author><title>XML
-Microsoft</title></.or></book>. Is there anything similar I can do with
juru but on types?

Finally, is there a workaround to my issue that I haven't thought of?

Thanks in advance,
Scott.


IMPORTANT: This email remains the property of the Australian Defence
Organisation and is subject to the jurisdiction of section 70 of the
CRIMES ACT 1914.  If you have received this email in error, you are
requested to contact the sender and delete the email.





Re: Question on the SemanticSearch.zip - SIAPI

Posted by Yosi Mass <YO...@il.ibm.com>.
Dear Scott,

Can you please explain what you mean that the query <organization/> doesn't
return hits for organization.compnay annotations?

You probably know that a SIAPI query returns full documents as results and
not a result for each annotation so a document with <organization> and also
tags under organization will be returned only once.

Thanks, Yosi



                                                                           
             "Sommer, Scott                                                
             (Contractor)"                                                 
             <Scott.Sommer@dst                                          To 
             o.defence.gov.au>         <ui...@incubator.apache.org>    
                                                                        cc 
             25/10/2007 08:24                                              
                                                                   Subject 
                                       Question on the SemanticSearch.zip  
             Please respond to         - SIAPI                             
             uima-user@incubat                                             
               or.apache.org                                               
                                                                           
                                                                           
                                                                           
                                                                           




Hi guys,

I posted a while back about about indexing using SIAPI. Since then I've
managed to get the entire process of indexing and searching working
pretty smoothly. However, I have a general question for anyone who is
familiar with SIAPI.

Basically, prior to indexing documents I have built a Index
Specification Descriptor which contains the typesystem to use for
indexing. My typesystem has hierachy in it, so there is stuff like
organization, organization.company in there. What I was hoping for is
that when I submit something like '<organization/>' as the xml search
fragment I would get hits for not only organization annotations but also
all the child types of organization including organization.company,
however, this doesn't happen. Is there anything that I can do with the
Index Specification Descriptor to define a hierachy for the SIAPI
indexer? Or does the indexer have no concept of hierachy?

If it doesn't support hierachy typesystems, I was wondering if I can
modify the xml fragment before it is submitted to basically OR all the
child types. I've seen some xml fragments for omnifind which have
<.or></.or> tags in them, but I have only seen it used to filter on
propertys, ie <book><.or><author>John Smith</author><title>XML
-Microsoft</title></.or></book>. Is there anything similar I can do with
juru but on types?

Finally, is there a workaround to my issue that I haven't thought of?

Thanks in advance,
Scott.


IMPORTANT: This email remains the property of the Australian Defence
Organisation and is subject to the jurisdiction of section 70 of the CRIMES
ACT 1914.  If you have received this email in error, you are requested to
contact the sender and delete the email.