Alpha v4; ontology revamp and supporting code (requires new knowledge base to work properly)