parameters: (project_id, rel_name, class_name, class_is_b=True)
return_statement: return cici_q
docstring: Returns a list of all classes, that have a certain relationship
      to a particular class in a project's semantic space.
docstring_summary: Returns a list of all classes, that have a certain relationship
      to a particular class in a project's semantic space.
docstring_tokens: Returns a list of all classes that have a certain relationship to a particular class in a project s semantic space .
function: def get_class_links_qs(project_id, rel_name, class_name, class_is_b=True):
      """ Returns a list of all classes, that have a certain relationship
      to a particular class in a project's semantic space.
      """
      relation = Relation.objects.filter(relation_name=rel_name,
          project_id=project_id)
      other_class = Class.objects.filter(class_name=class_name,
          project_id=project_id)
      # Get all classes with the given relation to the given class
      # (if present).
      if class_is_b:
          cici_q = ClassClass.objects.filter(project_id=project_id,
              relation__in=relation, class_b__in=other_class)
      else:
          cici_q = ClassClass.objects.filter(project_id=project_id,
              relation__in=relation, class_a__in=other_class)
      return cici_q
function_tokens: def get_class_links_qs ( project_id , rel_name , class_name , class_is_b = True ) : relation = Relation . objects . filter ( relation_name = rel_name , project_id = project_id ) other_class = Class . objects . filter ( class_name = class_name , project_id = project_id ) # Get all classes with the given relation to the given class # (if present). if class_is_b : cici_q = ClassClass . objects . filter ( project_id = project_id , relation__in = relation , class_b__in = other_class ) else : cici_q = ClassClass . objects . filter ( project_id = project_id , relation__in = relation , class_a__in = other_class ) return cici_q