code: public OntologyTerm getOntologyTerm(String[] iris) {
      List<OntologyTerm> ontologyTerms = Lists.newArrayList();
      for (String iri : iris) {
        org.molgenis.ontology.core.meta.OntologyTerm ontologyTermEntity =
            dataService
                .query(ONTOLOGY_TERM, org.molgenis.ontology.core.meta.OntologyTerm.class)
                .eq(ONTOLOGY_TERM_IRI, iri)
                .findOne();
        OntologyTerm ontologyTerm = toOntologyTerm(ontologyTermEntity);
        if (ontologyTerm == null) {
          return null;
        }
        ontologyTerms.add(ontologyTerm);
      }
      return OntologyTerm.and(ontologyTerms.toArray(new OntologyTerm[0]));
    }
docs: Retrieves an {@link OntologyTerm} for one or more IRIs
  
  @param iris Array of {@link OntologyTerm} IRIs
  @return combined {@link OntologyTerm} for the iris.