REALISM AND APPEARANCES An essay in ontology