diff options
Diffstat (limited to 'src/main/scala/rsacomb/RDFoxClassExprConverter.scala')
-rw-r--r-- | src/main/scala/rsacomb/RDFoxClassExprConverter.scala | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/main/scala/rsacomb/RDFoxClassExprConverter.scala b/src/main/scala/rsacomb/RDFoxClassExprConverter.scala index bf026c3..58bee44 100644 --- a/src/main/scala/rsacomb/RDFoxClassExprConverter.scala +++ b/src/main/scala/rsacomb/RDFoxClassExprConverter.scala | |||
@@ -75,15 +75,15 @@ class RDFoxClassExprConverter(term : Term, skolem : SkolemStrategy) | |||
75 | // TODO: variables needs to be handled at visitor level. Hardcoding | 75 | // TODO: variables needs to be handled at visitor level. Hardcoding |
76 | // the name of the varibles might lead to errors for complex cases. | 76 | // the name of the varibles might lead to errors for complex cases. |
77 | val y = Variable.create("y") | 77 | val y = Variable.create("y") |
78 | val (fun,term1) = skolem match { | 78 | val (fun,term1) = skolem match { |
79 | case SkolemStrategy.None => (List(),y) | 79 | case SkolemStrategy.None => (List(),y) |
80 | case SkolemStrategy.Constant(c) => (List(), Literal.create(c, Datatype.IRI_REFERENCE)) | 80 | case SkolemStrategy.Constant(c) => (List(), Literal.create(c, Datatype.IRI_REFERENCE)) |
81 | case SkolemStrategy.Standard(f) => | 81 | case SkolemStrategy.Standard(f) => |
82 | // At the time of writing the RDFox library does not have a | 82 | // At the time of writing the RDFox library does not have a |
83 | // particular class for the "SKOLEM" operator and it is instead | 83 | // particular class for the "SKOLEM" operator and it is instead |
84 | // a simple builtin function with a special name. | 84 | // a simple builtin function with a special name. |
85 | (List(BindAtom.create(BuiltinFunctionCall.create("SKOLEM",term),y)),y) | 85 | (List(BindAtom.create(BuiltinFunctionCall.create("SKOLEM",term),y)),y) |
86 | } | 86 | } |
87 | val classVisitor = new RDFoxClassExprConverter(term1,skolem) | 87 | val classVisitor = new RDFoxClassExprConverter(term1,skolem) |
88 | val classResult = expr.getFiller.accept(classVisitor) | 88 | val classResult = expr.getFiller.accept(classVisitor) |
89 | val propertyVisitor = new RDFoxPropertyExprConverter(term, term1, skolem) | 89 | val propertyVisitor = new RDFoxPropertyExprConverter(term, term1, skolem) |