diff options
author | Federico Igne <federico.igne@cs.ox.ac.uk> | 2020-12-07 16:30:26 +0000 |
---|---|---|
committer | Federico Igne <federico.igne@cs.ox.ac.uk> | 2020-12-07 16:30:26 +0000 |
commit | 53dbca1f3de8183eefdb0c6b2d0e384f1371e52e (patch) | |
tree | 650bdf83d3eca1ba8b8c4eb739f949bd69d21619 /src/main/scala/uk/ac/ox/cs/rsacomb/RSAOntology.scala | |
parent | bbbb61ee13fa258cbed0b502426534afad49b651 (diff) | |
download | RSAComb-53dbca1f3de8183eefdb0c6b2d0e384f1371e52e.tar.gz RSAComb-53dbca1f3de8183eefdb0c6b2d0e384f1371e52e.zip |
Change ConjunctiveQuery constructors interface
One of the object constructor was returning an Option. It was weird to
have a constructor that would not always return an object.
Diffstat (limited to 'src/main/scala/uk/ac/ox/cs/rsacomb/RSAOntology.scala')
-rw-r--r-- | src/main/scala/uk/ac/ox/cs/rsacomb/RSAOntology.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/uk/ac/ox/cs/rsacomb/RSAOntology.scala b/src/main/scala/uk/ac/ox/cs/rsacomb/RSAOntology.scala index 52d4905..7b4b142 100644 --- a/src/main/scala/uk/ac/ox/cs/rsacomb/RSAOntology.scala +++ b/src/main/scala/uk/ac/ox/cs/rsacomb/RSAOntology.scala | |||
@@ -336,7 +336,7 @@ class RSAOntology(val ontology: OWLOntology) { | |||
336 | RSA.Prefixes | 336 | RSA.Prefixes |
337 | ) | 337 | ) |
338 | .map( | 338 | .map( |
339 | new ConjunctiveQueryAnswers(query.bcq, _) | 339 | new ConjunctiveQueryAnswers(query.bcq, query.variables, _) |
340 | ) | 340 | ) |
341 | .get | 341 | .get |
342 | RDFoxUtil.closeConnection(server, data) | 342 | RDFoxUtil.closeConnection(server, data) |