Hi Roberto, That query runs for me as it does have at least 4 leading characters, if I change the search term to "Paris Hil* ie there are only 3 leading characters then I get the error you report. Try against the http://dbpedia.org/sparql for example ?
Best Regards Hugh Williams Professional Services OpenLink Software, Inc. // http://www.openlinksw.com/ 10 Burlington Mall Road, Suite 265, Burlington MA 01803 Weblog -- http://www.openlinksw.com/blogs/ LinkedIn -- http://www.linkedin.com/company/openlink-software/ Twitter -- http://twitter.com/OpenLink Google+ -- http://plus.google.com/100570109519069333827/ Facebook -- http://www.facebook.com/OpenLinkSoftware Universal Data Access, Integration, and Management Technology Providers On 8 Mar 2012, at 15:22, Roberto García wrote: > Ivan, > > I've already tried with quotes but, for instance, for query: > > select ?r > where > { > ?r rdfs:label ?l. > filter(bif:contains(?l, '"Paris Hilt*"')) > } > > I get the following error: > > Virtuoso 22023 Error FT370: Wildcard word needs at least 4 leading characters > > > Roberto García > http://rhizomik.net/~roberto > > > > 2012/3/7 Ivan Mikhailov <[email protected]>: >> Roberto, >> >> You can search for an exact phrase if you put it into quotes, or you can >> require some weaker proximity between terms by using NEAR operator, like >> Paris NEAR Hil* >> >> Best Regards, >> >> Ivan Mikhailov >> OpenLink Software >> http://virtuoso.openlinksw.com >> >> On Wed, 2012-03-07 at 11:26 +0100, Roberto García wrote: >>> Dear all, >>> >>> I'm aware of the fact that bif:contains and REGEX produce different >>> results, as explained in >>> http://wikis.openlinksw.com/dataspace/owiki/wiki/VirtuosoWikiWeb/BifContainsAndREGEXSearchesProduceDifferentResults >>> >>> However, we are implementing autocomplete at the UI and we would need >>> bif:contains to behave like REGEX in the "Paris Hil*" case. Is there >>> any syntax trick for bif:contains that makes is consider space >>> separated words as a sentence and not as independent words to match? >>> >>> Best, >>> >>> >>> Roberto García >>> http://rhizomik.net/~roberto >> >> > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Virtuoso-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/virtuoso-users
smime.p7s
Description: S/MIME cryptographic signature
