public Ontology getOntology(String iri) {
    org.molgenis.ontology.core.meta.Ontology ontology =
        dataService
            .query(ONTOLOGY, org.molgenis.ontology.core.meta.Ontology.class)
            .eq(ONTOLOGY_IRI, iri)
            .findOne();
    return toOntology(ontology);
  }
public Ontology getOntology ( String iri ) { org . molgenis . ontology . core . meta . Ontology ontology = dataService . query ( ONTOLOGY , org . molgenis . ontology . core . meta . Ontology . class ) . eq ( ONTOLOGY_IRI , iri ) . findOne ( ) ; return toOntology ( ontology ) ; }
Retrieves an ontology with a specific IRI.

@param iri the IRI of the ontology