Quantum mechanics, ontology and non-classical logics