Skip to content

Commit

Permalink
Return empty set instead of throwing exception, so that property asse…
Browse files Browse the repository at this point in the history
…rtion generator works. (#239)
  • Loading branch information
balhoff authored Jul 29, 2024
1 parent 6c125f3 commit 267dcca
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ class WhelkOWLReasoner(ontology: OWLOntology, bufferingMode: BufferingMode) exte
}

override def getDataPropertyValues(ind: OWLNamedIndividual, dp: OWLDataProperty): JSet[OWLLiteral] =
throw new UnsupportedOperationException("getDataPropertyValues")
//throw new UnsupportedOperationException("getDataPropertyValues")
Set.empty[OWLLiteral].asJava

override def getReasonerName(): String = "Whelk"

Expand Down

0 comments on commit 267dcca

Please sign in to comment.