code: def do_get(self, line):
          
          line = line.split()
          _pattern = ""
          if len(line) > 1:
              _pattern = line[1]
          opts = self.GET_OPTS
  
          if (not line) or (line[0] not in opts) or (not _pattern):
              self.help_get()
              return
              # self._print("Usage: get [%s] <name>" % "|".join([x for x in opts]))
  
          elif line[0] == "ontology":
              if not self.all_ontologies:
                  self._help_nofiles()
              else:
                  self._select_ontology(_pattern)
  
          elif line[0] in opts and not self.current:
              self._help_noontology()
              return
  
          elif line[0] == "class":
              g = self.current['graph']
              if g.all_classes:
                  self._select_class(_pattern)
              else:
                  self._print("No classes available.")
  
          elif line[0] == "property":
              g = self.current['graph']
              if g.all_properties:
                  self._select_property(_pattern)
              else:
                  self._print("No properties available.")
  
          elif line[0] == "concept":
              g = self.current['graph']
              if g.all_skos_concepts:
                  self._select_concept(_pattern)
              else:
                  self._print("No concepts available.")
  
          else:  # should never arrive here
              pass
docs: Finds entities matching a given string pattern. \nOptions: [ ontologies | classes | properties | concepts ]