Bottom-up extraction and maintenance of ontology-based metadata