Re: [Virtuoso-users] "Simple freetext search" with SPARQL / jena

2008-09-02 Thread Drew Perttula
Kjetil Kjernsmo wrote: Up to now, we've been running Jena, and the way we have solved this problem is to concatenate all literals, create a "sub:literals" property, and then freetext search this property. It works, but queries that returns a few hundred entries usually takes around 40 seconds.

Re: [Virtuoso-users] "Simple freetext search" with SPARQL

2008-09-02 Thread Ivan Mikhailov
Kjetil, > > Re. > > DESCRIBE ?resource WHERE { > > ?resource dct:title ?free ; > > dct:subject ?var . > > ?var skos:prefLabel ?free . > > ?free bif:contains "Da*" . > > }, > > > > there are two errors. > > Ah, yes, it was just an example. In practise,

Re: [Virtuoso-users] "Simple freetext search" with SPARQL

2008-09-02 Thread Kjetil Kjernsmo
Hi Ivan, Thanks for the response! On Tuesday 02 September 2008 14:23:05 you wrote: > One can not > expect that text from user's input can be placed into query verbatim. Yeah, we have a pre-processing level that takes care of that. > Re. > DESCRIBE ?resource WHERE { > ?resource dct:title

Re: [Virtuoso-users] "Simple freetext search" with SPARQL

2008-09-02 Thread Ivan Mikhailov
Hello Kjetil, For some characters, placing quoted phrase instead of a word is enough. Say, When "Da~!@" is in quotes inside FT expression, like ?free bif:contains "'Da~!@'" or ?free bif:contains "'Da~!@' and 'Foo*' and not 'Foo Bar' " the free-text expression parser will extract and normalize wo

[Virtuoso-users] "Simple freetext search" with SPARQL

2008-09-02 Thread Kjetil Kjernsmo
Dear all, I'm finally getting around to try out Virtuoso. I'm sure many of you know it allready, but for those who don't, I'm now working for a consultancy in Norway called Computas, 100% on Semantic Web technologies. Previously, I was at Opera, and my interest in RDF goes back more than 10 yea