NAME
RDF::Cowl::Lib::Gen::Class::Ontology - Generated docs for RDF::Cowl::Ontology
VERSION
version 1.0.0
MAIN MODULE
METHODS
get_manager
Signature:
$self->get_manager()
Params:
CowlOntology $onto
Documentation:
Gets the manager of this ontology.
@param onto The ontology.
@return The manager.
C function name: cowl_ontology_get_manager
get_sym_table
Signature:
$self->get_sym_table()
Params:
CowlOntology $onto
Documentation:
Gets the symbol table of this ontology.
@param onto The ontology.
@return The symbol table.
C function name: cowl_ontology_get_sym_table
get_id
Signature:
$self->get_id()
Params:
CowlOntology $onto
Documentation:
Gets the ontology ID.
@param onto The ontology.
@return The ontology ID.
C function name: cowl_ontology_get_id
set_iri
Signature:
$self->set_iri(CowlIRI $iri)
Params:
CowlOntology $onto
CowlIRI $iri
Documentation:
Sets the IRI of the ontology.
@param onto The ontology.
@param iri The IRI.
C function name: cowl_ontology_set_iri
set_version
Signature:
$self->set_version(CowlIRI $version)
Params:
CowlOntology $onto
CowlIRI $version
Documentation:
Sets the version IRI of the ontology.
@param onto The ontology.
@param version The version IRI.
C function name: cowl_ontology_set_version
get_annot
Signature:
$self->get_annot()
Params:
CowlOntology $onto
Documentation:
Gets the annotations of the specified ontology.
@param onto The ontology.
@return The annotations.
C function name: cowl_ontology_get_annot
add_annot
Signature:
$self->add_annot(CowlAnnotation $annot)
Params:
CowlOntology $onto
CowlAnnotation $annot
Documentation:
Adds an annotation to the ontology.
@param onto The ontology.
@param annot The annotation.
@return Return code.
C function name: cowl_ontology_add_annot
remove_annot
Signature:
$self->remove_annot(CowlAnnotation $annot)
Params:
CowlOntology $onto
CowlAnnotation $annot
Documentation:
Removes an annotation from the ontology.
@param onto The ontology.
@param annot The annotation.
C function name: cowl_ontology_remove_annot
get_import
Signature:
$self->get_import(CowlIRI $iri)
Params:
CowlOntology $onto
CowlIRI $iri
Documentation:
Gets an imported ontology given its import IRI.
@param onto The ontology.
@param iri Import IRI.
@return Imported ontology.
C function name: cowl_ontology_get_import
get_import_iri
Signature:
$self->get_import_iri(CowlOntology $import)
Params:
CowlOntology $onto
CowlOntology $import
Documentation:
Gets the import IRI of an imported ontology.
@param onto The ontology.
@param import The imported ontology.
@return Import IRI.
C function name: cowl_ontology_get_import_iri
add_import
Signature:
$self->add_import(CowlIRI $import)
Params:
CowlOntology $onto
CowlIRI $import
Documentation:
Adds an import to the ontology.
@param onto The ontology.
@param import IRI of the imported ontology.
@return Return code.
C function name: cowl_ontology_add_import
remove_import
Signature:
$self->remove_import(CowlIRI $import)
Params:
CowlOntology $onto
CowlIRI $import
Documentation:
Removes an import from the ontology.
@param onto The ontology.
@param import IRI of the imported ontology.
C function name: cowl_ontology_remove_import
add_axiom
Signature:
$self->add_axiom(CowlAnyAxiom $axiom)
Params:
CowlOntology $onto
CowlAnyAxiom $axiom
Documentation:
Adds an axiom to the ontology.
@param onto The ontology.
@param axiom The axiom.
@return Return code.
C function name: cowl_ontology_add_axiom
remove_axiom
Signature:
$self->remove_axiom(CowlAnyAxiom $axiom)
Params:
CowlOntology $onto
CowlAnyAxiom $axiom
Documentation:
Removes an axiom from the ontology.
@param onto The ontology.
@param axiom The axiom.
C function name: cowl_ontology_remove_axiom
axiom_count
Signature:
$self->axiom_count(BoolLike|InstanceOf["boolean"] $imports)
Params:
CowlOntology $onto
BoolLike|InstanceOf["boolean"] $imports
Documentation:
Gets the number of axioms in the ontology.
@param onto The ontology.
@param imports If true, the query recurses over imported ontologies.
@return Number of axioms.
C function name: cowl_ontology_axiom_count
imports_count
Signature:
$self->imports_count(BoolLike|InstanceOf["boolean"] $imports)
Params:
CowlOntology $onto
BoolLike|InstanceOf["boolean"] $imports
Documentation:
Gets the number of imported ontologies.
@param onto The ontology.
@param imports If true, the query recurses over imported ontologies.
@return Number of imports.
C function name: cowl_ontology_imports_count
axiom_count_for_type
Signature:
$self->axiom_count_for_type(CowlAxiomType $type, BoolLike|InstanceOf["boolean"] $imports)
Params:
CowlOntology $onto
CowlAxiomType $type
BoolLike|InstanceOf["boolean"] $imports
Documentation:
Gets the number of axioms of the specified type.
@param onto The ontology.
@param type The axiom type.
@param imports If true, the query recurses over imported ontologies.
@return Number of axioms.
C function name: cowl_ontology_axiom_count_for_type
axiom_count_for_primitive
Signature:
$self->axiom_count_for_primitive(CowlAnyPrimitive $primitive, BoolLike|InstanceOf["boolean"] $imports)
Params:
CowlOntology $onto
CowlAnyPrimitive $primitive
BoolLike|InstanceOf["boolean"] $imports
Documentation:
Gets the number of axioms referencing the specified primitive.
@param onto The ontology.
@param primitive The primitive.
@param imports If true, the query recurses over imported ontologies.
@return Number of axioms.
C function name: cowl_ontology_axiom_count_for_primitive
primitives_count
Signature:
$self->primitives_count(CowlPrimitiveFlags $flags, BoolLike|InstanceOf["boolean"] $imports)
Params:
CowlOntology $onto
CowlPrimitiveFlags $flags
BoolLike|InstanceOf["boolean"] $imports
Documentation:
Gets the number of primitives.
@param onto The ontology.
@param flags Primitive flags.
@param imports If true, the query recurses over imported ontologies.
@return Number of primitives.
C function name: cowl_ontology_primitives_count
has_primitive
Signature:
$self->has_primitive(CowlAnyPrimitive $primitive, BoolLike|InstanceOf["boolean"] $imports)
Params:
CowlOntology $onto
CowlAnyPrimitive $primitive
BoolLike|InstanceOf["boolean"] $imports
Documentation:
Checks if the specified primitive is referenced by an axiom in the ontology.
@param onto The ontology.
@param primitive The primitive.
@param imports If true, the query recurses over imported ontologies.
@return True if the primitive is referenced by an axiom, false otherwise.
C function name: cowl_ontology_has_primitive
has_axiom
Signature:
$self->has_axiom(CowlAnyAxiom $axiom, BoolLike|InstanceOf["boolean"] $imports)
Params:
CowlOntology $onto
CowlAnyAxiom $axiom
BoolLike|InstanceOf["boolean"] $imports
Documentation:
Checks whether the ontology contains the specified axiom.
@param onto The ontology.
@param axiom The axiom.
@param imports If true, the query recurses over imported ontologies.
@return True if the ontology contains the axiom, false otherwise.
C function name: cowl_ontology_has_axiom
iterate_primitives
Signature:
$self->iterate_primitives(CowlPrimitiveFlags $flags, CowlIterator $iter, BoolLike|InstanceOf["boolean"] $imports)
Params:
CowlOntology $onto
CowlPrimitiveFlags $flags
CowlIterator $iter
BoolLike|InstanceOf["boolean"] $imports
Documentation:
Iterates over the primitives referenced by the specified ontology.
@param onto The ontology.
@param flags Primitive flags.
@param iter The iterator.
@param imports If true, the query recurses over imported ontologies.
@return True if the iteration was completed, false if it was stopped.
C function name: cowl_ontology_iterate_primitives
iterate_imports
Signature:
$self->iterate_imports(CowlIterator $iter, BoolLike|InstanceOf["boolean"] $imports)
Params:
CowlOntology $onto
CowlIterator $iter
BoolLike|InstanceOf["boolean"] $imports
Documentation:
Iterates over the imported ontologies.
@param onto The ontology.
@param iter The iterator.
@param imports If true, the query recurses over imported ontologies.
@return True if the iteration was completed, false if it was stopped.
C function name: cowl_ontology_iterate_imports
iterate_import_iris
Signature:
$self->iterate_import_iris(CowlIterator $iter, BoolLike|InstanceOf["boolean"] $imports)
Params:
CowlOntology $onto
CowlIterator $iter
BoolLike|InstanceOf["boolean"] $imports
Documentation:
Iterates over the import IRIs.
@param onto The ontology.
@param iter The iterator.
@param imports If true, the query recurses over imported ontologies.
@return True if the iteration was completed, false if it was stopped.
C function name: cowl_ontology_iterate_import_iris
iterate_axioms
Signature:
$self->iterate_axioms(CowlIterator $iter, BoolLike|InstanceOf["boolean"] $imports)
Params:
CowlOntology $onto
CowlIterator $iter
BoolLike|InstanceOf["boolean"] $imports
Documentation:
Iterates over the axioms in the ontology.
@param onto The ontology.
@param iter The iterator.
@param imports If true, the query recurses over imported ontologies.
@return True if the iteration was completed, false if it was stopped.
C function name: cowl_ontology_iterate_axioms
iterate_axioms_of_type
Signature:
$self->iterate_axioms_of_type(CowlAxiomType $type, CowlIterator $iter, BoolLike|InstanceOf["boolean"] $imports)
Params:
CowlOntology $onto
CowlAxiomType $type
CowlIterator $iter
BoolLike|InstanceOf["boolean"] $imports
Documentation:
Iterates over the axioms of a certain type.
@param onto The ontology.
@param type The axiom type.
@param iter The iterator.
@param imports If true, the query recurses over imported ontologies.
@return True if the iteration was completed, false if it was stopped.
C function name: cowl_ontology_iterate_axioms_of_type
iterate_axioms_for_primitive
Signature:
$self->iterate_axioms_for_primitive(CowlAnyPrimitive $primitive, CowlIterator $iter, BoolLike|InstanceOf["boolean"] $imports)
Params:
CowlOntology $onto
CowlAnyPrimitive $primitive
CowlIterator $iter
BoolLike|InstanceOf["boolean"] $imports
Documentation:
Iterates over the axioms referencing the specified primitive.
@param onto The ontology.
@param primitive The primitive.
@param iter The iterator.
@param imports If true, the query recurses over imported ontologies.
@return True if the iteration was completed, false if it was stopped.
C function name: cowl_ontology_iterate_axioms_for_primitive
iterate_sub_classes
Signature:
$self->iterate_sub_classes(CowlClass $owl_class, CowlIterator $iter, BoolLike|InstanceOf["boolean"] $imports)
Params:
CowlOntology $onto
CowlClass $owl_class
CowlIterator $iter
BoolLike|InstanceOf["boolean"] $imports
Documentation:
Iterates over the subclasses of the specified class.
@param onto The ontology.
@param owl_class The class.
@param iter The iterator.
@param imports If true, the query recurses over imported ontologies.
@return True if the iteration was completed, false if it was stopped.
C function name: cowl_ontology_iterate_sub_classes
iterate_super_classes
Signature:
$self->iterate_super_classes(CowlClass $owl_class, CowlIterator $iter, BoolLike|InstanceOf["boolean"] $imports)
Params:
CowlOntology $onto
CowlClass $owl_class
CowlIterator $iter
BoolLike|InstanceOf["boolean"] $imports
Documentation:
Iterates over the superclasses of the specified class.
@param onto The ontology.
@param owl_class The class.
@param iter The iterator.
@param imports If true, the query recurses over imported ontologies.
@return True if the iteration was completed, false if it was stopped.
C function name: cowl_ontology_iterate_super_classes
iterate_eq_classes
Signature:
$self->iterate_eq_classes(CowlClass $owl_class, CowlIterator $iter, BoolLike|InstanceOf["boolean"] $imports)
Params:
CowlOntology $onto
CowlClass $owl_class
CowlIterator $iter
BoolLike|InstanceOf["boolean"] $imports
Documentation:
Iterates over the equivalent classes of the specified class.
@param onto The ontology.
@param owl_class The class.
@param iter The iterator.
@param imports If true, the query recurses over imported ontologies.
@return True if the iteration was completed, false if it was stopped.
C function name: cowl_ontology_iterate_eq_classes
iterate_types
Signature:
$self->iterate_types(CowlAnyIndividual $ind, CowlIterator $iter, BoolLike|InstanceOf["boolean"] $imports)
Params:
CowlOntology $onto
CowlAnyIndividual $ind
CowlIterator $iter
BoolLike|InstanceOf["boolean"] $imports
Documentation:
Iterates over the types of the specified individual.
@param onto The ontology.
@param ind The individual.
@param iter The iterator.
@param imports If true, the query recurses over imported ontologies.
@return True if the iteration was completed, false if it was stopped.
C function name: cowl_ontology_iterate_types
AUTHOR
Zakariyya Mughal <zmughal@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2024 by Auto-Parallel Technologies, Inc..
This is free software, licensed under Eclipse Public License - v 2.0.