diff options
Diffstat (limited to 'src/main/scala/uk/ac/ox/cs/rsacomb/Main.scala')
| -rw-r--r-- | src/main/scala/uk/ac/ox/cs/rsacomb/Main.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/uk/ac/ox/cs/rsacomb/Main.scala b/src/main/scala/uk/ac/ox/cs/rsacomb/Main.scala index 5246d2f..60511af 100644 --- a/src/main/scala/uk/ac/ox/cs/rsacomb/Main.scala +++ b/src/main/scala/uk/ac/ox/cs/rsacomb/Main.scala | |||
| @@ -60,7 +60,7 @@ object RSAComb extends App { | |||
| 60 | val query = RDFoxUtil.loadQueryFromFile(queryPath.getAbsoluteFile) | 60 | val query = RDFoxUtil.loadQueryFromFile(queryPath.getAbsoluteFile) |
| 61 | 61 | ||
| 62 | /* Compute answers to query */ | 62 | /* Compute answers to query */ |
| 63 | ConjunctiveQuery(query).map(ontology ask _) match { | 63 | ConjunctiveQuery.parse(query).map(ontology ask _) match { |
| 64 | case Some(answers) => Logger print answers | 64 | case Some(answers) => Logger print answers |
| 65 | case None => | 65 | case None => |
| 66 | throw new RuntimeException("Submitted query is not conjunctive") | 66 | throw new RuntimeException("Submitted query is not conjunctive") |
