Re: [Virtuoso-users] [Virtuoso-devel] bif:contains

2008-04-25 Thread Ivan Mikhailov
Hello Kunal, The syntax of free-text queries is described in details in http://docs.openlinksw.com/virtuoso/queryingftcols.html#textexprsyntax Free-text is capable of looking weaker that an exact phrase but has no way to get more strict filtering. So you may start with bif:contains and additiona

Re: [Virtuoso-users] [Virtuoso-devel] bif:contains

2008-04-25 Thread Ivan Mikhailov
Hello Kunal, The syntax of free-text queries is described in details in http://docs.openlinksw.com/virtuoso/queryingftcols.html#textexprsyntax Free-text is capable of looking weaker that an exact phrase but has no way to get more strict filtering. So you may start with bif:contains and additiona

Re: [Virtuoso-users] [Virtuoso-devel] bif:contains

2008-04-25 Thread Ivan Mikhailov
Hello Kunal, The syntax of free-text queries is described in details in http://docs.openlinksw.com/virtuoso/queryingftcols.html#textexprsyntax Free-text is capable of looking weaker that an exact phrase but has no way to get more strict filtering. So you may start with bif:contains and additiona

Re: [Virtuoso-users] [Virtuoso-devel] bif:contains

2008-04-24 Thread Kunal Patel
Thanks Hugh, The quotes work. Also is there a way to do exact matches with bif:contains, for example a query to get all the people whose name is exactly "jack jill". Kunal Hugh Williams wrote: Hi Kunal, The following query should work: select * from where {?s foaf:Name ?name . ?name b

Re: [Virtuoso-users] [Virtuoso-devel] bif:contains

2008-04-24 Thread Rajeev J Sebastian
Hi Hugh, If you have time, I would really appreciate any suggestion/answer for the question about full text index queries: In 5.0.6, has the requirement for embedding the encoding in the query string still there ? I.e., I want to use non-latin-1 codepoints in the query string and my server is se

Re: [Virtuoso-users] [Virtuoso-devel] bif:contains

2008-04-24 Thread Hugh Williams
Hi Kunal, The following query should work: select * from where {?s foaf:Name ?name . ?name bif:contains "'jack jill'" .} Note the addition of single quotes within the double quotes which is how we handle phrases in bif:contains. Best Regards Hugh Wiilliams Professional Services OpenLink S

Re: [Virtuoso-users] [Virtuoso-devel] bif:contains

2008-04-24 Thread Rajeev J Sebastian
On Fri, Apr 25, 2008 at 2:11 AM, Kunal Patel wrote: > Hi, > > How can I use bif:contains predicate for a string value with multiple > words. For example when I run the following query it works fine, > > select * > from > where {?s foaf:Name ?name . ?name bif:contains "jack" .} > > But tryin