diff options
Diffstat (limited to 'src/test/scala/rsacomb/OWLAxiomSpec.scala')
| -rw-r--r-- | src/test/scala/rsacomb/OWLAxiomSpec.scala | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/test/scala/rsacomb/OWLAxiomSpec.scala b/src/test/scala/rsacomb/OWLAxiomSpec.scala index 056f428..65333f5 100644 --- a/src/test/scala/rsacomb/OWLAxiomSpec.scala +++ b/src/test/scala/rsacomb/OWLAxiomSpec.scala | |||
| @@ -36,6 +36,8 @@ import tech.oxfordsemantic.jrdfox.logic.expression.{ | |||
| 36 | import org.semanticweb.owlapi.model.{IRI => OWLIRI} | 36 | import org.semanticweb.owlapi.model.{IRI => OWLIRI} |
| 37 | import tech.oxfordsemantic.jrdfox.logic.expression.{IRI => RDFIRI} | 37 | import tech.oxfordsemantic.jrdfox.logic.expression.{IRI => RDFIRI} |
| 38 | 38 | ||
| 39 | import rsacomb.util.RSA | ||
| 40 | |||
| 39 | object OWLAxiomSpec { | 41 | object OWLAxiomSpec { |
| 40 | 42 | ||
| 41 | // IRI | 43 | // IRI |
| @@ -53,8 +55,8 @@ object OWLAxiomSpec { | |||
| 53 | val term_x = Variable.create("x") | 55 | val term_x = Variable.create("x") |
| 54 | val term_y = Variable.create("y") | 56 | val term_y = Variable.create("y") |
| 55 | val term_z = Variable.create("z") | 57 | val term_z = Variable.create("z") |
| 56 | val term_c1 = RSA.rsa("c_1") | 58 | val term_c1 = RSA("c_1") |
| 57 | val term_c2 = RSA.rsa("c_2") | 59 | val term_c2 = RSA("c_2") |
| 58 | val term_alice = RDFIRI.create("univ:alice") | 60 | val term_alice = RDFIRI.create("univ:alice") |
| 59 | 61 | ||
| 60 | // RDFox Predicates | 62 | // RDFox Predicates |
| @@ -181,7 +183,7 @@ class OWLAxiomSpec extends AnyFlatSpec with Matchers with LoneElement { | |||
| 181 | // Import required data | 183 | // Import required data |
| 182 | import OWLAxiomSpec._ | 184 | import OWLAxiomSpec._ |
| 183 | // Implicit convertion from IRI in OWLAPI to IRI in JRDFox | 185 | // Implicit convertion from IRI in OWLAPI to IRI in JRDFox |
| 184 | import RDFoxUtil._ | 186 | import rsacomb.implicits.RDFox._ |
| 185 | 187 | ||
| 186 | // OWLSubClassOfAxiom #1 | 188 | // OWLSubClassOfAxiom #1 |
| 187 | axiom_OWLSubClassOf1.toString should "be converted into a singleton List[Rule]" in { | 189 | axiom_OWLSubClassOf1.toString should "be converted into a singleton List[Rule]" in { |
