Added methods for generating tables with ontologyTerms