Hello Alexander,
But what if the user enters the following string:
>
> someEnglishWord and someRussianWord or someIndianWord
>
> Will it work if I just place this string inside single quotes? Or
> should I place into single quote someRussianWord and someIndianWord
> separately?
To prevent ambi
Hi Ivan,
But what if the user enters the following string:
someEnglishWord and someRussianWord or someIndianWord
Will it work if I just place this string inside single quotes? Or should I
place into single quote someRussianWord and someIndianWord separately?
Regards,
Alexander
2010/3/5 Ivan M
Hello Alexander,
Non-English words should be placed in single or double quotes inside the
literal, like phrases. Quoted fragments are tokenized into indexable
words, depending on number of tokens they become single words, phrases
or empty sequences (if the fragment consists of non-word garbage onl
Hi Hugh,
Have I understood right that bif:contains' query "hello and world" is equal
to "'hello' and 'world'"? If yes, it looks very inconvenient. Imagine the
situation when user enters a query and then my application gives it to
Virtuoso Full Text Search. Of course I will give it using just one s
Hi Alexander,
If you can point out an such incorrect examples in the documentation then we
can fix them.
Do we aware that "and" and "or" act as a logical operators in bif:contains and
thus do not require the extra quoting in string searches, so you can have:
bif:contains (?text, "hello and wor
Hi Hugh,
Thank you, that helped. But there are a lot of examples at documentation
that use just double quotes...
Regards,
Alexander
2010/3/4 Hugh Williams
> Hi Alexander,
>
> Try the following:
>
> SELECT * WHERE { ?s ?p ?o . ?o bif:contains "'Some non english literal'" }
>
> Note the addition
Hi Alexander,
Try the following:
SELECT * WHERE { ?s ?p ?o . ?o bif:contains "'Some non english
literal'" }
Note the addition of single quotes within the double quotes which is how
Virtuoso handles phrases in bif:contains.
Best Regards
Hugh Williams
Professional Services
OpenLink Soft
Hello!
I'm trying to find some information at lod.openlinksw.com using simple
query:
SELECT * WHERE { ?s ?p ?o . ?o bif:contains "Some non english literal" }
As result I get an error telling "Invalid character in free-text search
expression, it may not appear outside quoted string". I there any