Problems understanding the XMATCH

From: Benjamin Gufler <benjamin.gufler-at-in.tum.de>
Date: Tue, 21 Mar 2006 15:32:16 +0100


-----BEGIN PGP SIGNED MESSAGE-----

Hash: SHA1

Hello voql-list,

I have some problems understanding the XMATCH which I hope can be solved with your help.

First of all, there is a little mistake (a forgotten update?) in the XMATCH section of the ADQL specification (page 6, section 2.2.4): "The XMATCH has three parameters; first two parameters are table names to be cross-matched, the third parameter is the sigma value for the chi-square match, and the final (fourth) parameter, N, represents the cross-matching mode..."
This should imo be: "The XMATCH has *four* parameters;..."

The thing I don't understand is the translation of a XMATCH from ADQL/s to ADQL/x and back. As described above, XMATCH in ADQL/s has 4 parameters: two tables, the sigma and the cross-matching mode. The XML schema for ADQL/x defines the corresponding(?) xMatchType as a sequence of at least two tables (where a table must be either of the "includeTableType" or the "dropTableType"), a comparison operator and a sigma value.
My questions are:
1. How can the translation of a crossmatch from ADQL/s to ADQL/x ever

   result in a list of more than two tables and where do I get tables    of the dropTableType from?
2. How can a cross-match in ADQL/x containing more than two tables, or

   tables of the dropTableType, be translated to ADQL/s? 3. The tables in ADQL/s' XMATCH "function" become <Table../> elements in

   ADQL/x, the sigma value is mapped to the <Sigma../> element. How to    translate the cross-matching mode (an integer, as I believe), into a    comparison operator, that is, one of "=", "<>", ">", ">=", "<", "<="?

I appreciate every comment on these questions.

Thank you,

        Benjamin Gufler
-----BEGIN PGP SIGNATURE-----

Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEIA5ww4M5nW+gTmkRAnayAKCR0KHwqLateQiAc5A2yUros2qjmQCeIJLc mWNjquvED3vSuci07uek8hM=
=rJNZ
-----END PGP SIGNATURE-----
Received on 2006-03-21Z15:31:46