On 6 Feb 2007, at 14:00, David Withers wrote:
How can I determine the ordering of query results when using
martservice? I thought that the order was determianed by the order of
the attributes in the query. However, in the following query:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Query>
<Query virtualSchemaName="default" count="0" softwareVersion="0.5"
requestId="taverna">
<Dataset name="uniprot">
<Attribute name="sptr_ac" />
<Attribute name="uniprot_gene_sequence" />
<Filter name="superregnum_name" value="archaea" />
<Filter name="proteome_name" value="Aeropyrum pernix" />
</Dataset>
</Query>
the results are returned in the order 'uniprot_gene_sequence, sptr_ac'.
yes, the order of results is supposed to be determined by the order of
attributes.
Let us investigate and get back to you on this
a.
David.
--
David Withers
School of Computer Science, University of Manchester,
Oxford Road, Manchester, M13 9PL, UK.
Tel: +44(0)161 275 0145
------------------------------------------------------------------------
-------
Arek Kasprzyk
EMBL-European Bioinformatics Institute.
Wellcome Trust Genome Campus, Hinxton,
Cambridge CB10 1SD, UK.
Tel: +44-(0)1223-494606
Fax: +44-(0)1223-494468
------------------------------------------------------------------------
-------