owlapy.owl2sparql.converter.Owl2SparqlConverter

class owlapy.owl2sparql.converter.Owl2SparqlConverter[source]

Bases: object

Methods

append

append_triple

as_query

convert

intersection

new_count_var

process

render

stack_parent

stack_variable

triple

Attributes

ce

cnt

current_variable

grouping_vars

having_conditions

in_intersection

mapping

modal_depth

parent

parent_var

properties

sparql

variable_entities

variables

append(frag)[source]
append_triple(subject, predicate, object_)[source]
as_query(root_variable: str, ce: owlapy.model.OWLClassExpression, count: bool, values: Optional[Iterable[owlapy.model.OWLNamedIndividual]] = None)[source]
ce
cnt
convert(root_variable: str, ce: owlapy.model.OWLClassExpression)[source]
property current_variable
grouping_vars
having_conditions
property in_intersection
intersection()[source]
mapping
property modal_depth
new_count_var()str[source]
parent
parent_var
process(ce: owlapy.model.OWLClassExpression)[source]
process(ce: owlapy.model.OWLClass)
process(ce: owlapy.model.OWLObjectIntersectionOf)
process(ce: owlapy.model.OWLObjectUnionOf)
process(ce: owlapy.model.OWLObjectComplementOf)
process(ce: owlapy.model.OWLObjectSomeValuesFrom)
process(ce: owlapy.model.OWLObjectAllValuesFrom)
process(ce: owlapy.model.OWLObjectHasValue)
process(ce: owlapy.model.OWLObjectCardinalityRestriction)
process(ce: owlapy.model.OWLDataCardinalityRestriction)
process(ce: owlapy.model.OWLObjectHasSelf)
process(ce: owlapy.model.OWLObjectOneOf)
process(ce: owlapy.model.OWLDataSomeValuesFrom)
process(ce: owlapy.model.OWLDataAllValuesFrom)
process(ce: owlapy.model.OWLDataHasValue)
process(node: owlapy.model.OWLDatatype)
process(node: owlapy.model.OWLDataOneOf)
process(node: owlapy.model.OWLDatatypeRestriction)
properties
render(e)[source]
render(lit: owlapy.model.OWLLiteral)
render(e: owlapy.model.OWLEntity)
sparql
stack_parent(parent: owlapy.model.OWLClassExpression)[source]
stack_variable(var)[source]
triple(subject, predicate, object_)[source]
variable_entities
variables