owlapy
Subpackages
Submodules
owlapy.converter
owlapy.iri
owlapy.meta_classes
owlapy.namespaces
owlapy.owl_annotation
owlapy.owl_axiom
owlapy.owl_data_ranges
owlapy.owl_datatype
owlapy.owl_hierarchy
owlapy.owl_individual
owlapy.owl_literal
owlapy.owl_object
owlapy.owl_ontology
owlapy.owl_ontology_manager
owlapy.owl_property
owlapy.owl_reasoner
owlapy.parser
owlapy.providers
owlapy.render
owlapy.static_funcs
owlapy.utils
owlapy.vocab
Package Contents
Functions
|
|
|
|
|
|
|
|
|
Convert an OWL Class Expression (https://www.w3.org/TR/owl2-syntax/#Class_Expressions) into a SPARQL query |
Attributes
- owlapy.owl_expression_to_dl(o: owlapy.owl_object.OWLObject) str [source]
- owlapy.owl_expression_to_manchester(o: owlapy.owl_object.OWLObject) str [source]
- owlapy.owl_expression_to_sparql(expression: owlapy.class_expression.OWLClassExpression = None, root_variable: str = '?x', values: Iterable[owlapy.owl_individual.OWLNamedIndividual] | None = None, for_all_de_morgan: bool = True, named_individuals: bool = False) str [source]
Convert an OWL Class Expression (https://www.w3.org/TR/owl2-syntax/#Class_Expressions) into a SPARQL query root variable: the variable that will be projected expression: the class expression to be transformed to a SPARQL query
values: positive or negative examples from a class expression problem. Unclear for_all_de_morgan: if set to True, the SPARQL mapping will use the mapping containing the nested FILTER NOT EXISTS patterns for the universal quantifier (¬(∃r.¬C)), instead of the counting query named_individuals: if set to True, the generated SPARQL query will return only entities that are instances of owl:NamedIndividual
- owlapy.__version__ = '1.0.2'