SkyQL(ID:8302/)Human readable version of ADQL, also ADQL/S Related languages
References: SkyQL SkyQL is a string like representation of ADQL. Semantically SkyQL and ADQL are identical. Syntactically ADQL is XML and SkyQL is more human readable. For example, a simple SkyQL like select t.*, b.* from Tab t, Bob b where t.g <> b.g and Region('Circle J2000 12.5 23.0 0.5') will be converted to ADQL document of about 70 lines. This is why we might like a human readable SkyQL as well as the machine readable ADQL. Conversion between ADQL and SkyQL is automatic and sample converter applications are available3 4 Extract: Astronomical Data Query Language (ADQL) Astronomical Data Query Language (ADQL) ADQL is the language for expressing queries against tabular data such as catalogs in the Virtual Observatory. The SkyNode (see below) specification proposes a standard way of passing this query. Since ADQL deals with tabular data it is appropriate for the result of such a query to be a Table. VOTable is an adopted standard of the Virtual Observatory, for providing tabular data. Hence we foresee the minimal requirement on servers that they provide results in VOTable. Other formats may also be offered by some nodes. ADQL is passed as an XML document to the Query Interface. ADQL is based on a subset of SQL plus Region and XMatch. The only SQL command allowed in ADQL is a \select". We have adopted SQL like language as a first step since many astronomical data currently available are tabular data and they are stored in the relational databases. See the XSD1 and the current proposal specification2 for the complete structure of ADQL. |