Skip to content

Commit

Permalink
fixed bug for type assertion when converting OWLDataHasValue
Browse files Browse the repository at this point in the history
  • Loading branch information
alkidbaci committed Apr 26, 2024
1 parent b502982 commit 8b7472f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion owlapy/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ def _(self, ce: OWLDataAllValuesFrom):
def _(self, ce: OWLDataHasValue):
property_expression = ce.get_property()
value = ce.get_filler()
assert isinstance(value, OWLDataProperty)
assert isinstance(value, OWLLiteral)
self.append_triple(self.current_variable, property_expression, value)

@process.register
Expand Down

0 comments on commit 8b7472f

Please sign in to comment.