def conceptnet_create_search_query(input_dict):
    """
    Constructs a Conceptnet search query.
    """
    input_limit = input_dict['limit']
    input_offset = input_dict['offset']
    input_text = input_dict['text']
    input_minweight = input_dict['minweight']
    
    query = "search?"

    if input_limit != None and input_limit != '':
        query = query + 'limit=' + str(input_limit) + '&'
    if input_offset != None and input_offset != '':
        query = query + 'offset=' + str(input_offset) + '&'
    if input_text != None and input_text != '':
        query = query + 'text=' + str(input_text) + '&'
    if input_minweight != None and input_minweight != '':
        query = query + 'minWeight=' + str(input_minweight) + '&'

    output_dict = {}
    output_dict["query"] = query[0:len(query)-1]
    return output_dict