Working with ontologies
- The ontology manager
CowlManager
cowl_manager()
cowl_manager_get_reader()
cowl_manager_set_reader()
cowl_manager_get_writer()
cowl_manager_set_writer()
cowl_manager_get_import_resolver()
cowl_manager_set_import_resolver()
cowl_manager_get_error_handler()
cowl_manager_set_error_handler()
cowl_manager_ontology_count()
cowl_manager_iterate_ontologies()
cowl_manager_new_ontology()
cowl_manager_get_ontology()
cowl_manager_retrieve_ontology()
cowl_manager_read_path()
cowl_manager_read_file()
cowl_manager_read_string()
cowl_manager_read_stream()
cowl_manager_write_path()
cowl_manager_write_file()
cowl_manager_write_strbuf()
cowl_manager_write_stream()
cowl_manager_get_istream()
cowl_manager_get_istream_to_ontology()
cowl_manager_get_ostream()
- Reading ontologies
- Readers
- Handling imports
- Reading ontologies as axiom streams
CowlIStream
cowl_istream_get_manager()
cowl_istream_get_sym_table()
cowl_istream_handle_iri()
cowl_istream_handle_version()
cowl_istream_handle_import()
cowl_istream_handle_annot()
cowl_istream_handle_axiom()
cowl_istream_process_path()
cowl_istream_process_file()
cowl_istream_process_string()
cowl_istream_process_stream()
cowl_istream_process_ontology()
CowlIStreamHandlers
- Querying and editing ontologies
- The ontology object
CowlOntology
cowl_ontology_get_manager()
cowl_ontology_set_manager()
cowl_ontology_get_sym_table()
cowl_ontology_get_iri()
cowl_ontology_set_iri()
cowl_ontology_get_version()
cowl_ontology_set_version()
cowl_ontology_get_annot()
cowl_ontology_add_annot()
cowl_ontology_remove_annot()
cowl_ontology_has_import()
cowl_ontology_add_import()
cowl_ontology_remove_import()
cowl_ontology_add_axiom()
cowl_ontology_remove_axiom()
cowl_ontology_remove_axioms_matching()
cowl_ontology_axiom_count()
cowl_ontology_imports_count()
cowl_ontology_axiom_count_for_type()
cowl_ontology_axiom_count_for_types()
cowl_ontology_axiom_count_for_primitive()
cowl_ontology_primitives_count()
cowl_ontology_has_primitive()
cowl_ontology_has_axiom()
cowl_ontology_iterate_primitives()
cowl_ontology_iterate_imports()
cowl_ontology_iterate_import_iris()
cowl_ontology_iterate_axioms()
cowl_ontology_iterate_axioms_of_type()
cowl_ontology_iterate_axioms_of_types()
cowl_ontology_iterate_axioms_for_primitive()
cowl_ontology_iterate_axioms_matching()
cowl_ontology_iterate_related()
cowl_ontology_iterate_sub_classes()
cowl_ontology_iterate_super_classes()
cowl_ontology_iterate_eq_classes()
cowl_ontology_iterate_disjoint_classes()
cowl_ontology_iterate_types()
- Querying ontologies
CowlIterator
CowlFilter
cowl_iterator_call()
cowl_iterator_vec()
cowl_iterator_set()
cowl_iterator_count()
cowl_iterator_contains()
cowl_iterator_retain()
cowl_iterator_release()
CowlAxiomFlags
COWL_AF_NONE
COWL_AF_ALL
COWL_AF_DECL
COWL_AF_SUB_CLASS
COWL_AF_EQUIV_CLASSES
COWL_AF_DISJ_CLASSES
COWL_AF_DISJ_UNION
COWL_AF_SUB_OBJ_PROP
COWL_AF_EQUIV_OBJ_PROP
COWL_AF_DISJ_OBJ_PROP
COWL_AF_INV_OBJ_PROP
COWL_AF_OBJ_PROP_DOMAIN
COWL_AF_OBJ_PROP_RANGE
COWL_AF_FUNC_OBJ_PROP
COWL_AF_INV_FUNC_OBJ_PROP
COWL_AF_REFL_OBJ_PROP
COWL_AF_IRREFL_OBJ_PROP
COWL_AF_SYMM_OBJ_PROP
COWL_AF_ASYMM_OBJ_PROP
COWL_AF_TRANS_OBJ_PROP
COWL_AF_SUB_DATA_PROP
COWL_AF_EQUIV_DATA_PROP
COWL_AF_DISJ_DATA_PROP
COWL_AF_DATA_PROP_DOMAIN
COWL_AF_DATA_PROP_RANGE
COWL_AF_FUNC_DATA_PROP
COWL_AF_DATATYPE_DEF
COWL_AF_HAS_KEY
COWL_AF_SAME_IND
COWL_AF_DIFF_IND
COWL_AF_CLASS_ASSERT
COWL_AF_OBJ_PROP_ASSERT
COWL_AF_NEG_OBJ_PROP_ASSERT
COWL_AF_DATA_PROP_ASSERT
COWL_AF_NEG_DATA_PROP_ASSERT
COWL_AF_ANNOT_ASSERT
COWL_AF_SUB_ANNOT_PROP
COWL_AF_ANNOT_PROP_DOMAIN
COWL_AF_ANNOT_PROP_RANGE
cowl_axiom_flags_from_type()
cowl_axiom_flags_has_type()
cowl_axiom_flags_has_all_types()
cowl_axiom_flags_has_no_types()
cowl_axiom_flags_foreach_type
CowlAxiomFilter
cowl_axiom_filter()
cowl_axiom_filter_deinit()
cowl_axiom_filter_add_type()
cowl_axiom_filter_remove_type()
cowl_axiom_filter_add_primitive()
cowl_axiom_filter_remove_primitive()
cowl_axiom_filter_set_closure()
- Editing ontologies
CowlSymTable
cowl_sym_table_get_prefix_ns_map()
cowl_sym_table_get_ns()
cowl_sym_table_get_prefix()
cowl_sym_table_register_prefix()
cowl_sym_table_register_prefix_raw()
cowl_sym_table_unregister_prefix()
cowl_sym_table_unregister_ns()
cowl_sym_table_merge()
cowl_sym_table_get_iri()
cowl_sym_table_parse_short_iri()
cowl_sym_table_parse_iri()
cowl_sym_table_get_full_iri()
cowl_sym_table_parse_full_iri()
- The ontology object
- Writing ontologies
- Writers
CowlWriter
cowl_writer_functional()
cowl_writer_default()
cowl_writer_free_ctx()
cowl_writer_can_write_stream()
cowl_writer_can_write_object()
cowl_writer_can_write_ontology()
cowl_write()
cowl_write_debug()
cowl_write_string()
cowl_write_iri()
cowl_write_object_type()
cowl_write_uint()
cowl_write_error()
cowl_write_ustring()
cowl_write_cstring()
cowl_write_static
- Writing ontologies as axiom streams
- Writers
- Handling errors