aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/uk/ac
diff options
context:
space:
mode:
authorFederico Igne <federico.igne@cs.ox.ac.uk>2020-12-08 15:13:18 +0000
committerFederico Igne <federico.igne@cs.ox.ac.uk>2020-12-08 15:20:45 +0000
commit8af52541d00dc576bac20f9366be979a94d542c1 (patch)
tree75b6025759f4d288b74ebebcc4f1beb6e3344d78 /src/main/scala/uk/ac
parentf8e612288f3a604ee1bd60016b7320f00b763e6b (diff)
downloadRSAComb-8af52541d00dc576bac20f9366be979a94d542c1.tar.gz
RSAComb-8af52541d00dc576bac20f9366be979a94d542c1.zip
Change how inverse roles are handle on the logic programming side
Seems like an easy way to convert inverse roles into atoms is to write `R(y,x)` instead of `R^-(x,y)`. This is still something we need to test and some additional rules that use inverse roles in the naive way are still generated.
Diffstat (limited to 'src/main/scala/uk/ac')
-rw-r--r--src/main/scala/uk/ac/ox/cs/rsacomb/converter/RDFoxConverter.scala3
1 files changed, 2 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 6193296..b4f5adb 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
@@ -425,7 +425,8 @@ trait RDFoxConverter {
425 * @see [[https://www.w3.org/TR/owl2-syntax/#Inverse_Object_Properties Inverse Object Properties]] 425 * @see [[https://www.w3.org/TR/owl2-syntax/#Inverse_Object_Properties Inverse Object Properties]]
426 */ 426 */
427 case e: OWLObjectInverseOf => 427 case e: OWLObjectInverseOf =>
428 convert(e.getInverse, term1, term2, suffix + Inverse) 428 //convert(e.getInverse, term1, term2, suffix + Inverse)
429 convert(e.getInverse, term2, term1, suffix)
429 430
430 /** The infamous impossible case. 431 /** The infamous impossible case.
431 * 432 *