we've got 12 annotations in production with state 0.
as annotations are only supposed to be in state 0 briefly, on creation, this points to some kind of bug, or transaction problem (perhaps the submission of the note failed, and mulgara failed to rollback?)
here's a list of the 12 orphaned annotations and their create dates:
itql> select $s $date from <local:///topazproject#ri> where $s $p $o and $s <mulgara:prefix> <info:doi/10.1371/annotation> in <local:///topazproject#prefix> and $s <http://rdf.topazproject.org/RDF/state> '0' and $s <http://www.w3.org/2000/10/annotation-ns#body> $body and $body <mulgara:prefix> <info:fedora> in <local:///topazproject#prefix> and $s <http://www.w3.org/2000/10/annotation-ns#created> $date;
s date
------------------------------------------------------------------ -------------------------
<info:doi/10.1371/annotation/0b60125c-90a9-4cef-a9fe-b5221338f59b> '2008-05-27T10:18:15.273'
<info:doi/10.1371/annotation/311a7c0f-4e07-43a6-8659-de56dd7d40ea> '2008-03-20T20:48:50.403'
<info:doi/10.1371/annotation/38> '2006-12-20T23:58:51Z'
<info:doi/10.1371/annotation/3c408714-4056-4db9-9600-c898ce5c0722> '2008-03-19T00:52:02.731'
<info:doi/10.1371/annotation/3dd56cea-d010-4b7e-9778-4de58237e10b> '2008-03-20T19:14:20.325'
<info:doi/10.1371/annotation/4afdea10-70c8-4c68-ada8-a7dcf33a4f50> '2008-06-10T12:22:57.102'
<info:doi/10.1371/annotation/5c1a8dfb-0e9f-4d79-ba27-59b89979a373> '2008-03-19T04:57:31.984'
<info:doi/10.1371/annotation/5e42ed00-7537-4bdb-8d52-89d4eca33c25> '2008-05-26T01:34:18.26'
<info:doi/10.1371/annotation/995b9fc6-aa6a-4841-94a0-969e468fd8dc> '2008-03-21T19:00:15.051'
<info:doi/10.1371/annotation/d7fd73fd-abd4-4868-a512-85e21fcc09be> '2008-03-20T20:52:16.318'
<info:doi/10.1371/annotation/f13d753a-b0bb-4862-ad29-147d6642a618> '2008-06-13T22:30:40.822'
<info:doi/10.1371/annotation/fed668b2-2470-4735-954e-b803f923b1d9> '2008-06-09T15:34:56.884'