diff options
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 | 4 |
1 files changed, 3 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 0c88f7f..8e05f3a 100644 --- a/src/main/scala/uk/ac/ox/cs/rsacomb/RSAOntology.scala +++ b/src/main/scala/uk/ac/ox/cs/rsacomb/RSAOntology.scala | |||
@@ -496,6 +496,8 @@ class RSAOntology(axioms: List[OWLLogicalAxiom], datafiles: List[File]) | |||
496 | def unfold(axiom: OWLSubClassOfAxiom): Set[Term] = | 496 | def unfold(axiom: OWLSubClassOfAxiom): Set[Term] = |
497 | this.self(axiom) | this.cycle(axiom) | 497 | this.self(axiom) | this.cycle(axiom) |
498 | 498 | ||
499 | def ask(queries: Seq[ConjunctiveQuery]): Seq[ConjunctiveQueryAnswers] = ??? | ||
500 | |||
499 | /** Returns the answers to a query | 501 | /** Returns the answers to a query |
500 | * | 502 | * |
501 | * @param query query to execute | 503 | * @param query query to execute |
@@ -553,7 +555,7 @@ class RSAOntology(axioms: List[OWLLogicalAxiom], datafiles: List[File]) | |||
553 | val ans = filter.answerQuery | 555 | val ans = filter.answerQuery |
554 | RDFoxUtil | 556 | RDFoxUtil |
555 | .submitQuery(data, ans, RSA.Prefixes) | 557 | .submitQuery(data, ans, RSA.Prefixes) |
556 | .map(new ConjunctiveQueryAnswers(query.bcq, query.variables, _)) | 558 | .map(new ConjunctiveQueryAnswers(query, query.variables, _)) |
557 | .get | 559 | .get |
558 | } | 560 | } |
559 | 561 | ||