An epistemology for democratic citizen science