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
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-dependenthttp://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@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 W3Chttp://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%3E.
Does/will BaseX?
/Andy