The Ontology of Ecological Cognition