aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/uk/ac/ox/cs/rsacomb/RSAOntology.scala
diff options
context:
space:
mode:
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.scala4
1 files changed, 1 insertions, 3 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 c7b3bf0..0e10f89 100644
--- a/src/main/scala/uk/ac/ox/cs/rsacomb/RSAOntology.scala
+++ b/src/main/scala/uk/ac/ox/cs/rsacomb/RSAOntology.scala
@@ -556,7 +556,6 @@ class RSAOntology(val original: OWLOntology, val datafiles: File*) {
556 * [[uk.ac.ox.cs.rsacomb.RSAOntology.ask RSAOntology.ask]]. 556 * [[uk.ac.ox.cs.rsacomb.RSAOntology.ask RSAOntology.ask]].
557 * @note This method has been introduced mostly for debugging purposes. 557 * @note This method has been introduced mostly for debugging purposes.
558 * 558 *
559 * @param cq a CQ used to compute the environment.
560 * @param query query to be executed against the environment 559 * @param query query to be executed against the environment
561 * @param prefixes additional prefixes for the query. It defaults to 560 * @param prefixes additional prefixes for the query. It defaults to
562 * an empty set. 561 * an empty set.
@@ -564,7 +563,6 @@ class RSAOntology(val original: OWLOntology, val datafiles: File*) {
564 * @return a collection of answers to the input query. 563 * @return a collection of answers to the input query.
565 */ 564 */
566 def queryDataStore( 565 def queryDataStore(
567 cq: ConjunctiveQuery,
568 query: String, 566 query: String,
569 prefixes: Prefixes = new Prefixes(), 567 prefixes: Prefixes = new Prefixes(),
570 opts: ju.Map[String, String] = new ju.HashMap[String, String]() 568 opts: ju.Map[String, String] = new ju.HashMap[String, String]()
@@ -588,7 +586,7 @@ class RSAOntology(val original: OWLOntology, val datafiles: File*) {
588 cq: ConjunctiveQuery 586 cq: ConjunctiveQuery
589 ): Option[Seq[(Long, Seq[Resource])]] = { 587 ): Option[Seq[(Long, Seq[Resource])]] = {
590 val query = RDFoxUtil.buildDescriptionQuery("QM", cq.variables.length) 588 val query = RDFoxUtil.buildDescriptionQuery("QM", cq.variables.length)
591 queryDataStore(cq, query, RSA.Prefixes) 589 queryDataStore(query, RSA.Prefixes)
592 } 590 }
593 591
594 def self(axiom: OWLSubClassOfAxiom): Set[Term] = { 592 def self(axiom: OWLSubClassOfAxiom): Set[Term] = {