diff options
author | Federico Igne <federico.igne@cs.ox.ac.uk> | 2022-05-19 15:07:23 +0100 |
---|---|---|
committer | Federico Igne <federico.igne@cs.ox.ac.uk> | 2022-05-19 15:21:37 +0100 |
commit | 8af8f165f0a2e7ad06605daf89700073eb20c5ef (patch) | |
tree | 7c15d6e0c13bc4e5142aadb602ebd5091ec5739e | |
parent | bd2ab8c75be9ad7f8d0442fc86bb1bd7b7ee229a (diff) | |
download | RSAComb-8af8f165f0a2e7ad06605daf89700073eb20c5ef.tar.gz RSAComb-8af8f165f0a2e7ad06605daf89700073eb20c5ef.zip |
fix: typo in RDFox query
-rw-r--r-- | src/main/scala/uk/ac/ox/cs/rsacomb/ontology/Ontology.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/uk/ac/ox/cs/rsacomb/ontology/Ontology.scala b/src/main/scala/uk/ac/ox/cs/rsacomb/ontology/Ontology.scala index 7b849c3..7f9638e 100644 --- a/src/main/scala/uk/ac/ox/cs/rsacomb/ontology/Ontology.scala +++ b/src/main/scala/uk/ac/ox/cs/rsacomb/ontology/Ontology.scala | |||
@@ -427,7 +427,7 @@ class Ontology ( | |||
427 | RDFoxUtil.addRules(data, rules) | 427 | RDFoxUtil.addRules(data, rules) |
428 | 428 | ||
429 | /* Build the dependency graph */ | 429 | /* Build the dependency graph */ |
430 | val query = s"SELECT ?X ?Y WHERE { graph ${Ontology.RSACheck} { ?X ${RSA("E")} ?Y }" | 430 | val query = s"SELECT ?X ?Y WHERE { graph ${Ontology.RSACheck} { ?X ${RSA("E")} ?Y } }" |
431 | val answers = RDFoxUtil.submitQuery(data, query, RSA.Prefixes).getOrElse(RDFoxUtil.QueryAnswers()) | 431 | val answers = RDFoxUtil.submitQuery(data, query, RSA.Prefixes).getOrElse(RDFoxUtil.QueryAnswers()) |
432 | var edges: Seq[DiEdge[Resource]] = | 432 | var edges: Seq[DiEdge[Resource]] = |
433 | answers.collect { case (_, Seq(n1, n2)) => n1 ~> n2 } | 433 | answers.collect { case (_, Seq(n1, n2)) => n1 ~> n2 } |