<?xml version="1.0" encoding="UTF-8"?>
<tool name="wfau.roe.ac.uk/dsa-sdss-catalog/ceaApplication" interface="adql" xmlns="http://www.astrogrid.org/schema/AGWorkflow/v1"><input><parameter name="Query"><ns1:value xmlns:ns1="http://www.astrogrid.org/schema/AGParameterDefinition/v1">&lt;!-- ADQL (originally) generated from: {OldQuery: In scope PhotoObj,Field,Segment,find where Intersection(([ColRef Field(alias 'f').fieldID]) = ([ColRef PhotoObj(alias 'p').fieldID]), Intersection(([ColRef Field(alias 'f').segmentID]) = ([ColRef Segment(alias 'g').segmentID]), Intersection(([ColRef Segment(alias 'g').run]) = ([Real] 1336.0 null), Intersection(([ColRef Segment(alias 'g').camCol]) = ([Real] 1.0 null), Intersection(([ColRef Field(alias 'f').field]) >= ([Real] 11.0 null), Intersection(([ColRef Field(alias 'f').field]) &lt;= ([Real] 13.0 null), Intersection(([ColRef Field(alias 'f').psfWidth_r]) > ([Real] 1.2 null), ([ColRef PhotoObj(alias 'p').colc]) > ([Real] 400.0 null)))))))),  returning [TableResults: target=null, cols=[ColRef Segment(alias 'g').run], [ColRef Segment(alias 'g').rerun], [ColRef Segment(alias 'g').camCol], [ColRef Field(alias 'f').field], [ColRef PhotoObj(alias 'p').objID], [ColRef PhotoObj(alias 'p').ra], [ColRef PhotoObj(alias 'p').dec], [ColRef PhotoObj(alias 'p').Rowc], [ColRef PhotoObj(alias 'p').Colc], [ColRef PhotoObj(alias 'p').u], [ColRef PhotoObj(alias 'p').modelMagErr_u], [ColRef PhotoObj(alias 'p').g], [ColRef PhotoObj(alias 'p').modelMagErr_g], [ColRef PhotoObj(alias 'p').r], [ColRef PhotoObj(alias 'p').modelMagErr_r], [ColRef PhotoObj(alias 'p').petroMag_r], [ColRef PhotoObj(alias 'p').extinction_r], Format Default, ]} on Sun Nov 05 14:16:34 GMT 2006 -->&lt;?ag-adql-schema-version v1.0a1?>&lt;Select xsi:type=&quot;selectType&quot; xmlns=&quot;http://www.ivoa.net/xml/ADQL/v1.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot;>
   &lt;SelectionList xsi:type=&quot;selectionListType&quot;>
      &lt;Item xsi:type=&quot;columnReferenceType&quot; Table=&quot;g&quot; Name=&quot;run&quot;/>
      &lt;Item xsi:type=&quot;columnReferenceType&quot; Table=&quot;g&quot; Name=&quot;rerun&quot;/>
      &lt;Item xsi:type=&quot;columnReferenceType&quot; Table=&quot;g&quot; Name=&quot;camCol&quot;/>
      &lt;Item xsi:type=&quot;columnReferenceType&quot; Table=&quot;f&quot; Name=&quot;field&quot;/>
      &lt;Item xsi:type=&quot;columnReferenceType&quot; Table=&quot;p&quot; Name=&quot;objID&quot;/>
      &lt;Item xsi:type=&quot;columnReferenceType&quot; Table=&quot;p&quot; Name=&quot;ra&quot;/>
      &lt;Item xsi:type=&quot;columnReferenceType&quot; Table=&quot;p&quot; Name=&quot;dec&quot;/>
      &lt;Item xsi:type=&quot;columnReferenceType&quot; Table=&quot;p&quot; Name=&quot;Rowc&quot;/>
      &lt;Item xsi:type=&quot;columnReferenceType&quot; Table=&quot;p&quot; Name=&quot;Colc&quot;/>
      &lt;Item xsi:type=&quot;columnReferenceType&quot; Table=&quot;p&quot; Name=&quot;u&quot;/>
      &lt;Item xsi:type=&quot;columnReferenceType&quot; Table=&quot;p&quot; Name=&quot;modelMagErr_u&quot;/>
      &lt;Item xsi:type=&quot;columnReferenceType&quot; Table=&quot;p&quot; Name=&quot;g&quot;/>
      &lt;Item xsi:type=&quot;columnReferenceType&quot; Table=&quot;p&quot; Name=&quot;modelMagErr_g&quot;/>
      &lt;Item xsi:type=&quot;columnReferenceType&quot; Table=&quot;p&quot; Name=&quot;r&quot;/>
      &lt;Item xsi:type=&quot;columnReferenceType&quot; Table=&quot;p&quot; Name=&quot;modelMagErr_r&quot;/>
      &lt;Item xsi:type=&quot;columnReferenceType&quot; Table=&quot;p&quot; Name=&quot;petroMag_r&quot;/>
      &lt;Item xsi:type=&quot;columnReferenceType&quot; Table=&quot;p&quot; Name=&quot;extinction_r&quot;/>
   &lt;/SelectionList>
   &lt;From xsi:type=&quot;fromType&quot;>
      &lt;Table xsi:type=&quot;tableType&quot; Name=&quot;PhotoObj&quot; Alias=&quot;p&quot;/>
      &lt;Table xsi:type=&quot;tableType&quot; Name=&quot;Field&quot; Alias=&quot;f&quot;/>
      &lt;Table xsi:type=&quot;tableType&quot; Name=&quot;Segment&quot; Alias=&quot;g&quot;/>
   &lt;/From>
   &lt;Where xsi:type=&quot;whereType&quot;>
      &lt;Condition xsi:type=&quot;intersectionSearchType&quot;>
         &lt;Condition xsi:type=&quot;comparisonPredType&quot; Comparison=&quot;=&quot;>
            &lt;Arg xsi:type=&quot;columnReferenceType&quot; Table=&quot;f&quot; Name=&quot;fieldID&quot;/>
            &lt;Arg xsi:type=&quot;columnReferenceType&quot; Table=&quot;p&quot; Name=&quot;fieldID&quot;/>
         &lt;/Condition>
         &lt;Condition xsi:type=&quot;intersectionSearchType&quot;>
            &lt;Condition xsi:type=&quot;comparisonPredType&quot; Comparison=&quot;=&quot;>
               &lt;Arg xsi:type=&quot;columnReferenceType&quot; Table=&quot;f&quot; Name=&quot;segmentID&quot;/>
               &lt;Arg xsi:type=&quot;columnReferenceType&quot; Table=&quot;g&quot; Name=&quot;segmentID&quot;/>
            &lt;/Condition>
            &lt;Condition xsi:type=&quot;intersectionSearchType&quot;>
               &lt;Condition xsi:type=&quot;comparisonPredType&quot; Comparison=&quot;=&quot;>
                  &lt;Arg xsi:type=&quot;columnReferenceType&quot; Table=&quot;g&quot; Name=&quot;run&quot;/>
                  &lt;Arg xsi:type=&quot;atomType&quot;>
                     &lt;Literal xsi:type=&quot;realType&quot; Value=&quot;1336.0&quot;/>
                  &lt;/Arg>
               &lt;/Condition>
               &lt;Condition xsi:type=&quot;intersectionSearchType&quot;>
                  &lt;Condition xsi:type=&quot;comparisonPredType&quot; Comparison=&quot;=&quot;>
                     &lt;Arg xsi:type=&quot;columnReferenceType&quot; Table=&quot;g&quot; Name=&quot;camCol&quot;/>
                     &lt;Arg xsi:type=&quot;atomType&quot;>
                        &lt;Literal xsi:type=&quot;realType&quot; Value=&quot;1.0&quot;/>
                     &lt;/Arg>
                  &lt;/Condition>
                  &lt;Condition xsi:type=&quot;intersectionSearchType&quot;>
                     &lt;Condition xsi:type=&quot;comparisonPredType&quot; Comparison=&quot;>=&quot;>
                        &lt;Arg xsi:type=&quot;columnReferenceType&quot; Table=&quot;f&quot; Name=&quot;field&quot;/>
                        &lt;Arg xsi:type=&quot;atomType&quot;>
                           &lt;Literal xsi:type=&quot;realType&quot; Value=&quot;11.0&quot;/>
                        &lt;/Arg>
                     &lt;/Condition>
                     &lt;Condition xsi:type=&quot;intersectionSearchType&quot;>
                        &lt;Condition xsi:type=&quot;comparisonPredType&quot; Comparison=&quot;&amp;lt;=&quot;>
                           &lt;Arg xsi:type=&quot;columnReferenceType&quot; Table=&quot;f&quot; Name=&quot;field&quot;/>
                           &lt;Arg xsi:type=&quot;atomType&quot;>
                              &lt;Literal xsi:type=&quot;realType&quot; Value=&quot;13.0&quot;/>
                           &lt;/Arg>
                        &lt;/Condition>
                        &lt;Condition xsi:type=&quot;intersectionSearchType&quot;>
                           &lt;Condition xsi:type=&quot;comparisonPredType&quot; Comparison=&quot;>&quot;>
                              &lt;Arg xsi:type=&quot;columnReferenceType&quot; Table=&quot;f&quot; Name=&quot;psfWidth_r&quot;/>
                              &lt;Arg xsi:type=&quot;atomType&quot;>
                                 &lt;Literal xsi:type=&quot;realType&quot; Value=&quot;1.2&quot;/>
                              &lt;/Arg>
                           &lt;/Condition>
                           &lt;Condition xsi:type=&quot;comparisonPredType&quot; Comparison=&quot;>&quot;>
                              &lt;Arg xsi:type=&quot;columnReferenceType&quot; Table=&quot;p&quot; Name=&quot;colc&quot;/>
                              &lt;Arg xsi:type=&quot;atomType&quot;>
                                 &lt;Literal xsi:type=&quot;realType&quot; Value=&quot;400.0&quot;/>
                              &lt;/Arg>
                           &lt;/Condition>
                        &lt;/Condition>
                     &lt;/Condition>
                  &lt;/Condition>
               &lt;/Condition>
            &lt;/Condition>
         &lt;/Condition>
      &lt;/Condition>
   &lt;/Where>
&lt;/Select></ns1:value></parameter><parameter name="Format"><ns2:value xmlns:ns2="http://www.astrogrid.org/schema/AGParameterDefinition/v1">VOTABLE</ns2:value></parameter></input><output><parameter name="Result"><ns3:value xmlns:ns3="http://www.astrogrid.org/schema/AGParameterDefinition/v1"></ns3:value></parameter></output></tool>