Ontology-Based Information Extraction with a Cognitive Agent