def __init__(self, file=None):
<EOL>self.from_format = None<EOL>self.mark_top_concepts = True<EOL>self.narrower = True<EOL>self.transitive = False<EOL>self.enrich_mappings = True<EOL>self.aggregates = False<EOL>self.keep_related = False<EOL>self.break_cycles = False<EOL>self.eliminate_redundancy = False<EOL>self.cleanup_classes = False<EOL>self.cleanup_properties = False<EOL>self.cleanup_unreachable = False<EOL>self.namespace = None<EOL>self.label = None<EOL>self.set_modified = False<EOL>self.default_language = None<EOL>self.preflabel_policy = '<STR_LIT>'<EOL>self.infer = False<EOL>self.update_query = None<EOL>self.construct_query = None<EOL>self.types = {}<EOL>self.literals = {}<EOL>self.relations = {}<EOL>self.namespaces = copy(DEFAULT_NAMESPACES)<EOL>if file is not None:<EOL><INDENT>self.read_and_parse_config_file(file)<EOL><DEDENT>
Create a new config object and read from config file if given.