new version of high level languge
Ed Shaya
edward.j.shaya.1 at gsfc.nasa.gov
Thu Feb 27 07:51:25 PST 2003
Oops, that is not the URL for the documentation. Here it is:
http://nvo.gsfc.nasa.gov/ql/voql_doc/voqla.html
Sorry about that.
Ed Shaya wrote:
>
> I have made numerous additions/changes, most notably adding
> arithmetic, logic, inequalities,
> so that one can take response variables and put constraints on them.
> I tried to be consistent with MathML whereever appropriate. I did not
> get in all of the annotation that I hoped, but there are some short
> statements about each Type. You can see an extensive auto generated
> documentation along with the latest schemas at
>
> http://nvo.gsfc.nasa.gov/impress/ql/voql.xsd
>
> Also, the spaceTime parts are now in a separate namespace, but for
> some reason I had to
> drop all default values to do this, don't understand why.
>
> Ed
>
>------------------------------------------------------------------------
>
><?xml version="1.0" encoding="UTF-8"?>
><!-- edited with XMLSPY v5 rel. 3 U (http://www.xmlspy.com) by Ed Shaya (NASA) -->
><request xmlns="http://www.vo.org/ql" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.vo.org/ql
>voql.xsd">
> <constraint>
> <object class="clusterOfGalaxies">
> <intersect>
> <measurement name="X-ray_brightness" project="ROSAT">@clusterXray</measurement>
> <image type="Xray" project="ROSAT" quality="@q">@image</image>
> <name>@clusterName</name>
> <measurement name="redshift" units="@czunits">
> <range>
> <lo inclusive="yes">0.6</lo>
> </range>@cz</measurement>
> <hasMember>
> <object class="galaxy">
> <intersect>
> <name>@galaxyName</name>
> <Coords coord_system_id="equatorial">
> <CoordLongitude>
> <CoordValue>
> <Query>@gRA</Query>
> </CoordValue>
> </CoordLongitude>
> </Coords>
> <CoordSystem coord_system_id="equatorial" coord_epoch="@epoch" coord_ref_frame="FK5"/>
> <Coords coord_system_id="equatorial">
> <CoordLatitude>
> <CoordValue>
> <Query>@gDE</Query>
> </CoordValue>
> </CoordLatitude>
> </Coords>
> <measurement name="mType">@mType</measurement>
> <union>
> <measurement project="ROSAT" name="Xraybrightness" units="@xrayUnits">@gXray</measurement>
> <image band="optical" quality="@@q">@@images</image>
> </union>
> </intersect>
> </object>
> </hasMember>
> </intersect>
> </object>
> <math>
> <apply>
> <geq>
> <apply>
> <divide>
> <ci>@Xraybrightness</ci>
> <apply>
> <numberOf>@galaxyName</numberOf>
> </apply>
> </divide>
> </apply>
> <cn units="Jansky">3.0E3</cn>
> </geq>
> </apply>
> </math>
> </constraint>
> <return type="VOTable" name="Cluster Info">
> <for-each object="@clusterName">
> <field name="clusterName" units="unitless">@clusterName</field>
> <field name="clusterXray" units="Jansky">@clusterXray</field>
> <field name="image" units="unitless">@image</field>
> <field name="redshift" units="@czunits">@cz</field>
> <field name="Number of Galaxies" units="unitless">
> <math>
> <apply>
> <numberOf>@galaxyName</numberOf>
> </apply>
> </math>
> </field>
> <for-each object="@galaxyName">
> <field name="galaxyName" units="unitless">@galaxyName</field>
> <field name="gRA" units="unitless">@gRA</field>
> <field name="gDE" units="unitless">@gDE</field>
> <field name="Xray" units="@xrayUnits">@gXray</field>
> <field name="mType" units="unitless">@mType</field>
> <field name="images" units="unitless">@@images</field>
> <field name="imageQuality" units="unitless">@@q</field>
> </for-each>
> </for-each>
> </return>
></request>
>
>
More information about the voql
mailing list