Hi Kunal,
The following query should work:
select *
from <people>
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 Software
On 24 Apr 2008, at 21:41, 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 <people>
where {?s foaf:Name ?name . ?name bif:contains "jack" .}
But trying to run the query below doesn't work.
select *
from <people>
where {?s foaf:Name ?name . ?name bif:contains "jack jill" .}
Kunal
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.
Try it now.
----------------------------------------------------------------------
---
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save
$100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://
java.sun.com/javaone_______________________________________________
Virtuoso-devel mailing list
virtuoso-de...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-devel