In relation to computer science, ontology refers to computer-based resources that represent agreed domain semantics An ontology consists of relatively generic knowledge that can be reused by different kinds of applications or tasks. [Adapted from Data modelling versus Ontology engineering (PDF)]