diff options
author | Federico Igne <federico.igne@cs.ox.ac.uk> | 2020-12-07 20:04:15 +0000 |
---|---|---|
committer | Federico Igne <federico.igne@cs.ox.ac.uk> | 2020-12-07 20:04:15 +0000 |
commit | 6bd0b51aade6ad82dfa4e4d9c78db347bcaaa3a2 (patch) | |
tree | 3e9b2da08c7b8532b2b7b61d96ffee96c4c81c11 /src/main/scala | |
parent | 1266862146b679fb04cbd48b740032893b6a34a9 (diff) | |
download | RSAComb-6bd0b51aade6ad82dfa4e4d9c78db347bcaaa3a2.tar.gz RSAComb-6bd0b51aade6ad82dfa4e4d9c78db347bcaaa3a2.zip |
Fix bug for data property translation
Diffstat (limited to 'src/main/scala')
-rw-r--r-- | src/main/scala/uk/ac/ox/cs/rsacomb/converter/RDFoxConverter.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/uk/ac/ox/cs/rsacomb/converter/RDFoxConverter.scala b/src/main/scala/uk/ac/ox/cs/rsacomb/converter/RDFoxConverter.scala index 6c83caf..6193296 100644 --- a/src/main/scala/uk/ac/ox/cs/rsacomb/converter/RDFoxConverter.scala +++ b/src/main/scala/uk/ac/ox/cs/rsacomb/converter/RDFoxConverter.scala | |||
@@ -225,7 +225,7 @@ trait RDFoxConverter { | |||
225 | * @see [[org.semanticweb.owlapi.model.OWLDataPropertyAssertionAxiom OWLDataPropertyAssertionAxiom]] | 225 | * @see [[org.semanticweb.owlapi.model.OWLDataPropertyAssertionAxiom OWLDataPropertyAssertionAxiom]] |
226 | */ | 226 | */ |
227 | case a: OWLDataPropertyAssertionAxiom => | 227 | case a: OWLDataPropertyAssertionAxiom => |
228 | if (!a.getSubject.isNamed || !a.getObject.isNamed) | 228 | if (!a.getSubject.isNamed) |
229 | Result() | 229 | Result() |
230 | else { | 230 | else { |
231 | val subj = a.getSubject.asOWLNamedIndividual.getIRI | 231 | val subj = a.getSubject.asOWLNamedIndividual.getIRI |