parameters: (self, format="", convert=True)
return_statement: return self.__doQuery(query, format, convert)
docstring: Get all entities of type owl:Class
docstring_summary: Get all entities of type owl:Class
docstring_tokens: Get all entities of type owl : Class
function: def ontology(self, format="", convert=True):
  		"""
  		Get all entities of type owl:Class
  		"""
  
  		lines = ["PREFIX %s: <%s>" % (k, r) for k, r in self.prefixes.iteritems()]
  		q =  """
  			SELECT *
  			WHERE { ?class a owl:Class }"""
  
  		lines.extend([q])
  		query = "\n".join(lines)
  
  
  		if self.verbose:
  			print(query, "\n\n")
  
  
  		return self.__doQuery(query, format, convert)
function_tokens: def ontology ( self , format = "" , convert = True ) : lines = [ "PREFIX %s: <%s>" % ( k , r ) for k , r in self . prefixes . iteritems ( ) ] q = """
  			SELECT *
  			WHERE { ?class a owl:Class }""" lines . extend ( [ q ] ) query = "\n" . join ( lines ) if self . verbose : print ( query , "\n\n" ) return self . __doQuery ( query , format , convert )