The limits of querying ontologies