Skip to content

Commit

Permalink
Fixes #88
Browse files Browse the repository at this point in the history
  • Loading branch information
Demirrr committed Oct 30, 2024
1 parent 3f826eb commit 1b2ac51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion owlapy/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ def generic_visit(self, node, children):
object_property = object_property_iri "⁻"?
class_expression = class_iri / individual_list / parentheses
individual_list = "{" maybe_ws individual_iri (maybe_ws "," maybe_ws individual_iri)* maybe_ws "}"
individual_list = "{" maybe_ws individual_iri (maybe_ws "" maybe_ws individual_iri)* maybe_ws "}"
# Back to start symbol (first production rule)
parentheses = "(" maybe_ws union maybe_ws ")"
Expand Down
2 changes: 1 addition & 1 deletion owlapy/render.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def _(self, r: OWLObjectHasValue):

@render.register
def _(self, r: OWLObjectOneOf):
return "{%s}" % (" %s " % _DL_SYNTAX.COMMA).join(
return "{%s}" % (" %s " % _DL_SYNTAX.OR).join(
"%s" % (self.render(_)) for _ in r.individuals())

@render.register
Expand Down

0 comments on commit 1b2ac51

Please sign in to comment.