diff options
Diffstat (limited to 'src/main/scala/rsacomb/RSAOntology.scala')
| -rw-r--r-- | src/main/scala/rsacomb/RSAOntology.scala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/scala/rsacomb/RSAOntology.scala b/src/main/scala/rsacomb/RSAOntology.scala index 9d52612..5846672 100644 --- a/src/main/scala/rsacomb/RSAOntology.scala +++ b/src/main/scala/rsacomb/RSAOntology.scala | |||
| @@ -200,11 +200,13 @@ trait RSAOntology { | |||
| 200 | // TODO: We need to implement another way to introduce fresh | 200 | // TODO: We need to implement another way to introduce fresh |
| 201 | // variables. | 201 | // variables. |
| 202 | val varA = Variable.create("A") | 202 | val varA = Variable.create("A") |
| 203 | val name = | ||
| 204 | Literal.create(atom.getTupleTableName.getIRI, Datatype.XSD_STRING) | ||
| 203 | val args = atom | 205 | val args = atom |
| 204 | .getArguments() | 206 | .getArguments() |
| 205 | .asScala | 207 | .asScala |
| 206 | .toSeq | 208 | .toSeq |
| 207 | //.prepended(atom.getTupleTableName.getIRI) | 209 | .prepended(name) |
| 208 | BindAtom.create( | 210 | BindAtom.create( |
| 209 | BuiltinFunctionCall | 211 | BuiltinFunctionCall |
| 210 | .create("SKOLEM", args: _*), | 212 | .create("SKOLEM", args: _*), |
