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

2008-09-03 Thread Ivan Mikhailov
Hello Kjetil, > DESCRIBE ?resource WHERE { > { ?resource dct:title ?free1 . ?free1 bif:contains "Da*" . > } > UNION > { ?resource dct:subject ?var . > ?var skos:prefLabel ?free2 . > ?free2 bif:contains "Da*" . > } > } > > will work? Yes, of course, because e

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

2008-09-03 Thread Kjetil Kjernsmo
On Tuesday 02 September 2008 19:12:45 Ivan Mikhailov wrote: > > Ah, yes, it was just an example. In practise, we have some OPTIONALs and > > a FILTER bound( thing that takes care of all these things. > > OK. Just remember that bif:contains will work only with triple in same > group at same level su

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

2008-09-03 Thread Kjetil Kjernsmo
On Wednesday 03 September 2008 08:01:03 you wrote: > Hi, you're obviously ahead of me in testing the RDF stores out there, so > would you mind describing why you're looking at virtuoso instead of jena > now? I gather it's mostly for speed-- Indeed! > are you seeing good speedups for > the quer

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

2008-09-03 Thread Kingsley Idehen
Drew Perttula wrote: 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