Xquery full text - thesaurus option

Tuesday, 20 September 2011 · 5 messages
AB
Andy Bunce20 Sep 2011 13:00 #
I see Zorba is now supporting this<http://zorba-xquery.com/site2/doc/latest/zorba/html/ft_thesaurus.html>. Does/will BaseX? /Andy
DP
Dimitar Popov20 Sep 2011 14:15 #
Hi Andy, we do support the thesaurus full-text option, but we don't provide a "default" thesaurus and this is why the example query will return false. Thus, if you want to use thesauri you have to explicitly specify them, similar to the examples in W3C. Greetings, Dimitar
Quoted text · 12:00:23 · 6 lines
Am Dienstag, 20. September 2011, 12:00:23 schrieb Andy Bunce: > I see Zorba is now supporting > this<http://zorba-xquery.com/site2/doc/latest/zorba/html/ft_thesaurus.html>. > Does/will BaseX? > > /Andy
AB
Andy Bunce20 Sep 2011 14:42 #
Hi Dimitar, I can not see the thesaurus format from the W3C examples. Indeed it says *Note:* A thesaurus may be standards-based or locally-defined. It may be a traditional thesaurus, or a taxonomy, soundex, ontology, or topic map. How the thesaurus is represented is implementation-dependent<http://www.w3.org/TR/xpath-full-text-10/#dt-implementation-dependent> . So with Basex can you give a example of a format that is supported? Can I use a SKOS file? /Andy
Quoted text · Dimitar Popov · 35 lines
On Tue, Sep 20, 2011 at 1:15 PM, Dimitar Popov < Dimitar.Popov at uni-konstanz.de> wrote: > ** > > Hi Andy, > > > > we do support the thesaurus full-text option, but we don't provide a > "default" thesaurus and this is why the example query will return false. > Thus, if you want to use thesauri you have to explicitly specify them, > similar to the examples in W3C<http://www.w3.org/TR/xpath-full-text-10/#ftthesaurusoption> > . > > > > Greetings, > > Dimitar > > > > Am Dienstag, 20. September 2011, 12:00:23 schrieb Andy Bunce: > > > I see Zorba is now supporting > > > this< > http://zorba-xquery.com/site2/doc/latest/zorba/html/ft_thesaurus.html>. > > > Does/will BaseX? > > > > > > /Andy >
DP
Dimitar Popov20 Sep 2011 15:19 #
Hi Andy, Yes, you are right - sorry for not being precise enough :) We have implemented the thesaurus format as defined in the XQuery Full-Text Test Suite [1]. There is an XSD, which defines the format [2], as well as an exmaple thesaurus in the form of an XML file [3]. I hope this helps, but if you have more questions, please feel free to ask. Greetings, Dimitar [1] http://dev.w3.org/2007/xpath-full-text-10-test-suite [2] http://dev.w3.org/cvsweb/~checkout~/2007/xpath-full-text-10-test- suite/TestSuiteStagingArea/TestSources/thesaurus.xsd?rev=1.3;content- type=application%2Fxml [3] http://dev.w3.org/cvsweb/~checkout~/2007/xpath-full-text-10-test- suite/TestSuiteStagingArea/TestSources/usability.xml?rev=1.8;content- type=application%2Fxml
Quoted text · 13:42:31 · 50 lines
Am Dienstag, 20. September 2011, 13:42:31 schrieb Andy Bunce: > Hi Dimitar, > > I can not see the thesaurus format from the W3C examples. Indeed it says > > *Note:* > > A thesaurus may be standards-based or locally-defined. It may be a > traditional thesaurus, or a taxonomy, soundex, ontology, or topic map. How > the thesaurus is represented is > implementation-dependent<http://www.w3.org/TR/xpath-full-text-10/#dt-impleme > ntation-dependent> . > > So with Basex can you give a example of a format that is supported? Can I > use a SKOS file? > /Andy > > On Tue, Sep 20, 2011 at 1:15 PM, Dimitar Popov < > > Dimitar.Popov at uni-konstanz.de> wrote: > > ** > > > > Hi Andy, > > > > > > > > we do support the thesaurus full-text option, but we don't provide a > > "default" thesaurus and this is why the example query will return false. > > Thus, if you want to use thesauri you have to explicitly specify them, > > similar to the examples in > > W3C<http://www.w3.org/TR/xpath-full-text-10/#ftthesaurusoption> . > > > > > > > > Greetings, > > > > Dimitar > > > > Am Dienstag, 20. September 2011, 12:00:23 schrieb Andy Bunce: > > > I see Zorba is now supporting > > > > > > this< > > > > http://zorba-xquery.com/site2/doc/latest/zorba/html/ft_thesaurus.html>. > > > > > Does/will BaseX? > > > > > > > > > > > > /Andy
DP
Dimitar Popov20 Sep 2011 19:08 #
Quoted text · 14:37:40 · 3 lines
Am Dienstag, 20. September 2011, 14:37:40 schrieb Andy Bunce: > Thanks, that is what I wanted to know. > Would be good to have this info on the wiki ;-)
You're completely right! :) We try to keep the wiki helpful and complete, but sometimes we miss things :) Users and other devs are welcomed to write in the wiki. Greetings, Dimitar

⚡Generated with XQuery