Skip to content

Commit

Permalink
added conversion methods to owlapy init
Browse files Browse the repository at this point in the history
  • Loading branch information
alkidbaci committed Apr 16, 2024
1 parent 5446641 commit efcdb51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ ones and finally render and print the last of them in description logics syntax.
from owlapy.iri import IRI
from owlapy.class_expression import OWLClass, OWLObjectIntersectionOf, OWLObjectSomeValuesFrom
from owlapy.owl_property import OWLObjectProperty
from owlapy.converter import owl_expression_to_sparql
from owlapy.render import owl_expression_to_dl
from owlapy import owl_expression_to_sparql, owl_expression_to_dl

# Create the male class
male = OWLClass("http://example.com/society#male")
Expand Down
3 changes: 3 additions & 0 deletions owlapy/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
from render import owl_expression_to_dl, owl_expression_to_manchester
from parser import dl_to_owl_expression, manchester_to_owl_expression
from converter import owl_expression_to_sparql
__version__ = '0.1.3'

0 comments on commit efcdb51

Please sign in to comment.