From: William P. <wil...@ya...> - 2011-10-25 16:01:03
|
TreeBASE's time-zone is in EST, so finding all TreeBASE citations published in 2010 or later means searching prism.publicationDate for any time point between 2010-01-01T05:00:00Z and 2011-01-01T04:59:59Z. So in theory, the following should find anything published in 2011 or later in the journal Evolution: http://purl.org/phylo/treebase/phylows/study/find?query=prism.publicationName=="Evolution"+and+prism.publicationDate>"2011-08-30T05:00:00Z" ... but evidently the "and" bit is broken, so it appears to be ignoring the date... shucks. Sorry... bp On Oct 25, 2011, at 8:22 AM, Arlin Stoltzfus wrote: > Hello, all. I have some newbie questions about how to use phyloWS to > get counts of studies in TreeBASE from the publication year 2010, from > specific journals. I could not search for a year using the web > interface-- with no field restriction, searching in citation gives > inconsistent results. > > Is prism.publicationDate the right field? Using phyloWS with > publicationDate=="2010" gives an untrapped exception error. > > So, then I looked at the API page (http://sourceforge.net/apps/mediawiki/treebase/index.php?title=API > ) and noticed the thing with specifying the exact date and time. I > found that I could use phyloWS to search for anything later that the > last second of 2009: > > http://treebase.org/treebase-web/search/studySearch.html?query=prism.publicationDate >> "2009-12-31T23:59:59Z" > > but this yielded studies with publication dates in 2009. Is that a > bug or am I missing something here? > > When I tried to combine search terms, like this: > > http://treebase.org/treebase-web/search/studySearch.html?query=prism.publicationDate >> "2009-12-31T23:59:59Z"&prism. publicationDate <"2011-01-01T00:00:00Z" > > or this > > http://treebase.org/treebase-web/search/studySearch.html?query=prism.publicationDate >> "2009-12-31T23:59:59Z"&prism.publicationName=="Evolution" > > the results suggest that the second term is being ignored. > > Arlin > ------- > Arlin Stoltzfus (ar...@um...) > Fellow, IBBR; Adj. Assoc. Prof., UMCP; Research Biologist, NIST > IBBR, 9600 Gudelsky Drive, Rockville, MD > tel: 240 314 6208; web: www.molevol.org |