ontolearn.owl_neural_reasoner
Classes
OWL Neural Reasoner uses a neural link predictor to retrieve instances of an OWL Class Expression |
Functions
|
Module Contents
- class ontolearn.owl_neural_reasoner.TripleStoreNeuralReasoner(path_of_kb: str = None, path_neural_embedding: str = None, gamma: float = 0.25, max_cache_size: int = 2**20)[source]
OWL Neural Reasoner uses a neural link predictor to retrieve instances of an OWL Class Expression
- gamma
- str_iri_subclassof = 'http://www.w3.org/2000/01/rdf-schema#subClassOf'
- str_iri_type = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type'
- str_iri_owl_class = 'http://www.w3.org/2002/07/owl#Class'
- str_iri_object_property = 'http://www.w3.org/2002/07/owl#ObjectProperty'
- str_iri_range = 'http://www.w3.org/2000/01/rdf-schema#range'
- str_iri_double = 'http://www.w3.org/2001/XMLSchema#double'
- str_iri_boolean = 'http://www.w3.org/2001/XMLSchema#boolean'
- str_iri_data_property = 'http://www.w3.org/2002/07/owl#DatatypeProperty'
- inferred_object_properties = None
- inferred_named_owl_classes = None
- property set_inferred_object_properties
- property set_inferred_owl_classes
- predict_individuals_of_owl_class(owl_class: owlapy.class_expression.OWLClass) List[owlapy.owl_individual.OWLNamedIndividual] [source]
- abox(str_iri: str) Generator[Tuple[Tuple[owlapy.owl_individual.OWLNamedIndividual, owlapy.owl_property.OWLProperty, owlapy.class_expression.OWLClass], Tuple[owlapy.owl_property.OWLObjectProperty, owlapy.owl_property.OWLObjectProperty, owlapy.owl_individual.OWLNamedIndividual], Tuple[owlapy.owl_property.OWLObjectProperty, owlapy.owl_property.OWLDataProperty, owlapy.owl_literal.OWLLiteral]], None, None] [source]
- direct_subconcepts(named_concept: owlapy.class_expression.OWLClass) List[owlapy.class_expression.OWLClass] [source]
- subconcepts(named_concept: owlapy.class_expression.OWLClass, visited=None) List[owlapy.class_expression.OWLClass] [source]
- most_general_classes() List[owlapy.class_expression.OWLClass] [source]
At least it has single subclass and there is no superclass
- least_general_named_concepts() Generator[owlapy.class_expression.OWLClass, None, None] [source]
At least it has single superclass and there is no subclass
- get_direct_parents(named_concept: owlapy.class_expression.OWLClass) List[owlapy.class_expression.OWLClass] [source]
- individuals(expression: owlapy.class_expression.OWLClassExpression = None, named_individuals: bool = False) Generator[owlapy.owl_individual.OWLNamedIndividual, None, None] [source]
- instances(expression: owlapy.class_expression.OWLClassExpression, named_individuals=False) Generator[owlapy.owl_individual.OWLNamedIndividual, None, None] [source]
- get_object_property_values(subject: str, object_property: owlapy.owl_property.OWLObjectProperty = None) List[owlapy.owl_individual.OWLNamedIndividual] [source]